Migrated to generation 2, added source use flag and made sure that we are not subject...
authorPetteri Räty <betelgeuse@gentoo.org>
Tue, 9 Jan 2007 20:38:34 +0000 (20:38 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Tue, 9 Jan 2007 20:38:34 +0000 (20:38 +0000)
Package-Manager: portage-2.1.2_rc4-r7

net-nds/jxplorer/ChangeLog
net-nds/jxplorer/Manifest
net-nds/jxplorer/files/digest-jxplorer-3.1
net-nds/jxplorer/files/digest-jxplorer-3.1-r1 [new file with mode: 0644]
net-nds/jxplorer/files/jxplorer-pre [new file with mode: 0644]
net-nds/jxplorer/jxplorer-3.1-r1.ebuild [new file with mode: 0644]

index 7a6b108e5c70cb9ae12b7e348e2b02e224d9e34f..03c271a95335ec58ab49aa6b8330dac4b6c3dd6e 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-nds/jxplorer
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/ChangeLog,v 1.6 2005/05/04 22:24:03 luckyduck Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/ChangeLog,v 1.7 2007/01/09 20:38:34 betelgeuse Exp $
+
+*jxplorer-3.1-r1 (09 Jan 2007)
+
+  09 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +files/jxplorer-pre,
+  +jxplorer-3.1-r1.ebuild:
+  Migrated to generation 2, added source use flag and made sure that we are
+  not subject to insecure /tmp file handling. Fixes bug 159579.
 
 *jxplorer-3.1 (04 May 2005)
 
index d73cd46f0e0d318d1e4101c4ae443344479a1273..b64ba5fde5f7d734b515ce4766245a610d22d9a6 100644 (file)
@@ -1,20 +1,63 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 a5a295f030b955f9f89313c263855d81 jxplorer-3.1_rc4.ebuild 1504
+AUX build.xml 1871 RMD160 8cc94302bc50f542b6842a0a26b2fa92c2d7ddb8 SHA1 037c318b855c5f9cdb1ddc1f0958e9b8f8ef80d8 SHA256 c1203b1269f3eadbea82fb54e27d75c6a6e89db71d91529ef80b9a1e67762746
+MD5 19c309ed0cfd34dc531818b1607a2a47 files/build.xml 1871
+RMD160 8cc94302bc50f542b6842a0a26b2fa92c2d7ddb8 files/build.xml 1871
+SHA256 c1203b1269f3eadbea82fb54e27d75c6a6e89db71d91529ef80b9a1e67762746 files/build.xml 1871
+AUX jxplorer-gentoo.patch 2578 RMD160 3b8f5392f5c22b66061f7c33e60d44bf944886d1 SHA1 e2744dfd9ac9b9d93545a8a8d1749a7234af5b14 SHA256 33d5b5b6ed48208a6ef506a14548aa27d4362d66b096e7fd36f9742939143640
+MD5 c2de8cca5efcd98939e5baf3728a3692 files/jxplorer-gentoo.patch 2578
+RMD160 3b8f5392f5c22b66061f7c33e60d44bf944886d1 files/jxplorer-gentoo.patch 2578
+SHA256 33d5b5b6ed48208a6ef506a14548aa27d4362d66b096e7fd36f9742939143640 files/jxplorer-gentoo.patch 2578
+AUX jxplorer-log4j.patch 613 RMD160 76decff6de223a23e9f390bb36dd8531a7bbc04c SHA1 74893061b46508f4cbf3c6b45580ebe89a41379d SHA256 4311affc4a8b39e5c35c46e9b61776dbf42a61be8870db53f3b1b121c1c6ee31
+MD5 02193c618856347b1d7ec23ec21e4475 files/jxplorer-log4j.patch 613
+RMD160 76decff6de223a23e9f390bb36dd8531a7bbc04c files/jxplorer-log4j.patch 613
+SHA256 4311affc4a8b39e5c35c46e9b61776dbf42a61be8870db53f3b1b121c1c6ee31 files/jxplorer-log4j.patch 613
+AUX jxplorer-pre 441 RMD160 d5ce6475ada4c3d89b710399c21aec0c8fcf59f7 SHA1 0571adbf56b3108aa2226df420e445fb1ac7464d SHA256 0e1fd4598c8a2413634e64be450a4a3ef56620fd7d424d3da41be827fb2d4b08
+MD5 db64ae472d1ecd5d8d10bda85a853f9a files/jxplorer-pre 441
+RMD160 d5ce6475ada4c3d89b710399c21aec0c8fcf59f7 files/jxplorer-pre 441
+SHA256 0e1fd4598c8a2413634e64be450a4a3ef56620fd7d424d3da41be827fb2d4b08 files/jxplorer-pre 441
+AUX jxplorer.sh 888 RMD160 4bee3b75090735e5df8e3f6f9a79e21b746e06a5 SHA1 c0830e4fe0fd53f23b30402bbf3ea5569f8dbbee SHA256 c206c099f9ac3febedd6f7a755d7200b8f9b5d94e83f8d829f99f52ff2393a25
+MD5 c71a48763e3bab86565e7c87fd7034b1 files/jxplorer.sh 888
+RMD160 4bee3b75090735e5df8e3f6f9a79e21b746e06a5 files/jxplorer.sh 888
+SHA256 c206c099f9ac3febedd6f7a755d7200b8f9b5d94e83f8d829f99f52ff2393a25 files/jxplorer.sh 888
+DIST JXv3.1deploy.tar.bz2 3078424 RMD160 b55974f22b496d3a5f14bacfadfbd4053ac1a9bc SHA1 b5a15c3a1068d455e678be55d15d2fc45396dccd SHA256 0b1a3cf27c28bf882009931f438a1d56102b6a89802e4882d006b0ec9089be05
+DIST JXv3.1rc4deploy.tar.bz2 3017420
+DIST JXv3.1rc4src.tar.bz2 408207
+DIST JXv3.1src.tar.bz2 418206 RMD160 0c370cda5ed7c2f24bc09b75e978ea83e2c4de58 SHA1 648eb1d40a96014c92e84f2644666314ad9a8985 SHA256 378244bbcc44ea85a4a567a453e530f9be62c96f6ff99f623c4bc2d47a4b6c8d
+EBUILD jxplorer-3.1-r1.ebuild 1641 RMD160 e5b3d891df3ab92f6e11e27d77c054eca1e7eb46 SHA1 5a4190cb8a3b0a12aa812a441aa1793a63ed578c SHA256 942fe09c6ac01094234be7f08235f222614160775ddd933e373a9acf2652b4f9
+MD5 a3bc85345ae7242fbd5321e86330c7a0 jxplorer-3.1-r1.ebuild 1641
+RMD160 e5b3d891df3ab92f6e11e27d77c054eca1e7eb46 jxplorer-3.1-r1.ebuild 1641
+SHA256 942fe09c6ac01094234be7f08235f222614160775ddd933e373a9acf2652b4f9 jxplorer-3.1-r1.ebuild 1641
+EBUILD jxplorer-3.1.ebuild 1516 RMD160 ce7c29c492394f4b5d4a637d860bee730155437f SHA1 ec112adbb18ecb01e46ba8d1284fb4f71a323ba5 SHA256 810f531bd53fafaa7e267ef81bddd58e300f049006ea519b67338072dea14f43
 MD5 7a6c6c87e866803cfbf69262c3818be5 jxplorer-3.1.ebuild 1516
-MD5 da8a921f138d67ab1719efe675bef081 ChangeLog 1155
+RMD160 ce7c29c492394f4b5d4a637d860bee730155437f jxplorer-3.1.ebuild 1516
+SHA256 810f531bd53fafaa7e267ef81bddd58e300f049006ea519b67338072dea14f43 jxplorer-3.1.ebuild 1516
+EBUILD jxplorer-3.1_rc4.ebuild 1504 RMD160 3cd71a5380c04fd609d9edd2cb9e9a41de3cbc69 SHA1 8d13ee8491002488d970f704bcacccf4755ffe22 SHA256 d89700020008a866a6be35a92bac1e9346ff75cbf0c199b33c09954120293a37
+MD5 a5a295f030b955f9f89313c263855d81 jxplorer-3.1_rc4.ebuild 1504
+RMD160 3cd71a5380c04fd609d9edd2cb9e9a41de3cbc69 jxplorer-3.1_rc4.ebuild 1504
+SHA256 d89700020008a866a6be35a92bac1e9346ff75cbf0c199b33c09954120293a37 jxplorer-3.1_rc4.ebuild 1504
+MISC ChangeLog 1430 RMD160 6e26d73b5e0ff0b69ce36ac27cf903d4d39913ac SHA1 3bbfbaa33eac9edf2060f70daa75b38ce2cd593b SHA256 b7b4f928fd3328ebb1acab5297c84bb1aa2dda7f4165d45569537d7f22d82cb4
+MD5 c77ae847b53279087251eee36c31a100 ChangeLog 1430
+RMD160 6e26d73b5e0ff0b69ce36ac27cf903d4d39913ac ChangeLog 1430
+SHA256 b7b4f928fd3328ebb1acab5297c84bb1aa2dda7f4165d45569537d7f22d82cb4 ChangeLog 1430
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 02193c618856347b1d7ec23ec21e4475 files/jxplorer-log4j.patch 613
-MD5 6fe4c04ebf5a63fa526bb37c47dd6089 files/digest-jxplorer-3.1 128
-MD5 c2de8cca5efcd98939e5baf3728a3692 files/jxplorer-gentoo.patch 2578
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
+MD5 54e4e5193a63a6b7614067eb362f4c1d files/digest-jxplorer-3.1 476
+RMD160 73f28ee49d74ad9c9ac9b5cb2d3371f0a6294519 files/digest-jxplorer-3.1 476
+SHA256 3392b84096403e10d52ffc009df3666aef3446fee726a2a0d5a3c075a129c832 files/digest-jxplorer-3.1 476
+MD5 54e4e5193a63a6b7614067eb362f4c1d files/digest-jxplorer-3.1-r1 476
+RMD160 73f28ee49d74ad9c9ac9b5cb2d3371f0a6294519 files/digest-jxplorer-3.1-r1 476
+SHA256 3392b84096403e10d52ffc009df3666aef3446fee726a2a0d5a3c075a129c832 files/digest-jxplorer-3.1-r1 476
 MD5 b04073e642024032d31552ae958c3149 files/digest-jxplorer-3.1_rc4 134
-MD5 19c309ed0cfd34dc531818b1607a2a47 files/build.xml 1871
-MD5 c71a48763e3bab86565e7c87fd7034b1 files/jxplorer.sh 888
+RMD160 4a01d345d89f06857af9644475330bd591340217 files/digest-jxplorer-3.1_rc4 134
+SHA256 081a5e3ab7c4d89dbe5311292298ad041f42bc9ddf0965825886012763a0a3c1 files/digest-jxplorer-3.1_rc4 134
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFC3Cv1/rLF9B432nYRAp4hAJ4qEXC8FkFHV9Nyzxr1VHzdZdbwSgCgyDmm
-hAAX6RPda1+3EXwi2PkMglU=
-=9Os+
+iD8DBQFFo/2DcxLzpIGCsLQRAsXqAJ9lUNWPUG7ZWVvNXuwqJ2keXXrH8wCdGnzl
+ohVTlJz1yThxsRwvSakPF6c=
+=dBhJ
 -----END PGP SIGNATURE-----
index ac3cb10ab1d4a253103983690d1f273f12927d6f..4af5ad6a79f7569a2a4507a96d331c22587de3a4 100644 (file)
@@ -1,2 +1,6 @@
-MD5 fc6984c0c4c2c1a10b57c17874b982f5 JXv3.1src.tar.bz2 418206
 MD5 4f9650c2e92f3e9eb08b891663d26b1a JXv3.1deploy.tar.bz2 3078424
+RMD160 b55974f22b496d3a5f14bacfadfbd4053ac1a9bc JXv3.1deploy.tar.bz2 3078424
+SHA256 0b1a3cf27c28bf882009931f438a1d56102b6a89802e4882d006b0ec9089be05 JXv3.1deploy.tar.bz2 3078424
+MD5 fc6984c0c4c2c1a10b57c17874b982f5 JXv3.1src.tar.bz2 418206
+RMD160 0c370cda5ed7c2f24bc09b75e978ea83e2c4de58 JXv3.1src.tar.bz2 418206
+SHA256 378244bbcc44ea85a4a567a453e530f9be62c96f6ff99f623c4bc2d47a4b6c8d JXv3.1src.tar.bz2 418206
diff --git a/net-nds/jxplorer/files/digest-jxplorer-3.1-r1 b/net-nds/jxplorer/files/digest-jxplorer-3.1-r1
new file mode 100644 (file)
index 0000000..4af5ad6
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 4f9650c2e92f3e9eb08b891663d26b1a JXv3.1deploy.tar.bz2 3078424
+RMD160 b55974f22b496d3a5f14bacfadfbd4053ac1a9bc JXv3.1deploy.tar.bz2 3078424
+SHA256 0b1a3cf27c28bf882009931f438a1d56102b6a89802e4882d006b0ec9089be05 JXv3.1deploy.tar.bz2 3078424
+MD5 fc6984c0c4c2c1a10b57c17874b982f5 JXv3.1src.tar.bz2 418206
+RMD160 0c370cda5ed7c2f24bc09b75e978ea83e2c4de58 JXv3.1src.tar.bz2 418206
+SHA256 378244bbcc44ea85a4a567a453e530f9be62c96f6ff99f623c4bc2d47a4b6c8d JXv3.1src.tar.bz2 418206
diff --git a/net-nds/jxplorer/files/jxplorer-pre b/net-nds/jxplorer/files/jxplorer-pre
new file mode 100644 (file)
index 0000000..d6d5fd4
--- /dev/null
@@ -0,0 +1,21 @@
+jxplorer_home=/usr/share/jxplorer/
+
+home="${HOME}/.jxplorer"
+
+if [ ! -d "${home}" ]; then
+       mkdir -v "${home}"
+       cp -v ${jxplorer_home}/connections.txt "${home}"
+fi
+
+try_create() {
+       [[ ! -f "${1}" ]] && touch "${1}"
+}
+
+if [ -d ${HOME}/.jxplorer ]; then
+       try_create "${home}/dxconfig.txt"
+       try_create "${home}/jxplorer.log"
+       if [ ! -f ${HOME}/.jxplorer/connections.txt ]; then
+               cp -v ${jxplorer_home}/connections.txt ${HOME}/.jxplorer
+       fi
+fi
+
diff --git a/net-nds/jxplorer/jxplorer-3.1-r1.ebuild b/net-nds/jxplorer/jxplorer-3.1-r1.ebuild
new file mode 100644 (file)
index 0000000..3bc367b
--- /dev/null
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/jxplorer/jxplorer-3.1-r1.ebuild,v 1.1 2007/01/09 20:38:34 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+RDEPEND=">=virtual/jre-1.4
+       >=dev-java/javahelp-bin-2.0.01
+       >=dev-java/log4j-1.2.8
+       dev-java/junit"
+DEPEND=">=virtual/jdk-1.4
+       dev-java/ant-core
+       source? ( app-arch/zip )
+       ${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       cp ${FILESDIR}/build.xml ./build.xml
+
+       epatch ${FILESDIR}/jxplorer-gentoo.patch
+
+       # Contains stuff for javahelp
+       mkdir dist
+       cp jars/help.jar dist || die
+
+       rm -v jars/*.jar jars/dsml/*.jar
+       mkdir lib/ && cd lib/
+       java-pkg_jar-from javahelp-bin
+       java-pkg_jar-from log4j
+       java-pkg_jar-from junit
+}
+
+#TODO: filter jikes when the general src_compile can do it
+EANT_DOC_TARGET="docs"
+
+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} ${D}/usr/share/${PN}
+       done
+
+       dodoc RELEASE.TXT || die
+
+       java-pkg_dolauncher ${PN} \
+               --main com.ca.directory.jxplorer.JXplorer \
+               --pwd '${HOME}/.jxplorer/' \
+               --pkg_args console \
+               -pre "${FILESDIR}/${PN}-pre"
+
+       use source && java-pkg_dosrc src/com
+       use doc && java-pkg_dojavadocs docs
+}