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-imp | |
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-imp')
-rw-r--r-- | net-www/horde-imp/Manifest | 6 | ||||
-rw-r--r-- | net-www/horde-imp/files/digest-horde-imp-3.1 | 1 | ||||
-rw-r--r-- | net-www/horde-imp/files/digest-horde-imp-3.2 | 1 | ||||
-rw-r--r-- | net-www/horde-imp/files/digest-horde-imp-3.2.1 | 1 | ||||
-rw-r--r-- | net-www/horde-imp/horde-imp-3.1.ebuild | 92 | ||||
-rw-r--r-- | net-www/horde-imp/horde-imp-3.2.1.ebuild | 72 | ||||
-rw-r--r-- | net-www/horde-imp/horde-imp-3.2.ebuild | 96 |
7 files changed, 0 insertions, 269 deletions
diff --git a/net-www/horde-imp/Manifest b/net-www/horde-imp/Manifest index 9797213d4d92..4715cf397e4c 100644 --- a/net-www/horde-imp/Manifest +++ b/net-www/horde-imp/Manifest @@ -1,9 +1,3 @@ -MD5 65f03fb45a235eb940fdf9b3ed781a2f horde-imp-3.2.ebuild 2539 -MD5 b923d0ffd17ba2650f0b87978ebef46b horde-imp-3.1.ebuild 2375 MD5 99ea2fcf468ddaf10954f5d8a9145282 horde-imp-3.2.2.ebuild 1358 MD5 dd53c4bf03c8aa10e87671552e317ec4 ChangeLog 1918 -MD5 b84d36dd72ea979fdbebbee29a5439ba horde-imp-3.2.1.ebuild 1876 -MD5 b46592cbb457b086f8a7028101446355 files/digest-horde-imp-3.1 60 -MD5 ed9183a28cb927048e4638b39f7b4718 files/digest-horde-imp-3.2.1 62 -MD5 fbcc7aba9696f0f62a57c1da73ed2adf files/digest-horde-imp-3.2 60 MD5 3c27fa2d766fcde19cc8a601915f4d0b files/digest-horde-imp-3.2.2 62 diff --git a/net-www/horde-imp/files/digest-horde-imp-3.1 b/net-www/horde-imp/files/digest-horde-imp-3.1 deleted file mode 100644 index aaac192ead8c..000000000000 --- a/net-www/horde-imp/files/digest-horde-imp-3.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 73ff42a32e3ee3617fd411be356cb70f imp-3.1.tar.gz 1027446 diff --git a/net-www/horde-imp/files/digest-horde-imp-3.2 b/net-www/horde-imp/files/digest-horde-imp-3.2 deleted file mode 100644 index b46c49ad2247..000000000000 --- a/net-www/horde-imp/files/digest-horde-imp-3.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 f40c9cb7e65516837f08692803f295ea imp-3.2.tar.gz 1288846 diff --git a/net-www/horde-imp/files/digest-horde-imp-3.2.1 b/net-www/horde-imp/files/digest-horde-imp-3.2.1 deleted file mode 100644 index d12d5c1bd5c4..000000000000 --- a/net-www/horde-imp/files/digest-horde-imp-3.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 0ab8edfcd1439e52b0f29e84fef0cf54 imp-3.2.1.tar.gz 1312731 diff --git a/net-www/horde-imp/horde-imp-3.1.ebuild b/net-www/horde-imp/horde-imp-3.1.ebuild deleted file mode 100644 index b255bb264de2..000000000000 --- a/net-www/horde-imp/horde-imp-3.1.ebuild +++ /dev/null @@ -1,92 +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-imp/horde-imp-3.1.ebuild,v 1.6 2003/09/11 19:13:37 mholzer Exp $ - -DESCRIPTION="IMP provides webmail access" -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/imp/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.1" -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() { - # FIXME: Is this really how we want to do this ? - GREP=`grep imap /var/db/pkg/dev-php/mod_php*/USE` - if [ "${GREP}" != "" ]; then - return 0 - else - eerror "Missing IMAP 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 - # FIXME: With time, apache's GID should be static - 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/imp - cp -r . ${D}/${HTTPD_ROOT}/horde/imp - - # protecting files - chown -R root.${GID} ${D}/${HTTPD_ROOT}/horde/imp - find ${D}/${HTTPD_ROOT}/horde/imp/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/imp/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - - find_http_root - - # add module in horde - sed -e "/^\/\/.*\(\$this->applications\['imp'\].*\)/ \ - { : next ; N ; /\;/ { s/\/\///g ; b } ; b next }" \ - < ${REGISTRY} > ${REGISTRY}.temp - cp ${REGISTRY}.temp ${REGISTRY} - rm ${REGISTRY}.temp - - # end - einfo "Please read ${HTTPD_ROOT}/horde/imp/docs/INSTALL !" -} - -pkg_prerm() { - find_http_root - - # rm module from horde - sed -e "/\(\$this->applications\['imp'\].*\)/ \ - { 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-imp/horde-imp-3.2.1.ebuild b/net-www/horde-imp/horde-imp-3.2.1.ebuild deleted file mode 100644 index bd6220dcd0b0..000000000000 --- a/net-www/horde-imp/horde-imp-3.2.1.ebuild +++ /dev/null @@ -1,72 +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-imp/horde-imp-3.2.1.ebuild,v 1.3 2003/09/11 19:13:37 mholzer Exp $ - -DESCRIPTION="IMP ${PV} provides webmail access" -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/imp/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.2.1" -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() { - # FIXME: Is this really how we want to do this ? - GREP=`grep imap /var/db/pkg/dev-php/mod_php*/USE` - if [ "${GREP}" != "" ]; then - return 0 - else - eerror "Missing IMAP 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 - # FIXME: With time, apache's GID should be static - 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/imp - cp -r . ${D}/${HTTPD_ROOT}/horde/imp - - # protecting files - chown -R root.${GID} ${D}/${HTTPD_ROOT}/horde/imp - find ${D}/${HTTPD_ROOT}/horde/imp/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/imp/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - - find_http_root - - einfo "Please read ${HTTPD_ROOT}/horde/imp/docs/INSTALL !" -} diff --git a/net-www/horde-imp/horde-imp-3.2.ebuild b/net-www/horde-imp/horde-imp-3.2.ebuild deleted file mode 100644 index 118ad827d57c..000000000000 --- a/net-www/horde-imp/horde-imp-3.2.ebuild +++ /dev/null @@ -1,96 +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-imp/horde-imp-3.2.ebuild,v 1.3 2003/09/11 19:13:37 mholzer Exp $ - -DESCRIPTION="IMP ${PV} provides webmail access" -HOMEPAGE="http://www.horde.org" -MY_P=${P/horde-/} -SRC_URI="ftp://ftp.horde.org/pub/imp/tarballs/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -DEPEND="" -RDEPEND=">=net-www/horde-2.1" -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() { - # FIXME: Is this really how we want to do this ? - GREP=`grep imap /var/db/pkg/dev-php/mod_php*/USE` - if [ "${GREP}" != "" ]; then - return 0 - else - eerror "Missing IMAP 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 - # FIXME: With time, apache's GID should be static - 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/imp - cp -r . ${D}/${HTTPD_ROOT}/horde/imp - - # protecting files - chown -R root.${GID} ${D}/${HTTPD_ROOT}/horde/imp - find ${D}/${HTTPD_ROOT}/horde/imp/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/imp/ -type d -exec chmod 0750 {} \; -} - -pkg_postinst() { - - find_http_root - - # add module in horde -# Commented as this is a bad idea. --Alron -# sed -e "/^\/\/.*\(\$this->applications\['imp'\].*\)/ \ -# { : next ; N ; /\;/ { s/\/\///g ; b } ; b next }" \ -# < ${REGISTRY} > ${REGISTRY}.temp -# cp ${REGISTRY}.temp ${REGISTRY} -# rm ${REGISTRY}.temp - - # end - einfo "Please read ${HTTPD_ROOT}/horde/imp/docs/INSTALL !" -} - -pkg_prerm() { - find_http_root - - -# rm module from horde -# Commented this out as it was a bad idea, what happens when somone -# does an emerge -up world. --Alron -# sed -e "/\(\$this->applications\['imp'\].*\)/ \ -# { s/\(.*\)/\/\/\1/g; : suite ; N ; /\;/ { s/\n/\n\/\//g ; b } ; \ -# b suite }" \ -# < ${REGISTRY} > ${REGISTRY}.temp -# cp ${REGISTRY}.temp ${REGISTRY} -# rm ${REGISTRY}.temp -} |