summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2011-01-11 22:25:07 +0000
committerFabio Erculiani <lxnay@gentoo.org>2011-01-11 22:25:07 +0000
commit8ea0be3604864708f16ae10e461cb4d3213a4fd5 (patch)
tree00b28f66c576a0c36ee3cf81ad6eba99b23189f2 /app-admin/389-admin-console
parentMarking daimonin-client-0.10.5 ppc for bug 350774 (diff)
downloadgentoo-2-8ea0be3604864708f16ae10e461cb4d3213a4fd5.tar.gz
gentoo-2-8ea0be3604864708f16ae10e461cb4d3213a4fd5.tar.bz2
gentoo-2-8ea0be3604864708f16ae10e461cb4d3213a4fd5.zip
version bump
(Portage version: 2.1.9.28/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/389-admin-console')
-rw-r--r--app-admin/389-admin-console/389-admin-console-1.1.5.ebuild74
-rw-r--r--app-admin/389-admin-console/ChangeLog10
2 files changed, 82 insertions, 2 deletions
diff --git a/app-admin/389-admin-console/389-admin-console-1.1.5.ebuild b/app-admin/389-admin-console/389-admin-console-1.1.5.ebuild
new file mode 100644
index 000000000000..24a3bd65b845
--- /dev/null
+++ b/app-admin/389-admin-console/389-admin-console-1.1.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/389-admin-console/389-admin-console-1.1.5.ebuild,v 1.1 2011/01/11 22:25:07 lxnay Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV=${PV/_alpha/.a}
+MY_PV=${MY_PV/_rc/.rc}
+
+DESCRIPTION="389 Server Management Console (jar and help files)"
+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"
+RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jdk-1.5 )
+ ${COMMON_DEP}"
+DEPEND="sys-apps/sed
+ >=virtual/jdk-1.5
+ ${COMMON_DEP}"
+PDEPEND="net-nds/389-admin"
+
+src_prepare() {
+ # Gentoo java rules say no jars with version number
+ # so sed away the version indicator '-'
+ sed -e "s!-\*!\*!g" -i build.xml
+
+ 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.location="${S}" \
+ -Djss.location="${S}" \
+ -Dconsole.location="${S}" ${antflags}
+ use doc && eant -Dbuilt.dir="${S}"/build \
+ -Dldapjdk.location="${S}" \
+ -Djss.location="${S}" \
+ -Dconsole.location="${S}" ${antflags} javadoc
+}
+
+src_install() {
+ java-pkg_jarinto /usr/share/dirsrv/html/java
+ # have to install versioned jars, otherwise 389-console will crash
+ java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}.jar 389-admin-${MY_PV}.jar
+ java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}_en.jar 389-admin-${MY_PV}_en.jar
+
+ dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin.jar
+ dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}.jar
+ dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin_en.jar
+ dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}_en.jar
+
+ insinto /usr/share/dirsrv/manual/en/admin
+ doins "${S}"/help/en/*.html
+ doins "${S}"/help/en/tokens.map
+
+ insinto /usr/share/dirsrv/manual/en/admin/help
+ doins "${S}"/help/en/help/*.html
+
+ use doc && java-pkg_dojavadoc build/doc
+ use source && java-pkg_dosrc src/com
+}
diff --git a/app-admin/389-admin-console/ChangeLog b/app-admin/389-admin-console/ChangeLog
index 854903e01d92..66c5dd3c2167 100644
--- a/app-admin/389-admin-console/ChangeLog
+++ b/app-admin/389-admin-console/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/389-admin-console
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/389-admin-console/ChangeLog,v 1.4 2010/10/17 10:09:12 lxnay Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/389-admin-console/ChangeLog,v 1.5 2011/01/11 22:25:07 lxnay Exp $
+
+*389-admin-console-1.1.5 (11 Jan 2011)
+
+ 11 Jan 2011; Fabio Erculiani <lxnay@gentoo.org>
+ +389-admin-console-1.1.5.ebuild:
+ version bump
17 Oct 2010; Fabio Erculiani <lxnay@gentoo.org>
389-admin-console-1.1.4-r1.ebuild: