summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-10 13:34:29 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-10 13:34:29 +0000
commitb37408f7ff2d94642ca06df50c3fd5b7c49b2903 (patch)
treebc3e0cb7a0a9fe84e674010a0e82376cb90fbd01
parentVersion bump for 2.4 (diff)
downloadhistorical-b37408f7ff2d94642ca06df50c3fd5b7c49b2903.tar.gz
historical-b37408f7ff2d94642ca06df50c3fd5b7c49b2903.tar.bz2
historical-b37408f7ff2d94642ca06df50c3fd5b7c49b2903.zip
Generate an OSGi compliant jar for jsch.
Package-Manager: portage-2.1.3.19
-rw-r--r--dev-java/jsch/ChangeLog10
-rw-r--r--dev-java/jsch/Manifest33
-rw-r--r--dev-java/jsch/files/digest-jsch-0.1.36-r13
-rw-r--r--dev-java/jsch/jsch-0.1.36-r1.ebuild38
-rw-r--r--dev-java/jsch/jsch-0.1.36.ebuild4
5 files changed, 66 insertions, 22 deletions
diff --git a/dev-java/jsch/ChangeLog b/dev-java/jsch/ChangeLog
index a126e4f6d140..460fe009212f 100644
--- a/dev-java/jsch/ChangeLog
+++ b/dev-java/jsch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jsch
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.58 2007/11/26 20:17:29 betelgeuse Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.59 2008/01/10 13:34:28 elvanor Exp $
+
+*jsch-0.1.36-r1 (10 Jan 2008)
+
+ 10 Jan 2008; Jean-Noël Rivasseau <elvanor@gentoo.org>
+ +jsch-0.1.36-r1.ebuild:
+ Generate an OSGi compliant jar.
26 Nov 2007; Petteri Räty <betelgeuse@gentoo.org> jsch-0.1.34.ebuild:
Add the ANT_TASKS fix to the stable ebuild too.
diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest
index 0d28569bb8e7..f9847fc6096c 100644
--- a/dev-java/jsch/Manifest
+++ b/dev-java/jsch/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST jsch-0.1.33.zip 266063 RMD160 ba195d82d9fac26f93c9acdabcf13a4e6dfcee44 SHA1 93c6d5c79a019f2f5dbde935931bec77952ea363 SHA256 3b939a367fae6c776e250cfb859aa86ff23829a1e1871c0ad00f90c2670864d0
DIST jsch-0.1.34.zip 264961 RMD160 43203e6925f0051b5d8539b618604e1d78fe7db2 SHA1 7b3693ceac5d9453f4712ee478cc58f8d94b6a63 SHA256 e7bdd9f11600f8f255678e25a1087f086c6273de89e53b8235e585270a1929b9
DIST jsch-0.1.36.zip 268068 RMD160 d8677ea82b18aa92a3ccedc0d9f0980d62bedc54 SHA1 445f2ec739f13948a1fc153f5dae61b4253cf52c SHA256 a6b50609bd02b3d7f5b48ca5c4acd5accd587cf5358a6ae33e46d39cbe6d0b0a
@@ -12,14 +9,18 @@ EBUILD jsch-0.1.34.ebuild 922 RMD160 e71ae1b14df24cc2458b21b76cbb3c4c877c6733 SH
MD5 82f70b03f3c8597958d9c238aaea13c1 jsch-0.1.34.ebuild 922
RMD160 e71ae1b14df24cc2458b21b76cbb3c4c877c6733 jsch-0.1.34.ebuild 922
SHA256 735bbd67bfabd7c9ccaf716ce97821c3d9968f04632f58dd9370cb8b2ab6538c jsch-0.1.34.ebuild 922
-EBUILD jsch-0.1.36.ebuild 997 RMD160 9f9bee413be3c04a6fbabb2f5f459f9d7cf75dcc SHA1 33aef69155c8ea10da27f90cbe4db9e99f8b369f SHA256 c73a64afff565bef8c1e0eb3813fe3fbbdbcf64b9e84ae9f07849dc5313c3bed
-MD5 80b0fd49d92b464e48d7628d06d5d7c2 jsch-0.1.36.ebuild 997
-RMD160 9f9bee413be3c04a6fbabb2f5f459f9d7cf75dcc jsch-0.1.36.ebuild 997
-SHA256 c73a64afff565bef8c1e0eb3813fe3fbbdbcf64b9e84ae9f07849dc5313c3bed jsch-0.1.36.ebuild 997
-MISC ChangeLog 7441 RMD160 24728ab54d53ebe0d6046498090c7628f0ebaf3e SHA1 3a7bfd9c6279779271c2e676707a0636098fbf56 SHA256 0d76553da39bcf92ae318c8c5180d739da9f3341bc02783a5f6a32d3e72662eb
-MD5 ee88fa0af90d12aecc7ba79f5ca95129 ChangeLog 7441
-RMD160 24728ab54d53ebe0d6046498090c7628f0ebaf3e ChangeLog 7441
-SHA256 0d76553da39bcf92ae318c8c5180d739da9f3341bc02783a5f6a32d3e72662eb ChangeLog 7441
+EBUILD jsch-0.1.36-r1.ebuild 1137 RMD160 7bc662b0808cd269eadee08ff68d1a00173bce7d SHA1 62f5117e26e71f6675c94e44a7010b830c53d47d SHA256 d518c64768363e8b5c1c237cf0fedc512eda648052b09472c373b2198b05000e
+MD5 4e127f4b92ae6b4b318cbc651e5cf052 jsch-0.1.36-r1.ebuild 1137
+RMD160 7bc662b0808cd269eadee08ff68d1a00173bce7d jsch-0.1.36-r1.ebuild 1137
+SHA256 d518c64768363e8b5c1c237cf0fedc512eda648052b09472c373b2198b05000e jsch-0.1.36-r1.ebuild 1137
+EBUILD jsch-0.1.36.ebuild 994 RMD160 9a83353859a26240dc653076bbc77d132cb192e2 SHA1 45b12b6a1ac551bbaf6b83fa428b0d75c3229b58 SHA256 65bf92c4076bf03e1ba843f8335aa99f59e2af5fda1fb2a6745e50a107b7e6b6
+MD5 971d421720292dfef851528d48927c3b jsch-0.1.36.ebuild 994
+RMD160 9a83353859a26240dc653076bbc77d132cb192e2 jsch-0.1.36.ebuild 994
+SHA256 65bf92c4076bf03e1ba843f8335aa99f59e2af5fda1fb2a6745e50a107b7e6b6 jsch-0.1.36.ebuild 994
+MISC ChangeLog 7587 RMD160 e06618c374c39cddf2edd679fcb2bc6f96cb4af3 SHA1 1f0fe944ccee2f430f2f5eb6e692532226d6ffd4 SHA256 5a24ed9396acf2f6aa4597a09de8dca118d421815bd1898f1f3caae52f19fd10
+MD5 1bfd0cd736d66075fa9a4a566ee4f04e ChangeLog 7587
+RMD160 e06618c374c39cddf2edd679fcb2bc6f96cb4af3 ChangeLog 7587
+SHA256 5a24ed9396acf2f6aa4597a09de8dca118d421815bd1898f1f3caae52f19fd10 ChangeLog 7587
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -33,10 +34,6 @@ SHA256 a1998455bcd4deb20ab29caef5868eae907471fb7a2c1597e3f5231cdb2c1b6c files/di
MD5 5271a7d811114f6e28b4023f26671b9b files/digest-jsch-0.1.36 226
RMD160 d8b90f9cbd0ef7d1135a6339a24104911bde5cd8 files/digest-jsch-0.1.36 226
SHA256 1448159cbd2bdf083839cd020153f910ac8d4e065a9e037cc55c82668f0d2748 files/digest-jsch-0.1.36 226
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFHSymScxLzpIGCsLQRAlfqAJ0b6VKnIa89UsjE73MeoD5khvdJugCfcoxV
-4O1eB9L/a1SlW0gNWaL1I0o=
-=bqzW
------END PGP SIGNATURE-----
+MD5 5271a7d811114f6e28b4023f26671b9b files/digest-jsch-0.1.36-r1 226
+RMD160 d8b90f9cbd0ef7d1135a6339a24104911bde5cd8 files/digest-jsch-0.1.36-r1 226
+SHA256 1448159cbd2bdf083839cd020153f910ac8d4e065a9e037cc55c82668f0d2748 files/digest-jsch-0.1.36-r1 226
diff --git a/dev-java/jsch/files/digest-jsch-0.1.36-r1 b/dev-java/jsch/files/digest-jsch-0.1.36-r1
new file mode 100644
index 000000000000..a3e4c34db0a6
--- /dev/null
+++ b/dev-java/jsch/files/digest-jsch-0.1.36-r1
@@ -0,0 +1,3 @@
+MD5 a3e7e5401df8b20b0fc5daf473894312 jsch-0.1.36.zip 268068
+RMD160 d8677ea82b18aa92a3ccedc0d9f0980d62bedc54 jsch-0.1.36.zip 268068
+SHA256 a6b50609bd02b3d7f5b48ca5c4acd5accd587cf5358a6ae33e46d39cbe6d0b0a jsch-0.1.36.zip 268068
diff --git a/dev-java/jsch/jsch-0.1.36-r1.ebuild b/dev-java/jsch/jsch-0.1.36-r1.ebuild
new file mode 100644
index 000000000000..60c46d1935bb
--- /dev/null
+++ b/dev-java/jsch/jsch-0.1.36-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.36-r1.ebuild,v 1.1 2008/01/10 13:34:28 elvanor Exp $
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-ant-2 java-osgi
+
+DESCRIPTION="JSch is a pure Java implementation of SSH2."
+HOMEPAGE="http://www.jcraft.com/jsch/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=virtual/jdk-1.4
+ >=dev-java/jzlib-1.0.3"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+src_compile() {
+ # for ANT_TASKS see
+ # https://bugs.gentoo.org/show_bug.cgi?id=200309
+ ANT_TASKS="none" eant -Dproject.cp="$(java-pkg_getjars jzlib)" dist $(use_doc)
+}
+
+src_install() {
+ java-osgi_newjar dist/lib/jsch*.jar "com.jcraft.jsch" "JSch" \
+ "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true, \
+com.jcraft.jsch.jcraft;x-internal:=true"
+
+ dodoc README ChangeLog || die
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc src/*
+ use examples && java-pkg_doexamples examples
+}
diff --git a/dev-java/jsch/jsch-0.1.36.ebuild b/dev-java/jsch/jsch-0.1.36.ebuild
index 474edbc26bc8..fec38e721649 100644
--- a/dev-java/jsch/jsch-0.1.36.ebuild
+++ b/dev-java/jsch/jsch-0.1.36.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.36.ebuild,v 1.2 2007/11/26 20:15:18 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.36.ebuild,v 1.3 2008/01/10 13:34:28 elvanor Exp $
JAVA_PKG_IUSE="doc source examples"