summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-08-20 16:13:09 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-08-20 16:13:09 -0500
commit1a065f7ca14b0cbccab5596f4aef23dfa06fe311 (patch)
tree779fa2b0ac09a8393c4e08ef5cbc3b7e93c1ad21 /sys-cluster/kubectl
parentsys-cluster/kube-controller-manager: add 1.22.13 (diff)
downloadgentoo-1a065f7ca14b0cbccab5596f4aef23dfa06fe311.tar.gz
gentoo-1a065f7ca14b0cbccab5596f4aef23dfa06fe311.tar.bz2
gentoo-1a065f7ca14b0cbccab5596f4aef23dfa06fe311.zip
sys-cluster/kubectl: add 1.22.13
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.22.13.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index eeccf91ca4c7..867a4902f64e 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
diff --git a/sys-cluster/kubectl/kubectl-1.22.13.ebuild b/sys-cluster/kubectl/kubectl-1.22.13.ebuild
new file mode 100644
index 000000000000..f480c2f82844
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.22.13.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}
+}