diff options
author | William Hubbs <williamh@gentoo.org> | 2023-08-25 12:42:15 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-08-25 12:52:12 -0500 |
commit | ec4b1a5d20c10cbe5ec28bc758ed3436157204ff (patch) | |
tree | c2f11e48363243c24c3fdfb3e099fba9a1b02c4d /sys-cluster/kubeadm | |
parent | sci-libs/datasets: add 2.13.1 (diff) | |
download | gentoo-ec4b1a5d20c10cbe5ec28bc758ed3436157204ff.tar.gz gentoo-ec4b1a5d20c10cbe5ec28bc758ed3436157204ff.tar.bz2 gentoo-ec4b1a5d20c10cbe5ec28bc758ed3436157204ff.zip |
sys-cluster/kubeadm: add 1.27.5
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.27.5.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index e9c816bc5e18..fc6b7fa6a6f2 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -9,4 +9,5 @@ DIST kubernetes-1.26.7.tar.gz 38498687 BLAKE2B 8a7ac29ea8cff64a0ed2a92fc89b3e2e8 DIST kubernetes-1.26.8.tar.gz 38511916 BLAKE2B 60e1277debcdf5b093629d718552948a240fe8db9678def0d222aa685b198c230b2cea7107f0340e89bb0de7ab51f4471b2ed30b466ba64dfe982fa3c1733e61 SHA512 38649d4c8a85e236a8ceffe5bba5146cf1a4eb9191534707dd39443303f99d830e95dc4e9be0febfb2a8bd4d0b57f13b5cb883b51fea57306f1f2ceff2052d69 DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced154664d20d66ad21e7cf3b6ed92a262f4d1a2dc5b22912b6cdca0a40fecdc262ae7124a2969955f234c49c0950ea68f171f SHA512 51cf0178c8a2a00798cc618c9918f556c418de137566db60a66a0c7556ee625b34cf86b1da241856599784588c0e3e8b81225dca627fea70a87c94adb073bb7a DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2 SHA512 0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec +DIST kubernetes-1.27.5.tar.gz 38204018 BLAKE2B 4b44430f7854fca70f650c31388b9d378218d6d4ed116659522542a0e199a19c65e152a4b7235ad5f5fe86753c3ee834ea162da9ff889e384bee780a61a39c42 SHA512 9237d03c3cc2374b1e3631f63ac850fc2461628785863c909972c85b74d9fd3c75dc286e0953059c1999457d2a43b474b1ec7b8c633e158aeb88f89e02e874f8 DIST kubernetes-1.28.0.tar.gz 42229948 BLAKE2B c514577fa3cdeee6fa1d6f488de74b56845e3cfaf7f810ecd4ec9c023f034e0c50b647ebf5b60eb26b9387b79d060a6aeee9eee43fab904094ec767603fc5c6d SHA512 dcb5f2ec3fec841a3a1678ac88473b355f13cad1543b5098a2f1fe1d217e34fb46727c1345bbd35945eb4164aa4fe069ebdefc2328c8797671caa9a5be0f8fd6 diff --git a/sys-cluster/kubeadm/kubeadm-1.27.5.ebuild b/sys-cluster/kubeadm/kubeadm-1.27.5.ebuild new file mode 100644 index 000000000000..6a547029ab05 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.27.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +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 selinux" + +BDEPEND=">=dev-lang/go-1.20" +RDEPEND="app-containers/cri-tools + selinux? ( sec-policy/selinux-kubernetes )" + +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} +} |