From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SgvF7-0006an-Jh for garchives@archives.gentoo.org; Tue, 19 Jun 2012 10:01:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A5EEE064F; Tue, 19 Jun 2012 10:00:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C0AFDE064E for ; Tue, 19 Jun 2012 10:00:52 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D203D1B401A for ; Tue, 19 Jun 2012 10:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C5559E5430 for ; Tue, 19 Jun 2012 10:00:49 +0000 (UTC) From: "Robert Piasek" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robert Piasek" Message-ID: <1340099935.64c6263cf809cf8d43398b72f9d5bac10438c2cc.dagger@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/ X-VCS-Repository: proj/betagarden X-VCS-Files: net-mail/zarafa/ChangeLog net-mail/zarafa/zarafa-7.0.8.ebuild X-VCS-Directories: net-mail/zarafa/ X-VCS-Committer: dagger X-VCS-Committer-Name: Robert Piasek X-VCS-Revision: 64c6263cf809cf8d43398b72f9d5bac10438c2cc X-VCS-Branch: master Date: Tue, 19 Jun 2012 10:00:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c26f5d8b-d71a-4559-ab3d-fb373f08d7de X-Archives-Hash: 9d626a7ce4f4f1b50547351a3fdbf51a commit: 64c6263cf809cf8d43398b72f9d5bac10438c2cc Author: Robert Piasek gentoo org> AuthorDate: Tue Jun 19 09:58:55 2012 +0000 Commit: Robert Piasek gentoo org> CommitDate: Tue Jun 19 09:58:55 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/betagarden.gi= t;a=3Dcommit;h=3D64c6263c Add ZCP 7.0.8 --- net-mail/zarafa/ChangeLog | 5 ++ net-mail/zarafa/zarafa-7.0.8.ebuild | 124 +++++++++++++++++++++++++++++= ++++++ 2 files changed, 129 insertions(+), 0 deletions(-) diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog index ef83438..e276d63 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: $ =20 +*zarafa-7.0.8 (19 Jun 2012) + + 19 Jun 2012; Robert Piasek +zarafa-7.0.8.ebuild: + Add ZCP 7.0.8 + *zarafa-7.0.7 (28 May 2012) =20 28 May 2012; Robert Piasek +zarafa-7.0.7.ebuild: diff --git a/net-mail/zarafa/zarafa-7.0.8.ebuild b/net-mail/zarafa/zarafa= -7.0.8.ebuild new file mode 100644 index 0000000..6cc620e --- /dev/null +++ b/net-mail/zarafa/zarafa-7.0.8.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D2 + +PHP_EXT_NAME=3D"mapi" +PHP_EXT_INI=3D"yes" +PHP_EXT_ZENDEXT=3D"no" +USE_PHP=3D"php5-3" + +inherit versionator php-ext-source-r2 eutils + +ZARAFA_MAJOR=3D$(get_version_component_range 1 ${PV}) +ZARAFA_MINOR=3D$(get_version_component_range 2 ${PV}) +ZARAFA_MICRO=3D$(get_version_component_range 3 ${PV}) +ZARAFA_REV=3D35178 + +DESCRIPTION=3D"Open Source Groupware Solution" +HOMEPAGE=3D"http://zarafa.com/" +SRC_URI=3D"http://download.zarafa.com/community/final/${ZARAFA_MAJOR}.${= ZARAFA_MINOR}/${PV}-${ZARAFA_REV}/sourcecode/zcp-${PV}.tar.gz" + +LICENSE=3D"AGPL-3" +SLOT=3D"0" +KEYWORDS=3D"~x86 ~amd64" +IUSE=3D"debug ldap +logrotate static" + +RDEPEND=3D">=3Ddev-libs/libical-0.44 + =3Ddev-cpp/libvmime-0.9.2_pre20120110 + >=3Ddev-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=3D"${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}"/"${PN}"-7.0.6-gcc46_compile.patch +} + +src_configure() { + econf \ + --enable-oss \ + --enable-release \ + --disable-perl \ + --disable-testtools \ + --with-userscript-prefix=3D/etc/zarafa/userscripts \ + --with-quotatemplate-prefix=3D/etc/zarafa/quotamails \ + --with-indexerscripts-prefix=3D/etc/zarafa/indexerscripts \ + $(use_enable static) \ + $(use_enable debug) +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install() { + + emake DESTDIR=3D"${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 .ini files from ext/ to ext-active/ + for inifile in ${PHPINIFILELIST} ; do + inidir=3D"${inifile/${PHP_EXT_NAME}.ini/}" + inidir=3D"${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 fil= es" + + 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= " +}