summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-01-01 11:36:55 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-01-01 12:08:32 -0600
commit68d15e5706574fd7d5adf758081632bd8d3cde2e (patch)
tree48211c90685e2c8bce25a00daa63117efff28b6a /sys-cluster/kubectl
parentsys-cluster/kube-controller-manager: 1.21.8 bump (diff)
downloadgentoo-68d15e5706574fd7d5adf758081632bd8d3cde2e.tar.gz
gentoo-68d15e5706574fd7d5adf758081632bd8d3cde2e.tar.bz2
gentoo-68d15e5706574fd7d5adf758081632bd8d3cde2e.zip
sys-cluster/kubectl: 1.21.8 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubectl')
-rw-r--r--sys-cluster/kubectl/Manifest1
-rw-r--r--sys-cluster/kubectl/kubectl-1.21.8.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 8be2a6e8d6a2..cd1ec49e1f9a 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -5,6 +5,7 @@ DIST kubernetes-1.20.14.tar.gz 34554165 BLAKE2B 82935e3edb74a2640850ed248e808c78
DIST kubernetes-1.21.5.tar.gz 36128382 BLAKE2B 561de62a9be5c7bf49362732a098cc3bcadff9d006853de1beb73c2ae8def4249b9b3df4bd96a89aa4646929874ab2f0132212f38c98e411424f5887c02d6590 SHA512 bef73a90b31ea9c72070efc52c4e2c6aed1fde5bb0c2b391394148a394cf020071793b368a429e3d11f3e1afa24a3da9ec82b5ba64d61e2fd00209c796d5b7b3
DIST kubernetes-1.21.6.tar.gz 36137598 BLAKE2B f8c85793be4b155d55a88017b429890921b4344b3ba440132f8d1b6aa43ad98bd04e539b834c3f57ce660636aefce172a09b15abd0860cdb090f6748152f50bb SHA512 a53dc25aa091075d73b7f8ae9a518c019a16b821bce6cfe3ff191cf4098df8851de03ec0a9292e534045323b8300532a23e6caceae3e6dfaea00471eac16a223
DIST kubernetes-1.21.7.tar.gz 36151155 BLAKE2B 04cb352d1ddcbba26ad01926d1d34569d8436d4459e8a34b450797f6227397b99a04734b90c68eaf238b80bdaf9779c0ae1783cbde6a5c6452367689c0eb3c21 SHA512 42597aced63e8729b4b2bdd1d2b2b74920f0a70994018f1ffc83a559c52948fada251f3d3c34bc8b16e6c9a55f4547ff93f0ab1554e083d657d97fa2c845652f
+DIST kubernetes-1.21.8.tar.gz 36158244 BLAKE2B ec98f2d0dcc043b731bea5baa3e279dabffa1d76513dc128bf77a35998d449672689a8cc36795e248bbe52abd5f7263033eb07a07769d2f1f59bba062319b50a SHA512 aa324362a7aa5ef113e489296c9f87255326c2bfaf11eba4d02ce7b8a03b698bc0154db424d0838bf4a0ecadf83e8d588c78c1dcbe3841eec5ae8663d4596034
DIST kubernetes-1.22.2.tar.gz 35997127 BLAKE2B bcc5deb9f446032baeff60b3f75e11c75af0e69fd0e50df789d2b7b532f9e839875ef4227729166d667f022816b321bacf219b0fdeaa2d0da552587d4a9a4067 SHA512 81045b0432f60a865c79f408921ff7c5865cdcb297c4cf17f741a08a5fa0f2af9e8c938e54e73c532dbeb643316e8acf983a0e9203be8ce920c2ae588dec6554
DIST kubernetes-1.22.3.tar.gz 36006761 BLAKE2B d0ee379c1d30a5592b2423bf71733904c2d63b7a45b5b49d5a57bd3cdbacdd20d52cb1b3eb9aa7e586401505d8473a3a148e49b3d62715960755df0532b9822c SHA512 d2a4c6f2febbccb395478e88a49297fee627bfc843387a0ae607f655e72ae6b085489ac6cd3982481357c1c745a59d43a282b725e17659e60c178e6ab57c0ca6
DIST kubernetes-1.22.4.tar.gz 36022946 BLAKE2B 3e0b87add2b02e653edb6bb17db076cdaec625536ebab66239e4433c759efbc51ac0222898760f95e1154d7c3532c03565a54181015ddfb910ee55d963086c79 SHA512 b2b8060d031dac83c65e634ad14b804010036a7d74161dd37349f39974d862b10b48423c2dcb4e9ca9e775c94dbe9595d49e57c98a2e6a8d8335cb235ba342e0
diff --git a/sys-cluster/kubectl/kubectl-1.21.8.ebuild b/sys-cluster/kubectl/kubectl-1.21.8.ebuild
new file mode 100644
index 000000000000..f480c2f82844
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.21.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+DEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}