diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-09-01 13:57:23 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-09-01 13:57:23 +0000 |
commit | e3ba26dd3d9afea35584a3daf74843cfe2c9d2ca (patch) | |
tree | 0a611a64bec1696d4708786dc81d6dfc2bcb813b /net-www | |
parent | security update (diff) | |
download | historical-e3ba26dd3d9afea35584a3daf74843cfe2c9d2ca.tar.gz historical-e3ba26dd3d9afea35584a3daf74843cfe2c9d2ca.tar.bz2 historical-e3ba26dd3d9afea35584a3daf74843cfe2c9d2ca.zip |
security update
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/horde/Manifest | 4 | ||||
-rw-r--r-- | net-www/horde/files/digest-horde-2.2.4_rc2 | 1 | ||||
-rw-r--r-- | net-www/horde/horde-2.2.4_rc2.ebuild | 63 |
3 files changed, 66 insertions, 2 deletions
diff --git a/net-www/horde/Manifest b/net-www/horde/Manifest index 3a42d571feea..cca64103f470 100644 --- a/net-www/horde/Manifest +++ b/net-www/horde/Manifest @@ -1,11 +1,11 @@ -MD5 fdca9fd8881d04b7693a01bbf7b06624 ChangeLog 1315 +MD5 94e327efbe6fa50ae7511a0d0bbea796 ChangeLog 1440 MD5 636ebcd11e99056d2081d794141d89f5 horde-2.1.ebuild 2037 MD5 fd4970d9578f44b8f3cb91e9dfc53c38 horde-2.2.ebuild 2043 MD5 ccb61c441b631784c0967480fb5b96dc horde-2.2.1.ebuild 2045 MD5 4a4d0489be31cefdfe74b7be8873780d horde-2.2.1-r1.ebuild 2048 MD5 44620b0eec8dcefd32f65cf730fd464a horde-2.2.1-r2.ebuild 2113 MD5 7b461d985031a1e8ac93ee0f28e28341 horde-2.2.3.ebuild 2113 -MD5 8693cf680a42dded5f03fc3a6d6a9709 horde-2.2.4_rc2.ebuild 2130 +MD5 f40791287189c7c0191e82ed257d37f2 horde-2.2.4_rc2.ebuild 2062 MD5 2c18d369ec9294ac02c0639cf00876f6 files/digest-horde-2.1 61 MD5 efed153529118e95b937a4f3452d4d73 files/digest-horde-2.2 61 MD5 2c940070aada6354856b0f79f13b0084 files/digest-horde-2.2.1 63 diff --git a/net-www/horde/files/digest-horde-2.2.4_rc2 b/net-www/horde/files/digest-horde-2.2.4_rc2 new file mode 100644 index 000000000000..6a94cdcbcf06 --- /dev/null +++ b/net-www/horde/files/digest-horde-2.2.4_rc2 @@ -0,0 +1 @@ +MD5 90e8eb3fac042ead2c55a6ab04d266b8 horde-2.2.4-RC2.tar.gz 630946 diff --git a/net-www/horde/horde-2.2.4_rc2.ebuild b/net-www/horde/horde-2.2.4_rc2.ebuild new file mode 100644 index 000000000000..38fcb2e45eb2 --- /dev/null +++ b/net-www/horde/horde-2.2.4_rc2.ebuild @@ -0,0 +1,63 @@ +# 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/horde-2.2.4_rc2.ebuild,v 1.1 2003/09/01 13:57:16 aliz Exp $ + +MY_P=${P/_rc/-RC} + +DESCRIPTION="Horde Application Framework" +HOMEPAGE="http://www.horde.org" +SRC_URI="http://ftp.horde.org/pub/horde/tarballs/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc " +DEPEND="" +RDEPEND=">=dev-php/mod_php-4.1.0 + >=sys-devel/gettext-0.10.40 + >=dev-libs/libxml2-2.4.21 + >=net-www/horde-pear-1.0.1.1" +IUSE="" + +# We will use these to set the permissions properly +HTTPD_USER="apache" +HTTPD_GROUP=`grep $HTTPD_USER /etc/passwd |cut -d: -f4` + +# Allow users to move the default data directory by setting the +# home directory of the 'apache' user elsewhere. +HTTPD_ROOT=`grep $HTTPD_USER /etc/passwd | cut -d: -f6`/htdocs + +pkg_setup() { + if [ -z "${HTTPD_ROOT}" ]; then + eewarn "HTTPD_ROOT is null!" + eewarn "You probably want to check /etc/passwd" + die "Need to have a place to put horde in" + fi + if [ -L ${HTTPD_ROOT}/horde ] ; then + ewarn "You need to unmerge your old Horde version first." + ewarn "Horde will be installed into ${HTTPD_ROOT}/horde" + ewarn "directly instead of a version-dependant directory." + die "need to unmerge old version first" + fi +} + +src_install () { + dodir ${HTTPD_ROOT}/horde + cp -R . ${D}/${HTTPD_ROOT}/horde +# cp ${FILESDIR}/${PV}/vfs.sql ${D}/${HTTPD_ROOT}/horde/scripts/db + # protecting files + chown -R ${HTTPD_USER}.${HTTPD_GROUP} ${D}/${HTTPD_ROOT}/horde + find ${D}/${HTTPD_ROOT}/horde/ -type f -exec chmod 0640 {} \; + find ${D}/${HTTPD_ROOT}/horde/ -type d -exec chmod 0750 {} \; + chmod 0000 ${D}/${HTTPD_ROOT}/horde/test.php +} + +pkg_postinst() { + einfo "Horde requires PHP to have :" + einfo " ==> 'short_open_tag enabled = On'" + einfo " ==> 'magic_quotes_runtime set = Off'" + einfo " ==> 'file_uploads enabled = On'" + einfo "Please edit /etc/php4/php.ini." + einfo "" + einfo "Please read ${HTTPD_ROOT}/horde/docs/INSTALL !" +} + + |