From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 30 16:10:20 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83A8D16A41F for ; Fri, 30 Sep 2005 16:10:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B2A43D48 for ; Fri, 30 Sep 2005 16:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8UGAJ3q067476 for ; Fri, 30 Sep 2005 16:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8UGAJ33067470; Fri, 30 Sep 2005 16:10:19 GMT (envelope-from gnats) Resent-Date: Fri, 30 Sep 2005 16:10:19 GMT Resent-Message-Id: <200509301610.j8UGAJ33067470@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, jmrueda@diatel.upm.es Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9D1116A41F for ; Fri, 30 Sep 2005 16:04:59 +0000 (GMT) (envelope-from root@naranja.diatel.upm.es) Received: from naranja.diatel.upm.es (naranja.diatel.upm.es [138.100.49.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F25E43D53 for ; Fri, 30 Sep 2005 16:04:59 +0000 (GMT) (envelope-from root@naranja.diatel.upm.es) Received: from naranja.diatel.upm.es (localhost.diatel.upm.es [127.0.0.1]) by naranja.diatel.upm.es (8.13.3/8.13.3) with ESMTP id j8UG4HZH093848 for ; Fri, 30 Sep 2005 18:04:17 +0200 (CEST) (envelope-from root@naranja.diatel.upm.es) Received: (from root@localhost) by naranja.diatel.upm.es (8.13.3/8.13.3/Submit) id j8UG4GhT093847; Fri, 30 Sep 2005 18:04:16 +0200 (CEST) (envelope-from root) Message-Id: <200509301604.j8UG4GhT093847@naranja.diatel.upm.es> Date: Fri, 30 Sep 2005 18:04:16 +0200 (CEST) From: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/86764: New port www/moodle Course management system based on social constructionism X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jmrueda@diatel.upm.es List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 16:10:20 -0000 >Number: 86764 >Category: ports >Synopsis: New port www/moodle Course management system based on social constructionism >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 30 16:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Javier Martín Rueda >Release: FreeBSD 5.4-RELEASE amd64 >Organization: Universidad Politécnica de Madrid >Environment: System: FreeBSD naranja.diatel.upm.es 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat Sep 24 09:41:10 CEST 2005 root@naranja.diatel.upm.es:/usr/obj/usr/src/sys/SMP amd64 >Description: Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. You can use it on any computer you have handy (including webhosts), yet it can scale from a single-teacher site to a 40,000-student University. WWW: http://www.moodle.org/ >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: # # www/moodle # www/moodle/distinfo # www/moodle/pkg-descr # www/moodle/Makefile # www/moodle/pkg-message # echo c - www/moodle mkdir -p www/moodle > /dev/null 2>&1 echo x - www/moodle/distinfo sed 's/^X//' >www/moodle/distinfo << 'END-of-www/moodle/distinfo' XMD5 (moodle-1.5.2.tgz) = 43d484170cc7e364df68239f352528bc XSIZE (moodle-1.5.2.tgz) = 14222897 END-of-www/moodle/distinfo echo x - www/moodle/pkg-descr sed 's/^X//' >www/moodle/pkg-descr << 'END-of-www/moodle/pkg-descr' XMoodle is a course management system (CMS) - a free, Open Source software Xpackage designed using sound pedagogical principles, to help educators Xcreate effective online learning communities. You can use it on any Xcomputer you have handy (including webhosts), yet it can scale from a Xsingle-teacher site to a 40,000-student University. X XWWW: http://www.moodle.org/ END-of-www/moodle/pkg-descr echo x - www/moodle/Makefile sed 's/^X//' >www/moodle/Makefile << 'END-of-www/moodle/Makefile' X# New ports collection makefile for: moodle X# Date created: 30 September 2005 X# Whom: Javier Martín Rueda X# X# $FreeBSD$ X XPORTNAME= moodle XPORTVERSION= 1.5.2 XCATEGORIES= www XMASTER_SITES= http://download.moodle.org/stable15/ XEXTRACT_SUFX= .tgz XWRKSRC= ${WRKDIR}/moodle X XMAINTAINER= jmrueda@diatel.upm.es XCOMMENT= Course management system based on social constructionism. X XUSE_PHP= session gd pcre X XOPTIONS= MYSQL "Use a MySQL database" off \ X PGSQL "Use a PostgreSQL database" 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 X XMOODLEDIR?= www/data/moodle XMOODLEDATADIR?= www/data/moodledata X Xpost-patch: X####This is an old patched file. X @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} X @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} X Xdo-install: X ${INSTALL_DATA} -d ${PREFIX}/${MOODLEDIR} X ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${MOODLEDIR} X ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; X ${MKDIR} ${PREFIX}/${MOODLEDATADIR} X ${CHOWN} www ${PREFIX}/${MOODLEDATADIR} X ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-www/moodle/Makefile echo x - www/moodle/pkg-message sed 's/^X//' >www/moodle/pkg-message << 'END-of-www/moodle/pkg-message' XPOST-INSTALL CONFIGURATION FOR MOODLE X===================================== X X1) Create a user and a database for Moodle to store all X its tables in (or choose an existing database). X NOTE: this package assumes that either the php4-pgsql X or php4-mysql packages are installed, as needed. X X2) Add the following to your Apache configuration, and X restart the server: X X AcceptPathInfo On X X AllowOverride None X Order Deny,Allow X Deny from all X X X3) Visit your Moodle site with a browser (i.e., X http://your.server.com/moodle), 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 Moodle, creating an admin account etc. X X4) Set up a cron task to call the file admin/cron.php X every five minutes or so. You can do so by using wget, X links or something similar to open the web page X http://your.server.com/moodle/admin/cron.php. X X XFor more information, see the INSTALL DOCUMENTATION: X X http://moodle.org/doc X XIf you have real trouble, please visit the Moodle course X"Using Moodle" on moodle.org. END-of-www/moodle/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: