summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-06-20 16:16:34 +0100
committerRobert Piasek <dagger@gentoo.org>2011-06-20 16:16:34 +0100
commit6b56ac824476f8e4e2351895b78b8189bba33cfa (patch)
treec6f4981ec8c17fd742d7a3111c462ad5d1e970ba
parentAdd version 6.40.9 (diff)
downloaddagger-6b56ac824476f8e4e2351895b78b8189bba33cfa.tar.gz
dagger-6b56ac824476f8e4e2351895b78b8189bba33cfa.tar.bz2
dagger-6b56ac824476f8e4e2351895b78b8189bba33cfa.zip
Add version 6.40.9
-rw-r--r--net-mail/zarafa/ChangeLog5
-rw-r--r--net-mail/zarafa/Manifest4
-rw-r--r--net-mail/zarafa/zarafa-6.40.9.ebuild114
3 files changed, 122 insertions, 1 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index 9e71282..a556a78 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.9 (20 Jun 2011)
+
+ 20 Jun 2011; Robert Piasek <dagger@gentoo.org> +zarafa-6.40.9.ebuild:
+ Add version 6.40.9
+
*zarafa-6.40.8 (26 May 2011)
26 May 2011; Robert Piasek <dagger@gentoo.org> -zarafa-6.40.2.ebuild,
diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest
index 272601e..67edcab 100644
--- a/net-mail/zarafa/Manifest
+++ b/net-mail/zarafa/Manifest
@@ -12,7 +12,9 @@ AUX zarafa-spooler.rc6 705 RMD160 a2981b8e9b60df19d5adce5507ec51ac6d5b12e8 SHA1
AUX zarafa.logrotate 1227 RMD160 a0b3e0a50886d04cd28ad2ead2cc8589101f47f9 SHA1 d0f2b3a01641f821d60353ed77935b46abf451fc SHA256 f7276f0ccd48b3c9e71545630ad41cdc2748af45148bf0576f2ca14ee8f9d129
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
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
-MISC ChangeLog 1726 RMD160 1b2c08f23dd8aacb8e56a58416e826029d9a8a1e SHA1 4aea005f754efbc1ca8607ca1cb52cef3bd87236 SHA256 040a68ad5c64c4b4be4800d75306e82702596e7e52476f723c68f07b44f5aaa0
+EBUILD zarafa-6.40.9.ebuild 2999 RMD160 726e91dbca6c1776464ec635f14cead1215cb576 SHA1 e29a005ef553d3bb1ee56f562586638518dcf8c0 SHA256 1d718e2a2e1a7104a51412a516e7d3728a48fee483a162739c57b254ee17b26f
+MISC ChangeLog 1850 RMD160 d680893e4a9256215cb4e67634e48d66b3db6f53 SHA1 a6ccb5cc0ad6bdf96379eaf8d7ed1c3241b61c7c SHA256 0c4735df5bfcf3433008d1ce413fd6cf81f926965a318c33269c70fc6a2d3517
MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a
diff --git a/net-mail/zarafa/zarafa-6.40.9.ebuild b/net-mail/zarafa/zarafa-6.40.9.ebuild
new file mode 100644
index 0000000..9b8a036
--- /dev/null
+++ b/net-mail/zarafa/zarafa-6.40.9.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=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"
+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
+
+}