aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2014-03-22 12:50:22 +0800
committerwen <wen@FreeBSD.org>2014-03-22 12:50:22 +0800
commit7622c01cb32a8e66ef48130ea9eb2940ca805a14 (patch)
treedba8e4151c71406e76cfc9643c907121773804f9 /www
parent357c1fe43c2795de531061083e1c4a0515bcb50e (diff)
downloadfreebsd-ports-gnome-7622c01cb32a8e66ef48130ea9eb2940ca805a14.tar.gz
freebsd-ports-gnome-7622c01cb32a8e66ef48130ea9eb2940ca805a14.tar.zst
freebsd-ports-gnome-7622c01cb32a8e66ef48130ea9eb2940ca805a14.zip
- Update www/mediawiki122 to 1.22.4 and connect
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mediawiki122/Makefile8
-rw-r--r--www/mediawiki122/distinfo4
-rw-r--r--www/mediawiki122/files/patch-includes-MagicWord.php13
4 files changed, 7 insertions, 19 deletions
diff --git a/www/Makefile b/www/Makefile
index 4f6fa69a49e7..a66150aa58f0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -429,6 +429,7 @@
SUBDIR += mediawiki119
SUBDIR += mediawiki120
SUBDIR += mediawiki121
+ SUBDIR += mediawiki122
SUBDIR += mergelog
SUBDIR += mgstat
SUBDIR += mhonarc
diff --git a/www/mediawiki122/Makefile b/www/mediawiki122/Makefile
index 47279e4d8816..d5d56d7bdee7 100644
--- a/www/mediawiki122/Makefile
+++ b/www/mediawiki122/Makefile
@@ -2,19 +2,19 @@
# $FreeBSD$
PORTNAME= mediawiki
-PORTVERSION= 1.21.7
+PORTVERSION= 1.22.4
CATEGORIES= www
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
-PKGNAMESUFFIX= 121
+PKGNAMESUFFIX= 122
MAINTAINER= wen@FreeBSD.org
COMMENT= The wiki engine used by Wikipedia
LICENSE= GPLv2
-CONFLICTS= mediawiki119-* mediawiki12[02-9]-*
+CONFLICTS= mediawiki119-[0-9]* mediawiki12[01]-[0-9]*
-USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom
+USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom json
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
diff --git a/www/mediawiki122/distinfo b/www/mediawiki122/distinfo
index 412e97a20ee2..c7a4cb6c77f3 100644
--- a/www/mediawiki122/distinfo
+++ b/www/mediawiki122/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mediawiki-1.21.7.tar.gz) = df2d80597d93f61c2635480131e061acdee57c0ef7c476b827162fbf7c5b281d
-SIZE (mediawiki-1.21.7.tar.gz) = 19784466
+SHA256 (mediawiki-1.22.4.tar.gz) = 51c259cba0a9a6485d84c10c3ebc9dbafde3e2460a6b5b878c6305f3951d6ef1
+SIZE (mediawiki-1.22.4.tar.gz) = 19948845
diff --git a/www/mediawiki122/files/patch-includes-MagicWord.php b/www/mediawiki122/files/patch-includes-MagicWord.php
deleted file mode 100644
index 3996e767d188..000000000000
--- a/www/mediawiki122/files/patch-includes-MagicWord.php
+++ /dev/null
@@ -1,13 +0,0 @@
---- includes/MagicWord.php.orig 2014-02-12 22:03:25.000000000 +0800
-+++ includes/MagicWord.php 2014-02-12 22:05:10.000000000 +0800
-@@ -704,7 +704,9 @@
- $magic = MagicWord::get( $name );
- $case = intval( $magic->isCaseSensitive() );
- foreach ( $magic->getSynonyms() as $i => $syn ) {
-- $group = "(?P<{$i}_{$name}>" . preg_quote( $syn, '/' ) . ')';
-+ // Group name must start with a non-digit in PCRE 8.34+
-+ $it = strtr( $i, '0123456789', 'abcdefghij' );
-+ $group = "(?P<{$it}_{$name}>" . preg_quote( $syn, '/' ) . ')';
- if ( $this->baseRegex[$case] === '' ) {
- $this->baseRegex[$case] = $group;
- } else {