summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-09-18 14:10:43 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-09-18 14:10:55 -0500
commitcf9a60931c46ecd34c6bf62a61d89e50d5bd2869 (patch)
treebde8628c32e16b034dcdac39684eb888b001a208 /sys-cluster
parentsys-cluster/kube-controller-manager: add 1.22.14 (diff)
downloadgentoo-cf9a60931c46ecd34c6bf62a61d89e50d5bd2869.tar.gz
gentoo-cf9a60931c46ecd34c6bf62a61d89e50d5bd2869.tar.bz2
gentoo-cf9a60931c46ecd34c6bf62a61d89e50d5bd2869.zip
sys-cluster/kubectl: add 1.22.14
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.22.14.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index f534ad5bded0..7a0ecf13257e 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
diff --git a/sys-cluster/kubectl/kubectl-1.22.14.ebuild b/sys-cluster/kubectl/kubectl-1.22.14.ebuild
new file mode 100644
index 000000000000..f480c2f82844
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.22.14.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}
+}