public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
@ 2012-04-23  8:40 Robert Piasek
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Piasek @ 2012-04-23  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     f965f1b6e5cca0553d8a39c5dc4a9321caea29f3
Author:     Robert Piasek <dagger <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 08:40:09 2012 +0000
Commit:     Robert Piasek <dagger <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 08:40:09 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=f965f1b6

Update dependency from dev-db/mysql to virtual/mysql

---
 net-mail/zarafa/ChangeLog             |    5 ++
 net-mail/zarafa/zarafa-6.40.11.ebuild |    2 +-
 net-mail/zarafa/zarafa-6.40.12.ebuild |    2 +-
 net-mail/zarafa/zarafa-6.40.14.ebuild |    2 +-
 net-mail/zarafa/zarafa-6.40.9.ebuild  |  114 ---------------------------------
 net-mail/zarafa/zarafa-7.0.5.ebuild   |    2 +-
 net-mail/zarafa/zarafa-7.0.6.ebuild   |    2 +-
 7 files changed, 10 insertions(+), 119 deletions(-)

diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog
index a77ff98..71e1cf3 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: $
 
+  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:
+  Change deps from dev-db/mysql to virtual/mysql
+
   22 Mar 2012; Robert Piasek <dagger@gentoo.org>
   +files/zarafa-7.0.6-gcc46_compile.patch:
   Move to betagarden overlay. Add patch to compile with gcc-4.6 (thanks sping)

diff --git a/net-mail/zarafa/zarafa-6.40.11.ebuild b/net-mail/zarafa/zarafa-6.40.11.ebuild
index 1b7099a..bb60ea2 100644
--- a/net-mail/zarafa/zarafa-6.40.11.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.11.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=dev-libs/libical-0.44
 	app-text/catdoc
 	app-text/poppler
 	dev-cpp/clucene
-	dev-db/mysql
+	virtual/mysql
 	dev-libs/libxml2
 	dev-libs/openssl
 	net-misc/curl

diff --git a/net-mail/zarafa/zarafa-6.40.12.ebuild b/net-mail/zarafa/zarafa-6.40.12.ebuild
index f4c4613..ecb99a8 100644
--- a/net-mail/zarafa/zarafa-6.40.12.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.12.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=dev-libs/libical-0.44
 	app-text/catdoc
 	app-text/poppler
 	dev-cpp/clucene
-	dev-db/mysql
+	virtual/mysql
 	dev-libs/libxml2
 	dev-libs/openssl
 	net-misc/curl

diff --git a/net-mail/zarafa/zarafa-6.40.14.ebuild b/net-mail/zarafa/zarafa-6.40.14.ebuild
index 8b96c7a..6d2a445 100644
--- a/net-mail/zarafa/zarafa-6.40.14.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.14.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=dev-libs/libical-0.44
 	app-text/catdoc
 	app-text/poppler
 	dev-cpp/clucene
-	dev-db/mysql
+	virtual/mysql
 	dev-libs/libxml2
 	dev-libs/openssl
 	net-misc/curl

diff --git a/net-mail/zarafa/zarafa-6.40.9.ebuild b/net-mail/zarafa/zarafa-6.40.9.ebuild
deleted file mode 100644
index 91d53cd..0000000
--- a/net-mail/zarafa/zarafa-6.40.9.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# 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=27553
-
-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.7.1
-	>=dev-lang/php-5.2.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() {
-	# Fixes zarafa-server linking
-	epatch "${FILESDIR}"/"${PN}"-6.40.1-uuid-link.patch
-
-	# 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
-
-}

diff --git a/net-mail/zarafa/zarafa-7.0.5.ebuild b/net-mail/zarafa/zarafa-7.0.5.ebuild
index b7705e7..a545cfa 100644
--- a/net-mail/zarafa/zarafa-7.0.5.ebuild
+++ b/net-mail/zarafa/zarafa-7.0.5.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=dev-libs/libical-0.44
 	app-text/catdoc
 	app-text/poppler
 	dev-cpp/clucene
-	dev-db/mysql
+	virtual/mysql
 	dev-libs/libxml2
 	dev-libs/openssl
 	net-misc/curl

diff --git a/net-mail/zarafa/zarafa-7.0.6.ebuild b/net-mail/zarafa/zarafa-7.0.6.ebuild
index 473a929..b701a4a 100644
--- a/net-mail/zarafa/zarafa-7.0.6.ebuild
+++ b/net-mail/zarafa/zarafa-7.0.6.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=dev-libs/libical-0.44
 	app-text/catdoc
 	app-text/poppler
 	dev-cpp/clucene
