summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-07-13 10:29:16 +0200
committerWilliam Hubbs <williamh@gentoo.org>2022-07-16 20:20:41 -0500
commit2f326b56bdd8f909ca3a7d9640700163ab17d05b (patch)
treeaf120f86445dce21c68456229326b040aef87a6e /app-misc
parentapp-emacs/geiser-gambit: new package; add version 0.18.1 (diff)
downloadgentoo-2f326b56bdd8f909ca3a7d9640700163ab17d05b.tar.gz
gentoo-2f326b56bdd8f909ca3a7d9640700163ab17d05b.tar.bz2
gentoo-2f326b56bdd8f909ca3a7d9640700163ab17d05b.zip
app-misc/rundeck-cli-bin: add 2.0.1
Closes: https://github.com/gentoo/gentoo/pull/26378 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/rundeck-cli-bin/Manifest1
-rw-r--r--app-misc/rundeck-cli-bin/metadata.xml3
-rw-r--r--app-misc/rundeck-cli-bin/rundeck-cli-bin-2.0.1.ebuild22
3 files changed, 26 insertions, 0 deletions
diff --git a/app-misc/rundeck-cli-bin/Manifest b/app-misc/rundeck-cli-bin/Manifest
index ad6eeb775799..b6da4d3fb154 100644
--- a/app-misc/rundeck-cli-bin/Manifest
+++ b/app-misc/rundeck-cli-bin/Manifest
@@ -1 +1,2 @@
DIST rundeck-cli-0.1.11-all.jar 3447560 BLAKE2B e840d3b27dd173244781d1c37a6c3348d89896d3e81dd8fd36e7c3a33911228e46fff460d838d6c8d9bd79c254c9e469dd8b8e26bb645bd7334d38e04e257512 SHA512 3390d5b6ece391a9cf7754cc4c6d79a7720ac1db2f7a555d0b8216eea23feecc7e4cc947fb4c894362ece3bfaddcb383b7b10558d2e499e364e023c65636aa33
+DIST rundeck-cli-2.0.1-all.jar 7470231 BLAKE2B 485b229f49aaf6fda912ab822a7997f8889d487367dcd28ae7fea9e03947f369e1aa61902e5bd38f0990086fc9c73fc5b61426de03cedec33057dee58de49a68 SHA512 9242bff4f736bb324b4ff3321876160d71ff8703f8b6be263df638f5e07e3a78e9edf9a2f47076c0a763c23a403de65819afc0a52890d492669889b593e7f2ae
diff --git a/app-misc/rundeck-cli-bin/metadata.xml b/app-misc/rundeck-cli-bin/metadata.xml
index e8b9db973b54..6f8ff53657c1 100644
--- a/app-misc/rundeck-cli-bin/metadata.xml
+++ b/app-misc/rundeck-cli-bin/metadata.xml
@@ -12,4 +12,7 @@
<upstream>
<remote-id type="github">rundeck/rundeck-cli</remote-id>
</upstream>
+ <use>
+ <flag name="binary">Copy the precompiled jar file and skip the rest of src_compile</flag>
+ </use>
</pkgmetadata>
diff --git a/app-misc/rundeck-cli-bin/rundeck-cli-bin-2.0.1.ebuild b/app-misc/rundeck-cli-bin/rundeck-cli-bin-2.0.1.ebuild
new file mode 100644
index 000000000000..29fc22961306
--- /dev/null
+++ b/app-misc/rundeck-cli-bin/rundeck-cli-bin-2.0.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="+binary"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Command line tool for rundeck"
+HOMEPAGE="https://www.rundeck.com/open-source"
+SRC_URI="https://github.com/rundeck/rundeck-cli/releases/download/v${PV}/rundeck-cli-${PV}-all.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+binary"
+
+RDEPEND=">=virtual/jre-11:*"
+
+JAVA_MAIN_CLASS="org.rundeck.client.tool.Main"
+JAVA_BINJAR_FILENAME="rundeck-cli-${PV}-all.jar"