Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2009 09:32:05 GMT
From:      Gerrit Beine <gerrit.beine@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137910: Repocopy Port www/mediawiki12
Message-ID:  <200908180932.n7I9W5QJ018593@www.freebsd.org>
Resent-Message-ID: <200908180940.n7I9e1PR067187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137910
>Category:       ports
>Synopsis:       Repocopy Port www/mediawiki12
>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:   Tue Aug 18 09:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Beine
>Release:        FreeBSD 7.2-RELEASE
>Organization:
SQQD GmbH
>Environment:
FreeBSD tinderbox.intern.sapat.de 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Repocopy www/mediawiki12 to www/mediawiki112
The name mediawiki12 was a mistake
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/mediawiki112
#	www/mediawiki112/files
#	www/mediawiki112/files/patch-index.php
#	www/mediawiki112/Makefile
#	www/mediawiki112/distinfo
#	www/mediawiki112/pkg-descr
#	www/mediawiki112/pkg-message
#
echo c - www/mediawiki112
mkdir -p www/mediawiki112 > /dev/null 2>&1
echo c - www/mediawiki112/files
mkdir -p www/mediawiki112/files > /dev/null 2>&1
echo x - www/mediawiki112/files/patch-index.php
sed 's/^X//' >www/mediawiki112/files/patch-index.php << '2c6503382a384713882a92ecee19d1ee'
X--- config/index.php.orig	Sat Oct 14 02:06:36 2006
X+++ config/index.php	Sun Dec  3 16:18:18 2006
X@@ -434,7 +434,7 @@
X $diff3locations = array( "/usr/bin", "/usr/local/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin" ) + explode( $sep, getenv( "PATH" ) );
X $diff3names = array( "gdiff3", "diff3", "diff3.exe" );
X 
X-$diff3versioninfo = array( '$1 --version 2>&1', 'diff3 (GNU diffutils)' );
X+$diff3versioninfo = array('$1 --version 2>&1', 'diff3 - GNU diffutils');
X foreach ($diff3locations as $loc) {
X 	$exe = locate_executable($loc, $diff3names, $diff3versioninfo);
X 	if ($exe !== false) {
2c6503382a384713882a92ecee19d1ee
echo x - www/mediawiki112/Makefile
sed 's/^X//' >www/mediawiki112/Makefile << 'bb5db7182bb6c1549dcbc6ce18152618'
X# New ports collection makefile for:	www/mediawiki
X# Date created:				February 1st 2005
X# Whom:	      				Gerrit Beine <tux@pinguru.net>
X#
X# $FreeBSD: ports/www/mediawiki12/Makefile,v 1.51 2009/05/31 20:31:06 pav Exp $
X#
X
XPORTNAME=	mediawiki
XPORTVERSION=	1.12.4
XCATEGORIES=	www
XMASTER_SITES=	http://download.wikimedia.org/mediawiki/1.12/
X
XMAINTAINER=	gerrit.beine@gmx.de
XCOMMENT=	The wiki engine used by Wikipedia
X
XCONFLICTS=	mediawiki-1.[0-9].* mediawiki-1.1[0-13-9].*
XNO_LATEST_LINK=	yes
X
XUSE_PHP=	iconv mbstring pcre session xml zlib readline dom
XIGNORE_WITH_PHP=	4
XWANT_PHP_WEB=	yes
XMEDIAWIKIDIR?=	www/mediawiki
X
XOPTIONS=	PGSQL "Use PostgreSQL (instead of MySQL)" off \
X		LDAP "Use LDAP authentication" off \
X		TEXVC "Use built-in TeX rendering" off \
X		APC "Use pecl-APC" on \
X		EACCEL "Use eAccelerator (instead of pecl-APC)" off \
X		IMAGICK "Use ImageMagick" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_PGSQL)
XUSE_PHP+=	pgsql
X.else
XIGNORE_WITH_MYSQL=	323
XUSE_MYSQL=	yes
XUSE_PHP+=	mysql
X.endif
X
X.if defined(WITH_LDAP)
XUSE_PHP+=	ldap
X.endif
X
X.if defined(WITH_TEXVC)
XRUN_DEPENDS+=	latex:${PORTSDIR}/print/latex
XBUILD_DEPENDS+=	ocaml:${PORTSDIR}/lang/ocaml
X
XUSE_GMAKE=yes
XWITH_IMAGICK=yes
X.endif
X
X.if defined(WITH_IMAGICK)
XRUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
X.endif
X
X.if defined(WITH_APC) || defined(WITH_EACCEL)
X.if defined(WITH_EACCEL)
XRUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator
X.else
XRUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
X.endif
X.endif
X
Xdo-build:
X.if defined(WITH_TEXVC)
X	@(cd ${WRKSRC}/math && ${GMAKE})
X.endif
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
X	${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
X	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}
X
Xpost-install:
X	@${FIND} ${WRKSRC}/${file} -not -type d \
X		| ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
X	@${FIND} -d ${WRKSRC}/${file} -type d \
X		| ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
X	@${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
bb5db7182bb6c1549dcbc6ce18152618
echo x - www/mediawiki112/distinfo
sed 's/^X//' >www/mediawiki112/distinfo << 'e27fcac398ac515f67ed9ffdf84a3f02'
XMD5 (mediawiki-1.12.4.tar.gz) = 158e31f630e76e038727d5165b66ef2d
XSHA256 (mediawiki-1.12.4.tar.gz) = e4a706b8467c82ec75d1e86637eb2cba69020ae37b1ba9a6533401615db53be7
XSIZE (mediawiki-1.12.4.tar.gz) = 8477402
e27fcac398ac515f67ed9ffdf84a3f02
echo x - www/mediawiki112/pkg-descr
sed 's/^X//' >www/mediawiki112/pkg-descr << 'fc27280f282764a21dd4f3d4c70e7f86'
XMediaWiki is the collaborative editing software that runs Wikipedia,
Xthe free encyclopedia, and other projects.
XIt's designed to handle a large number of users and pages without imposing
Xtoo rigid a structure or workflow.
X
XWWW: http://www.mediawiki.org/
fc27280f282764a21dd4f3d4c70e7f86
echo x - www/mediawiki112/pkg-message
sed 's/^X//' >www/mediawiki112/pkg-message << '6c71131c427c5630e32896496e90ed81'
X
X	**** NOTE ****
XRemember to check
X
X%%MEDIAWIKIDIR%%/INSTALL
X
Xand
X
X%%MEDIAWIKIDIR%%/UPGRADE
X
Xfor details
6c71131c427c5630e32896496e90ed81
exit



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



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