head	1.49;
access;
symbols
	RELEASE_8_3_0:1.46
	RELEASE_9_0_0:1.46
	RELEASE_7_4_0:1.46
	RELEASE_8_2_0:1.46
	RELEASE_6_EOL:1.46
	RELEASE_8_1_0:1.46
	RELEASE_7_3_0:1.46
	RELEASE_8_0_0:1.46
	RELEASE_7_2_0:1.45
	RELEASE_7_1_0:1.45
	RELEASE_6_4_0:1.45
	RELEASE_5_EOL:1.44
	RELEASE_7_0_0:1.44
	RELEASE_6_3_0:1.44
	PRE_XORG_7:1.44
	RELEASE_4_EOL:1.43
	RELEASE_6_2_0:1.41
	RELEASE_6_1_0:1.38
	RELEASE_5_5_0:1.38
	RELEASE_6_0_0:1.33
	RELEASE_5_4_0:1.30
	RELEASE_4_11_0:1.27
	RELEASE_5_3_0:1.26
	RELEASE_4_10_0:1.22
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2;
locks; strict;
comment	@# @;


1.49
date	2012.11.17.06.02.57;	author svnexp;	state Exp;
branches;
next	1.48;

1.48
date	2012.09.25.05.37.12;	author tabthorpe;	state Exp;
branches;
next	1.47;

1.47
date	2012.09.25.04.57.38;	author tabthorpe;	state Exp;
branches;
next	1.46;

1.46
date	2009.08.22.00.38.19;	author amdmi3;	state Exp;
branches;
next	1.45;

1.45
date	2008.08.25.16.45.17;	author miwi;	state Exp;
branches;
next	1.44;

1.44
date	2007.03.24.16.43.28;	author pav;	state Exp;
branches;
next	1.43;

1.43
date	2007.01.11.08.31.07;	author delphij;	state Exp;
branches;
next	1.42;

1.42
date	2006.12.24.15.16.29;	author delphij;	state Exp;
branches;
next	1.41;

1.41
date	2006.06.30.23.02.27;	author miwi;	state Exp;
branches;
next	1.40;

1.40
date	2006.05.07.17.30.59;	author delphij;	state Exp;
branches;
next	1.39;

1.39
date	2006.04.18.09.33.27;	author sem;	state Exp;
branches;
next	1.38;

1.38
date	2006.02.02.13.27.34;	author barner;	state Exp;
branches;
next	1.37;

1.37
date	2006.01.30.17.03.21;	author clsung;	state Exp;
branches;
next	1.36;

1.36
date	2005.12.09.19.24.51;	author ale;	state Exp;
branches;
next	1.35;

1.35
date	2005.11.14.16.07.54;	author garga;	state Exp;
branches;
next	1.34;

1.34
date	2005.11.08.19.26.55;	author mnag;	state Exp;
branches;
next	1.33;

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

1.32
date	2005.06.29.05.51.11;	author novel;	state Exp;
branches;
next	1.31;

1.31
date	2005.05.16.08.32.03;	author jylefort;	state Exp;
branches;
next	1.30;

1.30
date	2005.03.14.02.32.56;	author clsung;	state Exp;
branches;
next	1.29;

1.29
date	2005.03.01.06.48.45;	author clsung;	state Exp;
branches;
next	1.28;

1.28
date	2005.02.23.07.00.51;	author clsung;	state Exp;
branches;
next	1.27;

1.27
date	2004.11.24.05.25.11;	author daichi;	state Exp;
branches;
next	1.26;

1.26
date	2004.07.24.01.49.56;	author mezz;	state Exp;
branches;
next	1.25;

1.25
date	2004.07.14.15.17.43;	author pav;	state Exp;
branches;
next	1.24;

1.24
date	2004.05.06.13.49.19;	author pav;	state Exp;
branches;
next	1.23;

1.23
date	2004.05.06.10.07.06;	author pav;	state Exp;
branches;
next	1.22;

1.22
date	2004.03.30.21.33.25;	author pav;	state Exp;
branches;
next	1.21;

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

1.20
date	2004.03.26.17.06.30;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2004.03.26.09.01.41;	author eik;	state Exp;
branches;
next	1.18;

1.18
date	2004.03.25.18.03.13;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2004.03.15.02.26.23;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2004.03.02.19.07.04;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2004.01.05.19.01.44;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2003.12.17.05.31.01;	author mharo;	state Exp;
branches;
next	1.13;

1.13
date	2003.09.17.18.14.52;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2003.08.30.17.24.14;	author krion;	state Exp;
branches;
next	1.11;

1.11
date	2003.08.24.11.37.24;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.07.08.04.49;	author nork;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.25.01.50.21;	author nork;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.08.06.30.27;	author nork;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.08.06.27.26;	author nork;	state Exp;
branches;
next	1.6;

1.6
date	2003.03.07.06.12.52;	author ade;	state Exp;
branches;
next	1.5;

1.5
date	2003.03.05.22.13.57;	author seanc;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.06.20.19.35;	author seanc;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.29.19.54.47;	author wjv;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.10.09.54.02;	author wjv;	state Exp;
branches;
next	1.1;

1.1
date	2002.04.25.14.20.18;	author wjv;	state Exp;
branches;
next	;


desc
@@


1.49
log
@Switch exporter over
@
text
@# New ports collection makefile for:	phpBB
# Date created:		25 April 2002
# Whom:	      		Johann Visagie <wjv@@FreeBSD.org>
#
# $FreeBSD: head/www/phpbb/Makefile 304812 2012-09-25 05:37:12Z tabthorpe $
#

PORTNAME=	phpbb
PORTVERSION=	2.0.23
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/phpBB%202/phpBB%20v${PORTVERSION}
DISTNAME=	phpBB-${PORTVERSION}

MAINTAINER=	liukang@@cn.freebsd.org
COMMENT=	A PHP-based bulletin board / discussion forum system

RUN_DEPENDS=	${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear

CONFLICTS=	phpbb-tw-[0-9]*

USE_BZIP2=	yes

# The phpBB2 port supports a number of variables that may be tweaked at build
# time.  Perform a "make options" to see more information on these variables.
#
WWWDOCROOT?=	www
PHPBBURL?=	phpBB2
#
# End of user-configurable variables.

# Set/override/append to variables from bsd.port.mk:
#
WRKSRC=		${WRKDIR}/phpBB2
NO_BUILD=	yes
SUB_FILES=	pkg-message
SUB_LIST=	PHPBBURL="${PHPBBURL}" \
		PHPBBDIR="${PHPBBDIR}" \
		DELETEFILES="${EXCEPTFILES}"
PHPBB_VER=	${PORTVERSION:S/.//g:S/.//g}
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PLIST_SUB+=	PHPBB_VER=${PHPBB_VER}

# Set custom variables:
#
PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
PKGOPTS=	${FILESDIR}/pkg-opts
EXCEPTFILES=	${PREFIX}/${PHPBBDIR}/install/install.php \
		${PREFIX}/${PHPBBDIR}/install/upgrade.php \
		${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

options:
	@@ ${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
	@@ ${CAT} ${PKGOPTS}

pre-everything::
.if !defined(BATCH)
	@@ ${TEST} -r ${PKGOPTS} && \
	  (${ECHO_MSG} '-------------------------------------------------------------------------'; \
	   ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
	   ${ECHO_MSG} '-------------------------------------------------------------------------')
.endif

post-patch:
	@@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBBURL}/templates#" \
	  ${WRKSRC}/docs/*.html
	@@${RM} -f `${FIND} ${WRKSRC} -name '*.orig'`

do-install:
	@@ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
	@@ cd ${WRKSRC} && ${FIND} * \( -name config.php \
	  ${EXCEPTFILES:S/^/-o -name /} \
	  -o -name docs -a -prune -o -name contrib -a -prune \) -o -print \
	  | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} -
	@@ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
	@@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
	@@ ${MKDIR} ${DATADIR}/contrib
	@@ cd ${WRKSRC} && ${INSTALL_DATA} ${EXCEPTFILES} ${DATADIR}
	@@ cd ${WRKSRC}/contrib && ${INSTALL_DATA} * ${DATADIR}/contrib

post-install:
#	@@ cd ${DATADIR} && ${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} \
#	  ${EXCEPTFILES} ${PREFIX}/${PHPBBDIR}
.if !defined(NOPORTDOCS)
	@@ ${MKDIR} ${DOCSDIR}
	@@ cd ${WRKSRC}/docs && ${FIND} * -type f -maxdepth 0 \! -name \*.bak \
	  \! -name COPYING -exec ${INSTALL_DATA} {} ${DOCSDIR} \;
.if !defined(BATCH)
	@@ ${CAT} ${PKGMESSAGE}
.endif
.endif

.include <bsd.port.mk>
@


1.48
log
@SVN rev 304812 on 2012-09-25 05:37:12Z by tabthorpe

- Revert commit
- Tested wrong email address

Noticed by:	xli
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.47
log
@SVN rev 304810 on 2012-09-25 04:57:38Z by tabthorpe

- Reassign to the heap due to mail bounces
@
text
@d1 4
a4 1
# Created by: Johann Visagie <wjv@@FreeBSD.org>
d6 1
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.46
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d1 1
a1 4
# New ports collection makefile for:	phpBB
# Date created:		25 April 2002
# Whom:	      		Johann Visagie <wjv@@FreeBSD.org>
#
a2 1
#
d10 1
a10 1
MAINTAINER=	liukang@@cn.freebsd.org
@


1.45
log
@- Update to 2.0.23

PR:		126257
Submitted by:	Wen heping <wenheping@@gmail.com>
Apporved by:	maintainer
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.44
log
@- WWWOWN and WWWGRP are defined in bsd.port.mk
@
text
@d9 1
a9 2
PORTVERSION=	2.0.22
PORTREVISION=	1
@


1.43
log
@Remove previously added security patch against session table
exhaustion, as it causes more problems in the latest phpbb
version.  Users are advised to drop and re-create their
session tables (phpbb_sessions, phpbb_sessions_keys) without
using "HEAP" tables.

Approved by:	maintainer (via e-mail)
@
text
@a29 2
WWWOWN?=	www
WWWGRP?=	www
@


1.42
log
@Update to 2.0.22, and pet portlint(1).

PR:		ports/107162 (partly)
Submitted by:	Kian Mohageri <kian mohageri gmail com>
Approved by:	maintainer
@
text
@d10 1
a34 7
# XXX The phpBB folks does not seem to care about the session table DoS
#     issue.  You can disable the patch at your own risk to make the
#     visual authentication work.
.if !defined(WITHOUT_ANTI_SESSIONTAB_DOS_PATCH)
EXTRA_PATCHES=	${FILESDIR}/security-patch-includes-sessions.php
.endif

@


1.41
log
@- Update to 2.0.21
- Add new WWW layout

PR:		        ports/99438
Submitted by:   Kang Liu <liukang@@cn.freebsd.org>
Approved by:	markus (co mentor)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.21
@


1.40
log
@Give the user a chance to disable our local anti-DoS patch, which
appears to be conflict with phpBB's built-in captcha functionality.

Please note that this does not change the default behavior (patch
phpBB for the DoS issue), and this is intentionally undocumented.
Hopefully we can get rid of all these home-grown stuff as the
phpBB make their 2.2-release.

Requested by:	Goyo Roth <sadangel@@pow2clk.net>
PR:		ports/93204
Submitted by:	delphij
Approved by:	Kang Liu <liukang@@cn.FreeBSD.org>
Approved by:	mentor (sem)
@
text
@d9 1
a9 2
PORTVERSION=	2.0.20
PORTREVISION=	1
d27 1
a27 1
WWWDOCROOT?=	www/data
@


1.39
log
@- Update 2.0.20

PR:		ports/95685
Submitted by:	Dean Hollister <dean@@odyssey.apana.org.au>
Approved by:	"Kang Liu" <liukang@@cn.freebsd.org> (maintainer)
@
text
@d10 1
d35 7
@


1.38
log
@- Change maintainer's email address

Submitted by:	Kang Liu <liukang@@bjut.edu.cn> (maintainer)
PR:		ports/92735
@
text
@d9 1
a9 1
PORTVERSION=	2.0.19
@


1.37
log
@- Update to 2.0.19
  (includes several security related fixes)

PR:		92348
Submitted by:	Ralf van der Enden <tremere AT cainites dot net>
Approved by:	maintainer (via delphij)
@
text
@d15 1
a15 1
MAINTAINER=	liukang@@bjut.edu.cn
@


1.36
log
@Remove pear ports obsolated by devel/pear and switch
dependencies of all the other pear ports.

Discussed with:	thierry, antonio@@php.net
@
text
@d9 1
a9 1
PORTVERSION=	2.0.18
a37 1
USE_REINPLACE=	yes
@


1.35
log
@- Register CONFLICTS with chinese/phpbb-tw
@
text
@d18 1
a18 1
RUN_DEPENDS=	${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear-PEAR
@


1.34
log
@Update to 2.0.18
Add SHA256

PR:		87372
Submitted by:	Ed Schouten <ed@@fxq.nl>
Approved by:	maintainer timeout, 23 days
@
text
@d20 2
@


1.33
log
@- Update to 2.0.17

PR:		ports/83832
Submitted by:	Kang Liu <liukang@@bjut.edu.cn> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.17
@


1.32
log
@Update www/phpbb to 2.0.16.

PR:		82763
Submitted by:	Kang Liu (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.16
@


1.31
log
@- Update to 2.0.15 [1]
- Use SUB_FILES=pkg-message

PR:		ports/81060 [1]
Submitted by:	maintainer [1]
@
text
@d9 1
a9 1
PORTVERSION=	2.0.15
@


1.30
log
@- fix low risk vulnerability
  (VuXML ID  4a0b334d-8d8d-11d9-afa0-003048705d5a)

PR:		78779
Submitted by:	Kang Liu (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	2.0.13
PORTREVISION=	1
d37 4
a40 1
PKGMESSAGE=	${WRKDIR}/pkg-message
a69 7
post-configure:
	@@ ${SED} \
	  -e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%DOCSDIR%%#${DOCSDIR}#g' \
	  -e 's#%%PHPBBURL%%#${PHPBBURL}#g' -e 's#%%PHPBBDIR%%#${PHPBBDIR}#g' \
	  -e 's#%%DATADIR%%#${DATADIR}#g' \
	  -e 's#%%DELETEFILES%%#${EXCEPTFILES}#g' pkg-message > ${PKGMESSAGE}

@


1.29
log
@- The phpbb developer group announces there are 2 security problems
  in phpbb 2.0.12, privilege elevatiIn my patch:disclosure.
  (VuXML ID: 53e711ed-8972-11d9-9ff8-00306e01dda2)
- 1. update www/phpbb to 2.0.13
- 2. use DATADIR in pkg-plist

PR:		78189
Submitted by:	Kang Liu (maintainre)
@
text
@d10 1
@


1.28
log
@- Update to 2.0.12
- This release addresses a number of bugs and a couple of potential exploits.
- Release note: [http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=265423]

PR:		ports/77943
Submitted by:	clsung
Approved by:	Kang Liu (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.12
@


1.27
log
@Update www/phpbb to 2.0.11
It is a SECURITY update.

PR:		ports/74106
Submitted by:	Kang Liu <liukang@@bjut.edu.cn> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.11
d48 1
a48 1
		${PREFIX}/${PHPBBDIR}/install/update_to_${PHPBB_VER}.php
@


1.26
log
@Update to 2.0.10, it is now compatible with PHP5.

PR:		ports/69237
Submitted by:	Xin LI <delphij@@frontfree.net>
Approved by:	"Kang Liu" <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.10
d38 1
a38 1
PHPBB_VER=	${PORTVERSION:S/.0.//g:S/.//g}
@


1.25
log
@- Update to 2.0.9

PR:		ports/69042
Submitted by:	Xin LI <delphij@@frontfree.net>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.0.9
d38 1
d40 1
a40 1
PLIST_SUB+=	PHPBB_VER=${PORTVERSION:S/.//g}
d48 1
a48 1
		${PREFIX}/${PHPBBDIR}/install/update_to_${PORTVERSION:S/.//g}.php
@


1.24
log
@Forced commit to note that previous commit was in fact:

PR:			ports/66150
Submitted by:		Xin LI <delphij@@frontfree.net>
Not objected by:	maintainer

For confusing submitter with maintainer:
Pointy hat to:		pav
@
text
@d9 1
a9 2
PORTVERSION=	2.0.8
PORTREVISION=	3
d13 1
a13 1
DISTNAME=	phpBB-${PORTVERSION}a
d15 1
a15 1
MAINTAINER=	liukang@@bjpu.edu.cn
d39 1
d64 1
@


1.23
log
@- Plug IP spoofing vulnerablity
  http://www.vuxml.org/freebsd/cfe17ca6-6858-4805-ba1d-a60a61ec9b4d.html
- Plug sessions table exhaustion DoS attack
  http://www.securityfocus.com/archive/1/360931

PR:		ports/66150
Submitted by:	Xin LI <delphij@@frontfree.net> (maintainer)
@
text
@@


1.22
log
@- Update to 2.0.8a

PR:		ports/64939
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.21
log
@- Plug another SQL injection vulnerability

Exploit posted at:	http://www.securityfocus.com/archive/1/358708
Patch obtained from:	http://www.securityfocus.com/archive/1/358751

PR:		ports/64803
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d14 1
a14 1
DISTNAME=	phpBB-${PORTVERSION}
a63 1
	@@ ${RM} ${WRKSRC}/*.orig
@


1.20
log
@- Update to 2.0.8 and plug security issue

PR:		ports/64770
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d10 1
d64 1
@


1.19
log
@mark FORBIDDEN: http://people.freebsd.org/~eik/portaudit/c551ae17-7f00-11d8-868e-000347dd607f.html
@
text
@d9 1
a9 2
PORTVERSION=	2.0.7
PORTREVISION=	1
a18 2

FORBIDDEN=	http://people.freebsd.org/~eik/portaudit/c551ae17-7f00-11d8-868e-000347dd607f.html
@


1.18
log
@- Update to 2.0.7a which fixes SQL injection vulnerability
- Bump PORTREVISION

http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=182281

PR:		ports/64679
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d21 2
@


1.17
log
@- Update to 2.0.7

PR:		ports/64239
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d10 1
@


1.16
log
@- Update checksum
  New version (2.0.6d) was released without changing distfile name.
  Security vulnerability (sql injection) in viewtopic was fixed
  and some issues with login was fixed. I verified this by diffing
  old and new distfile.
- Add SIZE
- Bump PORTREVISION

PR:		ports/63641
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	2.0.6
PORTREVISION=	5
@


1.15
log
@- Update distinfo after tarball was changed to fix security issues, please see
  http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=161943 for details.

PR:		ports/60921
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.14
log
@Fix Potential security issue with search in phpbb

PR:		59741
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.13
log
@- Fix BBCode vulnerability & pgsql problem in phpbb

PR:		56706
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.12
log
@- Fix typo NOPORTOCS -> NOPORTDOCS
- Fix install problem when NOPORTDOCS is defined
- Bump PORTREVISION

PR:		56189
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.11
log
@update ports/www/phpbb to 2.0.6

	phpBB Group are pleased to announce the release of phpBB
	2.0.6 the "phew, it's way to hot to be furry" Edition. This
	release had been made to fix a number of potential security
	related issues and more annoying bugs.  (from:
	http://www.phpbb.com/phpBB/viewtopic.php?t=124245) Here is
	the patch made by me,I would like to be the maintainer of
	this port.

PR:		ports/55230
Submitted by:	Kang Liu <liukang@@bjpu.edu.cn>
@
text
@d10 1
d87 1
a87 1
.if !defined(NOPORTOCS)
@


1.10
log
@o Fix two vulnerabilities.
	http://www.phpbb.com/news.php?id=17

	* phpBB SQL Injection vulnerability
	http://www.phpbb.com/phpBB/viewtopic.php?t=112052

	* PHPBB Admin_Styles.PHP Theme_Info.CFG File Include Vulnerability
	http://www.securityfocus.com/bid/7932/credit/
	http://www.phpbb.com/phpBB/viewtopic.php?t=113826

o Bump PORTREVISION.
o Take MAINTAINERship to ports@@.

PR:		ports/54165[1]
Submitted by:	Kang Liu <lazykang@@hotmail.com> [1]
		Ivanchenko V. I. <webmaster@@asiamusic.ru>
@
text
@d9 1
a9 2
PORTVERSION=	2.0.5
PORTREVISION=	1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d20 2
a62 2
	@@ ${RM} ${WRKSRC}/viewtopic.php.orig
	@@ ${RM} ${WRKSRC}/admin/admin_styles.php.orig
@


1.9
log
@Update to 2.0.5.

http://www.phpbb.com/phpBB/viewtopic.php?t=111156
It says "This edition includes a significant number of
fixes for bugs and a minor cross-site scripting issue."
The XSS exploit in phpBB viewtopic.php has been post in
bugtraq.

PR:		ports/53691
Submitted by:	Kang Liu <lazykang@@hotmail.com>
Approved by:	for SECURITY UPDATE
@
text
@d10 1
a10 1
#PORTREVISION=	1
d16 1
a16 1
MAINTAINER=	wjv@@FreeBSD.org
d62 2
@


1.8
log
@Bump PORTREVISION in last commit.
@
text
@d9 2
a10 2
PORTVERSION=	2.0.4
PORTREVISION=	1
@


1.7
log
@Fix dependency on php/pear system (follow up new PEAR strcture).

Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d10 1
@


1.6
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d18 1
a18 1
RUN_DEPENDS=	${LOCALBASE}/lib/php/System.php:${PORTSDIR}/www/mod_php4
@


1.5
log
@Update phpBB to 2.0.4.

Submitted by:	"Ivanchenko V. I." <webmaster@@asiamusic.ru>
@
text
@d16 1
@


1.4
log
@Mark port as FORBIDDEN with the typical list of PHP security
vulnerabilities.

	http://online.securityfocus.com/archive/1/307212
	http://online.securityfocus.com/bid/6634
	http://online.securityfocus.com/archive/1/302199
@
text
@d9 1
a9 1
PORTVERSION=	2.0.3
a18 5
FORBIDDEN=	"Multiple security vulnerabilities in current version: " \
		http://online.securityfocus.com/archive/1/307212 \
		http://online.securityfocus.com/bid/6634 \
		http://online.securityfocus.com/archive/1/302199

d41 3
a43 1
EXCEPTFILES=	install.php upgrade.php update_to_${PORTVERSION:S/.//g}.php
d49 1
a49 1
post-extract:
d81 2
a82 2
	@@ cd ${DATADIR} && ${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} \
	  ${EXCEPTFILES} ${PREFIX}/${PHPBBDIR}
@


1.3
log
@- Update to version 2.0.3
- Use $TAR rather than cpio(1) to install
- $PERL -> $REINPLACE_CMD
- Install contributed code under $DATADIR
- Numerous small fixes
@
text
@d19 5
@


1.2
log
@- Big cleanup - almost a complete rewrite of this port
- Add necessary dependency on www/mod_php4
- Structure port Makefile and $PLIST in such a way that configuration data is
  not overwritten upon reinstall
- Ensure that (de)installation as package also works correctly
- Install documentation under $DOCSDIR
- Bump $PORTREVISION
@
text
@d9 1
a9 2
PORTVERSION=	2.0.0
PORTREVISION=	1
d22 9
d33 6
a38 3
CPIO=		cpio --quiet -pdum -R
WWWDOCROOT=	www/data
PHPBBURL=	phpBB2
a39 3
WWWOWN=		www
WWWGRP=		www
PKGMESSAGE=	${WRKDIR}/pkg-message
d41 1
a41 2
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN}
EXCEPTFILES=	install.php upgrade.php update_to_FINAL.php
d45 1
a45 2
	@@ ${PERL} -ne '/^#/ || /^\s/ && print || \
	  print sprintf "* %s [%s]\n  %s", split(/\|/)' ${PKGOPTS}
d56 1
a56 1
	@@ ${PERL} -pi.orig -e "s#\.\./templates#/${PHPBBURL}/templates#" \
d60 5
a64 5
	@@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \
	  -e 's#%%DOCSDIR%%#${DOCSDIR}#g' \
	  -e 's#%%PHPBBURL%%#${PHPBBURL}#g' \
	  -e 's#%%PHPBBDIR%%#${PHPBBDIR}#g' pkg-message > \
	  ${PKGMESSAGE}
d68 4
a71 4
	@@ ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
	@@ cd ${WRKSRC} && find * \( -name config.php \
	  ${EXCEPTFILES:S/^/-o -name /} -o -name docs -a -prune \) \
	  -o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
d73 2
a74 2
	@@ ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}/config.php
	@@ ${MKDIR} ${DATADIR}
d76 1
d83 2
a84 4
.for docfile in AUTHORS FAQ.html INSTALL.html README.html \
                coding-guidelines.txt codingstandards.htm
	@@ ${INSTALL_DATA} ${WRKSRC}/docs/${docfile} ${DOCSDIR}
.endfor
@


1.1
log
@Add phpbb 2.0.0, a PHP-based bulletin board / discussion forum system.
@
text
@d10 1
d18 5
d26 3
a28 1
PHPBBDIR=	www/data/phpBB
d31 28
a58 1
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR}
d61 23
a83 4
	@@ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR} && \
	  ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
	@@ cd ${WRKSRC} && find * | ${CPIO} ${WWWOWN}:${WWWGRP} \
	  ${PREFIX}/${PHPBBDIR}
@

