summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-09-20 15:27:41 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-09-20 15:39:53 -0500
commite5cd33906c732e7601a653eedf55c64af28cda0b (patch)
tree4b3a35b3ec523c6998d3c763d701171743d37fe6 /sys-cluster/kubectl
parentsys-cluster/kube-controller-manager: 1.20.11 bump (diff)
downloadgentoo-e5cd33906c732e7601a653eedf55c64af28cda0b.tar.gz
gentoo-e5cd33906c732e7601a653eedf55c64af28cda0b.tar.bz2
gentoo-e5cd33906c732e7601a653eedf55c64af28cda0b.zip
sys-cluster/kubectl: 1.20.11 bump
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.20.11.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index b0472450714e..8efe47a3b03a 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.19.14.tar.gz 33547290 BLAKE2B a35a51301a7c50bf46247ca0a3e341f1b2a479fcbb2d4c53abee20983892ec41d8e607e7e920f54f7ca2ade3ef32e5fe1e84e12eea5d154fc764319a7e37667a SHA512 9262cb6f21b7096121f4ae9dd14d8dcbcffb3c590cfee13aafe7152a585fcdf4c13ab8002553757c2c3288ebef1ad6f824e431b45a2751bcc8ad6e033409d6a2
DIST kubernetes-1.19.15.tar.gz 33569852 BLAKE2B b1c214b25f9fe5f860325382a99b36123913c98aedecf8d0778e9fb4c9308834c4e1d089e6b23f32f380997f26a9dcd7d0d5de45a5f87f9d4144538001d634ef SHA512 cdef25ab050df79a5fce824721920fedead8326b83b5134ef534a8b8671b58a122bd49598981cd86bdd6ab46fdc8b55ccee5fd9e4c725ddf261bf4178f264e0a
DIST kubernetes-1.20.10.tar.gz 34502658 BLAKE2B 273f47a8f99a52a9b1fa2ea8a755dd97d6b85c0bd516d162defe44ed32706f1661221c66eca148fc34978d2027eaf73a2605ba48f26e9fb223cf41cd0177cd56 SHA512 a196fb3c1251de8d3136dd6494b9223a05ed313069219da20b3066fabd26d3dd6752cf6f6c7b1522e4941bcde726099b80cf62f8c0e4752b0cdb9c83e02b4910
+DIST kubernetes-1.20.11.tar.gz 34514143 BLAKE2B 498107e2ef225964b28868ee1aa37721f7d667160b81f50b486ccfd961047a842dd00d7f75b03781e0891d5e735d93b19364ab31a111079317fffc0ff0b879be SHA512 eddf4690ec034c6b09c13e939d172e96072e131416b137022ed664ad5604446c8ca95038ff2f622b41a6d000900b836b0d708f75ac6c9574a7d1b262f73bba1a
DIST kubernetes-1.21.4.tar.gz 36099646 BLAKE2B b41b3581c3e0bc85a5e259df31c225c3deab3e67545f8a8439c3e77eeca1c5d0a5c76948565ebc46ac42790299581943042fa2bda71e6cf2616776a2f9453e08 SHA512 79aa3b13242bfdcee6cda1e542a7f4ca940caab35ff81f617295cb45d6a6ce3c1274d794c1de43a74c684dc371a01a062709da8cec4fe462b520bf804ae59c8e
DIST kubernetes-1.22.1.tar.gz 35986911 BLAKE2B f474963aafe63afec87ae113543aad1be000eb32df725254d28d44d1f4fa1bc7c0fac88d77ac58b9bf1dd67129e2c2d010e97368f5ba392bf3924dd8bfa3ebed SHA512 97d5644cd06c2a092338bddc6b5e5b4c538ae8055b5d7c9ea011a8454b191714864ab624657e88aa1d6e8939d1526a69d763b0126249bfbb5e96f62ecf4290a3
diff --git a/sys-cluster/kubectl/kubectl-1.20.11.ebuild b/sys-cluster/kubectl/kubectl-1.20.11.ebuild
new file mode 100644
index 000000000000..99f1f19c12d4
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.20.11.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021 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.15"
+
+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}
+}