summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2012-05-28 12:20:24 +0100
committerRobert Piasek <dagger@gentoo.org>2012-05-28 12:20:24 +0100
commitd9615fd1f71d00bee6c41f27fd0c698abe7b7ebd (patch)
treebc7dca8ee561445fb10a182ed81847c92239c11e /net-mail
parentdev-vcs/git-cola: Import tree changes related to ssh_askpass handling (diff)
downloadbetagarden-d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd.tar.gz
betagarden-d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd.tar.bz2
betagarden-d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd.zip
Add ZCP 7.0.7
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/zarafa/ChangeLog5
-rw-r--r--net-mail/zarafa/Manifest18
-rw-r--r--net-mail/zarafa/zarafa-7.0.7.ebuild124
3 files changed, 132 insertions, 15 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index 71e1cf3..ef83438 100644
--- a/net-mail/zarafa/ChangeLog
+++ b/net-mail/zarafa/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*zarafa-7.0.7 (28 May 2012)
+
+ 28 May 2012; Robert Piasek <dagger@gentoo.org> +zarafa-7.0.7.ebuild:
+ Add ZCP 7.0.7
+
23 Apr 2012; Robert Piasek <dagger@gentoo.org> -zarafa-6.40.9.ebuild,
zarafa-6.40.11.ebuild, zarafa-6.40.12.ebuild, zarafa-6.40.14.ebuild,
zarafa-7.0.5.ebuild, zarafa-7.0.6.ebuild:
diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest
index 1d7e859..66c5341 100644
--- a/net-mail/zarafa/Manifest
+++ b/net-mail/zarafa/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
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
@@ -20,21 +17,12 @@ DIST zcp-6.40.12.tar.gz 5521416 RMD160 e68f608d7da52947f82411c952d60f4d135333ea
DIST zcp-6.40.14.tar.gz 5563665 RMD160 8b145f96b36ed7df275f0df75c42c0315f685516 SHA1 4b78112c7bf960621e2e3adb9ef1b055f6b31315 SHA256 871ac04d4f87e1868ff103edddfcfc6f91a1c9e6e0caeeb0f0c20dbc4424521a
DIST zcp-7.0.5.tar.gz 6165679 RMD160 6da612d83413d6194798b72cfab4bd14231375fc SHA1 11018d3f42bfe5310dc94c45c248c29059c4df1d SHA256 235a2bfa452f3c013d9b58127cb557690dfcb65bc6510d9d68e4d53f01c21df0
DIST zcp-7.0.6.tar.gz 6248757 RMD160 63aeba06f8ceb1ded9a6cee6431fd22e854aca01 SHA1 ffe7ed56edc5515cc3b516e025059507602fa5fa SHA256 4bc417d3ede1da7f5ec677f7727404228d1e0663fe1c52c82d6d3e449f4e5c58
+DIST zcp-7.0.7.tar.gz 6253176 RMD160 f0c87067fda9bc206c52a93c388d36af91044965 SHA1 0e95e735c089c9a79936e579ea4726a79ffa02b5 SHA256 73c7f8d44d0bad5a4b9ae558cacfc7365309579153bf2e3a25d50ae4f5396ade
EBUILD zarafa-6.40.11.ebuild 2999 RMD160 14ce189a831d41b95c6881cd05f7808bc18505eb SHA1 57e5091fe42f4c3835ad67d4f40efec5a77faf4e SHA256 819ab161260caccb69854cc2591edcb7ef8fcadfd0461d931cfc7d555befbe21
EBUILD zarafa-6.40.12.ebuild 2999 RMD160 6542037151d260a83f88c6175732029576382e4c SHA1 be1f4f7ff0af066d9645711a3d49423f6f279f25 SHA256 fb428f48be361a50de8aa79e75ac251cbf08373b5285d7756a2fbf8a490f0240
EBUILD zarafa-6.40.14.ebuild 3069 RMD160 ac207f01778d8959953076865bb8ba0239cc904e SHA1 6d150c83947c5d4ab4ef0e6138c32e64a299a086 SHA256 5cae0a603340e5b49ae491ce9c41f70a5cc32540baab69b45c687ada62e2f516
EBUILD zarafa-7.0.5.ebuild 3423 RMD160 ca51c7f7eb10703b9ca04b5d3546f86abd8efc45 SHA1 3530949c73920f7938deb8969baf5236d40bed3d SHA256 bb1d1b931bfc94e5dac8f6b65e99dec4b3b1c1d53f41877557ec30cb1d76dc85
EBUILD zarafa-7.0.6.ebuild 3472 RMD160 cff15d0c9656e5bd5f747ecaa0dba87d669954ac SHA1 33faba6ffb385079c15fe3b149afd7c814a4c2d7 SHA256 0e30aeefc3710d4c565d488798cb60bf52c850b1de716c8fba7360e5c3948316
-MISC ChangeLog 4013 RMD160 901b532b0f9311ae83bc3c71a3af881d83515360 SHA1 39d3ee07314473e8955fdcaa74ebcc0e926fb30b SHA256 e85a801c721e773ad4743d60f626041fe33262788b91856af9168a1b4b0d21da
+EBUILD zarafa-7.0.7.ebuild 3472 RMD160 41c5a9c565082b0ccbd156d7443b8f241e6d95d9 SHA1 5d7174d2a46f8aa6a296ad041f82ef2c581e3433 SHA256 1dab6aa7f06482df597b201d819fe562a6976c037eb90af9c5d10643affe8f17
+MISC ChangeLog 4130 RMD160 a0a772dfd0c4a65e821799c8e06a6dd15bc74f47 SHA1 958d8288cc364fcd1948e7d08441679bb56cbef4 SHA256 eb164c27d2070022fbe6a799ac5db258f513232bf77723f0ff03714140a5ceae
MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQEcBAEBCgAGBQJPomLjAAoJEO+t9ga+3I3aJ2EH/At10sUtN7aRShkv4vWxiqI0
-PE7go65RwqngLGBfTpJxA8OFsTUEF3RzAO90AfuwyQefuLMryWJTqylnD8/pURCp
-Y/PPb1ARIaEPEWsUQ0pRFvx6Iis1UMt+DO66a7RXiXLSbgJPprrECzXfRrV2yfuF
-nH2peB73b1ks36v4OFZqonmXzIlE+0Z/eJMitrPSfniIN8AiRhNKYVLNSB293HRy
-El9hcJdiWAPdPdhdGp0/vgfCqrJTgT6lmWEQLIxj+7hQKNTBgrJJZRjg74xYXdaI
-zMsOPpPTkIFoVxQKa5iNBGAVmqEAhFwf3XdlyjZrnUk2J04wwMcNKtZxKCb5WT4=
-=oJGB
------END PGP SIGNATURE-----
diff --git a/net-mail/zarafa/zarafa-7.0.7.ebuild b/net-mail/zarafa/zarafa-7.0.7.ebuild
new file mode 100644
index 0000000..10a4240
--- /dev/null
+++ b/net-mail/zarafa/zarafa-7.0.7.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2012 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=34256
+
+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.9.2_pre20120110
+ >=dev-lang/php-5.3.0
+ app-text/catdoc
+ app-text/poppler
+ dev-cpp/clucene
+ virtual/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}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+#src_unpack() {
+# unpack ${P}.tar.bz2
+#}
+
+src_prepare() {
+
+ # 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
+ epatch "${FILESDIR}"/"${P}"-gcc46_compile.patch
+}
+
+src_configure() {
+ econf \
+ --enable-oss \
+ --enable-release \
+ --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
+
+}
+
+pkg_postinst() {
+ ewarn "Zarafa 7 has full UTF-8 support. Currently en_US.UTF-8"
+ ewarn "is hardcoded inside the sources. Please add en_US.UTF-8 UTF-8"
+ ewarn "to your /etc/locale.gen and run"
+ ewarn "'localedef -i en_US -f UTF-8 en_US.UTF-8' and 'locale-gen'"
+ elog "If you are upgrading from zcp-6.x please use upgrade script"
+ elog "located at /usr/share/doc/zarafa/zarafa7-upgrade. The script"
+ elog "requires dev-python/mysql-python to be installed in order to work"
+}