summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-09-10 17:39:10 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-09-10 17:39:10 +0000
commitce896e4275742a76d5a44c2f0c18e043cb46b87a (patch)
treec8b661c521ff984e72b9d3b6d843f6aa9267af32 /dev-java/jsch
parentMoved from sleep to epause. (diff)
downloadgentoo-2-ce896e4275742a76d5a44c2f0c18e043cb46b87a.tar.gz
gentoo-2-ce896e4275742a76d5a44c2f0c18e043cb46b87a.tar.bz2
gentoo-2-ce896e4275742a76d5a44c2f0c18e043cb46b87a.zip
version bump + examples use, thanks too Carsten Frewert #99323
(Portage version: 2.0.52-r1)
Diffstat (limited to 'dev-java/jsch')
-rw-r--r--dev-java/jsch/ChangeLog8
-rw-r--r--dev-java/jsch/Manifest12
-rw-r--r--dev-java/jsch/files/digest-jsch-0.1.211
-rw-r--r--dev-java/jsch/jsch-0.1.18.ebuild8
-rw-r--r--dev-java/jsch/jsch-0.1.21.ebuild45
5 files changed, 61 insertions, 13 deletions
diff --git a/dev-java/jsch/ChangeLog b/dev-java/jsch/ChangeLog
index 5f0d920e52b8..addf3aa67465 100644
--- a/dev-java/jsch/ChangeLog
+++ b/dev-java/jsch/ChangeLog
@@ -1,6 +1,12 @@
# 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.28 2005/07/09 16:05:14 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.29 2005/09/10 17:39:10 axxo Exp $
+
+*jsch-0.1.21 (10 Sep 2005)
+
+ 10 Sep 2005; Thomas Matthijs <axxo@gentoo.org> jsch-0.1.18.ebuild,
+ +jsch-0.1.21.ebuild:
+ version bump + examples use, thanks too Carsten Frewert #99323
09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> -jsch-0.1.15.ebuild,
-jsch-0.1.16.ebuild, -jsch-0.1.17.ebuild, jsch-0.1.18.ebuild:
diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest
index 287a1dfed3b1..6937db294a4e 100644
--- a/dev-java/jsch/Manifest
+++ b/dev-java/jsch/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 6f88a537d862e16d426ab40c618c95c5 jsch-0.1.21.ebuild 1195
MD5 6f88a537d862e16d426ab40c618c95c5 jsch-0.1.18.ebuild 1195
MD5 b66ec78864feab0a559851b195864212 ChangeLog 3829
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 3ea4f3d468b864097aa05187c1c750ba files/digest-jsch-0.1.18 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCz/XU/rLF9B432nYRAn0fAJ0fj86qAgw+DYlAmyW7jPpR0viEJACdHJJp
-t2xB7+lY3Tvi9qD8Qoqa8Ck=
-=LN80
------END PGP SIGNATURE-----
+MD5 9c2139bf552960ccf4d9769acbfd3f86 files/digest-jsch-0.1.21 60
diff --git a/dev-java/jsch/files/digest-jsch-0.1.21 b/dev-java/jsch/files/digest-jsch-0.1.21
new file mode 100644
index 000000000000..0c76c16ce47f
--- /dev/null
+++ b/dev-java/jsch/files/digest-jsch-0.1.21
@@ -0,0 +1 @@
+MD5 93b523f2f72a157df143b3a9cc14aea9 jsch-0.1.21.zip 208524
diff --git a/dev-java/jsch/jsch-0.1.18.ebuild b/dev-java/jsch/jsch-0.1.18.ebuild
index bde78c146b2e..aa6c1f692bc5 100644
--- a/dev-java/jsch/jsch-0.1.18.ebuild
+++ b/dev-java/jsch/jsch-0.1.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.18.ebuild,v 1.11 2005/07/09 16:05:14 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.18.ebuild,v 1.12 2005/09/10 17:39:10 axxo Exp $
inherit java-pkg
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="jcraft"
SLOT="0"
KEYWORDS="x86 amd64 ppc sparc ppc64"
-IUSE="doc jikes source"
+IUSE="doc jikes source examples"
RDEPEND=">=virtual/jdk-1.4
>=dev-java/jzlib-1.0.3
@@ -37,5 +37,9 @@ 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
}
diff --git a/dev-java/jsch/jsch-0.1.21.ebuild b/dev-java/jsch/jsch-0.1.21.ebuild
new file mode 100644
index 000000000000..661509f2b900
--- /dev/null
+++ b/dev-java/jsch/jsch-0.1.21.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/09/10 17:39:10 axxo Exp $
+
+inherit java-pkg
+
+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 jikes 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 )
+ jikes? ( >=dev-java/jikes-1.17 )
+ ${RDEPEND}"
+
+src_compile() {
+ local antflags="dist"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ if ! use sparc; then
+ ant -lib $(java-pkg_getjars gnu-crypto,jzlib) ${antflags} || die "compilation failed"
+ else
+ ant -lib $(java-pkg_getjars jzlib) ${antflags} || die "compilation failed"
+ 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
+}