diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-04 17:51:03 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-04 17:51:03 +0000 |
commit | f15ba238aa1cbc1dde4c709ae1306ca4353eca14 (patch) | |
tree | eab46f1f2e07eec9ebeabab5206a1bbc9c487a89 /net-www/horde-turba | |
parent | added webapps-apache (diff) | |
download | gentoo-2-f15ba238aa1cbc1dde4c709ae1306ca4353eca14.tar.gz gentoo-2-f15ba238aa1cbc1dde4c709ae1306ca4353eca14.tar.bz2 gentoo-2-f15ba238aa1cbc1dde4c709ae1306ca4353eca14.zip |
cleanup
Diffstat (limited to 'net-www/horde-turba')
-rw-r--r-- | net-www/horde-turba/Manifest | 4 | ||||
-rw-r--r-- | net-www/horde-turba/files/digest-horde-turba-1.1 | 1 | ||||
-rw-r--r-- | net-www/horde-turba/files/digest-horde-turba-1.2 | 1 | ||||
-rw-r--r-- | net-www/horde-turba/horde-turba-1.1.ebuild | 86 | ||||
-rw-r--r-- | net-www/horde-turba/horde-turba-1.2.ebuild | 68 |
5 files changed, 0 insertions, 160 deletions
diff --git a/net-www/horde-turba/Manifest b/net-www/horde-turba/Manifest index e06744df97cc..5b2c2c6a5a50 100644 --- a/net-www/horde-turba/Manifest +++ b/net-www/horde-turba/Manifest @@ -1,7 +1,3 @@ -MD5 7992e6996cbdbeaf5150c6a6029ce1db horde-turba-1.1.ebuild 2420 MD5 f59b3bb521c1810587d696cd144e2ca0 horde-turba-1.2.1.ebuild 1658 -MD5 e2e1b601a163302d2354571982351b43 horde-turba-1.2.ebuild 1924 MD5 00a82ee5bf2da42ba0e3005b616c0434 ChangeLog 991 MD5 c040f6dc39be9087c0815f2eb07dbf27 files/digest-horde-turba-1.2.1 63 -MD5 10da92ad2d67b2b5393a1ce281e74a85 files/digest-horde-turba-1.2 61 -MD5 f3018d21fa59ceba6a6b2062f16734ed files/digest-horde-turba-1.1 62 diff --git a/net-www/horde-turba/files/digest-horde-turba-1.1 b/net-www/horde-turba/files/digest-horde-turba-1.1 deleted file mode 100644 index c57bbfb06df8..000000000000 --- a/net-www/horde-turba/files/digest-horde-turba-1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1b5b3cdf1eeb80fe8a1e9a2ae9000723 turba-1.1.tar.gz 260558 diff --git a/net-www/horde-turba/files/digest-horde-turba-1.2 b/net-www/horde-turba/files/digest-horde-turba-1.2 deleted file mode 100644 index 9fbde0a54611..000000000000 --- a/net-www/horde-turba/files/digest-horde-turba-1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 7c082cdbeb499eef99ff4dbf6b3608f5 turba-1.2.tar.gz 384397 diff --git a/net-www/horde-turba/horde-turba-1.1.ebuild b/net-www/horde-turba/horde-turba-1.1.ebuild deleted file mode 100644 index f96cd5a4772a..000000000000 --- a/net-www/horde-turba/horde-turba-1.1.ebuild +++ /dev/null @@ -1,86 +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-turba/horde-turba-1.1.ebuild,v 1.5 2003/09/11 19:30:32 mholzer Exp $ - -DESCRIPTION="Turba is the Horde address book / contact management program" -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/turba/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.1" -IUSE="" -=${WORKDIR}/${MY_P} - -find_http_root() { - export 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 - - export REGISTRY=${HTTPD_ROOT}/horde/config/registry.php - [ -f ${REGISTRY} ] || REGISTRY=${HTTPD_ROOT}/horde/config/registry.php.dist -} - -pkg_setup() { - GREPSQL=`grep sql /var/db/pkg/dev-php/mod_php*/USE` - GREPLDAP=`grep ldap /var/db/pkg/dev-php/mod_php*/USE` - if [ "${GREPSQL}" != "" ] || [ "${GREPLDAP}" != "" ] ; then - return 0 - else - eerror "Missing SQL or LDAP support in mod_php !" - die "aborting..." - fi - find_http_root - [ -f ${REGISTRY} ] || die "${REGISTRY} not found" -} - -src_compile() { - echo "Nothing to compile" -} - -src_install () { - - # 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 - - find_http_root - dodir ${HTTPD_ROOT}/horde/turba - cp -r . ${D}/${HTTPD_ROOT}/horde/turba - - # protecting files - chown -R apache.${GID} ${D}/${HTTPD_ROOT}/horde/turba - find ${D}/${HTTPD_ROOT}/horde/turba/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/turba/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - find_http_root - # add module in horde - sed -e "/^\/\/.*\(\$this->applications\['turba'\].*\)/ \ - { : next ; N ; /\;/ { s/\/\///g ; b } ; b next }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp - - einfo "Please read ${HTTPD_ROOT}/horde/turba/docs/INSTALL !" -} - -pkg_prerm() { - find_http_root - # rm module from horde - sed -e "/\(\$this->applications\['turba'\].*\)/ \ - { 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-turba/horde-turba-1.2.ebuild b/net-www/horde-turba/horde-turba-1.2.ebuild deleted file mode 100644 index 2a9871150fd0..000000000000 --- a/net-www/horde-turba/horde-turba-1.2.ebuild +++ /dev/null @@ -1,68 +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-turba/horde-turba-1.2.ebuild,v 1.2 2003/09/11 19:30:33 mholzer Exp $ - -DESCRIPTION="Turba ${PV} is the Horde address book / contact management program" -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/turba/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.2.1" -IUSE="" -S=${WORKDIR}/${MY_P} - -find_http_root() { - export 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 - - export REGISTRY=${HTTPD_ROOT}/horde/config/registry.php - [ -f ${REGISTRY} ] || REGISTRY=${HTTPD_ROOT}/horde/config/registry.php.dist -} - -pkg_setup() { - GREPSQL=`grep sql /var/db/pkg/dev-php/mod_php*/USE` - GREPLDAP=`grep ldap /var/db/pkg/dev-php/mod_php*/USE` - if [ "${GREPSQL}" != "" ] || [ "${GREPLDAP}" != "" ] ; then - return 0 - else - eerror "Missing SQL or LDAP support in mod_php !" - die "aborting..." - fi - find_http_root - [ -f ${REGISTRY} ] || die "${REGISTRY} not found" -} - -src_compile() { - echo "Nothing to compile" -} - -src_install () { - - # 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 - - find_http_root - dodir ${HTTPD_ROOT}/horde/turba - cp -r . ${D}/${HTTPD_ROOT}/horde/turba - - # protecting files - chown -R apache.${GID} ${D}/${HTTPD_ROOT}/horde/turba - find ${D}/${HTTPD_ROOT}/horde/turba/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/turba/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - find_http_root - einfo "Please read ${HTTPD_ROOT}/horde/turba/docs/INSTALL !" -} |