From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 26 06:00:05 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16B6416A419 for ; Tue, 26 Feb 2008 06:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E69CB13C447 for ; Tue, 26 Feb 2008 06:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1Q604jj056719 for ; Tue, 26 Feb 2008 06:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1Q604Ex056718; Tue, 26 Feb 2008 06:00:04 GMT (envelope-from gnats) Resent-Date: Tue, 26 Feb 2008 06:00:04 GMT Resent-Message-Id: <200802260600.m1Q604Ex056718@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65FED16A400 for ; Tue, 26 Feb 2008 05:51:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 567F813C4D1 for ; Tue, 26 Feb 2008 05:51:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1Q5mg7T064163 for ; Tue, 26 Feb 2008 05:48:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1Q5mgU3064162; Tue, 26 Feb 2008 05:48:42 GMT (envelope-from nobody) Message-Id: <200802260548.m1Q5mgU3064162@www.freebsd.org> Date: Tue, 26 Feb 2008 05:48:42 GMT From: Wen heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121112: [New] ports: www/elgg version 0.9.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 06:00:05 -0000 >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@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 X AllowOverride None X Order Allow,Deny X Allow from all X 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 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@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 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 END-of-/usr/ports/www/elgg/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: