From 8ed5808304888b1d25529f74296cd8351332f7b1 Mon Sep 17 00:00:00 2001 From: Robert Piasek Date: Tue, 26 Jul 2011 10:02:00 +0100 Subject: Add version 6.40.10 of zarafa collaboration platform --- net-mail/zarafa/ChangeLog | 5 + net-mail/zarafa/Manifest | 4 +- net-mail/zarafa/zarafa-6.40.10.ebuild | 114 +++++++++++++++++++++ www-apps/zarafa-webaccess/ChangeLog | 6 ++ www-apps/zarafa-webaccess/Manifest | 4 +- .../zarafa-webaccess-6.40.10.ebuild | 58 +++++++++++ 6 files changed, 189 insertions(+), 2 deletions(-) create mode 100644 net-mail/zarafa/zarafa-6.40.10.ebuild create mode 100644 www-apps/zarafa-webaccess/zarafa-webaccess-6.40.10.ebuild diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog index 3edd83f..d01bdad 100644 --- a/net-mail/zarafa/ChangeLog +++ b/net-mail/zarafa/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*zarafa-6.40.10 (26 Jul 2011) + + 26 Jul 2011; Robert Piasek +zarafa-6.40.10.ebuild: + Add version 6.40.10 + *zarafa-7.0.0 (08 Jul 2011) 08 Jul 2011; Robert Piasek +zarafa-7.0.0.ebuild: diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest index ed6c58f..5259186 100644 --- a/net-mail/zarafa/Manifest +++ b/net-mail/zarafa/Manifest @@ -10,13 +10,15 @@ AUX zarafa-monitor.rc6 705 RMD160 d1e524b7ed48ec5b53594595a35d4fb3c02b1a5a SHA1 AUX zarafa-server.rc6 732 RMD160 4472d58c669351295191e78ad6a5dfb1942457ed SHA1 ada87c0687dff4060b65e85b1fc00c986ea163f8 SHA256 ccc3d84acb28f9f72960b74506bb82a032e6661c453941952b1fa0fda7b49160 AUX zarafa-spooler.rc6 705 RMD160 a2981b8e9b60df19d5adce5507ec51ac6d5b12e8 SHA1 09527095beb3891986656cb0e1c53414b7f038bf SHA256 4cf183daf6d86e2bb39073993af8f244bc28ee90feb4cf1ba34e5302894aa2fe AUX zarafa.logrotate 1227 RMD160 a0b3e0a50886d04cd28ad2ead2cc8589101f47f9 SHA1 d0f2b3a01641f821d60353ed77935b46abf451fc SHA256 f7276f0ccd48b3c9e71545630ad41cdc2748af45148bf0576f2ca14ee8f9d129 +DIST zcp-6.40.10.tar.gz 5452296 RMD160 8ed6388e7ff310edff30a75dc3758eedd7911d1b SHA1 d35502d8ac4dba962c0bf8449c4b9e7cd9fba0f7 SHA256 50eef47cb354b9eca4bd4e2af6e0422aac5db5fdb35486197312f5f96b34abfc DIST zcp-6.40.7.tar.gz 5362979 RMD160 d54deed52d6899802321cbd0b6f1ca999b6eaf8d SHA1 4766f0522e32a6149dbbdb015c9d4d5c6ca06b87 SHA256 869d25970485e32a7e5323b7ba305ef3146d74745b7466e13a61d915332ab2ae DIST zcp-6.40.8.tar.gz 5428506 RMD160 36ce2095a1d0126a43405ac50b289107910feeaf SHA1 6c342a725610fb38dc6a5cef6e0d9bc160252fd4 SHA256 206bb736731f5b3c3fdc0d34c495b8c2af9e3245770d8636bc97d06ff7363023 DIST zcp-6.40.9.tar.gz 5434001 RMD160 6a14d627dfbdf77c17839e1ab8840695af9e3b34 SHA1 7cf5b7d08d521571d00e06c9f97a8498b8fe49eb SHA256 23653649497b0b26322b8152c639eec1087727d2370947050c239dc3d7c1f03d DIST zcp-7.0.0.tar.gz 6006829 RMD160 584b5593696f850ae8299806e447e61af389ec46 SHA1 e7463593cee89343b2129b8bd6977f95cc778279 SHA256 b7c3c85c0578eb5ca0c5f5d22bbef315f2f52e22208d6e1193ffa505b05e952e +EBUILD zarafa-6.40.10.ebuild 2999 RMD160 d2680f394b856a40dd5cb4f08b23541c2b1cb2b8 SHA1 0765d8a94acd8f90c5ecbe3b0aec932f1c80780e SHA256 777dcf0274c1bc2591078d99660b97f83f6433d0353cd7d53f88960820ec437b EBUILD zarafa-6.40.7.ebuild 2999 RMD160 c816fb06097d65977a56cafda33a5f519a7b2ff0 SHA1 9d28bece7b4b0508ed289409454b2e5e1a82aadb SHA256 accc3728474c3546f23dca7f4f3098e358090daad53730fc2ef85adcba61ea02 EBUILD zarafa-6.40.8.ebuild 2999 RMD160 03713511dcdb230412679411c3ac3fa89ea2f3b5 SHA1 a1b9250191ec4e7c5441fd057b225ed6c4040ee5 SHA256 ec976c4b6e9c480bf67699cd193d6b09ade6dfdb8538c8a255cc4607a2833e38 EBUILD zarafa-6.40.9.ebuild 2999 RMD160 726e91dbca6c1776464ec635f14cead1215cb576 SHA1 e29a005ef553d3bb1ee56f562586638518dcf8c0 SHA256 1d718e2a2e1a7104a51412a516e7d3728a48fee483a162739c57b254ee17b26f EBUILD zarafa-7.0.0.ebuild 3402 RMD160 9318ffc2c6cc3e26100192fdb81ba34348dc7ad8 SHA1 db4e78a4b6c94d150ff6769a6da839788c951483 SHA256 1a57ff2a317f1d2a154d179b9b74fb81bd18b3e904b714bbb462f050ec3d5563 -MISC ChangeLog 1967 RMD160 521ad093a400e2c55908ce4e3a1e1da65e0ec52b SHA1 c967d19f0b6df5777b54789e703b0f7f86f5b1e5 SHA256 1dcf4470554c3345018c1690c4f29c09d9adcb7c3447e46171aca494817913ca +MISC ChangeLog 2094 RMD160 f1fdee71efaa2f243d17348bea859be86d08e7d2 SHA1 59ac10dbfb2134faf22dc4c4b7c489166a712483 SHA256 8e195c12c2ebf72983971af1032610ff200a941cf111535349a229f4ea0746bb MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a diff --git a/net-mail/zarafa/zarafa-6.40.10.ebuild b/net-mail/zarafa/zarafa-6.40.10.ebuild new file mode 100644 index 0000000..c0c11a6 --- /dev/null +++ b/net-mail/zarafa/zarafa-6.40.10.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +PHP_EXT_NAME="mapi" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +USE_PHP="php5-3" + +inherit versionator php-ext-source-r2 eutils + +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=28214 + +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" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="debug ldap +logrotate static" + +RDEPEND=">=dev-libs/libical-0.44 + =dev-cpp/libvmime-0.7.1 + >=dev-lang/php-5.2.0 + app-text/catdoc + app-text/poppler + dev-cpp/clucene + dev-db/mysql + dev-libs/libxml2 + dev-libs/openssl + net-misc/curl + sys-libs/e2fsprogs-libs + sys-libs/zlib + dev-libs/boost + ldap? ( net-nds/openldap ) + logrotate? ( app-admin/logrotate )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext" + +#src_unpack() { +# unpack ${P}.tar.bz2 +#} + +src_prepare() { + # Fixes zarafa-server linking + epatch "${FILESDIR}"/"${PN}"-6.40.1-uuid-link.patch + + # Don't install php ini file, as installation doesn't + # respect Gentoo way of handling SAPIs + epatch "${FILESDIR}"/"${PN}"-6.40.1-no-php-conf.patch +} + +src_configure() { + econf \ + --enable-oss \ + --disable-perl \ + --disable-testtools \ + --with-userscript-prefix=/etc/zarafa/userscripts \ + --with-quotatemplate-prefix=/etc/zarafa/quotamails \ + --with-indexerscripts-prefix=/etc/zarafa/indexerscripts \ + $(use_enable static) \ + $(use_enable debug) +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install() { + + emake DESTDIR="${D}" install || die "Installation failed" + + # Use only some parts of PHP eclass + php-ext-source-r2_buildinilist php${slot} + php-ext-source-r2_addextension "${PHP_EXT_NAME}.so" + + # Symlink the .ini files from ext/ to ext-active/ + for inifile in ${PHPINIFILELIST} ; do + inidir="${inifile/${PHP_EXT_NAME}.ini/}" + inidir="${inidir/ext/ext-active}" + dodir "/${inidir}" + dosym "/${inifile}" "/${inifile/ext/ext-active}" + done + + # Install PHP module + php-ext-source-r2_addtoinifiles ";mapi.cache_max_sessions" "128" + php-ext-source-r2_addtoinifiles ";mapi.cache_lifetime" "300" + + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/zarafa.logrotate zarafa || die "Failed to install logrotate" + fi + + insinto /etc/zarafa + doins "${S}"/installer/linux/*.cfg || die "Failed to install config files" + + dodir /var/log/zarafa + keepdir /var/log/zarafa + + newinitd "${FILESDIR}"/zarafa-gateway.rc6 zarafa-gateway + newinitd "${FILESDIR}"/zarafa-ical.rc6 zarafa-ical + newinitd "${FILESDIR}"/zarafa-indexer.rc6 zarafa-indexer + newinitd "${FILESDIR}"/zarafa-monitor.rc6 zarafa-monitor + newinitd "${FILESDIR}"/zarafa-server.rc6 zarafa-server + newinitd "${FILESDIR}"/zarafa-spooler.rc6 zarafa-spooler + +} diff --git a/www-apps/zarafa-webaccess/ChangeLog b/www-apps/zarafa-webaccess/ChangeLog index 8941a83..7291646 100644 --- a/www-apps/zarafa-webaccess/ChangeLog +++ b/www-apps/zarafa-webaccess/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*zarafa-webaccess-6.40.10 (26 Jul 2011) + + 26 Jul 2011; Robert Piasek + +zarafa-webaccess-6.40.10.ebuild: + Add version 6.40.10 + *zarafa-webaccess-7.0.0 (08 Jul 2011) 08 Jul 2011; Robert Piasek diff --git a/www-apps/zarafa-webaccess/Manifest b/www-apps/zarafa-webaccess/Manifest index 322b01a..f0a211b 100644 --- a/www-apps/zarafa-webaccess/Manifest +++ b/www-apps/zarafa-webaccess/Manifest @@ -1,10 +1,12 @@ +DIST zcp-6.40.10.tar.gz 5452296 RMD160 8ed6388e7ff310edff30a75dc3758eedd7911d1b SHA1 d35502d8ac4dba962c0bf8449c4b9e7cd9fba0f7 SHA256 50eef47cb354b9eca4bd4e2af6e0422aac5db5fdb35486197312f5f96b34abfc DIST zcp-6.40.7.tar.gz 5362979 RMD160 d54deed52d6899802321cbd0b6f1ca999b6eaf8d SHA1 4766f0522e32a6149dbbdb015c9d4d5c6ca06b87 SHA256 869d25970485e32a7e5323b7ba305ef3146d74745b7466e13a61d915332ab2ae DIST zcp-6.40.8.tar.gz 5428506 RMD160 36ce2095a1d0126a43405ac50b289107910feeaf SHA1 6c342a725610fb38dc6a5cef6e0d9bc160252fd4 SHA256 206bb736731f5b3c3fdc0d34c495b8c2af9e3245770d8636bc97d06ff7363023 DIST zcp-6.40.9.tar.gz 5434001 RMD160 6a14d627dfbdf77c17839e1ab8840695af9e3b34 SHA1 7cf5b7d08d521571d00e06c9f97a8498b8fe49eb SHA256 23653649497b0b26322b8152c639eec1087727d2370947050c239dc3d7c1f03d DIST zcp-7.0.0.tar.gz 6006829 RMD160 584b5593696f850ae8299806e447e61af389ec46 SHA1 e7463593cee89343b2129b8bd6977f95cc778279 SHA256 b7c3c85c0578eb5ca0c5f5d22bbef315f2f52e22208d6e1193ffa505b05e952e +EBUILD zarafa-webaccess-6.40.10.ebuild 1402 RMD160 8633b73a34ef95b19ccab63e5b03eee1d64426ac SHA1 63ce0e3e410abc48e854717149a666c141fbb243 SHA256 648bd8071b75d76ca99a3d74073e1537c38f7721983773bd989b4f332413ef4d EBUILD zarafa-webaccess-6.40.7.ebuild 1402 RMD160 a556b04e156dff39b1ffd7c3aaa245c83241903b SHA1 ac09b9a1cabf6a13cc86634b47172288618529f9 SHA256 8385aeac2c0568796463385bf2c6964f73b7b8916d218a24159f03ed20122c1c EBUILD zarafa-webaccess-6.40.8.ebuild 1402 RMD160 7f2c4631bcf2b74980773a4d7e78ee56bad96fbd SHA1 2115999c3bb9d1fefc748058d5fe9496c79df037 SHA256 11aec76694f18359609522afe90fbb1421cbbd62a0b4ceaedfdb46dec446914d EBUILD zarafa-webaccess-6.40.9.ebuild 1402 RMD160 96a30d8090a8309abeea1ec89ac5c5dbe2f1bd6f SHA1 e75ef7c28cded4cae921b5233fee86f1f8eae9e1 SHA256 1e56d4d175769d0184c57597e47bfa7debec519d4e50cdce8d500fbf1aeaf49e EBUILD zarafa-webaccess-7.0.0.ebuild 1402 RMD160 323830d11b4e2eb557650c5b8fa1d4d9471b9471 SHA1 ca92fc06755de8e2656d7d3c840066b8f061fdd1 SHA256 c5e1d80a2bfcf375a317f7f4dd60619d9cd421e4b2609a00f83e841e977d80f8 -MISC ChangeLog 1629 RMD160 512c066c10148abf358deee26ecbce97c9b9ad05 SHA1 ff451419e204e46f4006b3da4912231559222540 SHA256 24d8ae743dd981b6d9f7d3cf39b679e9fc88644a86666f17cbe3ac5b72960827 +MISC ChangeLog 1778 RMD160 f500cf596be6077ebcbecda0b9a2e3791b22f0e8 SHA1 8e07a75d142cb6497021af40d3ddf6001568ae32 SHA256 85e3c59b77a6fa122b9dd15365a37723a2719415d88661c6311cae9edda22248 MISC metadata.xml 296 RMD160 d8f057fffd0d6d3c84b2d5481481f8848cc7f5aa SHA1 d3e950b1ca7636e89f44d3182753cb2384dcd11c SHA256 996385c7eb65b2fe398df26ebb0da85233a4f6c135a1256da9c53bd96ad450f4 diff --git a/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.10.ebuild b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.10.ebuild new file mode 100644 index 0000000..fdcfff5 --- /dev/null +++ b/www-apps/zarafa-webaccess/zarafa-webaccess-6.40.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2011 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=28214 + +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 +} -- cgit v1.2.3-65-gdbad