Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Benedikt Boehm (hollow)" <hollow@g.o>
Subject: gentoo-x86 commit in www-apps/egroupware: egroupware-1.4.002.ebuild metadata.xml ChangeLog
Date: Sat, 23 Feb 2008 21:06:25 +0000
hollow      08/02/23 21:06:25

  Modified:             egroupware-1.4.002.ebuild metadata.xml ChangeLog
  Log:
  merge from webapp overlay wrt #208584
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.7                  www-apps/egroupware/egroupware-1.4.002.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild?r1=1.6&r2=1.7

Index: egroupware-1.4.002.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- egroupware-1.4.002.ebuild	11 Oct 2007 07:20:11 -0000	1.6
+++ egroupware-1.4.002.ebuild	23 Feb 2008 21:06:25 -0000	1.7
@@ -1,11 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.002.ebuild,v 1.6 2007/10/11 07:20:11 kingtaco Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild,v 1.7 2008/02/23 21:06:25 hollow Exp $
 
-inherit webapp depend.php
+inherit eutils webapp depend.php
 
 MY_PN=eGroupWare
-S=${WORKDIR}/${PN}
 
 DESCRIPTION="Web-based GroupWare suite"
 HOMEPAGE="http://www.egroupware.org/"
@@ -14,56 +13,64 @@
 
 LICENSE="GPL-2"
 KEYWORDS="alpha amd64 hppa ppc ~sparc x86"
-IUSE="gd jpgraph ldap mysql postgres"
+IUSE="jpgraph ldap mssql mysql postgres"
 
-RDEPEND="
-	ldap? ( net-nds/openldap )
-	gd? ( media-libs/gd )
-	jpgraph? ( || ( dev-php5/jpgraph dev-php4/jpgraph ) )
-"
+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 () {
-	has_php
 	webapp_pkg_setup
+	has_php
 
-	local php_flags="imap session"
+	local php_flags="imap session unicode"
 
-	use ldap && php_flags="${php_flags} ldap"
-	use mysql && php_flags="${php_flags} mysql"
-	use postgres && php_flags="${php_flags} postgres"
-	require_php_with_use ${php_flags}
+	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() {
-	has_php
-
 	unpack ${A}
-	cd ${S}
-	# remove SVN directories
-	find . -type d -name '.svn' -print | xargs rm -rf
+	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
+		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
-	cp -r . ${D}/${MY_HTDOCSDIR}
 
-	webapp_serverowned ${MY_HTDOCSDIR}/phpgwapi/images
+	insinto "${MY_HTDOCSDIR}"
+	doins -r .
+
+	webapp_serverowned "${MY_HTDOCSDIR}"/phpgwapi/images
 
-	webapp_postinst_txt en ${FILESDIR}/postinstall-en-1.2.txt
+	webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.2.txt
 	webapp_src_install
 }
 
 pkg_postinst() {
 	if use ldap; then
-		einfo "If you are using LDAP contacts/addressbook, please read the upgrade instructions at"
-		einfo "http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate"
-		einfo "before running the egroupware setup"
+		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
 }



1.3                  www-apps/egroupware/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/egroupware/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	19 Aug 2004 13:13:24 -0000	1.2
+++ metadata.xml	23 Feb 2008 21:06:25 -0000	1.3
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>web-apps</herd>
+	<herd>web-apps</herd>
 </pkgmetadata>



1.86                 www-apps/egroupware/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?r1=1.85&r2=1.86

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- ChangeLog	11 Oct 2007 08:58:28 -0000	1.85
+++ ChangeLog	23 Feb 2008 21:06:25 -0000	1.86
@@ -1,6 +1,15 @@
 # ChangeLog for www-apps/egroupware
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v 1.85 2007/10/11 08:58:28 wrobel Exp $
+# 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 $
+
+  23 Feb 2008; Benedikt Böhm <hollow@g.o> metadata.xml,
+  egroupware-1.4.002.ebuild:
+  merge from webapp overlay wrt #208584
+
+  05 Feb 2008; Jakub Moc <jakub@g.o> egroupware-1.4.002.ebuild:
+  Add missing dev-php/PEAR-PEAR and virtual/cron dependencies. Remove bogus gd
+  USE flag and dependency on media-libs/gd, add mssql USE flag. Fix PHP checks.
+  Fix quoting, ebuild clean-up.
 
   11 Oct 2007; <wrobel@g.o> -egroupware-1.4.001.ebuild:
   Removed insecure package from the tree (sec issue #193960).



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in www-apps/joomla: joomla-1.5.1.ebuild ChangeLog joomla-1.0.15.ebuild
Next by thread:
gentoo-x86 commit in sys-fs/mtd: ChangeLog Manifest metadata.xml mtd-20040825.ebuild mtd-20050519.ebuild
Previous by date:
gentoo-x86 commit in sys-fs/mtd-utils: mtd-utils-20060907.ebuild ChangeLog
Next by date:
gentoo-x86 commit in sys-fs/mtd: ChangeLog Manifest metadata.xml mtd-20040825.ebuild mtd-20050519.ebuild


Updated Feb 27, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.