summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-11-17 17:12:16 +0000
committerRobert Piasek <dagger@gentoo.org>2011-11-17 17:12:16 +0000
commitdbb577247ff2d5906a7af1879a9a16eb2676f0e5 (patch)
treedb7ab5b2a60dea68570fd1c0d1309ea42538ccde
parentAdd ZCP webaccess 7.0.2 (diff)
downloaddagger-dbb577247ff2d5906a7af1879a9a16eb2676f0e5.tar.gz
dagger-dbb577247ff2d5906a7af1879a9a16eb2676f0e5.tar.bz2
dagger-dbb577247ff2d5906a7af1879a9a16eb2676f0e5.zip
Add ZCP 7.0.3
-rw-r--r--net-mail/zarafa/ChangeLog5
-rw-r--r--net-mail/zarafa/Manifest4
-rw-r--r--net-mail/zarafa/zarafa-7.0.3.ebuild122
3 files changed, 130 insertions, 1 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index 9cdc49e..89ab577 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-7.0.3 (17 Nov 2011)
+
+ 17 Nov 2011; Robert Piasek <dagger@gentoo.org> +zarafa-7.0.3.ebuild:
+ Add ZCP 7.0.3
+
*zarafa-7.0.2 (03 Nov 2011)
03 Nov 2011; Robert Piasek <dagger@gentoo.org> -zarafa-7.0.0.ebuild,
diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest
index 1d80c25..8176d2b 100644
--- a/net-mail/zarafa/Manifest
+++ b/net-mail/zarafa/Manifest
@@ -16,11 +16,13 @@ DIST zcp-6.40.12.tar.gz 5521416 RMD160 e68f608d7da52947f82411c952d60f4d135333ea
DIST zcp-6.40.9.tar.gz 5434001 RMD160 6a14d627dfbdf77c17839e1ab8840695af9e3b34 SHA1 7cf5b7d08d521571d00e06c9f97a8498b8fe49eb SHA256 23653649497b0b26322b8152c639eec1087727d2370947050c239dc3d7c1f03d
DIST zcp-7.0.1.tar.gz 6023258 RMD160 81e06637baae0adb106e40d05f72d9034a2fbf67 SHA1 a15bebafd87afa848e303e5df4b58d7700106569 SHA256 96cfefad6b77593bc5561baf808a9eae2f662a4e6a824af9842cfb4e36f5c82d
DIST zcp-7.0.2.tar.gz 6095860 RMD160 d237e5cca5c481e6fd6b12c36bd0f06f1a3ef839 SHA1 5b4c1e1685b8e0e5434a0270f0dcadf0afefc105 SHA256 08cda8e13aae3baa902b1b6d075ac24e6a792082da91ede9ff26b625cc8f59b9
+DIST zcp-7.0.3.tar.gz 6137777 RMD160 bf0885470488cced567f6c9a519cdea51c57b317 SHA1 08365214254299382cf57fde2c2e1434c6d58c81 SHA256 ee63e43d597404c79712fd65deca13b1633e0a20bb2b4e3fdd31770795706014
EBUILD zarafa-6.40.10.ebuild 2999 RMD160 d2680f394b856a40dd5cb4f08b23541c2b1cb2b8 SHA1 0765d8a94acd8f90c5ecbe3b0aec932f1c80780e SHA256 777dcf0274c1bc2591078d99660b97f83f6433d0353cd7d53f88960820ec437b
EBUILD zarafa-6.40.11.ebuild 2999 RMD160 c57e4ee4d024c1955fe9f20c967c258a34568011 SHA1 ce98479aad4526f01d4ee46699f287725f5777c3 SHA256 8a2bc79b12a81116da9fc59e800dc4b8cc8323d312be16844973fce4164b1d3d
EBUILD zarafa-6.40.12.ebuild 2999 RMD160 731766332a08f7f168326fc280120cba569ac894 SHA1 83b11e4b30b9ad7c8b313a7b9bbe14b1aaf118e9 SHA256 79c79eb97f5d26b38415fab472c8e3669e60dd9bf8a3d46c950c3b6ad2e943e3
EBUILD zarafa-6.40.9.ebuild 2999 RMD160 726e91dbca6c1776464ec635f14cead1215cb576 SHA1 e29a005ef553d3bb1ee56f562586638518dcf8c0 SHA256 1d718e2a2e1a7104a51412a516e7d3728a48fee483a162739c57b254ee17b26f
EBUILD zarafa-7.0.1.ebuild 3402 RMD160 d8507732c64c669b72e07205067ef9d55ad5124a SHA1 7191ba4e792c2cfe617bbd057c778b231fc37877 SHA256 81193cc8eeae9922b6c4a568c40dda687b11bf9d8fb1701e7502f4c23d27c0d3
EBUILD zarafa-7.0.2.ebuild 3402 RMD160 cdee5e04424bdddd50382e4e40539f8868399a7f SHA1 abcc49bcb0e790933a75cac47b46e219d2421a5f SHA256 df6c3559ccbb17069cd6b552baa812bffd0854908d065f50ef8fe7520f02b155
-MISC ChangeLog 2651 RMD160 3f0fe65e8494eb7c31641de936de617f458809e0 SHA1 6406aa79e82c63ff8bd5b26a7eecf7ceb27a973e SHA256 4a93c6dd6b801b12446ece00ea8f2ea2c9838ab7db95e3e91cabed5320d0fe68
+EBUILD zarafa-7.0.3.ebuild 3402 RMD160 28e0597de4b30280b4b291d0da03500694184942 SHA1 26cf295f4301470ed55a4f86e80c4da23856c7e6 SHA256 f01b3517e2e348ea78e6dc2375c36894246a9ee6e91cf157e0d004df5301cd4f
+MISC ChangeLog 2768 RMD160 2a7758449cb55ade84aafa5bf0c3383f067a9d98 SHA1 b4ec3145bb156d38cb6c4dc440883a09f5d31c82 SHA256 1435769cbcecadb887d120556d2443460c3e82cee40b24f55104d57e2c089c85
MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a
diff --git a/net-mail/zarafa/zarafa-7.0.3.ebuild b/net-mail/zarafa/zarafa-7.0.3.ebuild
new file mode 100644
index 0000000..5fde616
--- /dev/null
+++ b/net-mail/zarafa/zarafa-7.0.3.ebuild
@@ -0,0 +1,122 @@
+# 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=30515
+
+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_pre20101213
+ >=dev-lang/php-5.3.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() {
+
+ # 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
+
+}
+
+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"
+}