From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 21 14:20:02 2009 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 8FAB01065670 for ; Sat, 21 Feb 2009 14:20:02 +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 6A1808FC18 for ; Sat, 21 Feb 2009 14:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1LEK2W4037133 for ; Sat, 21 Feb 2009 14:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1LEK2hp037132; Sat, 21 Feb 2009 14:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 21 Feb 2009 14:20:02 GMT Resent-Message-Id: <200902211420.n1LEK2hp037132@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 E6AF210656C0 for ; Sat, 21 Feb 2009 14:12:28 +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 D42948FC1A for ; Sat, 21 Feb 2009 14:12:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1LECSXi004425 for ; Sat, 21 Feb 2009 14:12:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1LECSE7004424; Sat, 21 Feb 2009 14:12:28 GMT (envelope-from nobody) Message-Id: <200902211412.n1LECSE7004424@www.freebsd.org> Date: Sat, 21 Feb 2009 14:12:28 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131932: [NEW PORT]www/mahara:An open source ePortfolio system 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: Sat, 21 Feb 2009 14:20:02 -0000 >Number: 131932 >Category: ports >Synopsis: [NEW PORT]www/mahara:An open source ePortfolio system >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: Sat Feb 21 14:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 8.0-CURRENT >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov 6 00:32:12 UTC 2008 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Mahara is an open source ePortfolio system with a flexible display framework. Mahara, meaning 'think' or 'thought' in Te Reo M.ori, is user centred environment with a permissions framework that enables different views of an e-portfolio to be easily managed. Mahara also features a weblog, resume builder and social networking system, connecting users and creating online learner communities. WWW: http://www.mahara.org/ >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # mahara # mahara/files # mahara/files/pkg-message.in # mahara/pkg-descr # mahara/distinfo # mahara/Makefile # echo c - mahara mkdir -p mahara > /dev/null 2>&1 echo c - mahara/files mkdir -p mahara/files > /dev/null 2>&1 echo x - mahara/files/pkg-message.in sed 's/^X//' >mahara/files/pkg-message.in << '93f48e44181491bb59e0a37f3d5a7080' XPOST-INSTALL CONFIGURATION FOR MAHARA X===================================== X X1) Create a user and a database for MAHARA 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 /mahara %%PREFIX%%/%%MAHARADIR%%/ X AcceptPathInfo On X X AllowOverride None X Order Allow,Deny X Allow from all X X X AllowOverride None X Order Allow,Deny X Deny from all X X X3) Make sure that magic_quotes_gpc is off and register_globals is off Xin your PHP.ini file. X X4) Change into the directory %%PREFIX%%/%%MAHARADIR%% and copy the Xfile config-dist.php to config.php, then go through the file and make Xchanges where appropriate. X X5) Now you can navigate to the Mahara website using your web browser. XLog into the system with user "admin", password "mahara". X X Congratulations! X X XFor more information, see the INSTALL DOCUMENTATION: X Xhttp://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara X X======================================================================= 93f48e44181491bb59e0a37f3d5a7080 echo x - mahara/pkg-descr sed 's/^X//' >mahara/pkg-descr << '17b1fed72297246b6e717be7a7f86f87' XMahara is an open source ePortfolio system with a flexible display framework. XMahara, meaning 'think' or 'thought' in Te Reo M.ori, is user centred Xenvironment with a permissions framework that enables different views of an Xe-portfolio to be easily managed. Mahara also features a weblog, resume builder Xand social networking system, connecting users and creating online learner Xcommunities. X XWWW: http://www.mahara.org/ 17b1fed72297246b6e717be7a7f86f87 echo x - mahara/distinfo sed 's/^X//' >mahara/distinfo << 'f4b86a958b9576a8659b4555c0247ec0' XMD5 (mahara-1.0.9.tar.gz) = 670146c52352056ec9a462b54c8c5dc8 XSHA256 (mahara-1.0.9.tar.gz) = 4e8e3c0199ac0f6fe4cdf3a48d4f6bd68952f0568d22108494cd72521d9ed21d XSIZE (mahara-1.0.9.tar.gz) = 2023288 f4b86a958b9576a8659b4555c0247ec0 echo x - mahara/Makefile sed 's/^X//' >mahara/Makefile << 'bca06e94c5ca4e2cc3ce0e127bb74cde' X# New ports collection makefile for: mahara X# Date created: 21 Feb, 2009 X# Whom: Wen Heping X# X# $FreeBSD$ X# X XPORTNAME= mahara XPORTVERSION= 1.0.9 XCATEGORIES= www XMASTER_SITES= http://eduforge.org/frs/download.php/912/ X XMAINTAINER= wenheping@gmail.com XCOMMENT= An open source ePortfolio system X XUSE_PHP= session json curl xml xmlrpc openssl simplexml X XOPTIONS= MYSQL "Add support for a MySQL database server" On \ X PGSQL "Add support for a PostgreSQL database server" 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 XNO_BUILD= yes XPLIST= ${WRKDIR}/plist XSUB_FILES= pkg-message XSUB_LIST= MAHARADIR=${MAHARADIR} \ X MAHARADATADIR=${MAHARADATADIR} XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/htdocs X XMAHARADIR?= www/mahara XMAHARADATADIR?= www/maharadata X Xpre-install: X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MAHARADIR}?g" >${PLIST} X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MAHARADIR}?g" >> ${PLIST} X @${ECHO} @dirrm ${MAHARADATADIR} >> ${PLIST} X Xdo-install: X @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} X @${INSTALL} -d ${PREFIX}/${MAHARADATADIR} X X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} X @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} X @${CHMOD} -R 755 ${WWWDIR} X @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST} X X @${CHMOD} -R a+w ${PREFIX}/${MAHARADATADIR} X @${ECHO_CMD} '@exec ${CHMOD} -R a+w ${PREFIX}/${MAHARADATADIR}' >> ${TMPPLIST} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include bca06e94c5ca4e2cc3ce0e127bb74cde exit >Release-Note: >Audit-Trail: >Unformatted: