summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 15:27:23 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 15:27:23 +0000
commit643e96129bd854fb6acf1c3961cc51ef0df9b793 (patch)
tree1e6f63e106d6dde0344f058fd08e3e9114d98e22 /www-apps/phpBB
parentMoved from net-www/pcgi to www-apps/pcgi (diff)
downloadgentoo-2-643e96129bd854fb6acf1c3961cc51ef0df9b793.tar.gz
gentoo-2-643e96129bd854fb6acf1c3961cc51ef0df9b793.tar.bz2
gentoo-2-643e96129bd854fb6acf1c3961cc51ef0df9b793.zip
Moved from net-www/phpBB to www-apps/phpBB.
Diffstat (limited to 'www-apps/phpBB')
-rw-r--r--www-apps/phpBB/ChangeLog66
-rw-r--r--www-apps/phpBB/Manifest12
-rw-r--r--www-apps/phpBB/files/2.0.8-postinstall-en.txt2
-rw-r--r--www-apps/phpBB/files/digest-phpBB-2.0.6-r11
-rw-r--r--www-apps/phpBB/files/digest-phpBB-2.0.6-r21
-rw-r--r--www-apps/phpBB/files/digest-phpBB-2.0.8a1
-rw-r--r--www-apps/phpBB/files/digest-phpBB-2.0.8a-r11
-rw-r--r--www-apps/phpBB/files/phpBB-2.0.6-security.patch9
-rw-r--r--www-apps/phpBB/metadata.xml9
-rw-r--r--www-apps/phpBB/phpBB-2.0.6-r1.ebuild51
-rw-r--r--www-apps/phpBB/phpBB-2.0.6-r2.ebuild50
-rw-r--r--www-apps/phpBB/phpBB-2.0.8a-r1.ebuild33
-rw-r--r--www-apps/phpBB/phpBB-2.0.8a.ebuild50
13 files changed, 286 insertions, 0 deletions
diff --git a/www-apps/phpBB/ChangeLog b/www-apps/phpBB/ChangeLog
new file mode 100644
index 000000000000..e5e4a47386b0
--- /dev/null
+++ b/www-apps/phpBB/ChangeLog
@@ -0,0 +1,66 @@
+# ChangeLog for net-www/phpBB
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/ChangeLog,v 1.1 2004/08/15 15:27:23 stuart Exp $
+
+*phpBB-2.0.6-r2 (15 Aug 2004)
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +files/2.0.8-postinstall-en.txt, +files/phpBB-2.0.6-security.patch,
+ +phpBB-2.0.6-r1.ebuild, +phpBB-2.0.6-r2.ebuild, +phpBB-2.0.8a-r1.ebuild,
+ +phpBB-2.0.8a.ebuild:
+ Moved from net-www/phpBB to www-apps/phpBB.
+
+*phpBB-2.0.8a-r1 (14 May 2004)
+
+ 14 May 2004; Stuart Herbert <stuart@gentoo.org> phpBB-2.0.8a-r1.ebuild,
+ files/2.0.8-postinstall-en.txt:
+ Converted phpBB-2.0.8a to use webapp-config; by Lars Tiefland
+ <ltiefland@gate-birds-sky.org>; see bug #50969
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> phpBB-2.0.6-r1.ebuild:
+ Add inherit eutils
+
+*phpBB-2.0.8a (30 Mar 2004)
+
+ 30 Mar 2004; Stuart Herbert <stuart@gentoo.org> phpBB-2.0.8a.ebuild:
+ Version bump; for bug #45482
+
+*phpBB-2.0.6-r2 (02 Mar 2004)
+
+ 02 Mar 2004; Martin Holzer <mholzer@gentoo.org> phpBB-2.0.6-r2.ebuild:
+ this is 2.0.6d which is a security release. see bug 43474
+
+ 15 Dec 2003; Stuart Herbert <stuart@gentoo.org> phpBB-2.0.6-r1.ebuild:
+ Fix for bug #32636
+
+ 05 Dec 2003; Martin Holzer <mholzer@gentoo.org>
+ files/phpBB-2.0.6-security.patch:
+ security was added by upstream maintainer.
+
+ 02 Dec 2003; Martin Holzer <mholzer@gentoo.org> :
+ updating digest. Closes #34914.
+
+ 23 Nov 2003; Martin Holzer <mholzer@gentoo.org> phpBB-2.0.6-r1.ebuild:
+ adding RESTRICT="nomirror".
+
+*phpBB-2.0.6-r1 (24 Sep 2003)
+
+ 24 Sep 2003; Martin Holzer <mholzer@gentoo.org> phpBB-2.0.6-r1.ebuild,
+ files/phpBB-2.0.6-security.patch:
+ Added security patch. Closes #29198.
+
+*phpBB-2.0.6 (11 Aug 2003)
+
+ 11 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> phpBB-2.0.6.ebuild:
+ Version Bump
+
+*phpBB-2.0.5 (20 Jun 2003)
+
+ 20 Jun 2003; Robin Johnson <robbat2@gentoo.org> phpBB-2.0.5.ebuild:
+ Version bump. Removing old ebuilds shortly as per security issue in bug
+ #23147.
+
+*phpBB-2.0.4 (07 Feb 2003)
+
+ 07 Feb 2003; Ryan Phillips <rphillips@gentoo.org> :
+ New package. Submitted by Tim Radisch. Fixes #14912
diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest
new file mode 100644
index 000000000000..c8e7fdb58879
--- /dev/null
+++ b/www-apps/phpBB/Manifest
@@ -0,0 +1,12 @@
+MD5 027f5c27500ac5e0d1995b99edfebb88 phpBB-2.0.6-r2.ebuild 1253
+MD5 19f06d9922ace0164de775f71ddf2ee7 phpBB-2.0.8a-r1.ebuild 901
+MD5 af2de1970bde51c2e2c7af4bc2e70185 phpBB-2.0.6-r1.ebuild 1331
+MD5 638e20ef55fddb8f71886ca123a6e2b3 ChangeLog 1882
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 eb9819c0b566913da73847f98d14d454 phpBB-2.0.8a.ebuild 1251
+MD5 2bcc15b387e45c0342ace8fe007ada43 files/digest-phpBB-2.0.6-r1 64
+MD5 81edef11555fd2672d5ccc894ce8b711 files/digest-phpBB-2.0.6-r2 64
+MD5 a2ffb1296c4ce58eee7df10b2ccaaebc files/2.0.8-postinstall-en.txt 116
+MD5 a5490792af02884bb7bfd22efa001697 files/digest-phpBB-2.0.8a-r1 65
+MD5 a5490792af02884bb7bfd22efa001697 files/digest-phpBB-2.0.8a 65
+MD5 baf12ebb39a1b14b5b0bf0fa9320eba8 files/phpBB-2.0.6-security.patch 248
diff --git a/www-apps/phpBB/files/2.0.8-postinstall-en.txt b/www-apps/phpBB/files/2.0.8-postinstall-en.txt
new file mode 100644
index 000000000000..8cf8278020b9
--- /dev/null
+++ b/www-apps/phpBB/files/2.0.8-postinstall-en.txt
@@ -0,0 +1,2 @@
+Please use install/install.php to configure phpBB.
+After that, please delete the contribs/ and install/ directories
diff --git a/www-apps/phpBB/files/digest-phpBB-2.0.6-r1 b/www-apps/phpBB/files/digest-phpBB-2.0.6-r1
new file mode 100644
index 000000000000..0dd9b2c15144
--- /dev/null
+++ b/www-apps/phpBB/files/digest-phpBB-2.0.6-r1
@@ -0,0 +1 @@
+MD5 0c2a43e1f482dffbcdb91dd366c9894f phpBB-2.0.6.tar.bz2 447960
diff --git a/www-apps/phpBB/files/digest-phpBB-2.0.6-r2 b/www-apps/phpBB/files/digest-phpBB-2.0.6-r2
new file mode 100644
index 000000000000..a0e46018c53b
--- /dev/null
+++ b/www-apps/phpBB/files/digest-phpBB-2.0.6-r2
@@ -0,0 +1 @@
+MD5 b3e462b3696e483bda81b281eca2c828 phpBB-2.0.6.tar.bz2 453896
diff --git a/www-apps/phpBB/files/digest-phpBB-2.0.8a b/www-apps/phpBB/files/digest-phpBB-2.0.8a
new file mode 100644
index 000000000000..76fef3c11048
--- /dev/null
+++ b/www-apps/phpBB/files/digest-phpBB-2.0.8a
@@ -0,0 +1 @@
+MD5 44d33a5851800f8f278d3c100fb2fcb3 phpBB-2.0.8a.tar.bz2 457308
diff --git a/www-apps/phpBB/files/digest-phpBB-2.0.8a-r1 b/www-apps/phpBB/files/digest-phpBB-2.0.8a-r1
new file mode 100644
index 000000000000..76fef3c11048
--- /dev/null
+++ b/www-apps/phpBB/files/digest-phpBB-2.0.8a-r1
@@ -0,0 +1 @@
+MD5 44d33a5851800f8f278d3c100fb2fcb3 phpBB-2.0.8a.tar.bz2 457308
diff --git a/www-apps/phpBB/files/phpBB-2.0.6-security.patch b/www-apps/phpBB/files/phpBB-2.0.6-security.patch
new file mode 100644
index 000000000000..8db8e0bf487a
--- /dev/null
+++ b/www-apps/phpBB/files/phpBB-2.0.6-security.patch
@@ -0,0 +1,9 @@
+--- includes/bbcode.php.org 2003-09-24 00:15:41.000000000 +0000
++++ includes/bbcode.php 2003-09-24 00:22:05.000000000 +0000
+@@ -782,4 +782,4 @@
+ return ( strlen($a['code']) > strlen($b['code']) ) ? -1 : 1;
+ }
+
+-?>
+\ No newline at end of file
++?>
diff --git a/www-apps/phpBB/metadata.xml b/www-apps/phpBB/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/www-apps/phpBB/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/phpBB/phpBB-2.0.6-r1.ebuild b/www-apps/phpBB/phpBB-2.0.6-r1.ebuild
new file mode 100644
index 000000000000..97da239bfe2d
--- /dev/null
+++ b/www-apps/phpBB/phpBB-2.0.6-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/phpBB-2.0.6-r1.ebuild,v 1.1 2004/08/15 15:27:23 stuart Exp $
+
+inherit webapp-apache eutils
+
+DESCRIPTION="phpBB is a high powered, fully scalable, and highly customisable open-source bulletin board package."
+HOMEPAGE="http://www.phpbb.com/"
+SRC_URI="mirror://sourceforge/phpbb/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+RESTRICT="nomirror"
+
+DEPEND=">=sys-devel/patch-2.5.9"
+RDEPEND="virtual/php"
+
+S=${WORKDIR}/${PN}2
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+
+ webapp-pkg_setup "${NO_WEBSERVER}"
+
+ if [ -d ${HTTPD_ROOT}/phpbb ] ; then
+ ewarn "You need to unmerge your old phpBB version first."
+ ewarn "phpBB will be installed into ${HTTPD_ROOT}/phpbb"
+ ewarn "directly instead of a version-dependant directory."
+ die "need to unmerge old version first"
+ fi
+
+ einfo "Installing for ${WEBAPP_SERVER}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-security.patch || die "Security patch failed"
+}
+
+src_install() {
+ webapp-mkdirs
+
+ dodir "${HTTPD_ROOT}/phpbb"
+ cp -a * "${D}/${HTTPD_ROOT}/phpbb"
+ dodoc ${S}/docs/*
+
+ cd "${D}/${HTTPD_ROOT}"
+ chown -R "${HTTPD_USER}:${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/phpbb"
+}
diff --git a/www-apps/phpBB/phpBB-2.0.6-r2.ebuild b/www-apps/phpBB/phpBB-2.0.6-r2.ebuild
new file mode 100644
index 000000000000..93af162ed4c5
--- /dev/null
+++ b/www-apps/phpBB/phpBB-2.0.6-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/phpBB-2.0.6-r2.ebuild,v 1.1 2004/08/15 15:27:23 stuart Exp $
+
+inherit webapp-apache
+
+DESCRIPTION="phpBB is a high powered, fully scalable, and highly customisable open-source bulletin board package."
+HOMEPAGE="http://www.phpbb.com/"
+SRC_URI="mirror://sourceforge/phpbb/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+RESTRICT="nomirror"
+
+DEPEND=">=sys-devel/patch-2.5.9"
+RDEPEND="virtual/php"
+
+S=${WORKDIR}/${PN}2
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+
+ webapp-pkg_setup "${NO_WEBSERVER}"
+
+ if [ -d ${HTTPD_ROOT}/phpbb ] ; then
+ ewarn "You need to unmerge your old phpBB version first."
+ ewarn "phpBB will be installed into ${HTTPD_ROOT}/phpbb"
+ ewarn "directly instead of a version-dependant directory."
+ die "need to unmerge old version first"
+ fi
+
+ einfo "Installing for ${WEBAPP_SERVER}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_install() {
+ webapp-mkdirs
+
+ dodir "${HTTPD_ROOT}/phpbb"
+ cp -a * "${D}/${HTTPD_ROOT}/phpbb"
+ dodoc ${S}/docs/*
+
+ cd "${D}/${HTTPD_ROOT}"
+ chown -R "${HTTPD_USER}:${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/phpbb"
+}
diff --git a/www-apps/phpBB/phpBB-2.0.8a-r1.ebuild b/www-apps/phpBB/phpBB-2.0.8a-r1.ebuild
new file mode 100644
index 000000000000..faac62f5046b
--- /dev/null
+++ b/www-apps/phpBB/phpBB-2.0.8a-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/phpBB-2.0.8a-r1.ebuild,v 1.1 2004/08/15 15:27:23 stuart Exp $
+
+inherit webapp
+
+DESCRIPTION="phpBB is an open-source bulletin board package."
+HOMEPAGE="http://www.phpbb.com/"
+SRC_URI="mirror://sourceforge/phpbb/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+RESTRICT="nomirror"
+
+RDEPEND="virtual/php"
+
+S=${WORKDIR}/${PN}2
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc ${S}/docs/*
+ rm -rf ${S}/docs/
+
+ cp -a * "${D}/${MY_HTDOCSDIR}"
+
+ echo "<?php trigger_error('Please use install/install.php to configure phpBB for your system!', E_USER_ERROR); ?>" > "${D}/${MY_HTDOCSDIR}/config.php"
+ webapp_serverowned "${MY_HTDOCSDIR}/config.php"
+
+ webapp_postinst_txt en ${FILESDIR}/2.0.8-postinstall-en.txt
+
+ webapp_src_install
+}
diff --git a/www-apps/phpBB/phpBB-2.0.8a.ebuild b/www-apps/phpBB/phpBB-2.0.8a.ebuild
new file mode 100644
index 000000000000..eec2fa279c97
--- /dev/null
+++ b/www-apps/phpBB/phpBB-2.0.8a.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/phpBB-2.0.8a.ebuild,v 1.1 2004/08/15 15:27:23 stuart Exp $
+
+inherit webapp-apache
+
+DESCRIPTION="phpBB is a high powered, fully scalable, and highly customisable open-source bulletin board package."
+HOMEPAGE="http://www.phpbb.com/"
+SRC_URI="mirror://sourceforge/phpbb/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+RESTRICT="nomirror"
+
+DEPEND=">=sys-devel/patch-2.5.9"
+RDEPEND="virtual/php"
+
+S=${WORKDIR}/${PN}2
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+
+ webapp-pkg_setup "${NO_WEBSERVER}"
+
+ if [ -d ${HTTPD_ROOT}/phpbb ] ; then
+ ewarn "You need to unmerge your old phpBB version first."
+ ewarn "phpBB will be installed into ${HTTPD_ROOT}/phpbb"
+ ewarn "directly instead of a version-dependant directory."
+ die "need to unmerge old version first"
+ fi
+
+ einfo "Installing for ${WEBAPP_SERVER}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_install() {
+ webapp-mkdirs
+
+ dodir "${HTTPD_ROOT}/phpbb"
+ cp -a * "${D}/${HTTPD_ROOT}/phpbb"
+ dodoc ${S}/docs/*
+
+ cd "${D}/${HTTPD_ROOT}"
+ chown -R "${HTTPD_USER}:${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/phpbb"
+}