From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 14 17:10:32 2006 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 4B19716A4DF for ; Wed, 14 Jun 2006 17:10:32 +0000 (UTC) (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 D34BC43D68 for ; Wed, 14 Jun 2006 17:10:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5EHAOgK030067 for ; Wed, 14 Jun 2006 17:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5EHAOFO030066; Wed, 14 Jun 2006 17:10:24 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jun 2006 17:10:24 GMT Resent-Message-Id: <200606141710.k5EHAOFO030066@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, Angelo Turetta Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C3116A4A0 for ; Wed, 14 Jun 2006 17:01:26 +0000 (UTC) (envelope-from aturetta@stable.home.commit.it) Received: from stable.home.commit.it (81-174-12-226.f5.ngi.it [81.174.12.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E6043D46 for ; Wed, 14 Jun 2006 17:01:24 +0000 (GMT) (envelope-from aturetta@stable.home.commit.it) Received: from stable.home.commit.it (localhost [127.0.0.1]) by stable.home.commit.it (8.13.6/8.13.6) with ESMTP id k5EH1MvF051185 for ; Wed, 14 Jun 2006 19:01:22 +0200 (CEST) (envelope-from aturetta@stable.home.commit.it) Received: (from root@localhost) by stable.home.commit.it (8.13.6/8.13.6/Submit) id k5EH1M8Y051184; Wed, 14 Jun 2006 19:01:22 +0200 (CEST) (envelope-from aturetta) Message-Id: <200606141701.k5EH1M8Y051184@stable.home.commit.it> Date: Wed, 14 Jun 2006 19:01:22 +0200 (CEST) From: Angelo Turetta To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98951: [UPDATE] www/moodle update to 1.5.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Angelo Turetta List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 17:10:32 -0000 >Number: 98951 >Category: ports >Synopsis: [UPDATE] www/moodle update to 1.5.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 14 17:10:24 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Angelo Turetta >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD stable.home.commit.it 6.1-RC FreeBSD 6.1-RC #11: Wed Apr 19 18:42:10 CEST 2006 aturetta@stable.home.commit.it:/usr/obj/usr/src/sys/IPSEC i386 >Description: Patch to update port www/moodle to version 1.5.4 >How-To-Repeat: >Fix: please delete existing pkg-message file, patch includes a new version with pathname substitution --- moodle154.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/moodle/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 5 Jun 2006 11:30:06 -0000 1.5 +++ Makefile 14 Jun 2006 15:46:36 -0000 @@ -6,7 +6,7 @@ # PORTNAME= moodle -PORTVERSION= 1.5.3 +PORTVERSION= 1.5.4 CATEGORIES= www MASTER_SITES= http://download.moodle.org/stable15/ EXTRACT_SUFX= .tgz @@ -25,10 +25,17 @@ USE_PHP+= pgsql .endif +.if defined(WITH_LDAP) +USE_PHP+= ldap +.endif + .include NO_BUILD= yes PLIST= ${WRKDIR}/plist +SUB_FILES= pkg-message +SUB_LIST= MOODLEDIR=${MOODLEDIR} \ + MOODLEDATADIR=${MOODLEDATADIR} MOODLEDIR?= www/moodle MOODLEDATADIR?= www/moodledata @@ -38,12 +45,9 @@ @${ECHO_CMD} "" @${ECHO_CMD} "o WITH_MYSQL - Use a MySQL database" @${ECHO_CMD} "o WITH_PGSQL - Use a pgSQL database" + @${ECHO_CMD} "o WITH_LDAP - Ensure your PHP has ldap extension" @${ECHO_CMD} "" -post-patch: -####This is an old patched file. - @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig - pre-install: @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/moodle/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 5 Jun 2006 11:30:06 -0000 1.3 +++ distinfo 14 Jun 2006 16:07:36 -0000 @@ -1,3 +1,3 @@ -MD5 (moodle-1.5.3.tgz) = 52dd50298fc1dd8b1b6d8d499608cdd6 -SHA256 (moodle-1.5.3.tgz) = 26c1fd107f02fbfee96b081c3b321fd6c61dac9fb397b90b1c197a11f38c52ed -SIZE (moodle-1.5.3.tgz) = 15003431 +MD5 (moodle-1.5.4.tgz) = 86cddfda2b6d9a08b37cc3a16bda1090 +SHA256 (moodle-1.5.4.tgz) = 368d850acd03d9a21786ce7a451466496a93341f7a21db423c5703cdddf994f9 +SIZE (moodle-1.5.4.tgz) = 15126672 Index: files/pkg-message.in =================================================================== --- /dev/null Wed Jun 14 18:55:00 2006 +++ files/pkg-message.in Wed Jun 14 18:19:56 2006 @@ -0,0 +1,36 @@ +POST-INSTALL CONFIGURATION FOR MOODLE +===================================== + +1) Create a user and a database for Moodle to store all + its tables in (or choose an existing database). + NOTE: this package assumes that either the phpX-pgsql + or phpX-mysql packages are installed, as needed. + +2) Add the following to your Apache configuration, and + restart the server: + + Alias /moodle/ %%PREFIX%%/%%MOODLEDIR%%/ + AcceptPathInfo On + + AllowOverride None + Order Deny,Allow + Deny from all + + +3) Visit your Moodle site with a browser (i.e., + http://your.server.com/moodle), and you should + be taken to the install.php script, which will lead + you through creating a config.php file and then + setting up Moodle, creating an admin account etc. + +4) Set up a cron task to call the file admin/cron.php + every five minutes or so. You can do so by using wget, + links or something similar to open the web page + http://your.server.com/moodle/admin/cron.php. + +For more information, see the INSTALL DOCUMENTATION: + + http://docs.moodle.org/en/Installing_Moodle + +If you have real trouble, please visit the Moodle course +"Using Moodle" on moodle.org. --- moodle154.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: