head	1.42;
access;
symbols
	RELEASE_5_EOL:1.41
	RELEASE_7_0_0:1.38
	RELEASE_6_3_0:1.38
	old_PRE_XORG_7:1.36
	old_RELEASE_4_EOL:1.34
	old_RELEASE_6_2_0:1.32
	old_RELEASE_6_1_0:1.22
	old_RELEASE_5_5_0:1.22
	old_RELEASE_6_0_0:1.11
	old_RELEASE_5_4_0:1.3;
locks; strict;
comment	@# @;


1.42
date	2008.08.26.14.46.54;	author miwi;	state dead;
branches;
next	1.41;

1.41
date	2008.03.10.13.14.56;	author rafan;	state Exp;
branches;
next	1.40;

1.40
date	2008.02.01.14.17.02;	author miwi;	state Exp;
branches;
next	1.39;

1.39
date	2007.12.18.00.01.50;	author miwi;	state Exp;
branches;
next	1.38;

1.38
date	2007.09.22.21.53.02;	author miwi;	state Exp;
branches;
next	1.37;

1.37
date	2007.06.14.21.14.56;	author miwi;	state Exp;
branches;
next	1.36;

1.36
date	2007.03.06.06.51.50;	author linimon;	state Exp;
branches;
next	1.35;

1.35
date	2007.03.03.12.46.57;	author miwi;	state Exp;
branches;
next	1.34;

1.34
date	2006.12.10.22.47.11;	author miwi;	state Exp;
branches;
next	1.33;

1.33
date	2006.12.06.14.20.12;	author pav;	state Exp;
branches;
next	1.32;

1.32
date	2006.07.14.07.22.13;	author clsung;	state Exp;
branches;
next	1.31;

1.31
date	2006.07.01.17.34.39;	author clsung;	state Exp;
branches;
next	1.30;

1.30
date	2006.06.29.16.28.46;	author miwi;	state Exp;
branches;
next	1.29;

1.29
date	2006.06.29.03.45.27;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2006.06.06.12.56.15;	author ale;	state Exp;
branches;
next	1.27;

1.27
date	2006.05.27.22.03.34;	author clsung;	state Exp;
branches;
next	1.26;

1.26
date	2006.05.21.21.56.04;	author pav;	state Exp;
branches;
next	1.25;

1.25
date	2006.04.13.16.28.21;	author jmelo;	state Exp;
branches;
next	1.24;

1.24
date	2006.03.29.11.41.31;	author garga;	state Exp;
branches;
next	1.23;

1.23
date	2006.03.19.20.32.42;	author tdb;	state Exp;
branches;
next	1.22;

1.22
date	2006.01.22.16.50.10;	author arved;	state Exp;
branches;
next	1.21;

1.21
date	2006.01.15.02.40.34;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2006.01.10.20.14.40;	author tdb;	state Exp;
branches;
next	1.19;

1.19
date	2006.01.05.03.57.34;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2005.12.20.20.52.18;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2005.11.08.16.06.40;	author garga;	state Exp;
branches;
next	1.16;

1.16
date	2005.10.28.11.46.13;	author garga;	state Exp;
branches;
next	1.15;

1.15
date	2005.10.13.13.55.36;	author garga;	state Exp;
branches;
next	1.14;

1.14
date	2005.10.10.10.28.20;	author garga;	state Exp;
branches;
next	1.13;

1.13
date	2005.09.23.11.29.35;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2005.08.31.22.25.24;	author jylefort;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.22.09.02.22;	author novel;	state Exp;
branches;
next	1.10;

1.10
date	2005.07.08.13.51.46;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2005.06.06.18.22.07;	author flz;	state Exp;
branches;
next	1.8;

1.8
date	2005.06.06.11.31.26;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2005.05.14.13.52.07;	author jylefort;	state Exp;
branches;
next	1.6;

1.6
date	2005.05.06.17.53.26;	author novel;	state Exp;
branches;
next	1.5;

1.5
date	2005.05.06.08.34.38;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.02.07.05.44;	author novel;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.04.10.44.05;	author flz;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.02.09.44.47;	author flz;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.14.06.34.06;	author clsung;	state Exp;
branches;
next	;


desc
@@


1.42
log
@www/mediawiki19||2008-08-26|Expired, use www/mediawiki instead
www/mediawiki110||2008-08-26|Expired, use www/mediawiki instead
www/mediawiki111||2008-08-26|Expired, use www/mediawiki instead

