head	1.31;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.27
	RELEASE_8_2_0:1.27
	RELEASE_6_EOL:1.27
	RELEASE_8_1_0:1.27
	RELEASE_7_3_0:1.27
	RELEASE_8_0_0:1.26
	RELEASE_7_2_0:1.26
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1;
locks; strict;
comment	@# @;


1.31
date	2013.03.07.13.47.41;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.17.06.03.09;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2011.08.01.13.59.01;	author bapt;	state Exp;
branches;
next	1.28;

1.28
date	2011.02.28.21.24.24;	author glarkin;	state Exp;
branches;
next	1.27;

1.27
date	2010.01.20.01.28.54;	author kuriyama;	state Exp;
branches;
next	1.26;

1.26
date	2008.12.30.22.11.00;	author glarkin;	state Exp;
branches;
next	1.25;

1.25
date	2008.12.23.15.22.37;	author glarkin;	state Exp;
branches;
next	1.24;

1.24
date	2008.12.23.15.00.58;	author glarkin;	state Exp;
branches;
next	1.23;

1.23
date	2008.11.06.21.03.41;	author glarkin;	state Exp;
branches;
next	1.22;

1.22
date	2008.10.20.02.10.47;	author glarkin;	state Exp;
branches;
next	1.21;

1.21
date	2008.09.15.02.03.17;	author glarkin;	state Exp;
branches;
next	1.20;

1.20
date	2008.09.07.00.27.37;	author glarkin;	state Exp;
branches;
next	1.19;

1.19
date	2008.09.07.00.18.54;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2008.06.16.13.50.17;	author skv;	state Exp;
branches;
next	1.17;

1.17
date	2008.04.22.08.36.39;	author sat;	state Exp;
branches;
next	1.16;

1.16
date	2007.09.30.05.29.18;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2007.06.11.15.27.37;	author skv;	state Exp;
branches;
next	1.14;

1.14
date	2007.01.23.08.13.08;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2007.01.20.01.53.14;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2006.12.30.17.10.49;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2006.12.12.12.51.18;	author miwi;	state Exp;
branches;
next	1.10;

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

1.9
date	2006.09.24.07.55.18;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2006.09.05.05.06.13;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.31.17.55.27;	author jmelo;	state Exp;
branches;
next	1.6;

1.6
date	2006.03.20.23.02.56;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2005.09.29.21.10.28;	author mnag;	state Exp;
branches;
next	1.4;

1.4
date	2005.09.28.18.15.56;	author simon;	state Exp;
branches;
next	1.3;

1.3
date	2004.11.23.09.01.52;	author des;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.12.19.54.44;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.01.08.07.44;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313559
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Justin Hawkins <justin@@hawkins.id.au>
# $FreeBSD: head/www/twiki/Makefile 313559 2013-03-07 03:25:10Z bdrewery $

PORTNAME=	twiki
PORTVERSION=	4.2.4
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	http://twiki.org/p/pub/Codev/Release/
DISTNAME=	TWiki-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	c.petrik.sosa@@gmail.com
COMMENT=	Flexible, powerful, and easy to use enterprise wiki

RUN_DEPENDS=	\
		p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
		p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff \
		p5-Error>=0:${PORTSDIR}/lang/p5-Error \
		p5-Text-Diff>=0:${PORTSDIR}/textproc/p5-Text-Diff \
		p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \
		p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
		p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \
		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
		twiki-TWikiUserMappingContrib>=0:${PORTSDIR}/www/twiki-TWikiUserMappingContrib

USE_PERL5=	yes

post-extract:
	@@cd ${WRKDIR}/ && ${INSTALL} -d .t/ && ${MV} * .t/ && ${MV} .t ${WRKSRC}
	@@${RM} -rf ${WRKSRC}/lib/CPAN
	@@${CAT} ${.CURDIR}/../twiki-*/pkg-plist |\
		${SED} -e 's|%%TWDIR%%|${WRKSRC}|;/^@@/d' |\
		${XARGS} ${RM} -f
	@@${FIND} ${WRKSRC} -name \*,v | while read f; do\
		[ -e $${f%%,v} ] || ${RM} -f $$f; done
	@@${FIND} ${WRKSRC} -type d -empty -delete

post-patch:
	@@cd ${WRKSRC}/ &&\
		${REINPLACE_CMD} -i "" -e "s|/home/httpd/twiki|${WWWDIR}|g" \
		lib/TWiki.spec twiki_httpd_conf.txt
	@@${FIND} ${WRKSRC} -name \*.orig -delete

.include "${.CURDIR}/bsd.twiki.mk"
.include <bsd.port.mk>
@


1.30
log
@Switch exporter over
@
text
@d1 2
a2 6
# Ports collection makefile for:	TWiki
# Date created:			Fri Mar  7 14:36:05 CST 2003
# Whom:				Justin Hawkins <justin@@hawkins.id.au>
#
# $FreeBSD: head/www/twiki/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.29
log
@Remove gentoo's mirror, they do not provide the distfile anymore
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.28
log
@- Drop maintainership (ENOTIME)
@
text
@d13 1
a13 2
MASTER_SITES=	http://twiki.org/p/pub/Codev/Release/ \
		GENTOO/distfiles
@


1.27
log
@- Remove unneeded dependencies which is in perl-5.8.9 dist
  (part 1).

Approved by:	portmgr (itetcu)
@
text
@d18 1
a18 1
MAINTAINER=	glarkin@@FreeBSD.org
@


1.26
log
@- Updated to 4.2.4
- Removed FORBIDDEN

Security:	http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-5304
Security:	http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-5305
@
text
@d10 1
a25 1
		p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm \
a26 1
		p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
a29 3
		p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools \
		p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
		p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \
a31 1
		p5-Time-Local>=0:${PORTSDIR}/devel/p5-Time-Local \
@


1.25
log
@- Change BROKEN to FORBIDDEN (will read the handbook more
  carefully next time!)

Reported by:	miwi
@
text
@d9 1
a9 2
PORTVERSION=	4.2.3
PORTREVISION=	1
a39 2
FORBIDDEN=	Remote server compromise vulnerability in this version

@


1.24
log
@- Mark broken until 4.2.4 port upgrade is complete

Security:	http://secunia.com/advisories/33040
@
text
@d41 1
a41 1
BROKEN=		Remote server compromise vulnerability in this version
@


1.23
log
@- Added some run dependencies that aren't explicitly listed as
  system requirements, but are used by bin/configure.

Reported by:	geoff at apro dot com dot au
@
text
@d41 2
@


1.22
log
@- Unforbid TWiki
- Upgrade to 4.2.3
- Replace MASTER_SITES
- Upgrade TWiki plugins to latest svn.twiki.org versions
- Take maintainership of TWiki and existing plugins

Reviewed by:	miwi
Approved by:	erwin
Approved by:	beech (mentor)
Security:	9227dcaf-827f-11dd-9cd7-0050568452ac
@
text
@d10 1
d22 1
d38 1
@


1.21
log
@- Mark www/twiki FORBIDDEN due to security exploit

Approved by:	beech (mentor, implicit)
Approved by:	portmgr (pav)
Security:	http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-3195
@
text
@d9 1
a9 2
PORTVERSION=	4.2.0
PORTREVISION=	2
a19 2
FORBIDDEN=	Contains security exploit: http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-3195

d34 3
a36 1
		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser
d41 1
a41 1
	@@cd ${WRKDIR}/ && ${MKDIR} .t/ && ${MV} * .t/ && ${MV} .t ${WRKSRC}
@


1.20
log
@- Take maintainership

