summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jsch/ChangeLog9
-rw-r--r--dev-java/jsch/jsch-0.1.41.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-java/jsch/ChangeLog b/dev-java/jsch/ChangeLog
index 43eab0b5df3a..8d53bee66417 100644
--- a/dev-java/jsch/ChangeLog
+++ b/dev-java/jsch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jsch
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.70 2008/10/27 23:20:07 ranger Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.71 2009/05/03 19:48:11 betelgeuse Exp $
+
+*jsch-0.1.41 (03 May 2009)
+
+ 03 May 2009; Petteri Räty <betelgeuse@gentoo.org> +jsch-0.1.41.ebuild:
+ Version bump. Fixes bug #268414.
27 Oct 2008; Brent Baude <ranger@gentoo.org> jsch-0.1.37-r1.ebuild:
stable ppc64, bug 242978
diff --git a/dev-java/jsch/jsch-0.1.41.ebuild b/dev-java/jsch/jsch-0.1.41.ebuild
new file mode 100644
index 000000000000..8f2f81933d96
--- /dev/null
+++ b/dev-java/jsch/jsch-0.1.41.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.41.ebuild,v 1.1 2009/05/03 19:48:11 betelgeuse Exp $
+
+EAPI="2"
+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="zlib"
+
+RDEPEND=">=virtual/jdk-1.4
+ zlib? ( dev-java/jzlib:0 )"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+EANT_BUILD_TARGET="dist"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+src_compile() {
+ if use zlib; then
+ EANT_EXTRA_ARGS="-Djzlib.available=true"
+ EANT_GENTOO_CLASSPATH="jzlib"
+ fi
+ java-pkg-2_src_compile
+}
+
+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
+}