commit:     1d74083c18e8cbd3a7518cc42f1a7180c406a71a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 13:16:22 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 13:32:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d74083c

sys-cluster/kube-controller-manager: add 1.31.5

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

 sys-cluster/kube-controller-manager/Manifest       |  1 +
 .../kube-controller-manager-1.31.5.ebuild          | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-controller-manager/Manifest 
b/sys-cluster/kube-controller-manager/Manifest
index b02af228c9a0..b7d2b9f7d9ae 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -4,5 +4,6 @@ DIST kubernetes-1.30.7.tar.gz 39619882 BLAKE2B 
e019512760df75f7e03ad371b6da46eab
 DIST kubernetes-1.30.8.tar.gz 39619616 BLAKE2B 
47cef4db8b94bfbc7691daa3afdf409ff0bd1679ec179e17cf4126700b6b09fee9d2f133ab6ca42bd00eeb950e798576a09fedd5654306e209a0e97040c8e6ca
 SHA512 
09ebcb396b2d4109b1eb0802b635e649519dcb71ff3e6bac480f66fb66fe8a50784ce6cf245e55bca422320b3fa83b5703ce0de945c140523c3bc6558c7b26c4
 DIST kubernetes-1.31.3.tar.gz 36572445 BLAKE2B 
ada6c5620d01e721e20673bebb4edd70bd9e2e6684b1bc3a781d84ab16790b228119c825e5727b5350e6b3a118501e240d863988a5f266c84d2cf0e07ca02cb2
 SHA512 
9b3e2ceca89bb7d388868eda65ac29dbc7fa2425cc607bd6adeee104b3b2139b24c9042d6fc0ca9e7b80ac5a79a0754a7485a237fa4a14ed0e24340634776c38
 DIST kubernetes-1.31.4.tar.gz 36572367 BLAKE2B 
34ba7b018550d3a569fbe578392194225248988fd840d5f1958950419b898e6fb109da58fae05d683819d3e205e79f85e4f99caaed1b50536a865cc44e9a6377
 SHA512 
74e3b3a12f9b3322702f48b76b026fed5f2084181ab687acb109eff8b9f42a20067e173255b7ff4adb885525dff13a52d04055dae21b394275dd61c14040e0f6
+DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B 
bda8223b667bbf9153b9c0d383715d565aa6cb768d5f6313229eeefa0c17eef65f6072a04d8ce07145a11bf8ba5cece92241c3eff049fe2eece3e52230fceafa
 SHA512 
6c773d706cb45bf0d8cb18cbd718ab2053fd4d17ae4db35b9159b258b55dbef71d0f6fd6e6057d8b5e027bdfc9ffb7a0a4d2bc63d8f092c48f5b44f3cc73ff96
 DIST kubernetes-1.32.0.tar.gz 39162995 BLAKE2B 
72e717b1c3d2d40e46b236c5bdbc1dbe8aaca3b45a0a64dfd9fbd8dbcd7fd56202cb616f6fe35dbcba4d1cb2555c2fc6eba0c630662bb5e9c67763432ba14b9c
 SHA512 
baefc48e15e4ab72636db5d78cf606f586991674308492ff41907611f5630ac8c3e80a5468bd3d4f1379ab54645d4e167a0e1d217a406542b2e32fa9fdf1c549
 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B 
bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7
 SHA512 
060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322

diff --git 
a/sys-cluster/kube-controller-manager/kube-controller-manager-1.31.5.ebuild 
b/sys-cluster/kube-controller-manager/kube-controller-manager-1.31.5.ebuild
new file mode 100644
index 000000000000..a47c764457ef
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.31.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+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"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+       acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.23.0"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+               emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
+               WHAT=cmd/${PN}
+}
+
+src_install() {
+       dobin _output/bin/${PN}
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       insinto /etc/logrotate.d
+       newins "${FILESDIR}"/${PN}.logrotated ${PN}
+       keepdir /var/log/${PN}
+       fowners ${PN}:${PN} /var/log/${PN}
+}

Reply via email to