diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-11-09 13:26:55 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-11-09 13:26:55 +0000 |
commit | a9cb76450b676aad116ef67ec71f4776961776e6 (patch) | |
tree | 8bc167909caaf6b16faf888ae34f3b43e64fc701 /dev-php/phpgroupware | |
parent | minor cleanup (diff) | |
download | gentoo-2-a9cb76450b676aad116ef67ec71f4776961776e6.tar.gz gentoo-2-a9cb76450b676aad116ef67ec71f4776961776e6.tar.bz2 gentoo-2-a9cb76450b676aad116ef67ec71f4776961776e6.zip |
Added webapps-apache.
Diffstat (limited to 'dev-php/phpgroupware')
-rw-r--r-- | dev-php/phpgroupware/ChangeLog | 6 | ||||
-rw-r--r-- | dev-php/phpgroupware/Manifest | 4 | ||||
-rw-r--r-- | dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild | 32 |
3 files changed, 29 insertions, 13 deletions
diff --git a/dev-php/phpgroupware/ChangeLog b/dev-php/phpgroupware/ChangeLog index a823d6b09dc0..dfa2118cebcb 100644 --- a/dev-php/phpgroupware/ChangeLog +++ b/dev-php/phpgroupware/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-php/phpgroupware # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/phpgroupware/ChangeLog,v 1.14 2003/10/21 15:38:58 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/phpgroupware/ChangeLog,v 1.15 2003/11/09 13:26:49 mholzer Exp $ + + 09 Nov 2003; Martin Holzer <mholzer@gentoo.org> + phpgroupware-0.9.14.007.ebuild: + Added webapps-apache. 22 Oct 2003; Martin Holzer <mholzer@gentoo.org> phpgroupware-0.9.14.007.ebuild: diff --git a/dev-php/phpgroupware/Manifest b/dev-php/phpgroupware/Manifest index 6dbeeb60a346..2d57c28898aa 100644 --- a/dev-php/phpgroupware/Manifest +++ b/dev-php/phpgroupware/Manifest @@ -1,4 +1,4 @@ -MD5 3d56c3802f5b03da2cdd1eeaf7611468 ChangeLog 1911 -MD5 f76a6b620a3375a5607d171b81376e4a phpgroupware-0.9.14.007.ebuild 1322 +MD5 366a181b45c6f8522f7a5d0d6b7b33ae ChangeLog 2020 +MD5 618bf77366384f132beb9c848f1a2963 phpgroupware-0.9.14.007.ebuild 1575 MD5 34b376f52ca199fffb4e52b83169574a metadata.xml 156 MD5 02797b628fc7108b8d474fad0bc92cae files/digest-phpgroupware-0.9.14.007 77 diff --git a/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild b/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild index 2ea3b817dbf9..ed0848da52fe 100644 --- a/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild +++ b/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild,v 1.2 2003/10/21 15:38:58 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/phpgroupware/phpgroupware-0.9.14.007.ebuild,v 1.3 2003/11/09 13:26:49 mholzer Exp $ + +inherit webapp-apache S=${WORKDIR}/${PN} -HTTPD_ROOT="/home/httpd/htdocs" -HTTPD_USER="apache" -HTTPD_GROUP="apache" DESCRIPTION="intranet/groupware tool and application framework" HOMEPAGE="http://www.phpgroupware.org/" @@ -19,21 +18,34 @@ KEYWORDS="x86 ~ppc ~alpha ~amd64 ~sparc ~hppa ~arm" DEPEND="virtual/php dev-db/mysql" +webapp-detect || NO_WEBSERVER=1 + +HTTPD_USER="apache" +HTTPD_GROUP="apache" + pkg_setup() { if [ -L ${HTTPD_ROOT}/${PN} ] ; then - ewarn "You need to unmerge your old phpGroupWare version first." - ewarn "phpGroupWare will be installed into ${HTTPD_ROOT}/phpgroupware" + ewarn "You need to unmerge your old ${PN} version first." + ewarn "${PN} will be installed into ${HTTPD_ROOT}/${PN}" ewarn "directly instead of a version-dependant directory." die "need to unmerge old version first" fi + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${HTTPD_ROOT}." } src_install() { - dodir ${HTTPD_ROOT}/${PN} - cd ${WORKDIR} - cp -r . ${D}/${HTTPD_ROOT} + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/${PN} + + dodir ${destdir} + #cd ${WORKDIR} + cp -r . ${D}${destdir} cd ${D}/${HTTPD_ROOT} - chown -R ${HTTPD_USER}.${HTTPD_GROUP} phpgroupware + chown -R ${HTTPD_USER}.${HTTPD_GROUP} ${PN} + # Fix permissions + find ${D}${destdir} -type d | xargs chmod 755 + find ${D}${destdir} -type f | xargs chmod 644 dohtml ${PN}/doc/en_US/html/admin/*.html } |