diff options
Diffstat (limited to 'sys-cluster/kubeadm')
-rw-r--r-- | sys-cluster/kubeadm/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubeadm/kubeadm-1.24.3.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index f9ebf6b49581..eefa1536495c 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -8,3 +8,4 @@ DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f DIST kubernetes-1.24.0.tar.gz 39810384 BLAKE2B eede08b189d42f3835da844510d27ce79ce6d7d2c5cff53e4a0b87f5622e16954390ec723caa6b2960fc63fab2c28fc2007e9227c9ba1e94f4bf5771160d0915 SHA512 7a52d789164928d98e687356b191d59fc69e9a36bade05b5a9a93f02f675a859a17a01ec0f6c5472d05783312cb07ed3acfec82dc79ed9a777ee80721b46eef0 DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104 +DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105 diff --git a/sys-cluster/kubeadm/kubeadm-1.24.3.ebuild b/sys-cluster/kubeadm/kubeadm-1.24.3.ebuild new file mode 100644 index 000000000000..0bc4d23fc42c --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.24.3.ebuild @@ -0,0 +1,33 @@ +# 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" + +BDEPEND=">=dev-lang/go-1.18.1" + +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} +} |