ports/121112: [New] ports: www/elgg version 0.9.1

Wen heping wenheping at gmail.com
Tue Feb 26 06:00:05 UTC 2008


>Number:         121112
>Category:       ports
>Synopsis:       [New] ports: www/elgg version 0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 06:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 7 RC2
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb7.wenjing.com 7.0-RC2 FreeBSD 7.0-RC2 #0: Fri Feb  8 00:09:57 UTC 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
 Elgg is an open-source social networking platform. 
It offers blogging, networking, community, collecting 
of news using feeds aggregation and file sharing 
features. Everything can be shared among users with 
access controls and everything can be cataloged by 
tags as well.
>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       /usr/ports/www/elgg/
#       /usr/ports/www/elgg/files
#       /usr/ports/www/elgg/files/pkg-message.in
#       /usr/ports/www/elgg/pkg-descr
#       /usr/ports/www/elgg/distinfo
#       /usr/ports/www/elgg/Makefile
#
echo c - /usr/ports/www/elgg/
mkdir -p /usr/ports/www/elgg/ > /dev/null 2>&1
echo c - /usr/ports/www/elgg/files
mkdir -p /usr/ports/www/elgg/files > /dev/null 2>&1
echo x - /usr/ports/www/elgg/files/pkg-message.in
sed 's/^X//' >/usr/ports/www/elgg/files/pkg-message.in << 'END-of-/usr/ports/www/elgg/files/pkg-message.in'
XPOST-INSTALL CONFIGURATION FOR ELGG
X=====================================
X
X1) Create a user and a database for Elgg to store all
X   its tables in (or choose an existing database).
X
X2) Add the following to your Apache configuration, and
X   restart the server:
X
X   ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X   Alias /elgg %%PREFIX%%/%%ELGGDIR%%/
X   AcceptPathInfo On
X   <Directory %%PREFIX%%/%%ELGGDIR%%>
X      AllowOverride None
X      Order Allow,Deny
X      Allow from all
X   </Directory>
X
X3) Visit your Moodle site with a browser (i.e.,
X   http://your.server.com/elgg/), and you should
X   be taken to the install.php script, which will lead
X   you through creating a config.php file and then
X   setting up Elgg.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X   http://elgg.org/mod/mediawiki/wiki/index.php/Installation_guide
END-of-/usr/ports/www/elgg/files/pkg-message.in
echo x - /usr/ports/www/elgg/pkg-descr
sed 's/^X//' >/usr/ports/www/elgg/pkg-descr << 'END-of-/usr/ports/www/elgg/pkg-descr'
XElgg is an open-source social networking platform. It
Xoffers blogging, networking, community, collecting of
Xnews using feeds aggregation and file sharing features.
XEverything can be shared among users with access
Xcontrols and everything can be cataloged by tags as well.
X
XWWW: http://www.elgg.org/
END-of-/usr/ports/www/elgg/pkg-descr
echo x - /usr/ports/www/elgg/distinfo
sed 's/^X//' >/usr/ports/www/elgg/distinfo << 'END-of-/usr/ports/www/elgg/distinfo'
XMD5 (elgg-0.9.1.tar.gz) = 19202fe63a92ec73c79cda06b12036f3
XSHA256 (elgg-0.9.1.tar.gz) = 7e25b6d2db902609f4de76e50c433477c65e937911e96867d2464bdb411a33fb
XSIZE (elgg-0.9.1.tar.gz) = 6298176
END-of-/usr/ports/www/elgg/distinfo
echo x - /usr/ports/www/elgg/Makefile
sed 's/^X//' >/usr/ports/www/elgg/Makefile << 'END-of-/usr/ports/www/elgg/Makefile'
X# New ports collection makefile for:   elgg
X# Date created:                                25 Feberury 2008
X# Whom:                                        Wen heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      elgg
XPORTVERSION=   0.9.1
XCATEGORIES=    www
XMASTER_SITES=  http://superb-west.dl.sourceforge.net/sourceforge/elgg/
X
XMAINTAINER=    wenheping at gmail.com
XCOMMENT=       Elgg is an open-source blogging and social networking platform
X
XUSE_PHP=       gd gettext
XWRKSRC=                ${WRKDIR}/elgg-0.9.1
X
XOPTIONS=       MYSQL   "Add support for a MySQL database server" ON \
X               PGSQL   "Add support for a PostgreSQL database server" Off \
X               LDAP    "Add LDAP authentication functionality" Off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MYSQL)
XUSE_PHP+=      mysql
X.endif
X
X.if defined(WITH_PGSQL)
XUSE_PHP+=      pgsql
X.endif
X
X.if defined(WITH_LDAP)
XUSE_PHP+=      ldap
X.endif
X
XNO_BUILD=      yes
XPLIST=         ${WRKDIR}/plist
XSUB_FILES=      pkg-message
XSUB_LIST=       ELGGDIR=${ELGGDIR}
XELGGDIR=       www/elgg
XELGGDATADIR=   ${ELGGDIR}/data
XELGGCONFIGFILE=        ${ELGGDIR}/config.php
XHTACC_NEW=     ${ELGGDIR}/.htaccess
X
Xpre-install:
X       @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ELGGDIR}?g">${PLIST}
X       @${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@dirrm ${ELGGDIR}?g" >>${PLIST}
X
Xdo-install:
X       ${INSTALL_DATA} -d ${PREFIX}/${ELGGDIR}
X       ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${ELGGDIR}
X       ${CP} ${WRKSRC}/htaccess-dist ${PREFIX}/${HTACC_NEW}
X       ${FIND} ${PREFIX}/${ELGGDIR} -type d -exec ${CHMOD} a+x {} \;
X       ${CHMOD} 777 ${PREFIX}/${ELGGDATADIR}
X       ${CHMOD} 666 ${PREFIX}/${ELGGCONFIGFILE}
X
Xpost-install:
X       @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/www/elgg/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list