public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robert Piasek" <dagger@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
Date: Mon, 28 May 2012 11:19:58 +0000 (UTC)	[thread overview]
Message-ID: <1338204024.d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd.dagger@gentoo> (raw)

commit:     d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd
Author:     Robert Piasek <dagger <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 11:20:24 2012 +0000
Commit:     Robert Piasek <dagger <AT> gentoo <DOT> org>
CommitDate: Mon May 28 11:20:24 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=d9615fd1

Add ZCP 7.0.7

---
 net-mail/zarafa/ChangeLog           |    5 ++
 net-mail/zarafa/zarafa-7.0.7.ebuild |  124 +++++++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+), 0 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/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"
+}



             reply	other threads:[~2012-05-28 11:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28 11:19 Robert Piasek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-19 10:00 [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/ Robert Piasek
2012-05-28 11:23 Robert Piasek
2012-05-03 11:41 Johannes Huber
2012-04-23  8:40 Robert Piasek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1338204024.d9615fd1f71d00bee6c41f27fd0c698abe7b7ebd.dagger@gentoo \
    --to=dagger@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox