diff options
author | William Hubbs <williamh@gentoo.org> | 2024-08-22 18:57:16 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-08-22 19:13:29 -0500 |
commit | e5e4424270fa3e9a85936b25d7b328b7cb6dcd3f (patch) | |
tree | 2cabb735b3ed86eaeab20fc8d5b9f14473fa1cf7 /sys-cluster | |
parent | sys-cluster/kube-controller-manager: add 1.28.13 (diff) | |
download | gentoo-e5e4424270fa3e9a85936b25d7b328b7cb6dcd3f.tar.gz gentoo-e5e4424270fa3e9a85936b25d7b328b7cb6dcd3f.tar.bz2 gentoo-e5e4424270fa3e9a85936b25d7b328b7cb6dcd3f.zip |
sys-cluster/kubectl: add 1.28.13
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kubectl/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubectl/kubectl-1.28.13.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index f2c3fa25387c..24fe96940f4c 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,5 +1,6 @@ DIST kubernetes-1.28.11.tar.gz 40007157 BLAKE2B 93afb8552627861c0d49cfc343cceaeb961939b8748cd125cc65b01f27b35c877007e3a1bfe416f2abcc5aa2bf5ee82673dad4a7276c1f4aaaf0a6b9abd9df19 SHA512 31c721b9fa5f73fd216587073e3308249bdb9a28b8534415e99d2630529f1a85fb7a6b18eb91f1b6bbd3f21dfdc6aa1ad0fe6ce257263e34b7fe7bd5cbbd584b DIST kubernetes-1.28.12.tar.gz 40019159 BLAKE2B 65028055409942e46d9df8bbf1ff85e5334cdf140ec62a5c5facac663ec28e2d8c4b201a7d028f61b67afb4ad8789131cf1324a3f485f1be5f4bc561a0c40572 SHA512 47003a09fcf5844a1e7256554036a361aee9eb953228fd745ac354aceae81e98422991fa92bce5aac358066062c2e6975ae991b827afcc35aa5687461841fd5e +DIST kubernetes-1.28.13.tar.gz 40024802 BLAKE2B cfb467cf508b285dba2a582bdb1dcf4b20bc3139f0568b4d383fa6498e6c2630b5d3701b300e1cf470306bad0b10db99b39262af66c33fa8b800e872fcb6a49f SHA512 263cdac1ba804e3319bb9547a37b19ce73490055fd053a914e554c03d21cbf3597d49e226b55e525bee63cfdfd6a5549cc86253d396ec0e606e048a1e8d1c693 DIST kubernetes-1.29.6.tar.gz 41177485 BLAKE2B c02b17fe4cb2314a005180ba6813d056f49e980af9a96f392d9e46b7b436e062fbabf2f64b996e23c7a84db9f3970a1a24dc63d5ee0ac3029e375cfdec47f473 SHA512 d7b1401a6844c8e43a822b4f062ea4cc58f8fefd74c31a2936e9121220f30e9bcb9358683836d68f66cb28451cf3462a1c2c81f85f9ea53b4e919a370d3245e2 DIST kubernetes-1.29.7.tar.gz 41180322 BLAKE2B bb107378b6879a87186f9366ec372a1e88a5231609deffd82c72d94af6835e38f261b7116199c5bf734b2f4e0fc1c8f6a6e63e97b1563a5642440ab76a74ba8f SHA512 bce18d12164704f4d55d7566737bdff8305c5613af7a8df4b49cfa5f90f6b51f879159c4da7fbe436fdf7c4fcf5331f3f35e63f8dbc4c833559e6e2b1a61d08f DIST kubernetes-1.30.2.tar.gz 39581297 BLAKE2B 7d1f303d21b870ad29d2cac96626edc3a19addedd544624e5cd9f42beb368e0959e499e5fd88bc7ee491a01cd29573115d1e77dfb73098ea88204a2614f7b635 SHA512 73f87da96fae889805e3e8fe644228159746c139e907755ec8654dd2fe46bf4561c6c5bb015bd95a6a1f5ba9be2e193aea9bb43b37ce1d67fb4ba42a50b9dac8 diff --git a/sys-cluster/kubectl/kubectl-1.28.13.ebuild b/sys-cluster/kubectl/kubectl-1.28.13.ebuild new file mode 100644 index 000000000000..d9e842902c85 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.28.13.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +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" + +BDEPEND=">=dev-lang/go-1.21.9" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + 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} +} |