Approved by:	maintainer
@
text
@# New ports collection makefile for:	www/mediawiki
# Date created:				February 1st 2005
# Whom:	      				Gerrit Beine <tux@@pinguru.net>
#
# $FreeBSD: ports/www/mediawiki19/Makefile,v 1.41 2008/03/10 13:14:56 rafan Exp $
#

PORTNAME=	mediawiki
PORTVERSION=	1.9.6
CATEGORIES=	www
MASTER_SITES=	http://download.wikimedia.org/mediawiki/1.9/

MAINTAINER=	gerrit.beine@@gmx.de
COMMENT=	The wiki engine used by Wikipedia

CONFLICTS=	mediawiki-1.[0-8].* mediawiki-1.1[0-9].*

NO_BUILD=	yes
USE_PHP=	iconv mbstring pcre session xml zlib readline
IGNORE_WITH_PHP=	4
WANT_PHP_WEB=	yes
MEDIAWIKIDIR?=	www/mediawiki

OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL" off \
		LDAP "Use LDAP authentication" off \
		IMAGICK "Use ImageMagick" off

.include <bsd.port.pre.mk>

.if defined(WITH_PGSQL)
USE_PHP+=	pgsql
.else
USE_MYSQL=	yes
IGNORE_WITH_MYSQL=	323
USE_PHP+=	mysql
.endif

.if defined(WITH_LDAP)
USE_PHP+=	ldap
.endif

.if defined(WITH_IMAGICK)
RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
.endif

do-install:
	@@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
	${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}

post-install:
	@@${FIND} ${WRKSRC}/${file} -not -type d \
		| ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
	@@${FIND} -d ${WRKSRC}/${file} -type d \
		| ${SED} -ne 's,^${WRKSRC},@@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
	@@${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.41
log
@- Update to 1.9.6
- Fix WITH_PGSQL
- Add IMAGICK option

PR:		ports/121510
Submitted by:	Gerrit Beine <gerrit.beine at gmx.de> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.40
log
@- Update to 1.9.5

PR:		120047
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.9.5
a18 2
USE_MYSQL=	yes
IGNORE_WITH_MYSQL=	323
d24 3
a26 2
OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
		LDAP "Use LDAP authentication" off
d33 2
d42 4
@


1.39
log
@- Mark deprecated (no longer supported)

Submitted by:	Gerrit Beine (maintainer via private mail)
@
text
@d9 1
a9 1
PORTVERSION=	1.9.4
a16 2
DEPRECATED=	No longer supported, please upgrade your wiki installation
EXPIRES=	2007-12-31
@


1.38
log
@- Update to 1.9.4

PR:		116523
Submitted by:	Nick Barkas <snb@@threerings.net>
Approved by:	maintainer implicit
Security:	http://www.vuxml.org/freebsd/c9c14242-6843-11dc-82b6-02e0185f8d72.html
@
text
@d17 2
@


1.37
log
@- Repocopy www/mediawiki to www/mediawiki19
- Fix MASTER_SITES
- Add conflicts for MediaWiki 1.10

PR:		113523
Submitted by:	Gerrit Beine<gerrit.beine@@gmx.de> (maintainer)
Repocopied by:	marcus
@
text
@d9 1
a9 1
PORTVERSION=	1.9.3
@


1.36
log
@Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS.

PR:		ports/106557
Submitted by:	ale
Hat:		portmgr
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	wikipedia
d16 1
a16 1
CONFLICTS=	mediawiki-1.[0-79].*
@


1.35
log
@- Update to 1.9.3

Submitted by:   Florian C. Smeets <flo@@kasimir.com>
Approved by:    maintainer (implicit)
@
text
@a41 3
# Fix USE_PHP after bsd.port.pre.mk
.include "${PORTSDIR}/Mk/bsd.php.mk"

@


1.34
log
@- Add PostgreSQL support

PR:		ports/106558
Submitted by:	Gerrit Beine<gerrit.beine@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.2
@


1.33
log
@- Update to 1.8.2

PR:		ports/106268
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d22 1
a22 1
USE_PHP=	iconv mbstring pcre session xml zlib readline mysql
d27 2
a28 1
OPTIONS=	LDAP "Use LDAP authentication" off
d32 6
@


1.32
log
@- 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.

PR:		ports/99962
Submitted by:	maintainer (Gerrit Beine)
@
text
@d9 1
a9 1
PORTVERSION=	1.7.1
d17 1
a17 1
CONFLICTS=	mediawiki-1.[0-68-9].*
@


1.31
log
@- Update the MediaWiki 1.6 port to locate the diff3 util on
  FreeBSD correctly.
- bump PORTREVISION

Thanks to Mikhail Teterin for this patch.

PR:		ports/99685
Submitted by:	maintainer (Gerrit Beine)
@
text
@d9 1
a9 2
PORTVERSION=	1.6.7
PORTREVISION=	2
d17 1
a17 1
CONFLICTS=	mediawiki-1.[0-57-9].*
d20 4
a23 1
USE_PHP=	iconv mbstring pcre session xml zlib readline
d27 1
a27 2
OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
		LDAP "Use LDAP authentication" off
a30 9
.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

@


1.30
log
@- Fix pkg-plist
- Bump PORTREVISION

Approved by:	markus (co mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.29
log
@- New WWW layout
- Update to version 1.6.7

PR:		ports/98989
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de>
Approved by:	Markus (co mentor), maintainer
@
text
@d10 1
a55 1
	@@${ECHO_CMD} "@@unexec rmdir %D/www/ 2>/dev/null || true" >> ${TMPPLIST}
@


1.28
log
@Mediawiki doesn't use the pecl-imagick extension,
it can optionally use ImageMagick from command-line.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.6
d22 1
a22 1
MEDIAWIKIDIR?=	www/data-dist/mediawiki
d55 1
a55 1
	@@${ECHO_CMD} "@@unexec rmdir %D/www/data-dist 2>/dev/null || true" >> ${TMPPLIST}
@


1.27
log
@- Security update to version 1.6.6

PR:		ports/98031
Submitted by:	maintainer (Gerrit Beine)
@
text
@d20 1
a20 1
USE_PHP=	iconv mbstring pcre session xml zlib imagick readline
@


1.26
log
@- Fix plist after recent php changes
@
text
@d9 1
a9 1
PORTVERSION=	1.6.3
@


1.25
log
@- Update to 1.6.3.
- Add note to PostgreSQL users who are migrating from < 1.6.X.
- Add bsd.php.mk to fix USE_PHP after bsd.port.pre.mk.

PR:		ports/95630
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
Reworked by:	mnag
Approved by:	mnag (mentor)
@
text
@d55 1
@


1.24
log
@- Update to 1.5.8

PR:		ports/95009
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.5.8
d17 1
a17 1
CONFLICTS=	mediawiki-1.[0-46-9].*
d24 1
a24 1
OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL" off \
d31 3
d42 3
d46 3
a48 3
	-${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
	@@${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}
d52 1
a52 1
	  | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
d54 1
a54 1
	  | ${SED} -ne 's,^${WRKSRC},@@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
@


1.23
log
@- Update to 1.5.7

PR:		94691
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.7
@


1.22
log
@Update to 1.5.6
Update maintainers email address

PR:		92152
Submitted by:	Gerrit Beine
@
text
@d9 1
a9 1
PORTVERSION=	1.5.6
@


1.21
log
@- Update to 1.5.5

PR:		ports/91617
Submitted by:	Thomas Vogt <thomas@@bsdunix.ch>
Approved by:	Gerrit Beine <tux@@pinguru.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.5
d14 1
a14 1
MAINTAINER=	tux@@pinguru.net
@


1.20
log
@- Update to 1.5.4
- Update WWW URL

PR:		91140
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.4
@


1.19
log
@Chase libversion bumb to libMagick.so.9

PR:		ports/91270
@
text
@d9 1
a9 2
PORTVERSION=	1.5.3
PORTREVISION=	1
@


1.18
log
@www/mediawiki update to 1.5.3 (security update)

	Fixes a security issue: Validation of the user language
	option was broken by a code change in May 2005, opening the
	possibility of remote code execution as this parameter is
	used in forming a class name dynamically created with eval().
	The validation has been corrected in this version.  All
	prior 1.5 release and prelease versions are affected; 1.4
	and earlier and not affected.

PR:		ports/90335
Submitted by:	Thomas Vogt <thomas@@bsdunix.ch>
Approved by:	maintainer timeout
@
text
@d10 1
@


1.17
log
@- Update to 1.5.2
- Use background options handling from Porter's Handbook

PR:		ports/88651
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
@


1.16
log
@- Update to 1.5.1

Changes: http://sourceforge.net/project/shownotes.php?release_id=366110

PR:		ports/88063
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.5.1
d27 1
a27 7
PORT_DBDIR?=	/var/db/ports
LATEST_LINK=	${PORTNAME}
OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options

.if exists(${OPTIONSFILE})
.include "${OPTIONSFILE}"
.endif
d51 1
a51 1
.include <bsd.port.mk>
@


1.15
log
@- Update to 1.5.0

PR:		ports/87206
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.5.0
@


1.14
log
@- Update to 1.4.11

PR:		ports/87045
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.11
d17 1
a17 1
CONFLICTS=	mediawiki-1.[0-35-9].*
@


1.13
log
@- Update to 1.4.10

PR:		86469
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.10
d17 1
a17 1
CONFLICTS=	mediawiki-1.3.*
@


1.12
log
@Update to 1.4.9

PR:		ports/85313
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.4.9
@


1.11
log
@Update to 1.4.7.

PR:		83895
Submitted by:	Gerrit Beine (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.7
@


1.10
log
@- Update to 1.4.6, which fixes Javascript injection vulnerability

PR:		ports/83142
Submitted by:	Gerrit Beine <tux@@pinguru.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.6
@


1.9
log
@- Fix typo (LASTEST_LINK -> LATEST_LINK).

Noticed by:	Mike Harding <mvh@@ix.netcom.com>
@
text
@d9 1
a9 2
PORTVERSION=	1.4.5
PORTREVISION=	1
@


1.8
log
@- Security update to 1.4.5.
- Fix LATEST_LINK.

PR:		ports/81946
Submitted by:	maintainer
@
text
@d10 1
d29 1
a29 1
LASTEST_LINK=	${PORTNAME}
@


1.7
log
@- Do not use NO_LATEST_LINK [1]
- Fix a typo in COMMENT

PR:		ports/80898 [1]
Submitted by:	maintainer [1]
@
text
@d9 1
a9 1
PORTVERSION=	1.4.4
d28 1
@


1.6
log
@Update to 1.4.4

PR:		80700
Submitted by:	Gerrit Beine (maintainer)
@
text
@d15 1
a15 1
COMMENT=	The wiki enginge used by Wikipedia
a27 1
NO_LATEST_LINK=	yes
@


1.5
log
@- Update to 1.4.0

PR:		ports/80001
Submitted by:	Gerrit Beine <tux@@pinguru.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0
d20 1
a20 1
USE_PHP=	mysql session zlib
d24 21
@


1.4
log
@Update to 1.3.12

PR:		80518
Submitted by:	Gerrit Beine (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.12
d17 2
d20 1
a20 1
USE_PHP=	iconv mbstring pcre session xml zlib imagick readline
a23 21
OPTIONS=	PGSQL "Use PostgreSQL instead of MySQL" off \
		LDAP "Use LDAP authentication" off

PORT_DBDIR?=	/var/db/ports
LATEST_LINK=	${PORTNAME}
OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options

.if exists(${OPTIONSFILE})
.include "${OPTIONSFILE}"
.endif

.if defined(WITH_PGSQL)
USE_PHP+=	pgsql
.else
USE_PHP+=	mysql
.endif

.if defined(WITH_LDAP)
USE_PHP+=	ldap
.endif

@


1.3
log
@- Add missing php dependencies (session and zlib).

PR:		ports/78399
Submitted by:	Gerrit Beine <tux@@pinguru.net> (maintainer)
Approved by:	pav (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	1.3.11
PORTREVISION=	1
d18 1
a18 1
USE_PHP=	mysql session zlib
d22 21
@


1.2
log
@- Update to 1.3.11.

PR:		ports/78283
Submitted by:	Gerrit Beine <tux@@pinguru.net> (maintainer)
Approved by:	pav (mentor)
@
text
@d10 1
d19 1
a19 1
USE_PHP=	mysql
@


1.1
log
@- MediaWiki is the collaborative editing software that runs Wikipedia,
  the free encyclopedia, and other projects.
  It's designed to handle a large number of users and pages without imposing
  too rigid a structure or workflow.

WWW: http://www.mediawiki.org/

PR:		ports/76957
Submitted by:	Gerrit Beine <tux AT pinguru dot net>
@
text
@d9 1
a9 1
PORTVERSION=	1.3.10
@

