diff options
author | Todd Heim <heim@gentoo.org> | 2003-05-09 02:03:56 +0000 |
---|---|---|
committer | Todd Heim <heim@gentoo.org> | 2003-05-09 02:03:56 +0000 |
commit | 271d701b639e79b195096000be4b32d8363c9858 (patch) | |
tree | c8fbfe93c0fb684652111605643f7c9405fa5196 /app-office | |
parent | Filter the -march=2.0 on hppa because it gave a b0rked groff. Added hppa to K... (diff) | |
download | historical-271d701b639e79b195096000be4b32d8363c9858.tar.gz historical-271d701b639e79b195096000be4b32d8363c9858.tar.bz2 historical-271d701b639e79b195096000be4b32d8363c9858.zip |
checks for apache2 now
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/phprojekt/ChangeLog | 7 | ||||
-rw-r--r-- | app-office/phprojekt/files/digest-phprojekt-4.0-r1 | 1 | ||||
-rw-r--r-- | app-office/phprojekt/phprojekt-4.0-r1.ebuild | 36 |
3 files changed, 43 insertions, 1 deletions
diff --git a/app-office/phprojekt/ChangeLog b/app-office/phprojekt/ChangeLog index c4aaabb2dbd9..f16ccbec18f2 100644 --- a/app-office/phprojekt/ChangeLog +++ b/app-office/phprojekt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-office/phprojekt # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/ChangeLog,v 1.5 2003/04/19 05:51:14 heim Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/ChangeLog,v 1.6 2003/05/09 02:03:56 heim Exp $ + +*phprojekt-4.0-r1 (08 May 2003) + + 08 May 2003; Todd Heim <heim@gentoo.org> phprojekt-4.0-r1.ebuild: + checks for server root/user/group when using apache2 (bug 20373) *phprojekt-3.2a (02 Aug 2002) diff --git a/app-office/phprojekt/files/digest-phprojekt-4.0-r1 b/app-office/phprojekt/files/digest-phprojekt-4.0-r1 new file mode 100644 index 000000000000..94436fbe66f6 --- /dev/null +++ b/app-office/phprojekt/files/digest-phprojekt-4.0-r1 @@ -0,0 +1 @@ +MD5 a42e8b580ffa2dc59a1f13c9804c7a6a phprojekt-4.0.tar.gz 779647 diff --git a/app-office/phprojekt/phprojekt-4.0-r1.ebuild b/app-office/phprojekt/phprojekt-4.0-r1.ebuild new file mode 100644 index 000000000000..bd3517f287c5 --- /dev/null +++ b/app-office/phprojekt/phprojekt-4.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/phprojekt-4.0-r1.ebuild,v 1.1 2003/05/09 02:03:56 heim Exp $ + +# lid of download link +MY_DOWNLOAD_ID=14 + +use apache2 && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`" +use apache2 && HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" +use apache2 && HTTPD_GROUP="`grep '^Group' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" + +use apache2 || HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" +use apache2 || HTTPD_USER="`grep '^User' /etc/apache/conf/commonapache.conf | cut -d \ -f2`" +use apache2 || HTTPD_GROUP="`grep '^Group' /etc/apache/conf/commonapache.conf | cut -d \ -f2`" + +[ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs" +[ -z "${HTTPD_USER}" ] && HTTPD_USER="apache" +[ -z "${HTTPD_GROUP}" ] && HTTPD_GROUP="apache" + +DESCRIPTION="Project management and coordination system" +HOMEPAGE="http://www.phprojekt.com/" +IUSE="apache2" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +RDEPEND="virtual/php" + +src_install() { + dodoc ChangeLog install readme + dodir ${HTTPD_ROOT}/phprojekt + cp -r . ${D}/${HTTPD_ROOT}/phprojekt + cd ${D}/${HTTPD_ROOT} + chown -R ${HTTPD_USER}:${HTTPD_GROUP} phprojekt +} |