-	dev-db/mysql
+	virtual/mysql
 	dev-libs/libxml2
 	dev-libs/openssl
 	net-misc/curl



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
@ 2012-05-03 11:41 Johannes Huber
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Huber @ 2012-05-03 11:41 UTC (permalink / raw
  To: gentoo-commits

commit:     07ea3226e80a1dc9ef172543ddb011bff29f2748
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Thu May  3 10:50:11 2012 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Thu May  3 10:50:11 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=07ea3226

[net-mail/zarafa] Migrate to virtual/pkgconfig.

(Portage version: 2.2.0_alpha101/git/Linux i686, signed Manifest commit with key F3CFD2BD)

---
 net-mail/zarafa/zarafa-6.40.11.ebuild |    4 ++--
 net-mail/zarafa/zarafa-6.40.12.ebuild |    4 ++--
 net-mail/zarafa/zarafa-6.40.14.ebuild |    4 ++--
 net-mail/zarafa/zarafa-7.0.5.ebuild   |    4 ++--
 net-mail/zarafa/zarafa-7.0.6.ebuild   |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/net-mail/zarafa/zarafa-6.40.11.ebuild b/net-mail/zarafa/zarafa-6.40.11.ebuild
index bb60ea2..91083a7 100644
--- a/net-mail/zarafa/zarafa-6.40.11.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.11.ebuild
@@ -41,8 +41,8 @@ RDEPEND=">=dev-libs/libical-0.44
 	ldap? ( net-nds/openldap )
 	logrotate? ( app-admin/logrotate )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	sys-devel/gettext"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 #src_unpack() {
 #	unpack ${P}.tar.bz2

diff --git a/net-mail/zarafa/zarafa-6.40.12.ebuild b/net-mail/zarafa/zarafa-6.40.12.ebuild
index ecb99a8..e8201d9 100644
--- a/net-mail/zarafa/zarafa-6.40.12.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.12.ebuild
@@ -41,8 +41,8 @@ RDEPEND=">=dev-libs/libical-0.44
 	ldap? ( net-nds/openldap )
 	logrotate? ( app-admin/logrotate )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	sys-devel/gettext"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 #src_unpack() {
 #	unpack ${P}.tar.bz2

diff --git a/net-mail/zarafa/zarafa-6.40.14.ebuild b/net-mail/zarafa/zarafa-6.40.14.ebuild
index 6d2a445..fcb1ee2 100644
--- a/net-mail/zarafa/zarafa-6.40.14.ebuild
+++ b/net-mail/zarafa/zarafa-6.40.14.ebuild
@@ -41,8 +41,8 @@ RDEPEND=">=dev-libs/libical-0.44
 	ldap? ( net-nds/openldap )
 	logrotate? ( app-admin/logrotate )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	sys-devel/gettext"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 #src_unpack() {
 #	unpack ${P}.tar.bz2

diff --git a/net-mail/zarafa/zarafa-7.0.5.ebuild b/net-mail/zarafa/zarafa-7.0.5.ebuild
index a545cfa..372b160 100644
--- a/net-mail/zarafa/zarafa-7.0.5.ebuild
+++ b/net-mail/zarafa/zarafa-7.0.5.ebuild
@@ -41,8 +41,8 @@ RDEPEND=">=dev-libs/libical-0.44
 	ldap? ( net-nds/openldap )
 	logrotate? ( app-admin/logrotate )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	sys-devel/gettext"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 #src_unpack() {
 #	unpack ${P}.tar.bz2

diff --git a/net-mail/zarafa/zarafa-7.0.6.ebuild b/net-mail/zarafa/zarafa-7.0.6.ebuild
index b701a4a..287b66e 100644
--- a/net-mail/zarafa/zarafa-7.0.6.ebuild
+++ b/net-mail/zarafa/zarafa-7.0.6.ebuild
@@ -41,8 +41,8 @@ RDEPEND=">=dev-libs/libical-0.44
 	ldap? ( net-nds/openldap )
 	logrotate? ( app-admin/logrotate )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	sys-devel/gettext"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 #src_unpack() {
 #	unpack ${P}.tar.bz2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
@ 2012-05-28 11:19 Robert Piasek
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Piasek @ 2012-05-28 11:19 UTC (permalink / raw
  To: gentoo-commits

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"
+}



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
@ 2012-05-28 11:23 Robert Piasek
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Piasek @ 2012-05-28 11:23 UTC (permalink / raw
  To: gentoo-commits

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

Update patch name

---
 net-mail/zarafa/zarafa-7.0.7.ebuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net-mail/zarafa/zarafa-7.0.7.ebuild b/net-mail/zarafa/zarafa-7.0.7.ebuild
index 10a4240..1adfb07 100644
--- a/net-mail/zarafa/zarafa-7.0.7.ebuild
+++ b/net-mail/zarafa/zarafa-7.0.7.ebuild
@@ -53,7 +53,7 @@ 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
+	epatch "${FILESDIR}"/"${PN}"-7.0.6-gcc46_compile.patch
 }
 
 src_configure() {



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/betagarden:master commit in: net-mail/zarafa/
@ 2012-06-19 10:00 Robert Piasek
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Piasek @ 2012-06-19 10:00 UTC (permalink / raw
  To: gentoo-commits

commit:     64c6263cf809cf8d43398b72f9d5bac10438c2cc
Author:     Robert Piasek <dagger <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 19 09:58:55 2012 +0000
Commit:     Robert Piasek <dagger <AT> gentoo <DOT> org>
CommitDate: Tue Jun 19 09:58:55 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=64c6263c

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: $
 
+*zarafa-7.0.8 (19 Jun 2012)
+
+  19 Jun 2012; Robert Piasek <dagger@gentoo.org> +zarafa-7.0.8.ebuild:
+  Add ZCP 7.0.8
+
 *zarafa-7.0.7 (28 May 2012)
 
   28 May 2012; Robert Piasek <dagger@gentoo.org> +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=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=35178
+
+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}"/"${PN}"-7.0.6-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"
+}



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-19 10:01 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox