diff options
author | William Hubbs <williamh@gentoo.org> | 2022-05-25 11:15:27 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-05-25 11:15:27 -0500 |
commit | 474249ccca60e43fef37fc81b3441571e5d73778 (patch) | |
tree | a51d88fd04cb069db610e91eefc56966118526cc /sys-cluster/kubeadm | |
parent | x11-drivers/xf86-video-mga: keyword 2.0.0 for ~loong (diff) | |
download | gentoo-474249ccca60e43fef37fc81b3441571e5d73778.tar.gz gentoo-474249ccca60e43fef37fc81b3441571e5d73778.tar.bz2 gentoo-474249ccca60e43fef37fc81b3441571e5d73778.zip |
sys-cluster/kubeadm: add 1.21.13
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubeadm')
-rw-r--r-- | sys-cluster/kubeadm/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubeadm/kubeadm-1.21.13.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index bbffe8013736..dcd5128ae59c 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -1,4 +1,5 @@ DIST kubernetes-1.21.11.tar.gz 36183641 BLAKE2B 81683c0f3d9d36aa21fb0bd8d771019af621947c772a9121b453c0c836e991f0812ef4bb0296db7fd0fab0794bbc9af9dbd4801b44d3f6422fa908da03b7de8b SHA512 9b8c92f277c2621015fab67832b8d89a9b2c0227a5ca884a58b959de717af9a3c601acaa6522d758673a628943b93ae23b8a95819b5daf4e0419509ec99408a6 +DIST kubernetes-1.21.13.tar.gz 36157422 BLAKE2B 413ba3589efd724cd05ab9df76c9ba1f116539ec71c8cad8169095410704e1ab732171b2140b522a5f5cc641a18dd78150e67cd64bc16088f491379957756133 SHA512 cc6e9e71816c1fac4cba6cd6aab1919d7c956947b71260ac958015797a856e978bb2f122ad989527c285721e0a03c3327cbe50557cb6717e7a3aad68f2e02dfd DIST kubernetes-1.22.8.tar.gz 36060758 BLAKE2B 8a9bb933aa7ecb07170065fb0b33805332cea5c4f8194d288c83ca907539dc207b878a03aa23ac62545ddbbc46d8896ce27dfd49791c01ef5d619e00c6564dbc SHA512 b55e1ca89349ab9d17a83b662ed9ea94f425bfad2fbbbff5918f48d831d5151036a44fc86c9eda1452a200abf5b39a9ebbba3560a8e90f49bbebb06597529a4a DIST kubernetes-1.23.5.tar.gz 38204715 BLAKE2B d42d9826704e923f4a25d788656909c641e77de19f483721436c6760d8d9b44c1805da5522c5a850fcbb0d86114057cf690607ff958536ef6af21e21a1d7b089 SHA512 4df849fcdf0d4ffd9552706600b43b9b248f9039ce05384fef859ce7479a9aa74b4a54a9a147b8be3db1c5c02274e71b31ae34700777fe010fb147cd132d80a2 DIST kubernetes-1.24.0.tar.gz 39810384 BLAKE2B eede08b189d42f3835da844510d27ce79ce6d7d2c5cff53e4a0b87f5622e16954390ec723caa6b2960fc63fab2c28fc2007e9227c9ba1e94f4bf5771160d0915 SHA512 7a52d789164928d98e687356b191d59fc69e9a36bade05b5a9a93f02f675a859a17a01ec0f6c5472d05783312cb07ed3acfec82dc79ed9a777ee80721b46eef0 diff --git a/sys-cluster/kubeadm/kubeadm-1.21.13.ebuild b/sys-cluster/kubeadm/kubeadm-1.21.13.ebuild new file mode 100644 index 000000000000..654b067fe403 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.21.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 Easily bootstrap a secure Kubernetes cluster" +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" + +RDEPEND="!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=-v 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} +} |