diff options
author | Robert Piasek <dagger@gentoo.org> | 2012-03-22 10:29:33 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2012-03-22 10:29:33 +0000 |
commit | 792357886028ccb72f8bbfcf2e5016d6c8798dc2 (patch) | |
tree | 15913f1bb4c2e4f5414339c0fdcfee6aca23fa53 /www-apps | |
parent | net-proxy/mitmproxy: 0.7 (diff) | |
download | betagarden-792357886028ccb72f8bbfcf2e5016d6c8798dc2.tar.gz betagarden-792357886028ccb72f8bbfcf2e5016d6c8798dc2.tar.bz2 betagarden-792357886028ccb72f8bbfcf2e5016d6c8798dc2.zip |
Move zarafa + libvmime to betagarden overlay
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/zarafa-webaccess/ChangeLog | 110 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/Manifest | 14 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/metadata.xml | 8 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-6.40.11.ebuild | 58 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-6.40.12.ebuild | 58 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-6.40.13.ebuild | 58 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-6.40.9.ebuild | 58 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-7.0.4.ebuild | 58 | ||||
-rw-r--r-- | www-apps/zarafa-webaccess/zarafa-webaccess-7.0.6.ebuild | 58 |
9 files changed, 480 insertions, 0 deletions
diff --git a/www-apps/zarafa-webaccess/ChangeLog b/www-apps/zarafa-webaccess/ChangeLog new file mode 100644 index 0000000..43f78c4 --- /dev/null +++ b/www-apps/zarafa-webaccess/ChangeLog @@ -0,0 +1,110 @@ +# ChangeLog for www-apps/zarafa-webaccess +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Mar 2012; Robert Piasek <dagger@gentoo.org> + Move to betagarden overlay + +*zarafa-webaccess-7.0.6 (20 Mar 2012) + + 20 Mar 2012; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-7.0.2.ebuild, -zarafa-webaccess-7.0.3.ebuild, + +zarafa-webaccess-7.0.6.ebuild: + Add zarafa-webaccess 7.0.6 + +*zarafa-webaccess-7.0.4 (29 Dec 2011) + + 29 Dec 2011; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.10.ebuild, +zarafa-webaccess-6.40.13.ebuild, + -zarafa-webaccess-7.0.1.ebuild, +zarafa-webaccess-7.0.4.ebuild: + Add zarafa webaccess 6.10.13 and 7.0.4 + +*zarafa-webaccess-6.40.13 (13 Dec 2011) + + 13 Dec 2011; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.10.ebuild, +zarafa-webaccess-6.40.13.ebuild: + Add zarafa-webaccess 6.40.13 + +*zarafa-webaccess-7.0.3 (17 Nov 2011) + + 17 Nov 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-7.0.3.ebuild: + Add zarafa-webaccess 7.0.3 + +*zarafa-webaccess-6.40.12 (02 Nov 2011) + + 02 Nov 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-6.40.12.ebuild: + add version 6.40.12 + +*zarafa-webaccess-6.40.11 (20 Sep 2011) + + 20 Sep 2011; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.7.ebuild, -zarafa-webaccess-6.40.8.ebuild, + +zarafa-webaccess-6.40.11.ebuild: + Add zarafa-webaccess 6.40.11 + +*zarafa-webaccess-7.0.1 (22 Aug 2011) + + 22 Aug 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-7.0.1.ebuild: + add zarafa-webaccess 7.0.1 + +*zarafa-webaccess-6.40.10 (26 Jul 2011) + + 26 Jul 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-6.40.10.ebuild: + Add version 6.40.10 + +*zarafa-webaccess-7.0.0 (08 Jul 2011) + + 08 Jul 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-7.0.0.ebuild: + Add zarafa-webaccess 7.0.0 + +*zarafa-webaccess-6.40.9 (20 Jun 2011) + + 20 Jun 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-6.40.9.ebuild: + Add version 6.40.9 + +*zarafa-webaccess-6.40.8 (26 May 2011) + + 26 May 2011; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.2.ebuild, -zarafa-webaccess-6.40.3.ebuild, + -zarafa-webaccess-6.40.4-r1.ebuild, -zarafa-webaccess-6.40.5.ebuild, + +zarafa-webaccess-6.40.8.ebuild: + Add version 6.40.8. + Remove older ebuilds + +*zarafa-webaccess-6.40.5 (25 Jan 2011) + + 25 Jan 2011; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-6.40.5.ebuild: + Add version 6.40.5 + +*zarafa-webaccess-6.40.4-r1 (09 Dec 2010) + + 09 Dec 2010; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.4.ebuild, +zarafa-webaccess-6.40.4-r1.ebuild: + Added 6.40.4 final + +*zarafa-webaccess-6.40.3 (28 Oct 2010) + + 28 Oct 2010; Robert Piasek <dagger@gentoo.org> + +zarafa-webaccess-6.40.3.ebuild: + Added version 6.40.3 of zarafa webaccess + +*zarafa-webaccess-6.40.2 (09 Sep 2010) + + 09 Sep 2010; Robert Piasek <dagger@gentoo.org> + -zarafa-webaccess-6.40.1.ebuild, +zarafa-webaccess-6.40.2.ebuild, + +metadata.xml: + Version bump. Improved installation based on suggestions from + knoeferl@gmx.de + bug #239514 + + 06 Aug 2010; Robert Piasek <dagger@gentoo.org> + zarafa-webaccess-6.40.1.ebuild: + Updated list of required php-extensions + diff --git a/www-apps/zarafa-webaccess/Manifest b/www-apps/zarafa-webaccess/Manifest new file mode 100644 index 0000000..f239f47 --- /dev/null +++ b/www-apps/zarafa-webaccess/Manifest @@ -0,0 +1,14 @@ +DIST zcp-6.40.11.tar.gz 5493848 RMD160 8a4a91fcc800b79ef2adfe9b10f84dffa56b927c SHA1 a3a1914541906b1f5f025074278097a78ca6d0fe SHA256 d64997301fbe36e1ccadc254d0f892dc45e7250e445f14cf39d638d4274a1e1c +DIST zcp-6.40.12.tar.gz 5521416 RMD160 e68f608d7da52947f82411c952d60f4d135333ea SHA1 3f036e5837d659086702882b09a8e1f519014d35 SHA256 4fcecd4dfaac335b174b6223f5ca0ad30b45bc1ff3839d9044acc0e887db1297 +DIST zcp-6.40.13.tar.gz 5544429 RMD160 0207fe62a8fe3d36799e283505e4ced04f40358a SHA1 ea4b7eaef288e568dea5cb853126852461648666 SHA256 87c0143c92df1bed22a116f28e65d1362251fb3f026875c09bea9e96f7433264 +DIST zcp-6.40.9.tar.gz 5434001 RMD160 6a14d627dfbdf77c17839e1ab8840695af9e3b34 SHA1 7cf5b7d08d521571d00e06c9f97a8498b8fe49eb SHA256 23653649497b0b26322b8152c639eec1087727d2370947050c239dc3d7c1f03d +DIST zcp-7.0.4.tar.gz 6116000 RMD160 10fe2e070f6ae9278a8fe60f3fd71216790fada7 SHA1 ebfc7dbf09cbbffec982f4e9796be9b8cfee265f SHA256 b4be7f08a027a4ac7daa986fdb2791e069bdf23c155675181c117874dc4302cd +DIST zcp-7.0.6.tar.gz 6248757 RMD160 63aeba06f8ceb1ded9a6cee6431fd22e854aca01 SHA1 ffe7ed56edc5515cc3b516e025059507602fa5fa SHA256 4bc417d3ede1da7f5ec677f7727404228d1e0663fe1c52c82d6d3e449f4e5c58 +EBUILD zarafa-webaccess-6.40.11.ebuild 1402 RMD160 8c2fd85f314d22d8916bb62e613072fb2b537aaf SHA1 0fe1923bce1f2a64527fc003b7d43e92814938e1 SHA256 5eb57c0d8e0cf92c98569c30aced4aadcfa73d10d488ae7cc4ddd3a271f272a9 +EBUILD zarafa-webaccess-6.40.12.ebuild 1402 RMD160 f4294ead974fe9980b6fc0b2593ae04ac8678b6c SHA1 d62cea7c1db1e5665c171ff9a34ace1134ef0cce SHA256 93f97b958b3c4ed0648595377730fd37ded36d965cc5777524fc3c791a2cfa57 +EBUILD zarafa-webaccess-6.40.13.ebuild 1402 RMD160 1a243834076bbf4d40f8189334807af58f3079c7 SHA1 05e360b8041f7c7ae3fb5dc0969a2274e36f2cad SHA256 c43887df1ebcd000280398605f9e3b05eb3296034b902672bb414283ce2b4b86 +EBUILD zarafa-webaccess-6.40.9.ebuild 1402 RMD160 21901216d1577de1a79f43defaff73bc7b3f3c82 SHA1 eb76c278478354a0e433a1b24807d03be4b5dbce SHA256 dc925111d696e3187cd203a06bf947ff426bb8c72ef3aa1ecc150c3ecc1b556e +EBUILD zarafa-webaccess-7.0.4.ebuild 1402 RMD160 795170cd62e65cfe949849a8c17330534faa1ff7 SHA1 b1517557fca5a9adff0ccc23e36208f931897dcc SHA256 a4146954ed9a1ddf4f3c499004d2363a4627bf8415ceeb9d9cac7e867e768d7d +EBUILD zarafa-webaccess-7.0.6.ebuild 1402 RMD160 6d13d880a587fc84ef2f7e776ca85d91d43d1009 SHA1 96aeb01fac0987ae48e2328e7719ae6510f7761d SHA256 243018b1283dbfe85668787ba48f5386bd5ceb2dbd3700502415daa318f4775b +MISC ChangeLog 3212 RMD160 d8e4f6426d1a844593a6a0604db8728d988ef07f SHA1 f0abad0570058b3ec2611633d107416656c44714 SHA256 7f166dcdc91aae4d4d701a988d88173133e474b51b4cacab9efc8324a30e4067 +MISC metadata.xml 274 RMD160 532fba378f39951d9d6e627680cb253b75a60e43 SHA1 b7944797d8ec680531bff86a335a16cecaf4323c SHA256 ba0a999b4d1df887812cf00f170ded3bbe8c21982d0e8b427e04f506f554be56 diff --git a/www-apps/zarafa-webaccess/metadata.xml b/www-apps/zarafa-webaccess/metadata.xml new file mode 100644 index 0000000..37bb40d --- /dev/null +++ b/www-apps/zarafa-webaccess/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>dagger@gentoo.org</email> + <name>Robert Piasek</name> + </maintainer> +</pkgmetadata> diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.11.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.11.ebuild new file mode 100644 index 0000000..3446073 --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.11.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=28965 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.12.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.12.ebuild new file mode 100644 index 0000000..96b947f --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.12.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=29942 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.13.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.13.ebuild new file mode 100644 index 0000000..02dc080 --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.13.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=30778 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.9.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.9.ebuild new file mode 100644 index 0000000..58e3a80 --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.9.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=27553 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.4.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.4.ebuild new file mode 100644 index 0000000..5d2f74b --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=31235 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.6.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.6.ebuild new file mode 100644 index 0000000..290f1ff --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-7.0.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator webapp eutils depend.php + +ZARAFA_MAJOR=$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=$(get_version_component_range 3 ${PV}) +ZARAFA_REV=32752 + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~x86 ~amd64" +IUSE="" + +need_php_httpd + +S="${WORKDIR}"/${P/-webaccess/}/php-webclient-ajax + +RDEPEND=">=dev-libs/libical-0.40" +DEPEND="${RDEPEND}" + +pkg_setup () { + webapp_pkg_setup + require_php_with_use iconv session xml +} + +src_install() { + webapp_src_preinst + + # make .po files + for pofile in "${S}"/server/language/*/LC_MESSAGES/zarafa.po; do + msgfmt -f -o ${pofile%%.po}.mo ${pofile} + rm ${pofile} + done + + dodir /var/lib/zarafa-webaccess/plugins + dodir /var/lib/zarafa-webaccess/tmp + dosym /var/lib/zarafa-webaccess/plugins "${MY_HTDOCSDIR}"/plugins + + # remove unneeded files + rm zarafa-webaccess.conf + + cp "${S}"/config.php.dist "${S}"/config.php + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + webapp_src_install +} |