ports/131224: [maintainer update]www/moodle: little corrections
Javier Martín Rueda
jmrueda at diatel.upm.es
Sat Jan 31 19:20:02 UTC 2009
>Number: 131224
>Category: ports
>Synopsis: [maintainer update]www/moodle: little corrections
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 31 19:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Javier Martín Rueda
>Release: FreeBSD 7.1-RELEASE i386
>Organization:
DIATEL - UPM
>Environment:
>Description:
This patch corrects a few things in the Moodle port:
1) I drop pcre from the PHP modules, as it is no longer necessary.
2) I add ctype to the PHP modules, as it is recommended for Moodle.
3) I correct a typo in the install message.
4) I change the install script so that only the data files directory belongs to www:www, but not the code directory. That's a safer setup.
>How-To-Repeat:
>Fix:
Patch attached
Patch attached with submission follows:
--- Makefile.orig 2009-01-31 18:02:15.000000000 +0100
+++ Makefile 2009-01-31 18:03:59.000000000 +0100
@@ -17,7 +17,7 @@
MAINTAINER= jmrueda at diatel.upm.es
COMMENT= Course management system based on social constructionism
-USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc
+USE_PHP= session gd mbstring iconv tokenizer curl xml xmlrpc ctype
WRKSRC= ${WRKDIR}/moodle
OPTIONS= MYSQL "Add support for a MySQL database server" Off \
@@ -88,9 +88,6 @@
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${MOODLEDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDIR}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDIR}' \
- >> ${TMPPLIST}
@${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \;
@${ECHO_CMD} '@exec ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \;' \
>> ${TMPPLIST}
--- files/pkg-message.in.orig 2009-01-31 18:04:12.000000000 +0100
+++ files/pkg-message.in 2009-01-31 18:04:19.000000000 +0100
@@ -55,7 +55,7 @@
possible additional steps at:
http://docs.moodle.org/en/Upgrading
- http://docs.moodle.org/en/Upgrading_to_Moodle_1.8
+ http://docs.moodle.org/en/Upgrading_to_Moodle_1.9
If you have real trouble, please visit the Moodle course
"Using Moodle" on moodle.org.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list