diff options
author | Robert Piasek <dagger@gentoo.org> | 2012-02-14 17:38:51 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2012-02-14 17:38:51 +0000 |
commit | 61b9d3c2af3945449a03a1394df8aec86af18fdf (patch) | |
tree | 21c06fef9795166975b5020b92fdcc0febb8c225 | |
parent | Update libvmime snapshot with zarafa patches (diff) | |
download | dagger-61b9d3c2af3945449a03a1394df8aec86af18fdf.tar.gz dagger-61b9d3c2af3945449a03a1394df8aec86af18fdf.tar.bz2 dagger-61b9d3c2af3945449a03a1394df8aec86af18fdf.zip |
Add zarafa 7.0.5
-rw-r--r-- | net-mail/zarafa/ChangeLog | 5 | ||||
-rw-r--r-- | net-mail/zarafa/Manifest | 4 | ||||
-rw-r--r-- | net-mail/zarafa/zarafa-7.0.5.ebuild | 123 |
3 files changed, 131 insertions, 1 deletions
diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog index dd44902..69af39d 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.5 (14 Feb 2012) + + 14 Feb 2012; Robert Piasek <dagger@gentoo.org> +zarafa-7.0.5.ebuild: + Add zarafa 7.0.5 + *zarafa-6.40.14 (23 Jan 2012) 23 Jan 2012; Robert Piasek <dagger@gentoo.org> -zarafa-6.40.13.ebuild, diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest index f2f591c..9670d86 100644 --- a/net-mail/zarafa/Manifest +++ b/net-mail/zarafa/Manifest @@ -18,6 +18,7 @@ DIST zcp-6.40.9.tar.gz 5434001 RMD160 6a14d627dfbdf77c17839e1ab8840695af9e3b34 S 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 DIST zcp-7.0.4.tar.gz 6116000 RMD160 10fe2e070f6ae9278a8fe60f3fd71216790fada7 SHA1 ebfc7dbf09cbbffec982f4e9796be9b8cfee265f SHA256 b4be7f08a027a4ac7daa986fdb2791e069bdf23c155675181c117874dc4302cd +DIST zcp-7.0.5.tar.gz 6165679 RMD160 6da612d83413d6194798b72cfab4bd14231375fc SHA1 11018d3f42bfe5310dc94c45c248c29059c4df1d SHA256 235a2bfa452f3c013d9b58127cb557690dfcb65bc6510d9d68e4d53f01c21df0 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.14.ebuild 3069 RMD160 eabd5f313aba1b1c75ab8b060d799351b5d3106a SHA1 ba3a6bda32f335752dcb5fbbac8ab42fbf2feda1 SHA256 b93f775c2ceefc6c433941e1c4e0438072ef880570522e6a34e20d32482c7ff3 @@ -25,5 +26,6 @@ EBUILD zarafa-6.40.9.ebuild 2999 RMD160 726e91dbca6c1776464ec635f14cead1215cb576 EBUILD zarafa-7.0.2.ebuild 3402 RMD160 cdee5e04424bdddd50382e4e40539f8868399a7f SHA1 abcc49bcb0e790933a75cac47b46e219d2421a5f SHA256 df6c3559ccbb17069cd6b552baa812bffd0854908d065f50ef8fe7520f02b155 EBUILD zarafa-7.0.3.ebuild 3402 RMD160 28e0597de4b30280b4b291d0da03500694184942 SHA1 26cf295f4301470ed55a4f86e80c4da23856c7e6 SHA256 f01b3517e2e348ea78e6dc2375c36894246a9ee6e91cf157e0d004df5301cd4f EBUILD zarafa-7.0.4.ebuild 3423 RMD160 34aba161e872046d6af62aae9f40d4277463650b SHA1 61ccc0c864566d97658572d87daba2010acd58ae SHA256 a5fd7c8c857bbfac823463a5425453ea81e6b8e974869b602e6f3c045715e5ce -MISC ChangeLog 3267 RMD160 61f17d98632b87b81deb8136f40dd6aa1aeed8a8 SHA1 10dcaab8bce323af7ee7936fec4b0a40c2762465 SHA256 18ac69c82b2a7cfa125e01dd01fd203aa3f43065c938418ac66d8e41f32b99ae +EBUILD zarafa-7.0.5.ebuild 3423 RMD160 eddd4143b42ed9aceb70a9d4944e690585591ee5 SHA1 ce7d301881b7659d38fc82eaa689944cf64f0009 SHA256 6f19ae78d827fe0ff54d85f67951bf2b2fb70fa0dec00680f4d424bbfef10060 +MISC ChangeLog 3387 RMD160 fd887a01d3b7d7042cbcf1c3cf566389264941c8 SHA1 6c9a31ef117e13aaa42260a2f323080f6fc99384 SHA256 0aa71e6c4285e723e8fb1651fb66f841f337ef357d45476f45b92881969b21c2 MISC metadata.xml 232 RMD160 1003df9706c53108377113d61c9c95bf485cc494 SHA1 fc994415ecad6f285541b567143cb40f2ef5f155 SHA256 1a507fc874f29bab501db0ca4cf1328971a64d415d35c7e050c59747eb0d2d1a diff --git a/net-mail/zarafa/zarafa-7.0.5.ebuild b/net-mail/zarafa/zarafa-7.0.5.ebuild new file mode 100644 index 0000000..b7705e7 --- /dev/null +++ b/net-mail/zarafa/zarafa-7.0.5.ebuild @@ -0,0 +1,123 @@ +# 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=31880 + +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 + 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 \ + --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" +} |