diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-06-11 09:48:13 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-07-24 07:01:47 +0200 |
commit | baeef54e9f2ddbd92ac25fcb95cafb718ae2175c (patch) | |
tree | 465e90237d6a2d6f3941360a37b395638ebaab8b /dev-java | |
parent | dev-python/editdistance-s: Keyword 1.0.0 ppc64, #793794 (diff) | |
download | gentoo-baeef54e9f2ddbd92ac25fcb95cafb718ae2175c.tar.gz gentoo-baeef54e9f2ddbd92ac25fcb95cafb718ae2175c.tar.bz2 gentoo-baeef54e9f2ddbd92ac25fcb95cafb718ae2175c.zip |
dev-java/jsch-agent-proxy: new package
Snapshot because version 0.0.9 is not released
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/21197/commits/948cd3d9855edc264bbaa647f388ec300f3edba5
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jsch-agent-proxy/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jsch-agent-proxy/jsch-agent-proxy-0.0.9.ebuild | 109 | ||||
-rw-r--r-- | dev-java/jsch-agent-proxy/metadata.xml | 7 |
3 files changed, 117 insertions, 0 deletions
diff --git a/dev-java/jsch-agent-proxy/Manifest b/dev-java/jsch-agent-proxy/Manifest new file mode 100644 index 000000000000..e2a3213c4d20 --- /dev/null +++ b/dev-java/jsch-agent-proxy/Manifest @@ -0,0 +1 @@ +DIST jsch-agent-proxy-0.0.9.tar.gz 19040 BLAKE2B d20989663ed4544d60e890d48c8b3262184bbdf5bc6b8a42d8a008a0ad94831b283ec76382616a3df2f9ad677e59608920bcbc973f6da79d8e373dc21758ece8 SHA512 a80bb2cda8f0a96f4d069c64bc60633292fac46fcca94402f2c2762d3def94e3b9fef886b56e8f2b834141643173cea29ca678a61963fefa33fbb3cd56c1af88 diff --git a/dev-java/jsch-agent-proxy/jsch-agent-proxy-0.0.9.ebuild b/dev-java/jsch-agent-proxy/jsch-agent-proxy-0.0.9.ebuild new file mode 100644 index 000000000000..1d9101a28232 --- /dev/null +++ b/dev-java/jsch-agent-proxy/jsch-agent-proxy-0.0.9.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom jsch-agent-proxy-12c3d64fc2b0a4fd37659369edfdee26e48954e2/jsch-agent-proxy-jsch/pom.xml --download-uri https://github.com/ymnk/jsch-agent-proxy/archive/12c3d64fc2b0a4fd37659369edfdee26e48954e2.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild jsch-agent-proxy-0.0.9.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.jcraft:jsch.agentproxy.jsch:0.0.9" + +inherit java-pkg-2 java-pkg-simple + +MY_COMMIT="12c3d64fc2b0a4fd37659369edfdee26e48954e2" +DESCRIPTION="a proxy to ssh-agent and Pageant in Java" +HOMEPAGE="http://www.jcraft.com/jsch-agent-proxy/" +SRC_URI="https://github.com/ymnk/jsch-agent-proxy/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +# Common dependencies +# POM: ${PN}-12c3d64fc2b0a4fd37659369edfdee26e48954e2/${PN}-jsch/pom.xml +# com.jcraft:jsch:0.1.49 -> >=dev-java/jsch-0.1.54:0 +# com.jcraft:jsch.agentproxy.core:0.0.9 -> >=dev-java/jsch-agentproxy-core-0.0.9:0 + +CDEPEND=" + dev-java/jna:4 + dev-java/jsch:0 +" +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE.txt README README.md ) + +S="${WORKDIR}/jsch-agent-proxy-${MY_COMMIT}" + +JAVA_GENTOO_CLASSPATH="jna-4,jsch" +JAVA_GENTOO_CLASSPATH_EXTRA="jsch-agentproxy-core.jar:jsch-agentproxy-pageant.jar:jsch-agentproxy-sshagent.jar:jsch-agentproxy-usocket-jna.jar:jsch-agentproxy-usocket-nc.jar" + +src_compile() { + JAVA_SRC_DIR="${PN}-core" + JAVA_JAR_FILENAME="jsch-agentproxy-core.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-jsch" + JAVA_JAR_FILENAME="jsch-agentproxy-jsch.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-pageant" + JAVA_JAR_FILENAME="jsch-agentproxy-pageant.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-sshagent" + JAVA_JAR_FILENAME="jsch-agentproxy-sshagent.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-usocket-jna" + JAVA_JAR_FILENAME="jsch-agentproxy-usocket-jna.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-usocket-nc" + JAVA_JAR_FILENAME="jsch-agentproxy-usocket-nc.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR="${PN}-connector-factory" + JAVA_JAR_FILENAME="jsch-agentproxy-connector-factory.jar" + java-pkg-simple_src_compile + rm -fr target || die + + JAVA_SRC_DIR=( + "${PN}-core" + "${PN}-jsch" + "${PN}-pageant" + "${PN}-sshagent" + "${PN}-usocket-jna" + "${PN}-usocket-nc" + "${PN}-connector-factory" + ) + JAVA_JAR_FILENAME="ignoreme.jar" + java-pkg-simple_src_compile +} + +src_install() { + default + java-pkg_dojar "jsch-agentproxy-core.jar" + java-pkg_dojar "jsch-agentproxy-jsch.jar" + java-pkg_dojar "jsch-agentproxy-pageant.jar" + java-pkg_dojar "jsch-agentproxy-sshagent.jar" + java-pkg_dojar "jsch-agentproxy-usocket-jna.jar" + java-pkg_dojar "jsch-agentproxy-usocket-nc.jar" + java-pkg_dojar "jsch-agentproxy-connector-factory.jar" + + if use doc; then + java-pkg_dojavadoc target/api + fi + if use source; then + java-pkg_dosrc "${PN}-core" "${PN}-jsch" "${PN}-pageant" "${PN}-sshagent" "${PN}-usocket-jna" "${PN}-usocket-nc" "${PN}-connector-factory" + fi +} diff --git a/dev-java/jsch-agent-proxy/metadata.xml b/dev-java/jsch-agent-proxy/metadata.xml new file mode 100644 index 000000000000..0d49beafc75d --- /dev/null +++ b/dev-java/jsch-agent-proxy/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> +</pkgmetadata> |