mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
sys-cluster/kubeadm: add 1.34.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
parent
c1201cab3e
commit
e7e185cc93
@ -4,3 +4,4 @@ DIST kubernetes-1.32.7.tar.gz 36377992 BLAKE2B d291530b62da3002f1f130a209a5eb20f
|
||||
DIST kubernetes-1.32.8.tar.gz 36375682 BLAKE2B 4bbde5510db51b3d016b6d7415bce25b716338bb016c1c31341da43d1fa49235c4486d501afffdbf4ecbc3e4e4bb5fe582c635c1b21378de2ab0fa2f051dadf4 SHA512 67c8b0d3b3375cc282ef04336268e2cdad7b25d4a44b1b0e21bed1c62367b891987ba7d7bca672f2551100ff60c87213e5c5087c6358dd7bf7923a9fe81a97e3
|
||||
DIST kubernetes-1.33.3.tar.gz 37087981 BLAKE2B c4ee725cddb3b06b348a8ab5adbe21fb625929e8ecf566eff7f2e7a8d74f515f448cddf143c065f3b6fff473e1149478d82819d61cc616db64b077482ef6a90c SHA512 6d58d2984665f8854ec7034ed26b98cfb9d05f2594f04ed020cc06c2c8bbb67443813f42db4325d3de8632547bb4c991608c3206807d546a707456898dd216ce
|
||||
DIST kubernetes-1.33.4.tar.gz 37075214 BLAKE2B 302d55ab0371b8cde9072d6ffe497d76094da6494b11defb3e8fab353a5e8175e59490cc8239f6f7136d200dd75dff43725a82859dd33ce4ac96acdbb8c999e8 SHA512 da6da0608cf79a45621a54666a4848858d976928447e03e64e2bc0c7e08d53957f7b78b53ffb51ad577091351034a609bc7bafebe88d85fddc9316bc8ae558b3
|
||||
DIST kubernetes-1.34.0.tar.gz 41105309 BLAKE2B f1b9a2814a6ac4e41c09fe3df9dfc550b8cea965dad9ce5dd320a2c91ec1ceee30672d18918589a1654f55af26cb491615f874ada50851f7ed2af8e75b7827b2 SHA512 80f3c77b3a40fb071145f5d4f2d610d787fe2b1ffb847ca3c0f6de0bd7835dda8e88a71b4ea6928fe839016808097b3bd5f04fde9c618e3fa7a72c1ee69c3f41
|
||||
|
||||
47
sys-cluster/kubeadm/kubeadm-1.34.0.ebuild
Normal file
47
sys-cluster/kubeadm/kubeadm-1.34.0.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module toolchain-funcs shell-completion
|
||||
|
||||
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"
|
||||
S=${WORKDIR}/kubernetes-${PV}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent licenses
|
||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="hardened selinux"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="app-containers/cri-tools
|
||||
selinux? ( sec-policy/selinux-kubernetes )"
|
||||
BDEPEND=">=dev-lang/go-1.24.6"
|
||||
|
||||
QA_PRESTRIPPED=usr/bin/kubeadm
|
||||
|
||||
src_compile() {
|
||||
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
|
||||
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
einfo "generating shell completion files"
|
||||
_output/bin/${PN} completion bash > ${PN}.bash || die
|
||||
_output/bin/${PN} completion zsh > ${PN}.zsh || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin _output/bin/${PN}
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newzshcomp ${PN}.zsh _${PN}
|
||||
else
|
||||
ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'"
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user