summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-09-11 17:58:14 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-09-11 17:58:14 +0000
commit6e914df788bc9d2a805e525fc1bd4131dc9218be (patch)
treefa08f0709b46caf0165be91f654beceb864d0a48
parentVersion bumped. (diff)
downloadgentoo-2-6e914df788bc9d2a805e525fc1bd4131dc9218be.tar.gz
gentoo-2-6e914df788bc9d2a805e525fc1bd4131dc9218be.tar.bz2
gentoo-2-6e914df788bc9d2a805e525fc1bd4131dc9218be.zip
Version bumped.
-rw-r--r--net-www/horde/ChangeLog7
-rw-r--r--net-www/horde/Manifest4
-rw-r--r--net-www/horde/files/digest-horde-2.2.41
-rw-r--r--net-www/horde/horde-2.2.4.ebuild62
4 files changed, 71 insertions, 3 deletions
diff --git a/net-www/horde/ChangeLog b/net-www/horde/ChangeLog
index 32033bd5001d..a1772dce8da0 100644
--- a/net-www/horde/ChangeLog
+++ b/net-www/horde/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/horde
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/horde/ChangeLog,v 1.10 2003/09/01 13:57:16 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/horde/ChangeLog,v 1.11 2003/09/11 17:58:07 mholzer Exp $
+
+*horde-2.2.4 (11 Sep 2003)
+
+ 11 Sep 2003; Martin Holzer <mholzer@gentoo.org> horde-2.2.4.ebuild:
+ Version bumped.
*horde-2.2.4_rc2 (01 Sep 2003)
diff --git a/net-www/horde/Manifest b/net-www/horde/Manifest
index 5f8c8c332dc0..8f7d92dc3908 100644
--- a/net-www/horde/Manifest
+++ b/net-www/horde/Manifest
@@ -1,5 +1,5 @@
-MD5 94e327efbe6fa50ae7511a0d0bbea796 ChangeLog 1440
-MD5 7b23372659f53526afd7d88767f73464 horde-2.2.4.ebuild 2061
+MD5 840ab829838dc9862f8c20d1a101e055 ChangeLog 1560
+MD5 ec5d9be1b6d119fef11101f6c7ad9bf2 horde-2.2.4.ebuild 2057
MD5 7b23372659f53526afd7d88767f73464 horde-2.2.4_rc2.ebuild 2061
MD5 d00b68f4d9082ed6fc81dd6232bed73f files/digest-horde-2.2.4 63
MD5 4756531879d5176972aa08408d580362 files/digest-horde-2.2.4_rc2 67
diff --git a/net-www/horde/files/digest-horde-2.2.4 b/net-www/horde/files/digest-horde-2.2.4
new file mode 100644
index 000000000000..73b69de7df22
--- /dev/null
+++ b/net-www/horde/files/digest-horde-2.2.4
@@ -0,0 +1 @@
+MD5 b1d70da4ec4e06344abe88670e29b093 horde-2.2.4.tar.gz 630886
diff --git a/net-www/horde/horde-2.2.4.ebuild b/net-www/horde/horde-2.2.4.ebuild
new file mode 100644
index 000000000000..34a5798d84c4
--- /dev/null
+++ b/net-www/horde/horde-2.2.4.ebuild
@@ -0,0 +1,62 @@
+# 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.ebuild,v 1.1 2003/09/11 17:58:07 mholzer Exp $
+
+S=${WORKDIR}/${P/_rc2}
+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 !"
+}