Mercurial > hg > portage
changeset 342:df76edd71c4c
remove obsolete egroupware ebuild, copy the main portage version to change the use flag to sqlite3 for php5.4 compatability
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 26 Dec 2012 07:48:55 +0100 |
parents | 038e60afdaeb |
children | 784725f461de |
files | www-apps/egroupware/Manifest www-apps/egroupware/egroupware-1.8.002.20111011.ebuild www-apps/egroupware/egroupware-1.8.004.20120613.ebuild |
diffstat | 3 files changed, 86 insertions(+), 90 deletions(-) [+] |
line wrap: on
line diff
--- a/www-apps/egroupware/Manifest Wed Dec 05 05:39:44 2012 +0000 +++ b/www-apps/egroupware/Manifest Wed Dec 26 07:48:55 2012 +0100 @@ -1,6 +1,5 @@ -AUX postinstall-en-1.2.txt 402 RMD160 aefff6af227f9d007afd1b753d97786d66fa7a80 SHA1 72ebcf1a6af140c5b47a9b567f791224d3fbdab8 SHA256 6063f422525dcb597b07a29a54f354452b8962f5487a222c82c75301697a42ba -DIST eGroupware-1.8.002.20111011.tar.bz2 10382653 RMD160 4d7e27540debebcce5ad30d59ab4e3bc5eb2ed17 SHA1 ab9dd75a066599caa895c0665a65918dfe3da832 SHA256 ea2213257661bda34b36f97942fec54456da7bdad1587d97972d5045e15e548b -DIST eGroupware-egw-pear-1.8.002.20111011.tar.bz2 73174 RMD160 2c9694c897f31f6f952d5fbb4c1a166d4f0fbf6a SHA1 7eb480e833e030ac7661c95ca5e9686ceaa632e2 SHA256 dc6d0d6dacedc8cd155ca1628d3efd1b55f2bc24c119bc066b725bcb3363ce85 -DIST eGroupware-gallery-1.8.002.20111011.tar.bz2 10509942 RMD160 129341407ff2c8edca987d0d8b29c2bea56379b6 SHA1 a2859c6d6cbfe71980127fbbdff9a23c80629709 SHA256 49fc81c2b5f89cba592c4ceef50e0ec4fb53052f523d1f2517f6e5222f98b784 -DIST eGroupware-phpfreechat-1.8.002.20111011.tar.bz2 953584 RMD160 436cbe5444fca9c0db96d0d2320b7f0228d1d4ad SHA1 97a990e91fadd2ca582c6bbf15d3c1df3b1b0bb4 SHA256 82c7b73f26137bee438a0734d05d9a57612ef669a8ee7009345914cdd6b4498e -EBUILD egroupware-1.8.002.20111011.ebuild 2694 RMD160 c2ffc3b38c9c2ff1ba4a1470affa3a9beba32c8f SHA1 81194a87931f4ab11dc5beaa7b7381f2b8292145 SHA256 ee461e8818ab7e26923cdf9617da3c7096e2604f4f4d3c7f9ae4b4c93d37e564 +AUX postinstall-en-1.2.txt 402 SHA256 6063f422525dcb597b07a29a54f354452b8962f5487a222c82c75301697a42ba SHA512 050f1b8f3bd10e1c66b24be13f62fa6ec8fc6e6ac603e63ff305bb31649b8ba664d2477cd24c31a6c242e18efba9c1dff64d82348158557bee504c6f138757a3 WHIRLPOOL 37e983c377873a748c0aaac9ed6d27688943dd3f48428e047a6994fee87a3486d1a6bb04ecd1ce9bb516f50b2125a8b8011bf37a262179581d4d00e75ee861d6 +DIST eGroupware-1.8.004.20120613.tar.bz2 10460480 SHA256 63cab7d7dd02c56164fd4670ade765b18d9cbdf3e0a1834025216a651c170c54 SHA512 9b4c953e830d651951e019c3bfed399f9c3e846a819757fba832e6b491626f45fa93142d351f697fc72d5b3e7f1cb2c5353e8f726d30e671b5ef67b01a543402 WHIRLPOOL 7eccfe874597bdc8ec0d3480e3d9c3d1980abb9390f6a7fa8c281603920a188d72fd19be6e6200f03fa133ca1b34353c2d1398bb7378626d9a25dea5496f5b75 +DIST eGroupware-egw-pear-1.8.004.20120613.tar.bz2 75148 SHA256 19ec4e94b24535b5d988dcffdecb922c3b2b63524abd6623f90c690cba51e2e4 SHA512 25e5cacb0e8a19290c3a708f7c77e64458ebd4332bf9a0f95f45db1d144ad0a73253049049206b990543f9194e43b509b0bd94a0179ccbbada4f4567730061d8 WHIRLPOOL 5f980eae9d09fe7a7c7813e7736bc0ae1e3ac88d9ddb54c86b3e44316106f0dacf6b0996e924085301f21d38ef22e64cd1046b7176854d7b2ab045c941c531b8 +DIST eGroupware-gallery-1.8.004.20120613.tar.bz2 10508030 SHA256 a49e1309a3ad8bc1de319fcb93ee8f3696b64ad14ebb44fc5a3efaf77ac437fa SHA512 03eaa49c0dfc309e1d17757a84f45f692ef55cd762f4f049ddd9c22b8ff9a70eb30411607a439a0ea09ec81b545858f657a429bfa81157fc222f44503068fab3 WHIRLPOOL 034d1a9eb673b2a497985327126179d123975a3a73142a8b8024226cd462d5556f5a57999e49e5a459569030afecbf28eb463a781ada34215bee2431e1b639f9 +EBUILD egroupware-1.8.004.20120613.ebuild 2721 SHA256 d104ec12d53c74d54ccd88175d29950ef8ccc17bc690eb555a76a662e4dc559b SHA512 972e24aa4024ded598bce5b1ff06a14b47a8fc5007b68ecf0e017db6bb1f8ee529d78e30cb1553570a1ad5e172344445cc265e0d517f77f451d71ad8362de434 WHIRLPOOL 88d449dda4d4c1a53f551644ce531d5b66126b2fecf171c4b4fa81d7b628afcfda2732a737b4ff77a63b953f58c044bd3a195ebf14b9f142181a79cf8c929fa1
--- a/www-apps/egroupware/egroupware-1.8.002.20111011.ebuild Wed Dec 05 05:39:44 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -## -# based on ebuild from bug #284536, depending on dev-php/PEAR-XML_Feed_Parser from #258604 -## - -EAPI="2" - -inherit eutils versionator webapp depend.php - -MY_PN=eGroupware -MY_PV=$(get_version_component_range 1-3) -MY_P=$(get_version_component_range 4-) -#MY_P="${MY_P/p/}" - -DESCRIPTION="Web-based GroupWare suite" -HOMEPAGE="http://www.egroupware.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${MY_PV}.${MY_P}.tar.bz2 - mirror://sourceforge/${PN}/${MY_PN}-egw-pear-${MY_PV}.${MY_P}.tar.bz2 - phpfreechat? ( mirror://sourceforge/${PN}/${MY_PN}-phpfreechat-${MY_PV}.${MY_P}.tar.bz2 ) - gallery? ( mirror://sourceforge/${PN}/${MY_PN}-gallery-${MY_PV}.${MY_P}.tar.bz2 )" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="ldap mssql mysql postgres gallery phpfreechat jpgraph" - -#hint: sqlite needed for calendar -RDEPEND=" - dev-lang/php[ctype,imap,ldap?,mssql?,mysql?,pdo,postgres?,session,sqlite3,unicode] - || ( - dev-lang/php[gd] - dev-lang/php[gd-external] - ) - dev-php/PEAR-Auth_SASL - dev-php/PEAR-PEAR - dev-php/PEAR-XML_Feed_Parser - virtual/cron - jpgraph? ( dev-php/jpgraph ) -" -# >dev-php5/jpgraph-1.13 - - -need_httpd_cgi -need_php_httpd - -S=${WORKDIR}/${PN} - -src_prepare() { - esvn_clean - - if use jpgraph; then - einfo "Fixing jpgraph location" - MY_JPGRAPH_VERSION="$(best_version dev-php5/jpgraph)" - MY_JPGRAPH_VERSION="${MY_JPGRAPH_VERSION/'dev-php5/jpgraph-'/}" - sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php5/jpgraph/jpgraph.php'|" \ - projectmanager/inc/class.projectmanager_ganttchart.inc.php || die - sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php5/jpgraph/jpgraph_gantt.php'|" \ - projectmanager/inc/class.projectmanager_ganttchart.inc.php || die - sed -i "s|$jpgraph_path .= SEP.'jpgraph';|$jpgraph_path = dirname('/usr/share/php5/jpgraph/jpgraph.php');|" \ - setup/check_install.php || die - sed -i "s|'unknown';|'${MY_JPGRAPH_VERSION}';\n \$available = version_compare(\$version,\$min_version,'>=');|" \ - setup/check_install.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 -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/egroupware/egroupware-1.8.004.20120613.ebuild Wed Dec 26 07:48:55 2012 +0100 @@ -0,0 +1,81 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.8.004.20120613.ebuild,v 1.6 2012/10/06 16:55:20 armin76 Exp $ + +EAPI=4 + +inherit eutils webapp + +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 + gallery? ( mirror://sourceforge/${PN}/${MY_PN}-gallery-${PV}.tar.bz2 )" + +LICENSE="GPL-2" +KEYWORDS="amd64 hppa ppc ~sparc x86" +IUSE="+jpgraph ldap mysql postgres gallery" + +# php deps taken from rpm spec +# you can use pdo to access almost anything but sqlite is specifically required +# for the calendar module +# jpgraph is only needed for the projectmanager module +RDEPEND="jpgraph? ( dev-php/jpgraph ) + dev-php/pear + dev-php/PEAR-Auth_SASL + virtual/httpd-php + dev-lang/php[gd,imap,pdo,posix,session,sqlite3,ssl,unicode,xml,zip,zlib,ldap?,mysql?,postgres?] + virtual/cron" + +REQUIRED_USE="|| ( mysql postgres )" + +need_httpd_cgi + +S=${WORKDIR}/${PN} + +src_prepare() { + esvn_clean + + if use jpgraph; then + einfo "Fixing jpgraph location" + MY_JPGRAPH_VERSION="$(best_version dev-php/jpgraph)" + MY_JPGRAPH_VERSION="${MY_JPGRAPH_VERSION/'dev-php/jpgraph-'/}" + sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php/jpgraph/jpgraph.php'|" \ + projectmanager/inc/class.projectmanager_ganttchart.inc.php || die "sed jpgraph failed" + sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php/jpgraph/jpgraph_gantt.php'|" \ + projectmanager/inc/class.projectmanager_ganttchart.inc.php || die "sed jpgraph failed" + sed -i "s|$jpgraph_path .= SEP.'jpgraph';|$jpgraph_path = dirname('/usr/share/php/jpgraph/jpgraph.php');|" \ + setup/check_install.php || die "sed jpgraph failed" + sed -i "s|'unknown';|'${MY_JPGRAPH_VERSION}';\n \$available = version_compare(\$version,\$min_version,'>=');|" \ + setup/check_install.php || die "sed jpgraph failed" + fi +} + +src_install() { + webapp_src_preinst + + dodoc doc/rpm-build/egroupware.cron + + 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 + + elog "A cronjob to run eGroupware's async services is available at" + elog "/usr/share/doc/${P}" + + webapp_pkg_postinst +}