Date: Tue, 18 Mar 2008 15:54:29 GMT From: Wen heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121832: [NEW] ports :www/ilias39 version 3.9.3 Message-ID: <200803181554.m2IFsTtm045426@www.freebsd.org> Resent-Message-ID: <200803181600.m2IG02WV087227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121832 >Category: ports >Synopsis: [NEW] ports :www/ilias39 version 3.9.3 >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 Mar 18 16:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wen heping >Release: FreeBSD 7.0 release >Organization: ChangAn Middle School >Environment: FreeBSD fb7.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: ILIAS is a powerful web-based learning management system that allows users to create, edit and publish learning and teaching material in an integrated system with their normal web browsers. ILIAS39 is newest version of ILIAS which supports many new and powerful functions. >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: # # /usr/ports/www/ilias39 # /usr/ports/www/ilias39/Makefile # /usr/ports/www/ilias39/distinfo # /usr/ports/www/ilias39/pkg-descr # /usr/ports/www/ilias39/files # /usr/ports/www/ilias39/files/pkg-message.in # echo c - /usr/ports/www/ilias39 mkdir -p /usr/ports/www/ilias39 > /dev/null 2>&1 echo x - /usr/ports/www/ilias39/Makefile sed 's/^X//' >/usr/ports/www/ilias39/Makefile << 'END-of-/usr/ports/www/ilias39/Makefile' X# New ports collection makefile for: www/ilias39 X# Date created: March 17, 2008 X# Whom: Wen heping <wenheping@gmail.com> X# X# $FreeBSD$ X XPORTNAME= ilias39 XPORTVERSION= 3.9.3 XCATEGORIES= www XMASTER_SITES= SF XDISTNAME= ilias-${PORTVERSION} X XMAINTAINER= wenheping@gmail.com XCOMMENT= A poweful, dynamic, PHP and MySQL based e-learning platform X XRUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ X zip:${PORTSDIR}/archivers/zip \ X ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ X ${LOCALBASE}/share/pear/PEAR.php:${PORTSDIR}/devel/pear \ X ${LOCALBASE}/share/pear/Auth/Auth.php:${PORTSDIR}/security/pear-Auth \ X ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \ X ${LOCALBASE}/share/pear/HTML/Template/IT.php:${PORTSDIR}/devel/pear-HTML_Template_IT XLIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ X png.5:${PORTSDIR}/graphics/png X XNO_BUILD= yes XSUB_FILES= pkg-message XUSE_MYSQL= yes XDEFAULT_MYSQL_VER= 50 XUSE_PHP= mysql session zlib gd pdf dom xsl pcre XDEFAULT_PHP_VER= 5 XWANT_PHP_MOD= yes XWRKSRC= ${WRKDIR}/ilias3 XPLIST= ${WRKDIR}/pkg-plist XILIAS39DIR= www/ilias39 XILIAS39DATADIR= www/ilias39data X XWWW_DIR= www/${PORTNAME} XWWW_OWN= www XWWW_GRP= www X XOPTIONS= SCORM2004 "Using SCORM2004 support" off \ X Checker "Link Checker" off \ X Mail "Internet compliant E-Mail addresses" off X X.include <bsd.port.pre.mk> X X.if defined(WITH_SCORM2004) XUSE_PHP+= json X.endif X X.if defined(WITH_Checker) XRUN_DEPENDS+= ${LOCALBASE}/share/pear/HTTP_Request.php:${PORTSDIR}/www/pear-HTTP_Request X.endif X X.if defined(WITH_Mail) XRUN_DEPENDS+= ${LOCALBASE}/share/pear/Mail.php:${PORTSDIR}/mail/pear-Mail X.endif X XPLIST_SUB= INSTALL_DIR=${INSTALL_DIR} X Xpre-install: X @${FIND} -s -d ${WRKSRC} -type f | ${SED} \ X "s?${WRKSRC}?${ILIAS39DIR}?g" >${PLIST} X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm \ X ${ILIAS39DIR}?g" >> ${PLIST} X @${ECHO} @dirrm ${ILIAS39DATADIR} >> ${PLIST} X Xdo-install: X @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} X @${CHMOD} -R 755 ${WWWDIR} X# @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ X# >> ${TMPPLIST} X# @${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' >> ${TMPPLIST} X X @${INSTALL} -d ${PREFIX}/${ILIAS39DATADIR} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ILIAS39DATADIR} X# @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ILIAS39DATADIR}' >> ${TMPPLIST} X ${CHMOD} 755 ${PREFIX}/${ILIAS39DATADIR} X# @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${ILIAS39DATADIR}' >> ${TMPPLIST} X X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-/usr/ports/www/ilias39/Makefile echo x - /usr/ports/www/ilias39/distinfo sed 's/^X//' >/usr/ports/www/ilias39/distinfo << 'END-of-/usr/ports/www/ilias39/distinfo' XMD5 (ilias-3.9.3.tar.gz) = e0a0805d0c3d4cf565678d5577fa1bed XSHA256 (ilias-3.9.3.tar.gz) = 2d8c1f47f1a34f3cc824a8be14f66f3d97d01c26be11b26c4fa6a2b185ad57e2 XSIZE (ilias-3.9.3.tar.gz) = 46851924 END-of-/usr/ports/www/ilias39/distinfo echo x - /usr/ports/www/ilias39/pkg-descr sed 's/^X//' >/usr/ports/www/ilias39/pkg-descr << 'END-of-/usr/ports/www/ilias39/pkg-descr' XILIAS is a powerful web-based learning management Xsystem that allows users to create, edit and publish Xlearning and teaching material in an integrated Xsystem with their normal web browsers. X XILIAS39 is newest version of ILIAS which supports Xmany new and powerful functions. X XWWW: http://www.ilias.de/ END-of-/usr/ports/www/ilias39/pkg-descr echo c - /usr/ports/www/ilias39/files mkdir -p /usr/ports/www/ilias39/files > /dev/null 2>&1 echo x - /usr/ports/www/ilias39/files/pkg-message.in sed 's/^X//' >/usr/ports/www/ilias39/files/pkg-message.in << 'END-of-/usr/ports/www/ilias39/files/pkg-message.in' X============================================= X1 Congratulations! You have successfully installed XILIAS e-learning platform. Please keep in mind that Xheavily used ILIAS installation can cause huge growth Xof your log file, so remember to disable notices logging Xin your PHP installation. X X2 Also, this installation process have installed everything Xthat is needed for ILIAS to run properly with basic Xfunctionality, but to broaden it you will have to install Xthird party software like Sun Java, HTMLdoc, LaTeX or Xsome virus scanner by yourself. X X3 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 /ilias39 %%PREFIX%%/ilias39/ X AcceptPathInfo On X <Directory %%PREFIX%%/ilias39> X AllowOverride None X Order Allow,Deny X Allow from all X </Directory> X <Directory %%PREFIX%%/ilias39data> X AllowOverride None X Order Allow,Deny X Deny from all X </Directory> X X4 Then feel free to proceed to ILIAS web setup proccess. X When input Ilias data directory, please use X /usr/local/www/ilias39data and uncheck the create option. X X5 After the installation, you can login into the system Xwith username/root and password/homer as the administrator. X============================================= END-of-/usr/ports/www/ilias39/files/pkg-message.in exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803181554.m2IFsTtm045426>