diff options
author | William Hubbs <williamh@gentoo.org> | 2022-09-18 16:39:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-09-18 16:39:10 -0500 |
commit | 9121bf6d264404f493c042174a0a1e7515a19370 (patch) | |
tree | c80b5d7f2c5b46b224f83c77d1367f86a0af5a0a /sys-cluster | |
parent | sys-cluster/kube-controller-manager: add 1.25.1 (diff) | |
download | gentoo-9121bf6d264404f493c042174a0a1e7515a19370.tar.gz gentoo-9121bf6d264404f493c042174a0a1e7515a19370.tar.bz2 gentoo-9121bf6d264404f493c042174a0a1e7515a19370.zip |
sys-cluster/kubectl: add 1.25.1
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.25.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 974fa2d54a1e..1701b79b4ac7 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f73 DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05 DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3 DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc +DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430 diff --git a/sys-cluster/kubectl/kubectl-1.25.1.ebuild b/sys-cluster/kubectl/kubectl-1.25.1.ebuild new file mode 100644 index 000000000000..293f7d962b1f --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.25.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2022 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.19" + +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} +} |