summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/Manifest.gzbin32210 -> 32208 bytes
-rw-r--r--app-admin/hcloud/Manifest2
-rw-r--r--app-admin/hcloud/hcloud-1.32.0.ebuild34
3 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index e52fd936ab28..a4df01a6a9d6 100644
--- a/app-admin/Manifest.gz
+++ b/app-admin/Manifest.gz
Binary files differ
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 477d8efef8aa..e58499c14075 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,3 +1,5 @@
DIST hcloud-1.31.1.tar.xz 1735560 BLAKE2B 66b2deaefbf61a72bf6a9e004c29d1198e5cfd40956e9936d5db27903aff5f8151c230da61b33ce4231885613d53ba5c96f99fb10df03fdcc241ec32fa465de5 SHA512 b61683ea54455be1db0ae196615642d0247e56ca51f3848847fba09124a45606aea2495f4408694acc5e819d9dc79ffdb2b9ce4e85aade7dea0335be94461066
+DIST hcloud-1.32.0.tar.xz 1812752 BLAKE2B b49ee516d2560918f39f657d38b37d2ea4c1136b2c3a12648f48d91f1b5977f9f25c99a70a271d0f21a6ffd9d92efba9e089ec58ca39be3ef3db50138094a5a7 SHA512 7ef3ede11c08fc4b5241f797c2c64963c57c46c281e532e7b760d13d4abe7d5d032accf5fcece24e145ad14e0ccf0be3471b6d1a7100c8631ad447aebcebd9d3
EBUILD hcloud-1.31.1.ebuild 725 BLAKE2B a29556a8792e60682acd0cc250125579771cd4a9c02fa8a09b9b325342c808dba1b56173a0df67906cec11ca99cd50ef60d735f81588950b2688bef60d16121a SHA512 6a4e0d0449abf54f01a1f3df27a157b88241174f07d2f2b88b9eca8564263fc9eaf73f8fbd50e10bf0cacc4244c72557f4e399b334535ce533aaad5a7da00561
+EBUILD hcloud-1.32.0.ebuild 726 BLAKE2B 802a45912528b9ecc029b0cd9ee7a8029ba75db67dccef14ed38342e69b1284f0f04b727ad5afa96344b99432406d0fdfa9020fa5fcf8b8ef615b830c2fea76e SHA512 561a023615e3308544fb48376df6a41b0e2a9ebbd43632c4ee9fa28fa6c0df145282eb486bedb271042c17ade87dca9e4ff821f46efa3e0cdb93eeb32aff0702
MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde
diff --git a/app-admin/hcloud/hcloud-1.32.0.ebuild b/app-admin/hcloud/hcloud-1.32.0.ebuild
new file mode 100644
index 000000000000..c9186ddd8470
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.32.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A command-line interface for Hetzner Cloud"
+HOMEPAGE="https://github.com/hetznercloud/cli"
+SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+DEPEND="dev-lang/go:="
+RESTRICT="strip"
+QA_FLAGS_IGNORED=".*"
+
+src_compile() {
+ go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed"
+}
+
+src_test() {
+ # For upstream a simple test is run 'hcloud version'
+ ./hcloud version
+ if [[ $? -ne 0 ]]
+ then
+ die "Test failed"
+ fi
+}
+
+src_install() {
+ dobin ${PN}
+}