commit:     18cab2459b37b33be5564c2e9fe5bfa1ff346a65
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 20:26:55 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 20:26:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18cab245

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

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

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

diff --git a/sys-cluster/kube-controller-manager/Manifest 
b/sys-cluster/kube-controller-manager/Manifest
index cf8dfe556ade..828e0d8f2c97 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 
62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287
 SHA512 
96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
 DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 
6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9
 SHA512 
160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.23.13.tar.gz 38244983 BLAKE2B 
c369a4d0d3c77e2f7fb9f20e356e331bdd545a871a4d780762a428bdd6213d88a161b67e83b95ecf0f22888f8850537dd840fe34b4d9ca2843513bdaf91a8aa4
 SHA512 
213f887c4eac39123771985016d6a4e70111b4b67355b9787cf54b0e308296c7fb199aa4bb06522047140d66279e00834ab89362a1a8a90c4490d085710a3a08
 DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 
2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36
 SHA512 
d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
 DIST kubernetes-1.24.7.tar.gz 37998962 BLAKE2B 
08cf155d4cd01d56de405cc809844e7f60fd5b7d5fb5ef0eb686cd24561f4ba0a0fbbdbdfd0bbf37c3fd113d9240909da28dab8447d57f79d9d08d952fe67617
 SHA512 
35612859f7b62c027b6edfb6f91ab81af97c711cf0648dbd6bf69665b7c480fa9c0b3f012709401b1a78fef761cee4455a4172f8545b33147911140943636446
 DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B 
f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d
 SHA512 
6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430

diff --git 
a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.13.ebuild 
b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.13.ebuild
new file mode 100644
index 000000000000..8a6411803c93
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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.17"
+
+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}
+       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