Mercurial > hg > portage
changeset 344:560c63f95c62
the egroupware ebuild from the main portage tree works - use it instead of this one
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 03 Apr 2013 15:55:56 +0200 |
parents | 784725f461de |
children | 208cbe4d2de1 |
files | www-apps/egroupware/Manifest www-apps/egroupware/egroupware-1.8.004.20120613.ebuild www-apps/egroupware/files/postinstall-en-1.2.txt |
diffstat | 3 files changed, 0 insertions(+), 98 deletions(-) [+] |
line wrap: on
line diff
--- a/www-apps/egroupware/Manifest Wed Jan 02 15:26:08 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -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.004.20120613.ebuild Wed Jan 02 15:26:08 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ -# 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 -}
--- a/www-apps/egroupware/files/postinstall-en-1.2.txt Wed Jan 02 15:26:08 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -You are almost done! - -0. Restart your webserver and your database daemon. - -1. Point your browser to the URL http://${VHOST_HOSTNAME}/egroupware/setup -and follow the install/upgrade script. - -Don't forget to read the installation manual, available from -http://egroupware.org/specialpages/index.php?page_name=wiki&wikipage=ManualSetup -It describes the rest of the installation process. - -Enjoy eGroupWare!