From 2fa66188458859385bf5ddc233b085f162bb4d11 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Mon, 26 Dec 2011 15:59:47 +0000 Subject: net-nds/jxplorer: revbump (Portage version: 2.1.10.43/cvs/Linux x86_64) --- net-nds/jxplorer/ChangeLog | 8 +++- net-nds/jxplorer/jxplorer-3.2-r1.ebuild | 73 --------------------------------- net-nds/jxplorer/jxplorer-3.2-r2.ebuild | 73 +++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 74 deletions(-) delete mode 100644 net-nds/jxplorer/jxplorer-3.2-r1.ebuild create mode 100644 net-nds/jxplorer/jxplorer-3.2-r2.ebuild (limited to 'net-nds/jxplorer') diff --git a/net-nds/jxplorer/ChangeLog b/net-nds/jxplorer/ChangeLog index 2a024c5aec28..9f8a3699707d 100644 --- a/net-nds/jxplorer/ChangeLog +++ b/net-nds/jxplorer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-nds/jxplorer # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/ChangeLog,v 1.31 2011/12/26 15:09:01 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/ChangeLog,v 1.32 2011/12/26 15:59:47 fordfrog Exp $ + +*jxplorer-3.2-r2 (26 Dec 2011) + + 26 Dec 2011; Miroslav Šulc -jxplorer-3.2-r1.ebuild, + +jxplorer-3.2-r2.ebuild: + Previous fix needs revbump to install the new script 26 Dec 2011; Miroslav Šulc files/jxplorer-pre-r1: Fixed bug #391713 (security files not available in user's home directory) diff --git a/net-nds/jxplorer/jxplorer-3.2-r1.ebuild b/net-nds/jxplorer/jxplorer-3.2-r1.ebuild deleted file mode 100644 index 424c75614e7d..000000000000 --- a/net-nds/jxplorer/jxplorer-3.2-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/jxplorer-3.2-r1.ebuild,v 1.2 2011/11/23 11:29:47 jlec Exp $ - -EAPI="4" -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 prefix - -DESCRIPTION="A fully functional ldap browser written in java." -HOMEPAGE="http://jxplorer.org/" -SRC_URI="mirror://sourceforge/${PN}/JXv${PV}src.tar.bz2 - mirror://sourceforge/${PN}/JXv${PV}deploy.tar.bz2" -LICENSE="CAOSL" -IUSE="" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -RDEPEND=">=virtual/jre-1.4 - >=dev-java/javahelp-2.0.02_p46 - >=dev-java/log4j-1.2.8 - =dev-java/junit-3.8*" -DEPEND=">=virtual/jdk-1.4 - ${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}/${PV}-com.ca.level.patch" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - cp "${FILESDIR}/build.xml" ./build.xml || die - - # Contains stuff for javahelp - mkdir dist - cp jars/help.jar dist || die - - rm -v jars/*.jar || die - mkdir lib/ && cd lib/ - java-pkg_jar-from javahelp - java-pkg_jar-from log4j - java-pkg_jar-from junit -} - -EANT_DOC_TARGET="docs" -EANT_FILTER_COMPILER="jikes" - -src_install() { - java-pkg_dojar dist/${PN}.jar dist/help.jar - - dodir /usr/share/${PN} - for i in "icons images htmldocs language templates security connections.txt log4j.xml" - do - cp -r ${i} "${ED}/usr/share/${PN}" || die - done - - dodoc RELEASE.TXT || die - - # By default the config dir is ${HOME}/jxplorer - java-pkg_dolauncher ${PN} \ - --main com.ca.directory.jxplorer.JXplorer \ - --pwd '"${HOME}/.jxplorer"' \ - --pkg_args console \ - -pre "${FILESDIR}/${PN}-pre-r1" - - eprefixify "${ED}/usr/bin/${PN}" - - use source && java-pkg_dosrc src/com - use doc && java-pkg_dojavadoc docs -} diff --git a/net-nds/jxplorer/jxplorer-3.2-r2.ebuild b/net-nds/jxplorer/jxplorer-3.2-r2.ebuild new file mode 100644 index 000000000000..e49580bd9655 --- /dev/null +++ b/net-nds/jxplorer/jxplorer-3.2-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/jxplorer-3.2-r2.ebuild,v 1.1 2011/12/26 15:59:47 fordfrog Exp $ + +EAPI="4" +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 prefix + +DESCRIPTION="A fully functional ldap browser written in java." +HOMEPAGE="http://jxplorer.org/" +SRC_URI="mirror://sourceforge/${PN}/JXv${PV}src.tar.bz2 + mirror://sourceforge/${PN}/JXv${PV}deploy.tar.bz2" +LICENSE="CAOSL" +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/javahelp-2.0.02_p46 + >=dev-java/log4j-1.2.8 + =dev-java/junit-3.8*" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}/${PV}-com.ca.level.patch" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + cp "${FILESDIR}/build.xml" ./build.xml || die + + # Contains stuff for javahelp + mkdir dist + cp jars/help.jar dist || die + + rm -v jars/*.jar || die + mkdir lib/ && cd lib/ + java-pkg_jar-from javahelp + java-pkg_jar-from log4j + java-pkg_jar-from junit +} + +EANT_DOC_TARGET="docs" +EANT_FILTER_COMPILER="jikes" + +src_install() { + java-pkg_dojar dist/${PN}.jar dist/help.jar + + dodir /usr/share/${PN} + for i in "icons images htmldocs language templates security connections.txt log4j.xml" + do + cp -r ${i} "${ED}/usr/share/${PN}" || die + done + + dodoc RELEASE.TXT || die + + # By default the config dir is ${HOME}/jxplorer + java-pkg_dolauncher ${PN} \ + --main com.ca.directory.jxplorer.JXplorer \ + --pwd '"${HOME}/.jxplorer"' \ + --pkg_args console \ + -pre "${FILESDIR}/${PN}-pre-r1" + + eprefixify "${ED}/usr/bin/${PN}" + + use source && java-pkg_dosrc src/com + use doc && java-pkg_dojavadoc docs +} -- cgit v1.2.3-65-gdbad