summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2004-01-04 03:11:27 +0000
committerAdrian Almenar <strider@gentoo.org>2004-01-04 03:11:27 +0000
commitcebc74a53ba53358065767562d244186c7d3ce9d (patch)
treef1b8119a607718289fc0aba22046b22ca741cfa5 /dev-java/jsch
parentInitial import of Jsch, It builds from sources. Dependency required to build (diff)
downloadhistorical-cebc74a53ba53358065767562d244186c7d3ce9d.tar.gz
historical-cebc74a53ba53358065767562d244186c7d3ce9d.tar.bz2
historical-cebc74a53ba53358065767562d244186c7d3ce9d.zip
Initial import of Jsch, It builds from sources. Dependency required to build
Diffstat (limited to 'dev-java/jsch')
-rw-r--r--dev-java/jsch/Manifest5
-rw-r--r--dev-java/jsch/files/build.xml-dstamp.patch.gzbin0 -> 281 bytes
-rw-r--r--dev-java/jsch/files/digest-jsch-0.1.121
-rw-r--r--dev-java/jsch/jsch-0.1.12.ebuild36
-rw-r--r--dev-java/jsch/metadata.xml5
5 files changed, 45 insertions, 2 deletions
diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest
index 1b004aa6b641..245e0de65d0c 100644
--- a/dev-java/jsch/Manifest
+++ b/dev-java/jsch/Manifest
@@ -1,4 +1,5 @@
-MD5 974c7aa61f8cb01f4b8394a670d01d5e jsch-0.1.12.ebuild 1167
-MD5 d3e40af2b1633ec27b4d81a494141e1c ChangeLog 122
+MD5 2575ec9bb0f8252b325525a6d01467fe jsch-0.1.12.ebuild 919
+MD5 3a711c33405898bc107969d7288c4efb ChangeLog 445
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 132d7d835d6311ed4a1a7ad44c6ec2f5 files/build.xml-dstamp.patch.gz 281
MD5 8765f29e891d7792acffc44a43c47a28 files/digest-jsch-0.1.12 60
diff --git a/dev-java/jsch/files/build.xml-dstamp.patch.gz b/dev-java/jsch/files/build.xml-dstamp.patch.gz
new file mode 100644
index 000000000000..d430dc8a25be
--- /dev/null
+++ b/dev-java/jsch/files/build.xml-dstamp.patch.gz
Binary files differ
diff --git a/dev-java/jsch/files/digest-jsch-0.1.12 b/dev-java/jsch/files/digest-jsch-0.1.12
new file mode 100644
index 000000000000..6d56dc77170f
--- /dev/null
+++ b/dev-java/jsch/files/digest-jsch-0.1.12
@@ -0,0 +1 @@
+MD5 d7e56a0c2963f1f8fbaba96e8be11910 jsch-0.1.12.zip 180241
diff --git a/dev-java/jsch/jsch-0.1.12.ebuild b/dev-java/jsch/jsch-0.1.12.ebuild
new file mode 100644
index 000000000000..e8d462ec1c97
--- /dev/null
+++ b/dev-java/jsch/jsch-0.1.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.12.ebuild,v 1.1 2004/01/04 03:11:17 strider Exp $
+
+DESCRIPTION="JSch is a pure Java implementation of SSH2."
+HOMEPAGE="http://www.jcraft.com/jsch/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.zip"
+
+LICENSE="jcraft"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc jikes"
+RESTRICT="nomirror"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.4
+ jikes? ( >=dev-java/jikes-1.17 )"
+RDEPEND=">=virtual/jdk-1.4"
+
+src_compile() {
+ epatch ${FILESDIR}/build.xml-dstamp.patch.gz
+
+ local myc
+
+ if [ -n "`use jikes`" ] ; then
+ myc="${myc} -Dbuild.compiler=jikes"
+ fi
+
+ ANT_OPTS=${myc} ant || die "Failed Compiling"
+}
+
+src_install() {
+ dojar dist/lib/jsch.jar || die "Failed Installing"
+ dodoc LICENSE.txt README ChangeLog
+ cp -r examples ${D}/usr/share/doc/${PN}-${PV}
+}
diff --git a/dev-java/jsch/metadata.xml b/dev-java/jsch/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jsch/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>