Approved by:	beech (mentor, implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
d21 2
@


1.19
log
@Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
@


1.18
log
@* remove incorrect utf8-patches
* fix 'make-port' target

Approved by:	maintainter (implicitly)
@
text
@d18 1
a18 1
MAINTAINER=	infofarmer@@FreeBSD.org
@


1.17
log
@- Take maintainership
- Update to 4.2.0
- Refactor into modular design
- Add 21 default modules and 2 non-default ones
- Make upgrading reasonably safe

Wiki:		http://wiki.FreeBSD.org/TWiki
Approved by:	farrokhi (maintainer, implicit via miwi)
@
text
@d10 1
@


1.16
log
@Add USE_PERL5.  This will be needed to conditionalize bsd.perl.mk inclusion.
@
text
@d1 3
a3 3
# Ports collection makefile for:  TWiki
# Date created:			  Fri Mar  7 14:36:05 CST 2003
# Whom:				  Justin Hawkins <justin@@hawkins.id.au>
d9 1
a9 1
PORTVERSION=	4.1.2
d13 1
a13 2
		${MASTER_SITE_GENTOO}/distfiles/
MASTER_SITE_SUBDIR=	distfiles
d17 2
a18 2
MAINTAINER=	farrokhi@@FreeBSD.org
COMMENT=	A flexible, powerful, and easy to use Web-based collaboration platform
d20 15
a34 1
RUN_DEPENDS=	${SITE_PERL}/CGI/Session.pm:${PORTSDIR}/www/p5-CGI-Session
a35 2
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
d38 9
a46 16
TWIKI?=		${WWWOWN}/twiki
TWIKIDIR?=	${PREFIX}/${TWIKI}

PLIST_SUB=	TWIKI=${TWIKI}
SUB_LIST=	WWWUSER=${WWWOWN} WWWGROUP=${WWWGRP} TWIKIDIR=${TWIKIDIR} \
		REINPLACE_CMD="${REINPLACE_CMD}"
SUB_FILES=	pkg-install
PKGINSTALL=	${WRKDIR}/pkg-install

pre-everything::
	@@${ECHO} "****************************************************************"
	@@${ECHO} "*  If you're upgrading, Ctrl-C now and do the upgrade by hand. *"
	@@${ECHO} "*  This software can't be upgraded automatically without       *"
	@@${ECHO} "*  damaging data in your wiki!                                 *"
	@@${ECHO} "****************************************************************"
	@@sleep 1
d49 4
a52 12
.for F in data/TWiki/TWikiInstallationGuide.txt,v data/TWiki/TWikiDocumentation.txt,v data/TWiki/TWikiInstallationGuide.txt INSTALL.html lib/TWiki.spec twiki_httpd_conf.txt
	@@${REINPLACE_CMD} -i "" -e "s|\/home\/httpd\/twiki|${TWIKIDIR}|g" \
		${WRKSRC}/$F
.endfor

do-install:
	${INSTALL} -d -m 0755 ${TWIKIDIR}
	(cd ${WRKSRC} && ${FIND} . -not -name ".PLIST.*" -not -name '.*_done.*' -not -name pkg-install | \
		${CPIO} -pdmu -R${SHAREOWN}:${SHAREGRP} ${TWIKIDIR})

post-install:
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d54 1
@


1.15
log
@Upgrade to 4.1.2

PR:		ports/113061
Submitted by:	skv
Approved by:	maintainer timeout
@
text
@d25 1
@


1.14
log
@- Update to 4.1
- Unbreak

Approved by:	maintainer (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	4.1.0
d21 2
d44 1
d46 2
a47 3
	${WRKSRC}/twiki_httpd_conf.txt
	@@${REINPLACE_CMD} -i "" -e "s|\/home\/httpd\/twiki|${TWIKIDIR}|g" \
	${WRKSRC}/lib/LocalSite.cfg.txt
d51 1
a51 1
	(cd ${WRKSRC} && ${FIND} . -not -name .PLIST.mktmp -not -name '.*_done.*' -not -name pkg-install | \
@


1.13
log
@BROKEN: Incomplete pkg-plist
@
text
@d9 1
a9 1
PORTVERSION=	4.0.5
a20 2
BROKEN=		Incomplete pkg-plist

d39 1
a39 1
	@@sleep 10
a45 3
	@@${REINPLACE_CMD} -i "" -e "s|\/home\/httpd\/twiki|${TWIKIDIR}|g" \
	${WRKSRC}/lib/TWiki.cfg
	@@${CP} ${WRKSRC}/lib/TWiki.cfg ${WRKSRC}/lib/TWiki.cfg.sample
@


1.12
log
@- Fix permissions
- Tidy up plist

Submitted by:	farrokhi
@
text
@d21 2
@


1.11
log
@- Update to 4.0.5
- Pass maintainership to submitter

Submitted by:	farrokhi
@
text
@d41 8
a48 3
post-extract:
	@@# move config to sample
	@@${MV} ${WRKSRC}/lib/TWiki.cfg ${WRKSRC}/lib/TWiki.cfg.sample
@


1.10
log
@- Fix post-install instructions
@
text
@d9 1
a9 1
PORTVERSION=	4.0.4
d12 3
a14 1
MASTER_SITES=	http://twiki.org/p/pub/Codev/Release/
d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
d24 2
a25 2
WWW_ROOT?=	${WWWOWN}
TWIKIDIR?=	${PREFIX}/${WWW_ROOT}/twiki
d27 1
a27 1
PLIST_SUB=	WWW_ROOT=${WWW_ROOT}
@


1.9
log
@- Update to 4.0.4

PR:		ports/103540
Submitted by:	Nils Vogels <nivo+kw+ports.bfa274 at is-root.com>
@
text
@d49 1
a49 1
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.8
log
@Reset inactive maintainer who has not responded to email.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	4.0.2
@


1.7
log
@- Update to 4.0.2.
- portlint(1).
- Fix plist.

PR:		ports/96274
Submitted by:	Martin Wilke <freebsd@@unixfreunde.de>
Approved by:	maintainer (timeout 15 days), mnag (mentor)
@
text
@d16 1
a16 1
MAINTAINER=	justin@@hawkins.id.au
@


1.6
log
@- Update to 4.0.1

PR:		ports/92993
Submitted by:	Piet Delport <pjd@@satori.za.net>
Approved by:	maintainer timeout (1 month)
@
text
@d9 1
a9 1
PORTVERSION=	4.0.1
d23 1
a23 1
TWIKIDIR=	${PREFIX}/${WWW_ROOT}/twiki
@


1.5
log
@Update to 20040904 (security fix) [1]
Remove FORBIDDEN [1]
Don't use perl in pkg-install (change to sed)

PR:		86691 [1]
Submitted by:	justin@@hawkins.id.au (maintainer)
Approved by:	pav (mentor)
@
text
@d9 2
a10 1
PORTVERSION=	20040904
d12 3
a14 3
MASTER_SITES=	http://twiki.org/swd/ \
		http://www.thoeny.com/peter/twiki/
DISTNAME=	TWiki${PORTVERSION}
d19 1
a19 3
USE_REINPLACE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}
d45 1
a45 1
	(cd ${WRKSRC} && ${FIND} . | \
@


1.4
log
@Mark FORBIDDEN due to remote arbitrary shell command execution.

Security:	http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWithInclude
Security:	CVE-2005-3056
With hat:	secteam
@
text
@d9 1
a9 1
PORTVERSION=	20040902
d11 2
a12 1
MASTER_SITES=	http://twiki.org/swd/ http://www.thoeny.com/peter/twiki/
d18 1
a18 1
FORBIDDEN=	Security: http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWithInclude
d20 1
a20 1
NO_WRKSUBDIR=	yes
d23 2
a24 1
USE_ZIP=	yes
d26 5
a30 6
LTWIKIDIR=	www/twiki

TWIKIDIR=	${PREFIX}/${LTWIKIDIR}

WWW_ROOT?=	www
PLIST_SUB+=	WWW_ROOT=${WWW_ROOT}
d38 1
d40 2
a41 2
pre-configure:
# move config file to sample
d45 3
a47 2
	${MKDIR} ${TWIKIDIR}
	${CP} -R ${WRKSRC}/* ${TWIKIDIR}/
d50 1
a50 1
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
@


1.3
log
@Upgrade to 20040902 to fix vid b4af3ede-36e9-11d9-a9e7-0001020eed82.

Approved by:	so, maintainer silence.
@
text
@d17 2
@


1.2
log
@- Update to 20040901
- Warning for people with existing installation: don't portupgrade this port!
  Manual intervention is needed. Display pre-everything banner with this too.

PR:		ports/72547
Submitted by:	Lars Eggert <lars.eggert@@gmx.net>
Approved by:	Justin Hawkins <justin@@hawkins.id.au> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040901
@


1.1
log
@FreeBSD port of TWiki

	TWiki is a flexible, powerful, and easy to use Web-based
	collaboration platform.

PR:		ports/49000
Submitted by:	Justin Hawkins <justin@@hawkins.id.au>
@
text
@d9 1
a9 2
PORTVERSION=	20030201
PORTREVISION=	0
d12 1
a12 1
DISTNAME=      	TWiki${PORTVERSION}
d15 1
a15 1
COMMENT=        A flexible, powerful, and easy to use Web-based collaboration platform
d17 1
a17 1
NO_WRKSUBDIR=   yes
d25 10
@

