diff options
Diffstat (limited to 'dev-java/jsch')
-rw-r--r-- | dev-java/jsch/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jsch/files/digest-jsch-0.1.36-r1 | 3 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.36-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.36.ebuild | 4 |
4 files changed, 51 insertions, 4 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/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" |