commit:     067b1339a9c24f0ae8cde549141e9df9bc86ff8a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 17:57:50 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 17:57:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=067b1339

sys-cluster/kubelet: add 1.25.14

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kubelet/Manifest               |  1 +
 sys-cluster/kubelet/kubelet-1.25.14.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 932fbcc0b40d..727cd00fb1c0 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,6 +1,7 @@
 DIST kubernetes-1.24.17.tar.gz 38157141 BLAKE2B 
2a4c68946a446ff9f0adce53960a4282f85c4235efbd2e3f749892e7d3b3cba4e4b0ea3db770dd07772c862966da8f0b339338fa54dbb1860df424f66c24b7b0
 SHA512 
d5a1356d5937afcede59a54835456db7883f193ba46711a8c6a87636a7f79995458245cbe5b3b89a6c5f668febaf17ba82a21f80e49e68c86e8b87ffe4138b54
 DIST kubernetes-1.25.12.tar.gz 38481118 BLAKE2B 
bb345857ce5150d119d7d7bcd6e3ee5a39704599f3f37f49b29d6ed10cf60e25c2b7ce84a9614099d85adfc9b97580535875812e8ba6bcdd1d42bd6208c9fd99
 SHA512 
6b7b694d4897252772e12206a0658d9326069e5b5b34a4348eace341395619c07a52101bc37d6969082d4813a8a491f7d8e99f6b12003d8dfcd80ede7d41593c
 DIST kubernetes-1.25.13.tar.gz 38481625 BLAKE2B 
5c820f6907581286565cc250d63878c441eb15064badb6bfb02c646f5a98473f15916cf423975f9dfca6fef0a055d5bca073ff9bdefaafe0c54ce758f1781978
 SHA512 
fef096489879fce03355a965fbad8680c7904714fd87747d13b489f7d8052a5ca243ce7b5965282150222f8ffc2d2dbc8e41ef3f11c5de2f4009507cb0ded9d0
+DIST kubernetes-1.25.14.tar.gz 38489922 BLAKE2B 
f5bcd1cdee5427e1f5732bbed834a5255e5ee7cbcd0c3d7f6b36993a1c85efefe2acf9a5c8262853a5b95cdcb57ffe23a3bae8cc65a80ee19383720b4479b60a
 SHA512 
d62ce89540c431132056d379af7ed8581afa9830801cb5d9e7741a20fd1285922d3cf671ab9dcb239420c4a19d6edeee1f24f29521681cc184cf4a71a25e53d2
 DIST kubernetes-1.26.7.tar.gz 38498687 BLAKE2B 
8a7ac29ea8cff64a0ed2a92fc89b3e2e8620b88247b76467a226f667ea4bda952399c81edf810195ea663a6bf62c4127933e9ee05706393ef675e3e4fb01743f
 SHA512 
9069e653e87883e54df8e01edf2cce9d847a83d593f13e8281654653924586e73841d1ee302de4de93dadf2a2474e875cf350f03c2aec512c100cb3d4fb7d9c5
 DIST kubernetes-1.26.8.tar.gz 38511916 BLAKE2B 
60e1277debcdf5b093629d718552948a240fe8db9678def0d222aa685b198c230b2cea7107f0340e89bb0de7ab51f4471b2ed30b466ba64dfe982fa3c1733e61
 SHA512 
38649d4c8a85e236a8ceffe5bba5146cf1a4eb9191534707dd39443303f99d830e95dc4e9be0febfb2a8bd4d0b57f13b5cb883b51fea57306f1f2ceff2052d69
 DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B 
b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2
 SHA512 
0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec

diff --git a/sys-cluster/kubelet/kubelet-1.25.14.ebuild 
b/sys-cluster/kubelet/kubelet-1.25.14.ebuild
new file mode 100644
index 000000000000..ea082c4400a5
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.25.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 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.19"
+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="" 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
+}

Reply via email to