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
This commit is contained in:
geos_one 2011-06-19 07:44:20 +00:00
parent 48bf17266f
commit abe9650d64
5 changed files with 131 additions and 0 deletions

View File

@ -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 <mario.fetka@gmail.com> +zarafa2ldap-1.0.ebuild,
+files/build.xml, +metadata.xml:
inital commit

View File

@ -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

View File

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<project name="zarafa2ldap" default="jar">
<!-- some properties -->
<property name="src" value="src" />
<property name="build" value="build" />
<property name="dist" value="dist"/>
<property name="jarfile" value="${ant.project.name}.jar"/>
<property file="build.properties"/>
<!-- init -->
<target name="init">
<tstamp/>
<mkdir dir="${dist}"/>
<mkdir dir="${build}"/>
</target>
<!-- compile everything -->
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
</target>
<!-- build the jar file -->
<target name="jar" depends="compile">
<jar jarfile="${dist}/${jarfile}" basedir="${build}">
<fileset dir="${src}">
<include name="**/*.png"/>
<include name="**/*.ucd"/>
<include name="**/*.properties"/>
</fileset>
</jar>
</target>
<!-- clean up -->
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
</pkgmetadata>

View File

@ -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/*
}