aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2009-02-02 10:36:09 +0800
committerrafan <rafan@FreeBSD.org>2009-02-02 10:36:09 +0800
commit634b52446655ddbcf4cd1f63de1bb64c14709ada (patch)
tree034b263db434eb2bb4d2e284cc4db734e4472e79 /www
parent88b962bb108015bde80b240d74ac26795661f7d1 (diff)
downloadfreebsd-ports-gnome-634b52446655ddbcf4cd1f63de1bb64c14709ada.tar.gz
freebsd-ports-gnome-634b52446655ddbcf4cd1f63de1bb64c14709ada.tar.zst
freebsd-ports-gnome-634b52446655ddbcf4cd1f63de1bb64c14709ada.zip
- Add ctype php module per recommendation from vendor
- Only data directory and files under it belongs to WWWOWN:WWWGRP but not the code directory, which is a safer setup - Bump PORTREVISION for dependency change PR: ports/131224 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/moodle/Makefile6
-rw-r--r--www/moodle/files/pkg-message.in2
-rw-r--r--www/moodle2/Makefile6
-rw-r--r--www/moodle2/files/pkg-message.in2
4 files changed, 6 insertions, 10 deletions
diff --git a/www/moodle/Makefile b/www/moodle/Makefile
index 289cd285f7fd..783de9283f3e 100644
--- a/www/moodle/Makefile
+++ b/www/moodle/Makefile
@@ -7,6 +7,7 @@
PORTNAME= moodle
PORTVERSION= 1.9.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.moodle.org/stable19/ \
http://download2.moodle.org/stable19/ \
@@ -17,7 +18,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jmrueda@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 pcre mbstring iconv tokenizer curl xml xmlrpc ctype
WRKSRC= ${WRKDIR}/moodle
OPTIONS= MYSQL "Add support for a MySQL database server" Off \
@@ -88,9 +89,6 @@ pre-install:
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}
diff --git a/www/moodle/files/pkg-message.in b/www/moodle/files/pkg-message.in
index 31086814285b..9fc6317594c0 100644
--- a/www/moodle/files/pkg-message.in
+++ b/www/moodle/files/pkg-message.in
@@ -55,7 +55,7 @@ If you are upgrading from an earlier version of Moodle, check out
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.
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile
index 289cd285f7fd..783de9283f3e 100644
--- a/www/moodle2/Makefile
+++ b/www/moodle2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= moodle
PORTVERSION= 1.9.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.moodle.org/stable19/ \
http://download2.moodle.org/stable19/ \
@@ -17,7 +18,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jmrueda@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 pcre mbstring iconv tokenizer curl xml xmlrpc ctype
WRKSRC= ${WRKDIR}/moodle
OPTIONS= MYSQL "Add support for a MySQL database server" Off \
@@ -88,9 +89,6 @@ pre-install:
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}
diff --git a/www/moodle2/files/pkg-message.in b/www/moodle2/files/pkg-message.in
index 31086814285b..9fc6317594c0 100644
--- a/www/moodle2/files/pkg-message.in
+++ b/www/moodle2/files/pkg-message.in
@@ -55,7 +55,7 @@ If you are upgrading from an earlier version of Moodle, check out
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.