summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-21 01:48:25 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-21 01:48:25 +0000
commit1acdab26c442e7133bc6f453b2322cb43b7a6843 (patch)
tree5c1e068b2be4cfc7673b8ab58503ffc672df4f98 /dev-java/jsch
parentRevision bump to use new Java system. (diff)
downloadgentoo-2-1acdab26c442e7133bc6f453b2322cb43b7a6843.tar.gz
gentoo-2-1acdab26c442e7133bc6f453b2322cb43b7a6843.tar.bz2
gentoo-2-1acdab26c442e7133bc6f453b2322cb43b7a6843.zip
Revision bump to use new Java system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java/jsch')
-rw-r--r--dev-java/jsch/ChangeLog9
-rw-r--r--dev-java/jsch/files/digest-jsch-0.1.212
-rw-r--r--dev-java/jsch/files/digest-jsch-0.1.21-r13
-rw-r--r--dev-java/jsch/jsch-0.1.21-r1.ebuild42
4 files changed, 54 insertions, 2 deletions
diff --git a/dev-java/jsch/ChangeLog b/dev-java/jsch/ChangeLog
index addf3aa67465..80722641b086 100644
--- a/dev-java/jsch/ChangeLog
+++ b/dev-java/jsch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jsch
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.29 2005/09/10 17:39:10 axxo Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.30 2006/07/21 01:48:25 nichoj Exp $
+
+*jsch-0.1.21-r1 (21 Jul 2006)
+
+ 21 Jul 2006; Joshua Nichols <jnichols@gentoo.org> +jsch-0.1.21-r1.ebuild:
+ Revision bump to use new Java system.
*jsch-0.1.21 (10 Sep 2005)
diff --git a/dev-java/jsch/files/digest-jsch-0.1.21 b/dev-java/jsch/files/digest-jsch-0.1.21
index 0c76c16ce47f..563b8752086a 100644
--- a/dev-java/jsch/files/digest-jsch-0.1.21
+++ b/dev-java/jsch/files/digest-jsch-0.1.21
@@ -1 +1,3 @@
MD5 93b523f2f72a157df143b3a9cc14aea9 jsch-0.1.21.zip 208524
+RMD160 bcf6cddf9d5642f6eb60100d42c2bc2ce40d195d jsch-0.1.21.zip 208524
+SHA256 c0accbb11a9cec02eb03453f836b68bc17c03905732c99a7aa789ef394b14b62 jsch-0.1.21.zip 208524
diff --git a/dev-java/jsch/files/digest-jsch-0.1.21-r1 b/dev-java/jsch/files/digest-jsch-0.1.21-r1
new file mode 100644
index 000000000000..563b8752086a
--- /dev/null
+++ b/dev-java/jsch/files/digest-jsch-0.1.21-r1
@@ -0,0 +1,3 @@
+MD5 93b523f2f72a157df143b3a9cc14aea9 jsch-0.1.21.zip 208524
+RMD160 bcf6cddf9d5642f6eb60100d42c2bc2ce40d195d jsch-0.1.21.zip 208524
+SHA256 c0accbb11a9cec02eb03453f836b68bc17c03905732c99a7aa789ef394b14b62 jsch-0.1.21.zip 208524
diff --git a/dev-java/jsch/jsch-0.1.21-r1.ebuild b/dev-java/jsch/jsch-0.1.21-r1.ebuild
new file mode 100644
index 000000000000..b7d85e760ab8
--- /dev/null
+++ b/dev-java/jsch/jsch-0.1.21-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.21-r1.ebuild,v 1.1 2006/07/21 01:48:25 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="JSch is a pure Java implementation of SSH2."
+HOMEPAGE="http://www.jcraft.com/jsch/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+LICENSE="jcraft"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc source examples"
+
+RDEPEND=">=virtual/jdk-1.4
+ >=dev-java/jzlib-1.0.3
+ !sparc? ( dev-java/gnu-crypto )"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6
+ app-arch/unzip
+ source? ( app-arch/zip )
+ ${RDEPEND}"
+
+src_compile() {
+ local antflags="dist $(use_doc)"
+ if ! use sparc; then
+ eant -lib $(java-pkg_getjars gnu-crypto,jzlib) ${antflags}
+ else
+ eant -lib $(java-pkg_getjars jzlib) ${antflags}
+ fi
+}
+
+src_install() {
+ java-pkg_newjar dist/lib/jsch*.jar jsch.jar
+ use doc && java-pkg_dohtml -r javadoc/*
+ use source && java-pkg_dosrc src/*
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples/
+ cp -r examples/* ${D}/usr/share/doc/${PF}/examples/ || die
+ fi
+ dodoc README ChangeLog
+}