summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/zarafa')
-rw-r--r--net-mail/zarafa/ChangeLog5
-rw-r--r--net-mail/zarafa/Manifest4
-rw-r--r--net-mail/zarafa/zarafa-6.40.4.ebuild108
3 files changed, 116 insertions, 1 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index 224b454..236b82f 100644
--- a/net-mail/zarafa/ChangeLog
+++ b/net-mail/zarafa/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*zarafa-6.40.4 (03 Dec 2010)
+
+ 03 Dec 2010; Robert Piasek <dagger@gentoo.org> +zarafa-6.40.4.ebuild:
+ Added version 6.40.4
+
*zarafa-6.40.3-r1 (24 Nov 2010)
24 Nov 2010; Robert Piasek <dagger@gentoo.org> +zarafa-6.40.3-r1.ebuild:
diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest
index 871631b..b4ea8b4 100644
--- a/net-mail/zarafa/Manifest
+++ b/net-mail/zarafa/Manifest
@@ -10,8 +10,10 @@ AUX zarafa-spooler.rc6 705 RMD160 a2981b8e9b60df19d5adce5507ec51ac6d5b12e8 SHA1
AUX zarafa.logrotate 1227 RMD160 a0b3e0a50886d04cd28ad2ead2cc8589101f47f9 SHA1 d0f2b3a01641f821d60353ed77935b46abf451fc SHA256 f7276f0ccd48b3c9e71545630ad41cdc2748af45148bf0576f2ca14ee8f9d129
DIST zarafa-6.40.2.tar.gz 4605538 RMD160 9da243c0d7f5b9e86a5606482a1728b1056dde89 SHA1 3554a6f6cc2f32ee30f628598eb2d5de09fe5f1d SHA256 3ad4598cc6943e7e99d3d8340916dc425db1c54ed76c66a309183cb53b838350
DIST zarafa-6.40.3.tar.gz 4609906 RMD160 36cf0a26f57335b155483d91177a7450dba86162 SHA1 dc1b5df3fc817d2c382fae9e23b7799f22348e11 SHA256 f9fa001ebc912ec17e1cc68b0eceaa7872f735c65f4a9d11e054d1918bc41433
+DIST zarafa-6.40.4.tar.bz2 3669410 RMD160 f33fe47135c93089bbae3b723ab1306796f1d4c8 SHA1 e2226fd58bbf3184712281c7e5dd64d059faeed3 SHA256 6bbaad44cfbdf5ea202ad39fa5882349242a1f704e902f6b8fc26b78ace1855b
EBUILD zarafa-6.40.2.ebuild 2030 RMD160 4b3eb0aa75e35e8882f3d704e5a73b48714dd1a3 SHA1 6432ab1cfb83daae3f01cdff7bb4d0770c72c838 SHA256 8e419e1ff68bc6d7404daffa731ddd7ea19c5c8e1064c3978fc77af93d7b35a0
EBUILD zarafa-6.40.3-r1.ebuild 2661 RMD160 35a35154ebc195a9fc6b739f892edebfaef8f5b1 SHA1 03abe849cd6816a28e7d6baeb1da3c8caa001b67 SHA256 8038ca36bac059fc2a5dd06692eec7f3a49f8d68e00c7d9dbc34e974833a494c
EBUILD zarafa-6.40.3.ebuild 2243 RMD160 abafb253c1505416cb54df85254431f748a98a84 SHA1 3f2f826e699c15f8f51d7a053f2fbd683f5ac3e4 SHA256 d990c6b4e617ce6e6213efe195df0a937c76ef3854f92a77cd81ba8d50e0477d
-MISC ChangeLog 580 RMD160 c6fc2dcdfa9fe150d61d112869d81a6d37ce5a82 SHA1 16624d313061e5f1625b8b54b5b8d4c5717e3860 SHA256 cfc398643307bab12fc0f22320b63414788fdb7a069e7642510f8c3c4526cb1e
+EBUILD zarafa-6.40.4.ebuild 2663 RMD160 c6bebc9c87488863033d543bb3c392ae86be355e SHA1 0ebdcbb30e9196f6c20ab2000a9fec53c7eb2d63 SHA256 e7c5104955c502e05a20e8230c7f3f9a46f3090f3df667bc3b42797961e9bc39
+MISC ChangeLog 706 RMD160 f205fb95193aa9c39b7e89bf0c3d35eb7eb4095d SHA1 6f68e9943f2d32b1951372bf8894b6964fccabf7 SHA256 f722648e47fcf4b6cc91578cd5fa0b81c65ff8f31e6846ae85b2eb3b5a89a33b
MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a
diff --git a/net-mail/zarafa/zarafa-6.40.4.ebuild b/net-mail/zarafa/zarafa-6.40.4.ebuild
new file mode 100644
index 0000000..c58b347
--- /dev/null
+++ b/net-mail/zarafa/zarafa-6.40.4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2010 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 php-ext-source-r2 eutils
+
+DESCRIPTION="Open Source Groupware Solution"
+HOMEPAGE="http://zarafa.com/"
+SRC_URI="http://dev.gentoo.org/~dagger/files/${P}.tar.bz2"
+
+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
+ 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
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" install
+
+ # 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 <ext>.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
+
+}