diff options
author | William Hubbs <williamh@gentoo.org> | 2023-08-25 10:20:59 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-08-25 10:51:21 -0500 |
commit | 59ffab5c4e512bc25c9c76ceda8e8f088bbbe327 (patch) | |
tree | 09a7e232296d9ae0ee9c969f42a46eb07e17d98f /sys-cluster/kubectl | |
parent | sys-cluster/kube-controller-manager: add 1.24.17 (diff) | |
download | gentoo-59ffab5c4e512bc25c9c76ceda8e8f088bbbe327.tar.gz gentoo-59ffab5c4e512bc25c9c76ceda8e8f088bbbe327.tar.bz2 gentoo-59ffab5c4e512bc25c9c76ceda8e8f088bbbe327.zip |
sys-cluster/kubectl: add 1.24.17
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubectl')
-rw-r--r-- | sys-cluster/kubectl/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubectl/kubectl-1.24.17.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index e2cd820d0c3d..55a79e5f54f0 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,5 +1,6 @@ DIST kubernetes-1.24.14.tar.gz 37908337 BLAKE2B 08f52b611bea49f1c204a4fb956d87be6f571ef122b4cc10101862c61d11751d944d9140c4355be95759f83240cb8a3d4879c72e077bdc10f235d03b1a0f99f7 SHA512 74cee62fdc7e0dca1430688e832d3b308b6604dee6ca88d5f19fd6b6a9c83833d003ae87d8a09866e2e8fd01cbde0a6ae4bd126f9845f770c76942f1772f04bb DIST kubernetes-1.24.15.tar.gz 38151496 BLAKE2B 47064fefb135031ed220341d34519b4ee2e6fb5996e4bacdfd94e5dd01c1e70b0ca56c0eda45208039004ab9f0f2c3d1de3d77f450d7a59ab5ccd1c6e4dc8b0e SHA512 48e450c76fe3c9bd8460a18bbff204ba7b548c807f984ba86ff388206bfc8a178d96718df377a354c88a99c66b54013ee85ba18b7778bd68cee610955abf2498 +DIST kubernetes-1.24.17.tar.gz 38157141 BLAKE2B 2a4c68946a446ff9f0adce53960a4282f85c4235efbd2e3f749892e7d3b3cba4e4b0ea3db770dd07772c862966da8f0b339338fa54dbb1860df424f66c24b7b0 SHA512 d5a1356d5937afcede59a54835456db7883f193ba46711a8c6a87636a7f79995458245cbe5b3b89a6c5f668febaf17ba82a21f80e49e68c86e8b87ffe4138b54 DIST kubernetes-1.25.11.tar.gz 38468419 BLAKE2B fa90ffc6fdcba31f4fb70f7ea9cecae5d8e42efb0596abb2aa638e9d235f770cf4772cfa926b3e1a59fa37ae84bc1524d803215d4eccc04cc1d38ec4b884a9fa SHA512 e3805cf6ad4e5b4ce5fb53a73873a3e447cc62b26f106afa1eec21071a7912cfd2e972f27f40c183af3e67a8ac107adc97d63a303b844dcae62e5efa0e1879a5 DIST kubernetes-1.25.12.tar.gz 38481118 BLAKE2B bb345857ce5150d119d7d7bcd6e3ee5a39704599f3f37f49b29d6ed10cf60e25c2b7ce84a9614099d85adfc9b97580535875812e8ba6bcdd1d42bd6208c9fd99 SHA512 6b7b694d4897252772e12206a0658d9326069e5b5b34a4348eace341395619c07a52101bc37d6969082d4813a8a491f7d8e99f6b12003d8dfcd80ede7d41593c DIST kubernetes-1.26.6.tar.gz 38489671 BLAKE2B 94b37634fec8f1b19953f0433038e289fe86626db8962e90a52ee82b502251fd2fbae0bb402aff53a8d975d6912a942d0909b7c66b0d38b406ebdbee71d0d97c SHA512 02a6ce3c0ec44dce5b03b97d4a544ac96d43a2342f172c176cbe83b269ffec4c3704f01f620eb11cfdc61728f8431ab6ffdbecc21e0cb29cb388b62c1a930cdf diff --git a/sys-cluster/kubectl/kubectl-1.24.17.ebuild b/sys-cluster/kubectl/kubectl-1.24.17.ebuild new file mode 100644 index 000000000000..cb0239165ac7 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.24.17.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2023 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" + +BDEPEND=">=dev-lang/go-1.18.1" + +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} +} |