summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/zarafa/ChangeLog5
-rw-r--r--net-mail/zarafa/Manifest7
-rw-r--r--net-mail/zarafa/zarafa-6.40.7.ebuild114
3 files changed, 124 insertions, 2 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index 2c63aba..ca9c866 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.7 (19 Apr 2011)
+
+ 19 Apr 2011; Robert Piasek <dagger@gentoo.org> +zarafa-6.40.7.ebuild:
+ Add version 6.40.7
+
*zarafa-6.40.5-r1 (25 Jan 2011)
25 Jan 2011; Robert Piasek <dagger@gentoo.org> -zarafa-6.40.5.ebuild,
diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest
index 489c264..685f7ed 100644
--- a/net-mail/zarafa/Manifest
+++ b/net-mail/zarafa/Manifest
@@ -1,6 +1,7 @@
AUX zarafa-6.40.1-no-php-conf.patch 1634 RMD160 1bb4d4357aeeec0b005cd090beb96cb73905f58d SHA1 3da975c330bf09eca894db87aa1888536ee1e206 SHA256 ec79e127c30aeb93fe455bbebbd426645d4d8aa3e1031005ff9177d7f7b9685f
AUX zarafa-6.40.1-uuid-link.patch 1416 RMD160 da5e90e883e1331a5ac1bf9891ece199b61b422d SHA1 f5277c620f78693b05500189fdd869569a1c1fd1 SHA256 ead0383bc69c3c2fce4f69e8dce19161d123dc5fb91b2abbefcf3a83299f855c
AUX zarafa-6.40.5-add-missing-endif.patch 249 RMD160 ed06c81f50d6a4359ccaa001540a29b4c105e468 SHA1 b6a38c5af35fae2f79bd70846f057873109e9b90 SHA256 e4bb216f1eacebbaa628fad164bcc4f045e9d5b28a17566f2f6a076695a48ba4
+AUX zarafa-6.40.5-fix-missing-installation-file.patch 1221 RMD160 cdc3c85558de3fd35453a174b8af0a5631ea1922 SHA1 2b490e2fb5a27243a77cdbf97a82a859d5a51979 SHA256 41a73e36d939aa9e162ca6df175673329246610dc0e52d998c86d2581b0c5457
AUX zarafa-gateway.rc6 706 RMD160 341b4a029972290fdac747d65cf324a22d3ee8b0 SHA1 646f1aca42f5457b3beec2a60b0e70b2af17ef93 SHA256 c8d6f0a86338f7a7a68847abcb27c5f254bc837b63ce76d9541f02be70e4a699
AUX zarafa-ical.rc6 663 RMD160 db306a10e7777889e9460488575cbdd1ddc9037e SHA1 8fa807d0da22ab4fc1f3156c3a7dc0fe3cdab1ad SHA256 1eec0c538a0264eb2757b5687c8285394f899740bc4cba913115f82ccab703e2
AUX zarafa-indexer.rc6 720 RMD160 7ac4e46479cf7d1469df6a388aa6231cf1e2c5a5 SHA1 7b9e0e90bcdaee3f84fdeeb1214ee52c36d8c396 SHA256 ff10705b5b109b22448fdc01c45046f8984131f57094685af467e96f85a872a2
@@ -13,10 +14,12 @@ DIST zarafa-6.40.2.tar.gz 4605538 RMD160 9da243c0d7f5b9e86a5606482a1728b1056dde8
DIST zarafa-6.40.3.tar.gz 4609906 RMD160 36cf0a26f57335b155483d91177a7450dba86162 SHA1 dc1b5df3fc817d2c382fae9e23b7799f22348e11 SHA256 f9fa001ebc912ec17e1cc68b0eceaa7872f735c65f4a9d11e054d1918bc41433
DIST zarafa-6.40.4.tar.bz2 3649202 RMD160 98ae3ab7fdcf40d1d3c51b1a0533a213b31c9369 SHA1 fd0cc8e840544b514579d3b6c3ee2a04ba9c7c8a SHA256 9a16f147f405c118c5965a1f76ab911f14818f6d4a9a2c27c104ba339811de47
DIST zarafa-6.40.5.tar.bz2 3836308 RMD160 1d54409d58491fc8113201d36b7d409f5cd80166 SHA1 1bf50d8d25303d8f937540f94ffe345ec9b8c99f SHA256 630ece18ef899eb9118935d90436c95a40361b54d659a37e67116d969ffc087b
+DIST zcp-6.40.7.tar.gz 5362979 RMD160 d54deed52d6899802321cbd0b6f1ca999b6eaf8d SHA1 4766f0522e32a6149dbbdb015c9d4d5c6ca06b87 SHA256 869d25970485e32a7e5323b7ba305ef3146d74745b7466e13a61d915332ab2ae
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
EBUILD zarafa-6.40.4-r1.ebuild 2663 RMD160 c6bebc9c87488863033d543bb3c392ae86be355e SHA1 0ebdcbb30e9196f6c20ab2000a9fec53c7eb2d63 SHA256 e7c5104955c502e05a20e8230c7f3f9a46f3090f3df667bc3b42797961e9bc39
-EBUILD zarafa-6.40.5.ebuild 2795 RMD160 5ca9a615d84cfcc47053fa06885f117c53e374ee SHA1 f92e0208e585d9218bf8063ab6bbaf0198d6a362 SHA256 96a6ce23225511755a5844f61ee8f30e7d635074014515f1a3f73b99385f7e5b
-MISC ChangeLog 1024 RMD160 498ed05cefc3b8c264574728f883761ad5a7c8d8 SHA1 aeeb4d603ca628ac9b71872c677de40014132a61 SHA256 82974bc16cf252133ee07f3a0965a6c5af40e9f168a38d6918ae5efd47cdcf10
+EBUILD zarafa-6.40.5-r1.ebuild 2902 RMD160 8dfdaa1cceec42ad54c0a8f1cf82e80f879b5c00 SHA1 479a550fafffea6d30061a4a3a496d6ef70ce2dc SHA256 d980b1c4a953823f759c675ab6bc3969bf513617d4ba381e91b3eb4099b23432
+EBUILD zarafa-6.40.7.ebuild 2999 RMD160 c816fb06097d65977a56cafda33a5f519a7b2ff0 SHA1 9d28bece7b4b0508ed289409454b2e5e1a82aadb SHA256 accc3728474c3546f23dca7f4f3098e358090daad53730fc2ef85adcba61ea02
+MISC ChangeLog 1326 RMD160 c6532f288cfa854ea2d9345f3a85c560f1ea806e SHA1 0d9b7491f79d1078d891145116c2daa1e2e45ba7 SHA256 aeae4f2699a2d36b274c0ed9db41065e89e309095b2b29b6bfb6f8b351c36e47
MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a
diff --git a/net-mail/zarafa/zarafa-6.40.7.ebuild b/net-mail/zarafa/zarafa-6.40.7.ebuild
new file mode 100644
index 0000000..6db2e31
--- /dev/null
+++ b/net-mail/zarafa/zarafa-6.40.7.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=26119
+
+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 <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
+
+}