diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-06-20 08:53:45 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-06-20 08:53:45 +0000 |
commit | dbab101191fde63b15a5e84e5ffb9a2ab6533ad7 (patch) | |
tree | 52d00d08700ebb393933d773dd04aa08b3c45578 /net-www | |
parent | version dump for security reasons (diff) | |
download | historical-dbab101191fde63b15a5e84e5ffb9a2ab6533ad7.tar.gz historical-dbab101191fde63b15a5e84e5ffb9a2ab6533ad7.tar.bz2 historical-dbab101191fde63b15a5e84e5ffb9a2ab6533ad7.zip |
version dump for security reasons
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/phpBB/Manifest | 5 | ||||
-rw-r--r-- | net-www/phpBB/phpBB-2.0.5.ebuild | 47 |
2 files changed, 49 insertions, 3 deletions
diff --git a/net-www/phpBB/Manifest b/net-www/phpBB/Manifest index f6616c307cee..2edde19d54bf 100644 --- a/net-www/phpBB/Manifest +++ b/net-www/phpBB/Manifest @@ -1,6 +1,5 @@ -MD5 1b46bf51c102f554272de5ed35b92bb3 phpBB-2.0.5.ebuild 1498 -MD5 1b46bf51c102f554272de5ed35b92bb3 phpBB-2.0.5.ebuild~ 1498 +MD5 4a19fcfcfcffdc9ae043a36e093cb222 phpBB-2.0.5.ebuild 1498 MD5 1b46bf51c102f554272de5ed35b92bb3 phpBB-2.0.4.ebuild 1498 -MD5 b1e580706cc6c4502d2bd74549b193bd ChangeLog 344 +MD5 e3ffd195d56f5b33813705d1b0a2a438 ChangeLog 528 MD5 1c9cf1de5be80b37285838551452ebf4 files/digest-phpBB-2.0.4 63 MD5 b0e9ee3a18db6416eedbe05a7c409b36 files/digest-phpBB-2.0.5 63 diff --git a/net-www/phpBB/phpBB-2.0.5.ebuild b/net-www/phpBB/phpBB-2.0.5.ebuild new file mode 100644 index 000000000000..528d18153403 --- /dev/null +++ b/net-www/phpBB/phpBB-2.0.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tim Raedisch <tim.raedisch@udo.edu> +# $Header: /var/cvsroot/gentoo-x86/net-www/phpBB/phpBB-2.0.5.ebuild,v 1.1 2003/06/20 08:53:38 robbat2 Exp $ + +S=${WORKDIR}/${PN}2 +DESCRIPTION="phpBB is a high powered, fully scalable, and highly customisable open-source bulletin board package." +HOMEPAGE="http://www.phpbb.com/" +SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/phpbb/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +DEPEND="virtual/php" + +HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" +[ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache.conf | cut -d\ -f2`" +[ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs" +HTTPD_USER="apache" +HTTPD_GROUP="apache" + + +pkg_setup() { + if [ -L ${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 +} + +src_compile() { + #we need to have this empty function ... default compile hangs + echo "Nothing to compile" +} + +src_install() { + cd ${S} + dodir ${HTTPD_ROOT}/phpbb + cp -r * ${D}/${HTTPD_ROOT}/phpbb + cd ${D}/${HTTPD_ROOT} + chown -R ${HTTPD_USER}.${HTTPD_GROUP} ${D}/${HTTPD_ROOT}/phpbb + dodoc ${S}/docs/* +} + + |