Received: by mail.netbsd.org (Postfix, from userid 605) id 5B6B884D91; Sat, 25 Nov 2017 13:27:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D98FE84D65 for ; Sat, 25 Nov 2017 13:27:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 1zsVnXYy5vgy for ; Sat, 25 Nov 2017 13:27:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CF81F84D47 for ; Sat, 25 Nov 2017 13:27:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id BCC87FB40; Sat, 25 Nov 2017 13:27:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1511616430205270" MIME-Version: 1.0 Date: Sat, 25 Nov 2017 13:27:10 +0000 From: "Wen Heping" Subject: CVS commit: pkgsrc/www/moodle To: pkgsrc-changes@NetBSD.org Reply-To: wen@netbsd.org X-Mailer: log_accum Message-Id: <20171125132710.BCC87FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1511616430205270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wen Date: Sat Nov 25 13:27:10 UTC 2017 Modified Files: pkgsrc/www/moodle: Makefile distinfo options.mk Log Message: Update to 3.4 Update the minimum php version to 7.0.0 Update my email Upstream changes: Moodle 3.4: Server requirements These are just the minimum supported versions. We recommend keeping all of your software up-to-date. Moodle upgrade: Moodle 3.0 or later (if upgrading from earlier versions, you must upgrade to 3.0.10 as a first step) PHP version: minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.x could have some engine limitations. PHP extension intl is now required in Moodle 3.4 (it was recommended in 2.0 onwards) Database requirements Moodle supports the following database servers. Again, version numbers are just the minimum supported version. We recommend running the latest stable version of any software. Database Minimum version Recommended PostgreSQL 9.3 Latest MySQL 5.5.31 Latest MariaDB 5.5.31 Latest Microsoft SQL Server 2008 Latest Oracle Database 10.2 Latest Client requirements Browser support Moodle is compatible with any standards compliant web browser. We regularly test Moodle with the following browsers: Desktop: Chrome Firefox Safari Edge Internet Explorer Mobile: MobileSafari Google Chrome For the best experience and optimum security, we recommend that you keep your browser up to date. https://whatbrowser.org Note: Legacy browsers with known compatibility issues with Moodle 3.4: Internet Explorer 10 and below Safari 7 and below Major features Calendar improvements MDL-59333 - Calendar Improvements MDL-1322 - Calendar entries in monthly view should include course shortname MDL-59382 - Create calendar event quick-add MDL-59390 - Add navigation of all calendar views without page reload MDL-59394 - Add support for drag and drop of calendar events MDL-59386 - Add support for creation and update of calendar events using a modal dialogue MDL-59890 - Add support for calendar events at the category level Management of course participants MDL-59290 - Merge Course Participants and Enrolled Users pages MDL-59564 - Add bulk editing of enrolment status/dates for users in the course participants page MDL-59364 - Remove the "Brief / User Details" functionality from the participants page MDL-59365 - Enrol Users button on participants page MDL-59366 - Add filter controls to the participants page to allow custom filtering MDL-59367 - Add a roles column to participants page MDL-59368 - Add a groups column to the participants page MDL-59369 - Add a status column to the participants page MDL-59436 - Remove the columns from the participants page that are not in showuseridentity MDL-59821 - Add "Proceed to course content" to participants page Other highlights MDL-57791 - Implement analytics engine in Moodle MDL-59313 - Add links and a drop down to navigate between activities MDL-37361 - Allow teachers to mark activities as completed Backup, restore and import MDL-35429 - Correct the permissions required to download and restore course automated backups MDL-9367 - Restore with roll forward changes dates for user data MDL-59518 - Restore date should not roll for user created data - Core components Global search MDL-55356 - Index contents of the restored courses MDL-59523 - Course reset doesn't always shift dates MDL-58957 - Global search: Make it possible to search blocks MDL-59039 - Global search: Allow partial indexing (in scheduled task) Authentication MDL-30634 - Assign arbitrary system roles via LDAP sync MDL-58544 - Add option to trust email of an OAuth provider MDL-59844 - Enable OAuth 2 token-based authentication for requests in webdav_client MDL-59459 - Global Search: Increase file indexing coverage MDL-59913 - Global search: Allow search of non-enrolled courses Functional changes MDL-55358 - LIS Group Variables support in LTI MDL-36501 - Should have checkbox for extra credit when you add a grade item MDL-28574 - Web services: Manage tokens page should show tokens for all users MDL-26976 - Display space used in My Private Files MDL-35668 - Performance improvement in Server files repository MDL-49398 - Performance improvement due to Role definition caching & accesslib refactoring MDL-60002 - Assignment grading: Adding back "Save and show next" MDL-58889 - Make section titles and course titles more accessible in Boost MDL-57455 - Allow to tag database entries MDL-36985 - Assignment: automatically remove embedded files that are no longer linked from submission text. Reduce the size of "Download all submissions" MDL-59702 - Lesson overview report does not respect value of showuseridentity setting MDL-59460 - Forum: make Subscription mode setting configurable For administrators Please read carefully: Possible issues that may affect you in Moodle 3.4 MDL-42834 - Deprecate loginhttps. Sites that used to use this setting will now be served via https always MDL-46269 - Tool to convert http embedded content to https where available MDL-58388 - Let the admin control if the course end date form field in course settings is enabled by default MDL-60211 - New filters for User Tours MDL-59123 - Compile SCSS files on the command-line MDL-58567 - Upgrade: Show upgrade times MDL-55652 - Missing index on (timemodified) in grade_items_history table and several other grade history tables. This will increase performance of various reports but may also slow down Moodle upgrade MDL-60094 - Add CLI script to kill all sessions MDL-59495 - Register and publish courses with moodle.net only, remove support for alternative hubs MDL-59206 - Trigger an event in add_to_config_log function MDL-57115 - Move "Messages" block out from the standard Moodle distribution MDL-57734 - SEO - Create admin setting to be able to enable or disable search engine indexing for sites with forcelogin MDL-60309 - Boost: Add a setting for background image MDL-56751 - Create new security setting to configure the expiration time of tokens created via login/token.php or tool/mobile/launch.php Security issues MSA-17-0021 Students can find out email addresses of other students in the same course This list only includes security issues fixed after 3.3.2 release. Refer to other release notes for security issues fixed in earlier releases. For developers MDL-60611 - Upgrade PHPUnit to 6.4 to ensure compatibility with PHP 7.2 - may require changes in unittests. MDL-58948 - Compatibility with chrome mink driver MDL-53169 - Provide a way to retrieve all courses a user can potentially access. MDL-59459 - Global Search: Increase file indexing coverage MDL-59277 - navigation_node doesn't support TYPE_CONTAINER in get_css_type() MDL-58957 - Global search: Make it possible to search blocks. See the new \core_search\base_block class. MDL-53240 - Form element and admin setting type to choose file types and type groups MDL-53848 - Formslib - add function to $mform that makes it possible to hide form elements dependent on selected values MDL-60234 - Add possibility to disable admin warning if a development libs directory exists MDL-57886 - Plagiarism: onlinetext submission should pass raw submissiontext to plagiarism get_links() To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 pkgsrc/www/moodle/Makefile cvs rdiff -u -r1.46 -r1.47 pkgsrc/www/moodle/distinfo cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/moodle/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1511616430205270 Content-Disposition: inline Content-Length: 4353 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/moodle/Makefile diff -u pkgsrc/www/moodle/Makefile:1.59 pkgsrc/www/moodle/Makefile:1.60 --- pkgsrc/www/moodle/Makefile:1.59 Fri Nov 17 03:15:40 2017 +++ pkgsrc/www/moodle/Makefile Sat Nov 25 13:27:10 2017 @@ -1,26 +1,26 @@ -# $NetBSD: Makefile,v 1.59 2017/11/17 03:15:40 wen Exp $ +# $NetBSD: Makefile,v 1.60 2017/11/25 13:27:10 wen Exp $ -DISTNAME= moodle-3.3.3 +DISTNAME= moodle-3.4 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/} EXTRACT_SUFX= .tgz -MAINTAINER= wenheping@gmail.com +MAINTAINER= wen@NetBSD.org HOMEPAGE= http://www.moodle.org/ COMMENT= Course management system based on social constructionism LICENSE= gnu-gpl-v3 -DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.4:../../graphics/php-gd -DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.4.4:../../converters/php-iconv -DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.4:../../converters/php-mbstring -DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4.4:../../www/php-curl -DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.4.4:../../net/php-xmlrpc -DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.4.4:../../net/php-soap -DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4.4:../../textproc/php-json -DEPENDS+= ${PHP_PKG_PREFIX}-intl>=5.4.4:../../textproc/php-intl -DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.4.4:../../archivers/php-zip -DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.4.4:../../archivers/php-zlib -DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=5.4.4:../../devel/php-opcache +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=7.0.0:../../graphics/php-gd +DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=7.0.0:../../converters/php-iconv +DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.0.0:../../converters/php-mbstring +DEPENDS+= ${PHP_PKG_PREFIX}-curl>=7.0.0:../../www/php-curl +DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=7.0.0:../../net/php-xmlrpc +DEPENDS+= ${PHP_PKG_PREFIX}-soap>=7.0.0:../../net/php-soap +DEPENDS+= ${PHP_PKG_PREFIX}-json>=7.0.0:../../textproc/php-json +DEPENDS+= ${PHP_PKG_PREFIX}-intl>=7.0.0:../../textproc/php-intl +DEPENDS+= ${PHP_PKG_PREFIX}-zip>=7.0.0:../../archivers/php-zip +DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=7.0.0:../../archivers/php-zlib +DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=7.0.0:../../devel/php-opcache EGDIR= share/examples/moodle MOODLEDIR= ${PREFIX}/share/moodle @@ -32,6 +32,9 @@ INSTALLATION_DIRS= ${EGDIR} share/moodle .include "../../mk/bsd.prefs.mk" .include "options.mk" +PHP_VERSIONS_INCOMPATIBLE= 56 +PHP_VERSIONS_ACCEPTED= 70 71 72 + PKG_GROUPS_VARS= APACHE_GROUP PKG_USERS_VARS= APACHE_USER BUILD_DEFS+= APACHE_USER APACHE_GROUP Index: pkgsrc/www/moodle/distinfo diff -u pkgsrc/www/moodle/distinfo:1.46 pkgsrc/www/moodle/distinfo:1.47 --- pkgsrc/www/moodle/distinfo:1.46 Fri Nov 17 03:15:40 2017 +++ pkgsrc/www/moodle/distinfo Sat Nov 25 13:27:10 2017 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.46 2017/11/17 03:15:40 wen Exp $ +$NetBSD: distinfo,v 1.47 2017/11/25 13:27:10 wen Exp $ -SHA1 (moodle-3.3.3.tgz) = 3f274e728b84a7f1ca5a29027cf9f64306c39db6 -RMD160 (moodle-3.3.3.tgz) = 38550efa146e0f19cb547b41a85bff69ecbdc50d -SHA512 (moodle-3.3.3.tgz) = 9d0097b081b4f6ad4e5d4951696d552bf097e22f807bcf9ad3112388716fcc16ca4c5bd79074739689205c8f193901874f892b29f15c1cf4545cdcc38fc7c4c7 -Size (moodle-3.3.3.tgz) = 44238027 bytes +SHA1 (moodle-3.4.tgz) = 8f22cfdaae28bc5aa0dc83b5e928a08620694ebb +RMD160 (moodle-3.4.tgz) = bb3b74918550036ae5f05c8aa48eca89f0dfccca +SHA512 (moodle-3.4.tgz) = 72cc62864c7b8020af5b48d7af47afe763ce593f96749d149c3dcfd39f9eb3f8de383bc4684c6591ad5ad157c85f0ffea54eb70489e8312b8b09c63a73f32dba +Size (moodle-3.4.tgz) = 44875575 bytes Index: pkgsrc/www/moodle/options.mk diff -u pkgsrc/www/moodle/options.mk:1.5 pkgsrc/www/moodle/options.mk:1.6 --- pkgsrc/www/moodle/options.mk:1.5 Sat Apr 15 15:55:21 2017 +++ pkgsrc/www/moodle/options.mk Sat Nov 25 13:27:10 2017 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2017/04/15 15:55:21 taca Exp $ +# $NetBSD: options.mk,v 1.6 2017/11/25 13:27:10 wen Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.moodle @@ -12,7 +12,7 @@ PKG_SUGGESTED_OPTIONS= mysql ### Use mysql or postgresql backend ### .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.2.14:../../databases/php-mysqli +DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=7.0.0:../../databases/php-mysqli .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=7.0.0:../../databases/php-pgsql .endif --_----------=_1511616430205270--