summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2010-07-11 10:10:40 +0000
committerFabio Erculiani <lxnay@gentoo.org>2010-07-11 10:10:40 +0000
commitcf8851007033b6810fdcd0a9a1fdb5601d6171b2 (patch)
treebc75eefe4413e0351ea6494f4b08ce5b41ba4631 /app-admin
parentDrop old. (diff)
downloadgentoo-2-cf8851007033b6810fdcd0a9a1fdb5601d6171b2.tar.gz
gentoo-2-cf8851007033b6810fdcd0a9a1fdb5601d6171b2.tar.bz2
gentoo-2-cf8851007033b6810fdcd0a9a1fdb5601d6171b2.zip
new ebuild, part of 389 Directory Server (http://port389.org), closes bug #309551
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/389-console/389-console-1.1.6.ebuild54
-rw-r--r--app-admin/389-console/ChangeLog11
-rw-r--r--app-admin/389-console/files/fedora.pngbin0 -> 11606 bytes
-rw-r--r--app-admin/389-console/metadata.xml8
4 files changed, 73 insertions, 0 deletions
diff --git a/app-admin/389-console/389-console-1.1.6.ebuild b/app-admin/389-console/389-console-1.1.6.ebuild
new file mode 100644
index 000000000000..98a1c548f7e6
--- /dev/null
+++ b/app-admin/389-console/389-console-1.1.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/389-console/389-console-1.1.6.ebuild,v 1.1 2010/07/11 10:10:39 lxnay Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE=""
+
+inherit java-pkg-2 eutils java-ant-2
+
+DESCRIPTION="A Java based console for remote management 389 server"
+HOMEPAGE="http://port389.org/"
+SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/jss:3.4
+ dev-java/ldapsdk:4.1
+ >=dev-java/idm-console-framework-1.1
+ app-admin/389-admin-console"
+
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEP}"
+
+DEPEND=">=virtual/jdk-1.6
+ ${COMMON_DEP}"
+
+src_prepare() {
+ java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
+ java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
+ java-pkg_jar-from idm-console-framework-1.1
+}
+
+src_compile() {
+ eant -Dbuilt.dir="${S}"/build \
+ -Dldapjdk.local.location="${S}" \
+ -Djss.local.location="${S}" \
+ -Dconsole.local.location="${S}" ${antflags} \
+ ||die "eant failed"
+}
+
+src_install() {
+ java-pkg_newjar "${S}"/build/389-console-1.1.4_en.jar 389-console_en.jar
+ java-pkg_dolauncher ${PN} --main com.netscape.management.client.console.Console \
+ --pwd "/usr/share/dirsrv/html/java/" \
+ --pkg_args "-Djava.util.prefs.systemRoot=\"\$HOME/.${PN}\" -Djava.util.prefs.userRoot=\"\$HOME/.${PN}\"" \
+ || die
+
+ doicon "${FILESDIR}"/fedora.png || die "doicon failed"
+ make_desktop_entry ${PN} "Port389 Management Console" fedora System
+}
diff --git a/app-admin/389-console/ChangeLog b/app-admin/389-console/ChangeLog
new file mode 100644
index 000000000000..acec84ada00f
--- /dev/null
+++ b/app-admin/389-console/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/389-console
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/389-console/ChangeLog,v 1.1 2010/07/11 10:10:39 lxnay Exp $
+
+*389-console-1.1.6 (11 Jul 2010)
+
+ 11 Jul 2010; Fabio Erculiani <lxnay@gentoo.org> +389-console-1.1.6.ebuild,
+ +files/fedora.png, +metadata.xml:
+ new ebuild, part of 389 Directory Server (http://port389.org), closes bug
+ #309551
+
diff --git a/app-admin/389-console/files/fedora.png b/app-admin/389-console/files/fedora.png
new file mode 100644
index 000000000000..830fe0888b40
--- /dev/null
+++ b/app-admin/389-console/files/fedora.png
Binary files differ
diff --git a/app-admin/389-console/metadata.xml b/app-admin/389-console/metadata.xml
new file mode 100644
index 000000000000..5f203901eabb
--- /dev/null
+++ b/app-admin/389-console/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+</pkgmetadata>