diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
commit | c3bc61051d7f12b4c682efa7a5460bbc8815649e (patch) | |
tree | b6d19e96ba3c397fb8278eeb9b68170db92630ba /dev-java/jsch | |
parent | 3517852e3b8a68d1e997770fc0650c5053bafc6c (diff) |
gentoo resync : 07.01.2022
Diffstat (limited to 'dev-java/jsch')
-rw-r--r-- | dev-java/jsch/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.54-r1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest index 5a288fe56eef..9f5c058a3d6d 100644 --- a/dev-java/jsch/Manifest +++ b/dev-java/jsch/Manifest @@ -1,3 +1,4 @@ DIST jsch-0.1.54.zip 365455 BLAKE2B 5cd6fa012e5a511bad8f23a233559e6ad6d600f39ea7b519e66e118b1fdb997491b7ac8cff5bc1491c28f7ee99f0f4a3b4727f5d8ec02030576f34949d74e203 SHA512 2ed29f07495fbc28d6eb7b4fe414e8a9a96b911b2feea5b1513cc48a9439adba12341bceb23a3ea9ab307e32d48bfd4356c7bc877c56e77f6f55d69214db3a9e +EBUILD jsch-0.1.54-r1.ebuild 1234 BLAKE2B f6a4146afce8d015bb762ba9c023ea866f5c6379ff295a7dc279693c397432c516dbfdb6fbf0b80657d6cc800d5890bc96daa1293c9ccf264dc78decd43336fa SHA512 e6876ac8e6adc5a4bcf4b1333e5a45f8f6b57992fa4dd0a1e8abedcb60c98b09c9bc73c0b4173a09f95309b4250b4746c767eaae706a44cec5125c94c1c10930 EBUILD jsch-0.1.54.ebuild 1202 BLAKE2B 118bff8b932f70f9fb70f2aab5c934870e89a806c3c8620554093735a2a5c0f6b7341737edbe0784fb215a8c8a18649d26aec29da1c3485b4d7d0621df0d49a2 SHA512 b0b9e7253f695136afbddf241a8690aba1790301dc849eb30f3fd3dd5d319efc1f8e3395f8da6eeed6764b55e72669f08dceef009eaa83196496c5046b30b3fa MISC metadata.xml 311 BLAKE2B a694ea0db3a5ed039fa56b939a9473672f07c927a6a9ca818ebe826b3a388edf16dfab642179044114bf6b0e7274a959b18361097d72207da5fba4a724781efa SHA512 7dfed16685de8168719b2874d46624ca519933aed410c451d77caf0811dee59391c5fcf05e390dd32f7bf4a1829d5bc8b810b7b7d993fa807d897c86961592d9 diff --git a/dev-java/jsch/jsch-0.1.54-r1.ebuild b/dev-java/jsch/jsch-0.1.54-r1.ebuild new file mode 100644 index 000000000000..99d5d3657c76 --- /dev/null +++ b/dev-java/jsch/jsch-0.1.54-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source examples" +MAVEN_ID="com.jcraft:jsch:0.1.55" + +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 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="zlib" + +CDEPEND=" + zlib? ( dev-java/jzlib:0 )" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8:*" + +BDEPEND=" + app-arch/unzip +" + +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" + + einstalldocs + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/* + use examples && java-pkg_doexamples examples +} |