Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2015 23:20:10 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r392474 - branches/2015Q3/www/moodle27
Message-ID:  <201507182320.t6INKAX3029667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Jul 18 23:20:09 2015
New Revision: 392474
URL: https://svnweb.freebsd.org/changeset/ports/392474

Log:
  MFH: r391628
  
  - Update to 2.7.9
  - Update options
  - Add missing php module
  - Fix file permissions
  - Adjust CONFLICTS
  - Mark DEPRECTED
  
  Security:       43891162-2d5e-11e5-a4a5-002590263bf5
  Security:       CVE-2015-3272
  Security:       CVE-2015-3273
  Security:       CVE-2015-3274
  Security:       CVE-2015-3275
  PR:     	201675
  Approved by:    ports-secteam (with hat)

Modified:
  branches/2015Q3/www/moodle27/Makefile
  branches/2015Q3/www/moodle27/distinfo
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/www/moodle27/Makefile
==============================================================================
--- branches/2015Q3/www/moodle27/Makefile	Sat Jul 18 23:19:23 2015	(r392473)
+++ branches/2015Q3/www/moodle27/Makefile	Sat Jul 18 23:20:09 2015	(r392474)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	moodle
-PORTVERSION=	2.7.8
+PORTVERSION=	2.7.9
 CATEGORIES=	www
 MASTER_SITES=	SF/moodle/Moodle/stable27/
 PKGNAMESUFFIX=	${PKGORIGIN:T:S/moodle//}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Course management system based on social constructionism
@@ -16,16 +15,21 @@ LICENSE=	GPLv3
 BUILD_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl
 RUN_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl
 
-CONFLICTS=	moodle28-2.8.[0-9]* moodle29-2.9
+CONFLICTS=	moodle28-2.8.[0-9]* moodle29-2.9.[0-9]*
 
+DEPRECATED=		Please upgrade to moodle28 or moodle29
+EXPIRATION_DATE=	2015-10-09
+
+USES=		tar:tgz
 USE_PHP=	session gd pcre mbstring iconv tokenizer curl xml xmlrpc ctype \
-		soap openssl simplexml spl dom json zip zlib hash
+		soap openssl simplexml spl dom json zip zlib hash opcache
 WRKSRC=		${WRKDIR}/moodle
 
-OPTIONS_DEFINE=	MYSQL PGSQL MSSQL LDAP MIMETEX
-OPTIONS_DEFAULT=MYSQL
-MSSQL_DESC=	MS SQL Server support
-MIMETEX_DESC=	mimeTeX filter functionality support
+OPTIONS_SINGLE=		BACKEND
+OPTIONS_SINGLE_BACKEND=	MYSQL PGSQL MSSQL
+OPTIONS_DEFINE=		LDAP MIMETEX
+OPTIONS_DEFAULT=	MYSQL
+MIMETEX_DESC=		mimeTeX filter functionality support
 
 .include <bsd.port.options.mk>
 
@@ -59,11 +63,12 @@ MOODLEDIR?=	www/moodle
 MOODLEDATADIR?=	moodledata
 
 pre-install:
+	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST}
+	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST}
+
 	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
 	@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
 	@${ECHO_CMD} "@mode 755" >> ${PLIST}
-	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST}
-	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST}
 	@${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST}
 	@${ECHO_CMD} "@mode" >> ${PLIST}
 	@${ECHO_CMD} "@group" >> ${PLIST}

Modified: branches/2015Q3/www/moodle27/distinfo
==============================================================================
--- branches/2015Q3/www/moodle27/distinfo	Sat Jul 18 23:19:23 2015	(r392473)
+++ branches/2015Q3/www/moodle27/distinfo	Sat Jul 18 23:20:09 2015	(r392474)
@@ -1,2 +1,2 @@
-SHA256 (moodle-2.7.8.tgz) = 47e87402dee85f7c046371167b1b1996e6956d2557d77e5cb82324e805e1643c
-SIZE (moodle-2.7.8.tgz) = 34978840
+SHA256 (moodle-2.7.9.tgz) = d746bfacd44bc7b33ed7cff12b7189bd2021e809a4a64836f124c4ae75d08a7d
+SIZE (moodle-2.7.9.tgz) = 34986369



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507182320.t6INKAX3029667>