From 414962e708851c6dd60e03b8a37c6ee173fbc4ce Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 16 Dec 2024 08:14:02 -0600 Subject: sys-cluster/kubelet: add 1.29.12 Signed-off-by: William Hubbs --- sys-cluster/kubelet/Manifest | 1 + sys-cluster/kubelet/kubelet-1.29.12.ebuild | 38 ++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 sys-cluster/kubelet/kubelet-1.29.12.ebuild (limited to 'sys-cluster') diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 66350d8ae8ad..fc083b9df78e 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -1,5 +1,6 @@ DIST kubernetes-1.29.10.tar.gz 41207307 BLAKE2B 482a3f66bc2560cb193052aa632fa7def35766c48732678529b25eed1e83d4731289d8f20b368a8b6457c29f8a30e74f44f74e245fd163e1cf852dffa9f5858a SHA512 7608c554c4249ffd689e2c6379f648abf2a5afc032536adee16eab849b3b5b55c6868c935cb9a5be4a87134a2b07cb3678824888fb89c77eae9b49a128aec47e DIST kubernetes-1.29.11.tar.gz 41212802 BLAKE2B 5f6b6e81bc6f1350121ff4ea40ea49864e1150d537c99cfbd424f69d35ff407660a65a6e6802b0988896eeea2a9c376b5b0cc9bc4d1002cde4d38b2a5f71aebf SHA512 4b25cb37762803f7a796f887d610d8c95cf1651d94fd7cdf198a77edc26f9b9107b7cb36bcbe5178d44033780f38a2fe3587a50ab35fecf8aff3f5dd9931b2d8 +DIST kubernetes-1.29.12.tar.gz 41213761 BLAKE2B 5612ef1b1aabf4b28993effe3438f2fbde636dda09646480a87eaa109f69f876e17df6241556276279d92de93e483313e9f73b5d91730265ac778e877a95971d SHA512 b6d26f551f87c5650c2d9aed1fd572058ae404cffa56b8a0c3c2ee15cb58f9bfa63be218f025972bddfbdb9e79726ee357f9fafff582c4665043ccc1c672b010 DIST kubernetes-1.30.6.tar.gz 39612960 BLAKE2B cfc0c062348b703bce584f7b97b178f0f01b907b05fef81ccb61bbb17460b9b12a430c8606529d01afb148e75190cfad12b0dd798aa316be7ba3e78c8cef24f1 SHA512 c4b5ebb08dbd9daeac2f4da5a1b93c397473e7cf12439291ce80e43b4aae1d233c6e980a080b5c8aaa12e296aa04e068f8b00b23386b23802b99c2ce8f42c800 DIST kubernetes-1.30.7.tar.gz 39619882 BLAKE2B e019512760df75f7e03ad371b6da46eabdb2afc80238a0e3850fa8e2c1fe99d8eed0b82ee93751d6012323488cefffa2dbc58b340b0bf12059770f77207053f8 SHA512 f16d9e256ad763685b256647a6b8c07b136168bbea3a5338cee29d591e66dff984ecdb62480ba072573ddf4b3247f58b06147849e66f6e46dcced2f4413d2720 DIST kubernetes-1.31.0.tar.gz 39255058 BLAKE2B 65ad06c8e57eec7d1affce4d263fe0d6ca4c75543b658372efd37a84f4af7817d7f1134ca92102666e6df140645d7421d8927c1c50726199002462f58075fb8b SHA512 7848802bbd6d6818e55dca4741f4cf32ebd83b2f2f7914323235e0d016ed142feeea16556f6d5ffc7c8a57d122067cfc04e2c1e85368c1a562085e4f479b26c2 diff --git a/sys-cluster/kubelet/kubelet-1.29.12.ebuild b/sys-cluster/kubelet/kubelet-1.29.12.ebuild new file mode 100644 index 000000000000..91977a28275c --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.29.12.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +DESCRIPTION="Kubernetes Node Agent" +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.21.9" +RDEPEND="selinux? ( sec-policy/selinux-kubernetes )" + +RESTRICT+=" test " +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/kubernetes + newins "${FILESDIR}"/${PN}.env ${PN}.env +} -- cgit v1.2.3-65-gdbad