Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 23:02:41 +0000 (UTC)
From:      Jason Unovitch <junovitch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r395142 - branches/2015Q3/www/mediawiki125
Message-ID:  <201508232302.t7NN2f6x069040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: junovitch
Date: Sun Aug 23 23:02:40 2015
New Revision: 395142
URL: https://svnweb.freebsd.org/changeset/ports/395142

Log:
  MFH: r394006
  
  - Update to 1.25.2
  - Update options
  
  PR:		202328
  Security:	6241b5df-42a1-11e5-93ad-002590263bf5
  Approved by:	ports-secteam (delphij), delphij (mentor)

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

Modified: branches/2015Q3/www/mediawiki125/Makefile
==============================================================================
--- branches/2015Q3/www/mediawiki125/Makefile	Sun Aug 23 22:57:56 2015	(r395141)
+++ branches/2015Q3/www/mediawiki125/Makefile	Sun Aug 23 23:02:40 2015	(r395142)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mediawiki
-PORTVERSION=	1.25.1
+PORTVERSION=	1.25.2
 CATEGORIES=	www
 MASTER_SITES=	http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
 PKGNAMESUFFIX=	125
@@ -18,6 +18,7 @@ USES=		shebangfix
 SHEBANG_FILES=	maintenance/dev/*.sh \
 		maintenance/hiphop/run-server \
 		vendor/leafo/lessphp/lessify \
+		vendor/ruflin/elastica/test/bin/*.sh \
 		maintenance/postgres/*.pl \
 		maintenance/storage/make-blobs \
 		includes/limit.sh
@@ -34,54 +35,31 @@ PLIST=		${WRKDIR}/plist
 SUB_FILES=	pkg-message
 SUB_LIST=	MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
 
-OPTIONS_DEFINE=	MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK
-OPTIONS_DEFAULT=MYSQL
+OPTIONS_DEFINE=		LDAP MEMCACHED IMAGICK
+OPTIONS_SINGLE=		DB
+OPTIONS_SINGLE_DB=	MYSQL PGSQL SQLITE
+OPTIONS_RADIO=		ACCEL
+OPTIONS_RADIO_ACCEL=	APC XCACHE
+OPTIONS_DEFAULT=	MYSQL
 
 MEMCACHED_DESC=	Use memcached
 APC_DESC=	Use pecl-APC (Mediawiki recommended)
-EACCEL_DESC=	Use eAccelerator (instead of pecl-APC)
 XCACHE_DESC=	Use xCache (instead of pecl-APC)
 IMAGICK_DESC=	Use ImageMagick
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL=	client
-USE_PHP+=	mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+=	pgsql
-.endif
-
-.if ${PORT_OPTIONS:MSQLITE}
-USE_PHP+=	sqlite3
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+=	ldap
-.endif
-
-.if ${PORT_OPTIONS:MMEMCACHED}
-RUN_DEPENDS=	memcached:${PORTSDIR}/databases/memcached
-.endif
-
-.if ${PORT_OPTIONS:MIMAGICK}
-RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
-.endif
-
-.if ${PORT_OPTIONS:MAPC}
-RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
-.elif ${PORT_OPTIONS:MEACCEL}
-RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator
-.elif ${PORT_OPTIONS:MXCACHE}
-RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache
-.endif
+MYSQL_USE=	mysql=client php=mysql
+PGSQL_USE=	php=pgsql
+SQLITE_USE=	php=sqlite3
+LDAP_USE=	php=ldap
+
+MEMCACHED_RUN_DEPENDS=	memcached:${PORTSDIR}/databases/memcached
+IMAGICK_RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
+APC_RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
+XCACHE_RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache
 
 pre-install:
 	@${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST}
-	@${ECHO} "@dir %%WWWDIR%%/vendor/zordius/lightncandy/specs/handlebars" >> ${PLIST}
-	@${ECHO} "@dir %%WWWDIR%%/vendor/zordius/lightncandy/specs/mustache" >> ${PLIST}
+	@${ECHO} "@dir %%WWWDIR%%/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures" >> ${PLIST}
 	@${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST}
 
 do-install:

Modified: branches/2015Q3/www/mediawiki125/distinfo
==============================================================================
--- branches/2015Q3/www/mediawiki125/distinfo	Sun Aug 23 22:57:56 2015	(r395141)
+++ branches/2015Q3/www/mediawiki125/distinfo	Sun Aug 23 23:02:40 2015	(r395142)
@@ -1,2 +1,2 @@
-SHA256 (mediawiki-1.25.1.tar.gz) = b3a7d672d12bd329d9ca64ae2428a19fbf5e10b234568114fa17df84d2428731
-SIZE (mediawiki-1.25.1.tar.gz) = 23661450
+SHA256 (mediawiki-1.25.2.tar.gz) = 539fecfe3d0c7de8130b0c3b548fe1f862f60df76396dc54ee0548c87e5f2482
+SIZE (mediawiki-1.25.2.tar.gz) = 24018158



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