summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-12-12 13:12:43 -0600
committerWilliam Hubbs <williamh@gentoo.org>2021-12-12 13:12:43 -0600
commit61640fda6480287104cc7008c00a638e07f0827a (patch)
tree3bbfc9e9525df810d3642e1cf19ef976bce4f8db /sys-cluster
parentsys-cluster/kube-controller-manager: 1.20.13 bump (diff)
downloadgentoo-61640fda6480287104cc7008c00a638e07f0827a.tar.gz
gentoo-61640fda6480287104cc7008c00a638e07f0827a.tar.bz2
gentoo-61640fda6480287104cc7008c00a638e07f0827a.zip
sys-cluster/kubectl: 1.20.13 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubectl/Manifest1
-rw-r--r--sys-cluster/kubectl/kubectl-1.20.13.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 4db3e0ae34c4..a07612865faf 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.20.11.tar.gz 34514143 BLAKE2B 498107e2ef225964b28868ee1aa37721f7d667160b81f50b486ccfd961047a842dd00d7f75b03781e0891d5e735d93b19364ab31a111079317fffc0ff0b879be SHA512 eddf4690ec034c6b09c13e939d172e96072e131416b137022ed664ad5604446c8ca95038ff2f622b41a6d000900b836b0d708f75ac6c9574a7d1b262f73bba1a
DIST kubernetes-1.20.12.tar.gz 34540977 BLAKE2B 7e61a3ffc6053ed9e6985541cca65af8e4adfd032984d9f3aad36dc61a0deb5706dcbb05d0dda68f2d9d806ccf53580051702e1aa1b3ac5d612cd6dfea553ee8 SHA512 42f9d000454ae4717a9a7026fa0f1af192e160deddc6e44044993183036e67bdb9fdae02d9fcb7556370f75a44a739c49da5daf091d3b88b6dd4101e6aafe6ac
+DIST kubernetes-1.20.13.tar.gz 34541922 BLAKE2B 308a28be58e5a6f6a5dbfb8ce1b85b359f63ab0bee9a789daa1ae38c4d9b263f24738123d132a1ab750b88404d58575af2c1fdd9ebb6c95e9a9aace791150bc1 SHA512 4857bb1658327ff7fcbcdc21dce7c8e1cdc68890f3995649743b687a5f1b19b430c3d59caa1910691add530b73a2fc7e3b117016337089458f7b12ac57f25033
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
diff --git a/sys-cluster/kubectl/kubectl-1.20.13.ebuild b/sys-cluster/kubectl/kubectl-1.20.13.ebuild
new file mode 100644
index 000000000000..99f1f19c12d4
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.20.13.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}
+}