diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-08 01:59:58 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-08 01:59:58 +0000 |
commit | a76ff916550074b8d041c206a58b33d922f5bdaf (patch) | |
tree | 28705f2f124035f28c34b6aba794d352a1f2cc6d /net-www/horde-chora | |
parent | adding webapps-apache. Closes #35183 (diff) | |
download | gentoo-2-a76ff916550074b8d041c206a58b33d922f5bdaf.tar.gz gentoo-2-a76ff916550074b8d041c206a58b33d922f5bdaf.tar.bz2 gentoo-2-a76ff916550074b8d041c206a58b33d922f5bdaf.zip |
cleanup
Diffstat (limited to 'net-www/horde-chora')
-rw-r--r-- | net-www/horde-chora/Manifest | 4 | ||||
-rw-r--r-- | net-www/horde-chora/files/digest-horde-chora-1.1 | 1 | ||||
-rw-r--r-- | net-www/horde-chora/files/digest-horde-chora-1.2 | 1 | ||||
-rw-r--r-- | net-www/horde-chora/horde-chora-1.1.ebuild | 75 | ||||
-rw-r--r-- | net-www/horde-chora/horde-chora-1.2.ebuild | 75 |
5 files changed, 0 insertions, 156 deletions
diff --git a/net-www/horde-chora/Manifest b/net-www/horde-chora/Manifest index 0f37bdaaa97c..b5787bc59ffe 100644 --- a/net-www/horde-chora/Manifest +++ b/net-www/horde-chora/Manifest @@ -1,7 +1,3 @@ -MD5 4b47e4c7d98695babfc786af50c63c45 horde-chora-1.2.ebuild 2081 -MD5 94cd6f2248ab1c81a12fe9281f83c5bb horde-chora-1.1.ebuild 2077 MD5 0be51d372b22af78f13a7dcb5c97a0e5 ChangeLog 1203 MD5 8217237732be934074cd7b08c60a20cf horde-chora-1.2-r1.ebuild 1393 -MD5 4e7d3aeb55f6a66a360f0c4571a7804b files/digest-horde-chora-1.2 61 -MD5 033bd6c3aab6f738bb6b542b65c86133 files/digest-horde-chora-1.1 62 MD5 4e7d3aeb55f6a66a360f0c4571a7804b files/digest-horde-chora-1.2-r1 61 diff --git a/net-www/horde-chora/files/digest-horde-chora-1.1 b/net-www/horde-chora/files/digest-horde-chora-1.1 deleted file mode 100644 index add47dbc4c6d..000000000000 --- a/net-www/horde-chora/files/digest-horde-chora-1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 fffcdc04a6440ec42bdc62de79941a4a chora-1.1.tar.gz 124152 diff --git a/net-www/horde-chora/files/digest-horde-chora-1.2 b/net-www/horde-chora/files/digest-horde-chora-1.2 deleted file mode 100644 index 52ea807111ea..000000000000 --- a/net-www/horde-chora/files/digest-horde-chora-1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 27438aa6319c408d93c52e1b25536f95 chora-1.2.tar.gz 154090 diff --git a/net-www/horde-chora/horde-chora-1.1.ebuild b/net-www/horde-chora/horde-chora-1.1.ebuild deleted file mode 100644 index 1823c1a25b6f..000000000000 --- a/net-www/horde-chora/horde-chora-1.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/horde-chora/horde-chora-1.1.ebuild,v 1.6 2003/09/29 22:05:59 mholzer Exp $ - -DESCRIPTION="Chora is the Horde CVS viewer." -HOMEPAGE="http://www.horde.org" -MY_P="${P/horde-/}" -SRC_URI="ftp://ftp.horde.org/pub/chora/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.1 - >=app-text/rcs-5.7-r1 - >=dev-util/cvs-1.11.2" -IUSE="" -S=${WORKDIR}/${MY_P} - -find_http_root() { - HTTPD_ROOT=`grep apache /etc/passwd | cut -d: -f6`/htdocs - if [ -z "${HTTPD_ROOT}" ]; then - eerror "HTTPD_ROOT is null! Using defaults." - eerror "You probably want to check /etc/passwd" - HTTPD_ROOT="/home/httpd/htdocs" - fi - - REGISTRY=${HTTPD_ROOT}/horde/config/registry.php - [ -f ${REGISTRY} ] || REGISTRY=${HTTPD_ROOT}/horde/config/registry.php.dist -} - -src_compile() { - echo "Nothing to compile" -} - -src_install () { - find_http_root - - # detecting apache usergroup - GID=`grep apache /etc/group |cut -d: -f3` - if [ -z "${GID}" ]; then - einfo "Using default GID of 81 for Apache" - GID=81 - fi - - dodir ${HTTPD_ROOT}/horde/chora - cp -r . ${D}/${HTTPD_ROOT}/horde/chora - - # protecting files - chown -R root.${GID} ${D}/${HTTPD_ROOT}/horde/chora - find ${D}/${HTTPD_ROOT}/horde/chora/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/chora/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - find_http_root - # add module in horde - sed -e "/^\/\/.*\(\$this->applications\['chora'\].*\)/ \ - { : next ; N ; /\;/ { s/\/\///g ; b } ; b next }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp - - einfo "Please read ${HTTPD_ROOT}/horde/chora/docs/INSTALL !" -} - -pkg_prerm() { - find_http_root - # rm module from horde - sed -e "/\(\$this->applications\['chora'\].*\)/ \ - { s/\(.*\)/\/\/\1/g; : suite ; N ; /\;/ { s/\n/\n\/\//g ; b } ; \ - b suite }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp -} diff --git a/net-www/horde-chora/horde-chora-1.2.ebuild b/net-www/horde-chora/horde-chora-1.2.ebuild deleted file mode 100644 index 75f2e40d7a37..000000000000 --- a/net-www/horde-chora/horde-chora-1.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/horde-chora/horde-chora-1.2.ebuild,v 1.4 2003/09/29 22:05:59 mholzer Exp $ - -DESCRIPTION="Chora ${PV} is the Horde CVS viewer." -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/chora/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.2 - >=app-text/rcs-5.7-r1 - >=dev-util/cvs-1.11.2" -IUSE="" -S=${WORKDIR}/${MY_P} - -find_http_root() { - HTTPD_ROOT=`grep apache /etc/passwd | cut -d: -f6`/htdocs - if [ -z "${HTTPD_ROOT}" ]; then - eerror "HTTPD_ROOT is null! Using defaults." - eerror "You probably want to check /etc/passwd" - HTTPD_ROOT="/home/httpd/htdocs" - fi - - REGISTRY=${HTTPD_ROOT}/horde/config/registry.php - [ -f ${REGISTRY} ] || REGISTRY=${HTTPD_ROOT}/horde/config/registry.php.dist -} - -src_compile() { - echo "Nothing to compile" -} - -src_install () { - find_http_root - - # detecting apache usergroup - GID=`grep apache /etc/group |cut -d: -f3` - if [ -z "${GID}" ]; then - einfo "Using default GID of 81 for Apache" - GID=81 - fi - - dodir ${HTTPD_ROOT}/horde/chora - cp -r . ${D}/${HTTPD_ROOT}/horde/chora - - # protecting files - chown -R root.${GID} ${D}/${HTTPD_ROOT}/horde/chora - find ${D}/${HTTPD_ROOT}/horde/chora/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/chora/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - find_http_root - # add module in horde - sed -e "/^\/\/.*\(\$this->applications\['chora'\].*\)/ \ - { : next ; N ; /\;/ { s/\/\///g ; b } ; b next }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp - - einfo "Please read ${HTTPD_ROOT}/horde/chora/docs/INSTALL !" -} - -pkg_prerm() { - find_http_root - # rm module from horde - sed -e "/\(\$this->applications\['chora'\].*\)/ \ - { s/\(.*\)/\/\/\1/g; : suite ; N ; /\;/ { s/\n/\n\/\//g ; b } ; \ - b suite }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp -} |