Fri Jan 15 06:50:55 2016 UTC ()
Update to 3.0.2
Move the line of ${SED} from do-install to post-patch, to pet pkglint

Upstream change:
Releases > Moodle 3.0.2 release notes

Release date: 11 January 2016

Here is the full list of fixed issues in 3.0.2.
Security issues

A number of security related issues were resolved. Details of these issues will be released after a period of approximately one week to allow system administrators to safely update to the latest version.
Fixes and improvements

This is a very quiet release since Moodle 3.0.1 has only come out recently and lots of developers and users took Christmas holidays after that. Additional interesting issues included in 3.0.2 are:

    MDL-49473 - Logs export contains year
    MDL-52078 - Fixed error in grade totals when using natural grading and excluding hidden items that appeared only when viewed by students
    MDL-52354, MDL-52355 - Database module now allows to set dates in a broader range and respects calendar type plugin
    MDL-51257 - Messaging screen now indicates when a message is not sent
    MDL-52194 - Fixed Flowplayer not working with insecure configuration of request_order


(wen)
diff -r1.44 -r1.45 pkgsrc/www/moodle/Makefile
diff -r1.33 -r1.34 pkgsrc/www/moodle/distinfo

cvs diff -r1.44 -r1.45 pkgsrc/www/moodle/Makefile (expand / switch to unified diff)

--- pkgsrc/www/moodle/Makefile 2015/11/21 11:17:13 1.44
+++ pkgsrc/www/moodle/Makefile 2016/01/15 06:50:55 1.45
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.44 2015/11/21 11:17:13 wen Exp $ 1# $NetBSD: Makefile,v 1.45 2016/01/15 06:50:55 wen Exp $
2 2
3DISTNAME= moodle-3.0 3DISTNAME= moodle-3.0.2
4PKGREVISION= 1 
5CATEGORIES= www 4CATEGORIES= www
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/}
7EXTRACT_SUFX= .tgz 6EXTRACT_SUFX= .tgz
8 7
9MAINTAINER= wenheping@gmail.com 8MAINTAINER= wenheping@gmail.com
10HOMEPAGE= http://www.moodle.org/ 9HOMEPAGE= http://www.moodle.org/
11COMMENT= Course management system based on social constructionism 10COMMENT= Course management system based on social constructionism
12LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
13 12
14DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.4:../../graphics/php-gd 13DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.4:../../graphics/php-gd
15DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.4.4:../../converters/php-iconv 14DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.4.4:../../converters/php-iconv
16DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.4:../../converters/php-mbstring 15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.4:../../converters/php-mbstring
17DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4.4:../../www/php-curl 16DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4.4:../../www/php-curl
@@ -76,26 +75,28 @@ SUBST_FILES.php+= enrol/ldap/cli/sync.ph @@ -76,26 +75,28 @@ SUBST_FILES.php+= enrol/ldap/cli/sync.ph
76SUBST_SED.php= -e "s,/usr/bin/php,${PREFIX}/bin/php,g" 75SUBST_SED.php= -e "s,/usr/bin/php,${PREFIX}/bin/php,g"
77 76
78SUBST_CLASSES+= perl 77SUBST_CLASSES+= perl
79SUBST_MESSAGE.perl= Fixing the path of perl. 78SUBST_MESSAGE.perl= Fixing the path of perl.
80SUBST_STAGE.perl= post-patch 79SUBST_STAGE.perl= post-patch
81SUBST_FILES.perl= filter/algebra/algebra2tex.pl 80SUBST_FILES.perl= filter/algebra/algebra2tex.pl
82SUBST_SED.perl= -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g" 81SUBST_SED.perl= -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g"
83 82
84WRKSRC= ${WRKDIR}/moodle 83WRKSRC= ${WRKDIR}/moodle
85 84
86post-extract: 85post-extract:
87 ${CP} ${FILESDIR}/moodle.conf ${WRKDIR}/moodle.conf 86 ${CP} ${FILESDIR}/moodle.conf ${WRKDIR}/moodle.conf
88 87
89do-install: 88post-patch:
90 cd ${WRKDIR} && ${FIND} moodle -type f -print \ 89 cd ${WRKDIR} && ${FIND} moodle -type f -print \
91 | ${SED} -e 's,^,share/,' > ${WRKDIR}/PLIST.AUTO 90 | ${SED} -e 's,^,share/,' > ${WRKDIR}/PLIST.AUTO
 91
 92do-install:
92 cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${MOODLEDIR}/ 93 cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${MOODLEDIR}/
93 ${INSTALL_DATA} ${WRKDIR}/moodle.conf \ 94 ${INSTALL_DATA} ${WRKDIR}/moodle.conf \
94 ${DESTDIR}${PREFIX}/${EGDIR}/moodle.conf 95 ${DESTDIR}${PREFIX}/${EGDIR}/moodle.conf
95 96
96post-install: 97post-install:
97 ${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR} 98 ${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR}
98 ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR} 99 ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR}
99 100
100.include "../../lang/php/phpversion.mk" 101.include "../../lang/php/phpversion.mk"
101.include "../../mk/bsd.pkg.mk" 102.include "../../mk/bsd.pkg.mk"

cvs diff -r1.33 -r1.34 pkgsrc/www/moodle/distinfo (expand / switch to unified diff)

--- pkgsrc/www/moodle/distinfo 2015/11/19 02:05:34 1.33
+++ pkgsrc/www/moodle/distinfo 2016/01/15 06:50:55 1.34
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.33 2015/11/19 02:05:34 wen Exp $ 1$NetBSD: distinfo,v 1.34 2016/01/15 06:50:55 wen Exp $
2 2
3SHA1 (moodle-3.0.tgz) = db9328196c1265a584680736f7a16d921da74987 3SHA1 (moodle-3.0.2.tgz) = 872f1b5b9de9fa9c9862cbcf0dc384d3f580a302
4RMD160 (moodle-3.0.tgz) = 4cf8cb86e9a42987712930df7da44de3954066ef 4RMD160 (moodle-3.0.2.tgz) = b21fe00dadeace4307dc2370aca7b84fbc65b3ca
5SHA512 (moodle-3.0.tgz) = fccdcfe38d376fe55339becdf900a93acaf3b24787955a6651c54a52895bf85d788a7aae26d5417adc9dbb20db00a1650b349d804cd9afc81f02284d28d2be2c 5SHA512 (moodle-3.0.2.tgz) = 1c37bcb3f7a6b861c85a22c64a09bcbb2d0dddf8e8dabc63c616034bfd98dc4780222c7d31ab65d19a16f8ab471ba9d25d4bce3b3b04875e12fdde8404bc1aee
6Size (moodle-3.0.tgz) = 37986599 bytes 6Size (moodle-3.0.2.tgz) = 38045086 bytes