Fix for bug #71681. Fix tested and confirmed by lcars@gentoo.org
authorRob Holland <tigger@gentoo.org>
Sun, 21 Nov 2004 22:52:20 +0000 (22:52 +0000)
committerRob Holland <tigger@gentoo.org>
Sun, 21 Nov 2004 22:52:20 +0000 (22:52 +0000)
www-apps/phpBB/ChangeLog
www-apps/phpBB/Manifest
www-apps/phpBB/files/2.0.11-postinstall-en.txt [new file with mode: 0644]
www-apps/phpBB/files/digest-phpBB-2.0.11 [new file with mode: 0644]
www-apps/phpBB/phpBB-2.0.11.ebuild [new file with mode: 0644]

index b379137cb02c529345a4d7f4027d9b9454ee52eb..ceaa08e1d5867ec11f5082611bd6156d267d66ee 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for www-apps/phpBB
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/ChangeLog,v 1.5 2004/09/05 08:54:04 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpBB/ChangeLog,v 1.6 2004/11/21 22:52:20 tigger Exp $
+
+*phpBB-2.0.11 (21 Nov 2004)
+
+  21 Nov 2004; Rob Holland <tigger@gentoo.org>
+  +files/2.0.11-postinstall-en.txt, +phpBB-2.0.11.ebuild:
+  Fix for bug #71681. Fix tested and confirmed by lcars@gentoo.org
 
   05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
   Fixed ChangeLog header.
index 0718e5175cc7b89aa5719747a7f33a8eaed64141..34b26e2157c52a902a6c4729960189283661ca24 100644 (file)
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 3de76bfd5165486438e940c0f7f7f526 phpBB-2.0.11.ebuild 878
 MD5 f8b0d6036d85b4a0cce406fb47c5b576 phpBB-2.0.10.ebuild 879
-MD5 0f752dd24de5448354e7a2338c50a947 ChangeLog 2714
-MD5 b86d0d59ff98fc4f56b7cf9f4efcea57 files/2.0.10-postinstall-en.txt 197
+MD5 10bf6b9282b2a489256193f9454872af ChangeLog 2914
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
 MD5 e91be9c94d3c82fb8b3b1b11c6470b34 files/digest-phpBB-2.0.10 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBOtQzI1lqEGTUzyQRAptxAKCsZr7ZUBFhbhE8QaAeOgdoJlcaxgCdERmw
-PO1q1UoKcM0EDBkHmVbSqPU=
-=o2BP
------END PGP SIGNATURE-----
+MD5 f6eea42c123f03c3c7b8024b9105e50d files/digest-phpBB-2.0.11 65
+MD5 b86d0d59ff98fc4f56b7cf9f4efcea57 files/2.0.10-postinstall-en.txt 197
+MD5 91b2f3b66dfab63e7ffc7e269064bb73 files/2.0.11-postinstall-en.txt 197
diff --git a/www-apps/phpBB/files/2.0.11-postinstall-en.txt b/www-apps/phpBB/files/2.0.11-postinstall-en.txt
new file mode 100644 (file)
index 0000000..1f3b63d
--- /dev/null
@@ -0,0 +1,3 @@
+Please use install/install.php to configure a new install of phpBB.
+Use install/update_to_211.php to upgrade your existing version.
+After that, please delete the contribs/ and install/ directories
diff --git a/www-apps/phpBB/files/digest-phpBB-2.0.11 b/www-apps/phpBB/files/digest-phpBB-2.0.11
new file mode 100644 (file)
index 0000000..1af8b7d
--- /dev/null
@@ -0,0 +1 @@
+MD5 ae6a8f3b74fb00251f5cceb03d295e89 phpBB-2.0.11.tar.bz2 434670
diff --git a/www-apps/phpBB/phpBB-2.0.11.ebuild b/www-apps/phpBB/phpBB-2.0.11.ebuild
new file mode 100644 (file)
index 0000000..ae91a3f
--- /dev/null
@@ -0,0 +1,32 @@
+# 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.11.ebuild,v 1.1 2004/11/21 22:52:20 tigger 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"
+
+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.10-postinstall-en.txt
+
+       webapp_src_install
+}