FreeBSD Bugzilla – Attachment 93902 Details for
Bug 131932
[NEW PORT]www/mahara:An open source ePortfolio system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.52 KB, created by
wenheping
on 2009-02-21 14:20:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
wenheping
Created:
2009-02-21 14:20:01 UTC
Size:
4.52 KB
patch
obsolete
># 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 <Directory %%PREFIX%%/%%MAHARADIR%%> >X AllowOverride None >X Order Allow,Deny >X Allow from all >X </Directory> >X <Directory %%PREFIX%%/%%MAHARADATADIR%%> >X AllowOverride None >X Order Allow,Deny >X Deny from all >X </Directory> >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 <wenheping@gmail.com> >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 <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 >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 <bsd.port.post.mk> >bca06e94c5ca4e2cc3ce0e127bb74cde >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131932
: 93902