FreeBSD Bugzilla – Attachment 84531 Details for
Bug 120553
New port:www/ATutor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.57 KB, created by
wenheping
on 2008-02-12 13:30:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
wenheping
Created:
2008-02-12 13:30:01 UTC
Size:
4.57 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: ># ># /usr/ports/www/ATutor ># /usr/ports/www/ATutor/pkg-descr ># /usr/ports/www/ATutor/files ># /usr/ports/www/ATutor/files/pkg-message.in ># /usr/ports/www/ATutor/Makefile ># /usr/ports/www/ATutor/distinfo ># >echo c - /usr/ports/www/ATutor >mkdir -p /usr/ports/www/ATutor > /dev/null 2>&1 >echo x - /usr/ports/www/ATutor/pkg-descr >sed 's/^X//' >/usr/ports/www/ATutor/pkg-descr << 'END-of-/usr/ports/www/ATutor/pkg-descr' >XATutor is an Open Source Web-based Learning Content Management System >X(LCMS) designed with accessibility and adaptability in mind. >XAdministrators can install or update ATutor in minutes, develop custom >Xthemes to give ATutor a new look, and easily extend its functionality >Xwith feature modules. Educators can quickly assemble, package, and >Xredistribute Web-based instructional content, easily import prepackaged >Xcontent, and conduct their courses online. Students learn in an adaptive >Xlearning environment. >X >XWWW: http://www.atutor.ca/ >END-of-/usr/ports/www/ATutor/pkg-descr >echo c - /usr/ports/www/ATutor/files >mkdir -p /usr/ports/www/ATutor/files > /dev/null 2>&1 >echo x - /usr/ports/www/ATutor/files/pkg-message.in >sed 's/^X//' >/usr/ports/www/ATutor/files/pkg-message.in << >'END-of-/usr/ports/www/ATutor/files/pkg-message.in' >XPOST-INSTALL CONFIGURATION FOR ATutor >X===================================== >X >X1) 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 /ATutor %%PREFIX%%/%%ATUTORDIR%%/ >X AcceptPathInfo On >X <Directory %%PREFIX%%/%%ATUTORDIR%%> >X AllowOverride None >X Order Allow,Deny >X Allow from all >X </Directory> >X <Directory %%PREFIX%%/%%ATUTORDATADIR%%> >X AllowOverride None >X Order Allow,Deny >X Deny from all >X </Directory> >X >X2) Visit your ATutor site with a browser (i.e., >X http://your.server.com/ATutor/), and you should >X be taken to the install.php script, which will lead >X you through creating a config.inc.php file and then >X setting up ATutor, creating an admin account, etc. >X >XFor more information, see the INSTALL DOCUMENTATION: >X >X http://www.atutor.ca/atutor/docs/installation.php >X >END-of-/usr/ports/www/ATutor/files/pkg-message.in >echo x - /usr/ports/www/ATutor/Makefile >sed 's/^X//' >/usr/ports/www/ATutor/Makefile << 'END-of-/usr/ports/www/ATutor/Makefile' >X# New ports collection makefile for: ATutor >X# Date created: 11 Feb 2008 >X# Whom: Wen heping <wenheping@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ATutor >XPORTVERSION= 1.6 >XCATEGORIES= www >XMASTER_SITES= http://superb-west.dl.sourceforge.net/sourceforge/atutor/ >X >XMAINTAINER= wenheping@gmail.com >XCOMMENT= An Open Source Web-based Learning Content Management System (LCMS) >X >XUSE_PHP= session mbstring zlib mysql >XWRKSRC= ${WRKDIR}/ATutor >X >X.include <bsd.port.pre.mk> >X >XNO_BUILD= yes >XPLIST= ${WRKDIR}/plist >XSUB_FILES= pkg-message >XSUB_LIST= ATUTORDIR=${ATUTORDIR} \ >X ATUTORDATADIR=${ATUTORDATADIR} >X >XATUTORDIR?= www/ATutor >XATUTORDATADIR?= www/ATutor/content >XATUTORCONFIGFILE?=include/config.inc.php >X >Xpre-install: >X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ATUTORDIR}?g" >${PLIST} >X @${ECHO} @dirrm ${ATUTORDATADIR} >> ${PLIST} >X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ATUTORDIR}?g" >> >${PLIST} >X >Xdo-install: >X ${INSTALL_DATA} -d ${PREFIX}/${ATUTORDIR} >X ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${ATUTORDIR} >X ${FIND} ${PREFIX}/${ATUTORDIR} -type d -exec ${CHMOD} a+x {} \; >X ${MKDIR} ${PREFIX}/${ATUTORDATADIR} >X ${CHOWN} www ${PREFIX}/${ATUTORDATADIR} >X ${CHMOD} 755 ${PREFIX}/${ATUTORDATADIR} >X ${CHMOD} 666 ${PREFIX}/${ATUTORDIR}/${ATUTORCONFIGFILE} >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >END-of-/usr/ports/www/ATutor/Makefile >echo x - /usr/ports/www/ATutor/distinfo >sed 's/^X//' >/usr/ports/www/ATutor/distinfo << 'END-of-/usr/ports/www/ATutor/distinfo' >XMD5 (ATutor-1.6.tar.gz) = efe52baada6d033c0e7f67d2c152e79d >XSHA256 (ATutor-1.6.tar.gz) = >55aa48d718f20d09a1355acdba19ff461122d66f83b79c50aa4f5d51f9fd9d98 >XSIZE (ATutor-1.6.tar.gz) = 2694862 >END-of-/usr/ports/www/ATutor/distinfo >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 120553
: 84531
Working