summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-04-03 10:37:15 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-04-03 10:37:15 +0000
commitc4a15415f0c26270cbc38f5ee245ec3a2cfd2448 (patch)
tree2fa97342fdb9b04679cef04978f335725ef40bf1 /www-apps/egroupware
parentRemove gnome-system-tools until at least it is compatible with nautilus-2.22 (diff)
downloadgentoo-2-c4a15415f0c26270cbc38f5ee245ec3a2cfd2448.tar.gz
gentoo-2-c4a15415f0c26270cbc38f5ee245ec3a2cfd2448.tar.bz2
gentoo-2-c4a15415f0c26270cbc38f5ee245ec3a2cfd2448.zip
version bump wrt security #214212
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps/egroupware')
-rw-r--r--www-apps/egroupware/ChangeLog8
-rw-r--r--www-apps/egroupware/egroupware-1.4.003.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/www-apps/egroupware/ChangeLog b/www-apps/egroupware/ChangeLog
index 1be1b9d1fac4..83c164cfefea 100644
--- a/www-apps/egroupware/ChangeLog
+++ b/www-apps/egroupware/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/egroupware
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v 1.86 2008/02/23 21:06:25 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v 1.87 2008/04/03 10:37:15 hollow Exp $
+
+*egroupware-1.4.003 (03 Apr 2008)
+
+ 03 Apr 2008; Benedikt Böhm <hollow@gentoo.org>
+ +egroupware-1.4.003.ebuild:
+ version bump wrt security #214212
23 Feb 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
egroupware-1.4.002.ebuild:
diff --git a/www-apps/egroupware/egroupware-1.4.003.ebuild b/www-apps/egroupware/egroupware-1.4.003.ebuild
new file mode 100644
index 000000000000..964d931e44b7
--- /dev/null
+++ b/www-apps/egroupware/egroupware-1.4.003.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.4.003.ebuild,v 1.1 2008/04/03 10:37:15 hollow Exp $
+
+inherit eutils webapp depend.php
+
+MY_PN=eGroupWare
+
+DESCRIPTION="Web-based GroupWare suite"
+HOMEPAGE="http://www.egroupware.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.bz2
+ mirror://sourceforge/${PN}/${MY_PN}-egw-pear-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="jpgraph ldap mssql mysql postgres"
+
+RDEPEND="jpgraph? ( || ( dev-php5/jpgraph dev-php4/jpgraph ) )
+ dev-php/PEAR-PEAR
+ virtual/cron"
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}"/${PN}
+
+pkg_setup () {
+ webapp_pkg_setup
+ has_php
+
+ local php_flags="imap session unicode"
+
+ for f in ldap mssql mysql postgres; do
+ use ${f} && php_flags="${php_flags} ${f}"
+ done
+
+ if ! PHPCHECKNODIE="yes" require_php_with_use ${php_flags} || \
+ ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
+ die "Re-install ${PHP_PKG} with ${php_flags} and either gd or gd-external."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ esvn_clean
+
+ if use jpgraph; then
+ einfo "Fixing jpgraph location"
+ sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php${PHP_VERSION}/jpgraph/jpgraph.php'|" \
+ projectmanager/inc/class.ganttchart.inc.php || die
+ sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php${PHP_VERSION}/jpgraph/jpgraph_gantt.php'|" \
+ projectmanager/inc/class.ganttchart.inc.php || die
+ fi
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/phpgwapi/images
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.2.txt
+ webapp_src_install
+}
+
+pkg_postinst() {
+ if use ldap; then
+ elog "If you are using LDAP contacts/addressbook, please read the upgrade instructions at"
+ elog "http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate"
+ elog "before running the egroupware setup"
+ fi
+ webapp_pkg_postinst
+}