ports/99962: Update port: www/mediawiki

Gerrit Beine gerrit.beine at gmx.de
Sun Jul 9 13:20:23 UTC 2006


>Number:         99962
>Category:       ports
>Synopsis:       Update port: www/mediawiki
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 09 13:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Beine
>Release:        FreeBSD 6.1-RELEASE
>Organization:
>Environment:
FreeBSD freebsd61.vmware 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Update port to version 1.7.1

The new MediaWiki branch doesn't support PHP 4 and MySQL 3.23 anymore.

Please read http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.7 carefully before updating the port.
>How-To-Repeat:

>Fix:
diff -Nur /usr/ports/www/mediawiki/Makefile mediawiki/Makefile
--- /usr/ports/www/mediawiki/Makefile	Sat Jul  1 14:26:16 2006
+++ mediawiki/Makefile	Sat Jul  1 14:57:38 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	mediawiki
-PORTVERSION=	1.6.7
-PORTREVISION=	2
+PORTVERSION=	1.7.1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	wikipedia
@@ -15,26 +14,19 @@
 MAINTAINER=	gerrit.beine at gmx.de
 COMMENT=	The wiki engine used by Wikipedia
 
-CONFLICTS=	mediawiki-1.[0-57-9].*
+CONFLICTS=	mediawiki-1.[0-68-9].*
 
 NO_BUILD=	yes
-USE_PHP=	iconv mbstring pcre session xml zlib readline
+USE_MYSQL=	yes
+IGNORE_WITH_MYSQL=	323
+USE_PHP=	iconv mbstring pcre session xml zlib readline mysql
+IGNORE_WITH_PHP=	4
 WANT_PHP_WEB=	yes
 MEDIAWIKIDIR?=	www/mediawiki
 
-OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
-		LDAP "Use LDAP authentication" off
+OPTIONS=	LDAP "Use LDAP authentication" off
 
 .include <bsd.port.pre.mk>
-
-.if defined(WITH_PGSQL)
-USE_PHP+=	pgsql
-IGNORE=		the table definitions for PostgreSQL install are out of date.\
-		PostgreSQL support may return in later releases, pending appropriate patches.\
-		Use www/mediawiki15 for while
-.else
-USE_PHP+=	mysql
-.endif
 
 .if defined(WITH_LDAP)
 USE_PHP+=	ldap
diff -Nur /usr/ports/www/mediawiki/distinfo mediawiki/distinfo
--- /usr/ports/www/mediawiki/distinfo	Sat Jul  1 12:29:51 2006
+++ mediawiki/distinfo	Sat Jul  1 14:57:43 2006
@@ -1,3 +1,3 @@
-MD5 (mediawiki-1.6.7.tar.gz) = cbcba609339abb5688068e5dc379110b
-SHA256 (mediawiki-1.6.7.tar.gz) = 0b88551c6637a75ea271e46698ea1a1838a6f4fce83a749ad09a7a6c6ae65ff3
-SIZE (mediawiki-1.6.7.tar.gz) = 2728980
+MD5 (mediawiki-1.7.1.tar.gz) = 50b74e2b5c86fb94c7201b72d2037662
+SHA256 (mediawiki-1.7.1.tar.gz) = c1b921faedddc14befe1c9593cba80cf6acfe86f21d9eca48617f7a95461bdd2
+SIZE (mediawiki-1.7.1.tar.gz) = 3256428
diff -Nur /usr/ports/www/mediawiki/pkg-message mediawiki/pkg-message
--- /usr/ports/www/mediawiki/pkg-message	Mon Feb 14 07:34:06 2005
+++ mediawiki/pkg-message	Sat Jul  1 15:02:54 2006
@@ -4,4 +4,8 @@
 
 %%MEDIAWIKIDIR%%/INSTALL
 
+and
+
+%%MEDIAWIKIDIR%%/UPGRADE
+
 for details

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list