From abe9650d648718a954dcf818e523091bea32dd11 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 19 Jun 2011 07:44:20 +0000 Subject: [PATCH] net-nds/zarafa2ldap: inital commit (Portage version: 2.1.10.3/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2937 6952d904-891a-0410-993b-d76249ca496b --- net-nds/zarafa2ldap/ChangeLog | 10 ++++ net-nds/zarafa2ldap/Manifest | 5 ++ net-nds/zarafa2ldap/files/build.xml | 41 +++++++++++++ net-nds/zarafa2ldap/metadata.xml | 5 ++ net-nds/zarafa2ldap/zarafa2ldap-1.0.ebuild | 70 ++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 net-nds/zarafa2ldap/ChangeLog create mode 100644 net-nds/zarafa2ldap/Manifest create mode 100644 net-nds/zarafa2ldap/files/build.xml create mode 100644 net-nds/zarafa2ldap/metadata.xml create mode 100644 net-nds/zarafa2ldap/zarafa2ldap-1.0.ebuild diff --git a/net-nds/zarafa2ldap/ChangeLog b/net-nds/zarafa2ldap/ChangeLog new file mode 100644 index 0000000..3a1acda --- /dev/null +++ b/net-nds/zarafa2ldap/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-nds/zarafa2ldap +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*zarafa2ldap-1.0 (19 Jun 2011) + + 19 Jun 2011; Mario Fetka +zarafa2ldap-1.0.ebuild, + +files/build.xml, +metadata.xml: + inital commit + diff --git a/net-nds/zarafa2ldap/Manifest b/net-nds/zarafa2ldap/Manifest new file mode 100644 index 0000000..d6ecdf0 --- /dev/null +++ b/net-nds/zarafa2ldap/Manifest @@ -0,0 +1,5 @@ +AUX build.xml 1018 RMD160 810941174cab4897c2c236d93863a2a560788ab9 SHA1 54bf35bc21cee4ab6d24cac0d92b95fd0dea946a SHA256 6bf31868d3901b311b34561a84da72a865b2d6f036bec6320efb40f75b6ab215 +DIST zarafa2ldap-1.0.tar.gz 2203740 RMD160 65eaac6cc1c4c11c5c56f68789d643b345b693d7 SHA1 90af5378bb2a77159440f15b715853b491696a67 SHA256 e1335d489aaa0ad9339975570237b564b29b625114b614b88da9b938bbf801a5 +EBUILD zarafa2ldap-1.0.ebuild 1645 RMD160 3eddcd514b8c39b7455269208839be75600b50e5 SHA1 3c0713bf85bf2a754a0a72f891978d1773122a69 SHA256 5b31617cd3b3e040b649862fdb97061ec5735e331c1eb22ff8bbf656f726671a +MISC ChangeLog 280 RMD160 3d0c9a4eefe4620aadd9a5191a4b976612c06f8d SHA1 93643afb10de1d4a323fad8b41fa24d2d99326ec SHA256 761ae227939d17cc80fadc3b6c58b7349f0cb94f44d77f304856b2412c44dcd0 +MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e diff --git a/net-nds/zarafa2ldap/files/build.xml b/net-nds/zarafa2ldap/files/build.xml new file mode 100644 index 0000000..720af53 --- /dev/null +++ b/net-nds/zarafa2ldap/files/build.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net-nds/zarafa2ldap/metadata.xml b/net-nds/zarafa2ldap/metadata.xml new file mode 100644 index 0000000..20ce219 --- /dev/null +++ b/net-nds/zarafa2ldap/metadata.xml @@ -0,0 +1,5 @@ + + + +no-herd + diff --git a/net-nds/zarafa2ldap/zarafa2ldap-1.0.ebuild b/net-nds/zarafa2ldap/zarafa2ldap-1.0.ebuild new file mode 100644 index 0000000..34b6369 --- /dev/null +++ b/net-nds/zarafa2ldap/zarafa2ldap-1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.3.2.ebuild,v 1.4 2011/03/21 18:03:55 xarthisius Exp $ + +EAPI="2" + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 depend.php eutils webapp + +MY_P="${P//_/}" + +DESCRIPTION="This tool is able to export contacts from private and/or public folders from Zarafa to an LDAP server." +HOMEPAGE="http://community.zarafa.com/pg/plugins/project/135/developer/catWorkX/zarafa2ldap-integration" +SRC_URI="http://community.zarafa.com/mod/community_plugins/download.php?release_guid=136 -> ${P}.tar.gz" + +LICENSE="AGPL-3" +IUSE="" +KEYWORDS="~amd64 ~x86" + +COMMON_DEP="www-servers/axis:1" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP} + net-mail/zarafa" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RESTRICT="" + +need_httpd_cgi +need_php_httpd + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + webapp_pkg_setup + has_php +} + +src_prepare() { + cp "${FILESDIR}/build.xml" "${S}" + + echo "classpath=$(java-pkg_getjars axis-1)" > "${S}"/build.properties +} + +EANT_DOC_TARGET="" + +src_install() { + webapp_src_preinst + + dodoc README || die "dodoc failed" + + insinto "${MY_HTDOCSDIR}" + doins -r php/* || die "doins failed" + + #webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_configfile "${MY_HTDOCSDIR}"/mapiContacts.php + + #webapp_serverowned "${MY_HTDOCSDIR}"/cache + + webapp_src_install + + insinto /etc/${PN} + doins bin/${PN}.conf + + java-pkg_dojar "${S}"/dist/zarafa2ldap.jar + java-pkg_dolauncher ${PN}-${SLOT} --pwd /etc/${PN} --main de.catworkx.zarafa.zarafa2ldap.Zarafa2Ldap + + use source && java-pkg_dosrc "${S}"/src/* +} +