commit:     2fb0fd660ab2505456cdea3770503d4e0900dbe4
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 17:18:39 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 18:53:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb0fd66

sys-cluster/kube-apiserver: add 1.28.11

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

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

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index c857d3a957d7..fc1e5e5de3fa 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.27.10.tar.gz 39183865 BLAKE2B 
948197dbca1fd7d12d7d1947faa82b983189b9dc8f8af26f9b0ccf26629b7daa609b85c492dc977adc9a6e095f30bb38cafea9e1feb06aabba1847a364277af0
 SHA512 
cb0e2c9186d2d504c28a02b4a3e222b766fdc942226853b4669a505313abc2fef76ebdc36677ca8bf55bfbe5aaeafdc2e6fa053dbd85779eb824395bffa08060
 DIST kubernetes-1.27.12.tar.gz 39200862 BLAKE2B 
ce4112403399121bfd71ec61fe4c434a6a0b6a732f8abb965c213a2675a7ebf94b3fe8c4293917aaaaadadc1fecf98f0fb290a6c9758c27478a52efc52a426c8
 SHA512 
524138b1294e845d2bfd4e4f488abcf4aa9606df11c03019b09fe60bc35816c268251cadab4b657e129fddd795383b7b84ce181814780d6861dfdf1c51c59923
+DIST kubernetes-1.28.11.tar.gz 40007157 BLAKE2B 
93afb8552627861c0d49cfc343cceaeb961939b8748cd125cc65b01f27b35c877007e3a1bfe416f2abcc5aa2bf5ee82673dad4a7276c1f4aaaf0a6b9abd9df19
 SHA512 
31c721b9fa5f73fd216587073e3308249bdb9a28b8534415e99d2630529f1a85fb7a6b18eb91f1b6bbd3f21dfdc6aa1ad0fe6ce257263e34b7fe7bd5cbbd584b
 DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B 
d492139efad8328ee1024445e568e4b446af3ba7f9c39b748eb005198b6ad448eca71cd5ad698ba5dd1fcaef727b6b3884e7bfbad0cc8ae7b7cdfc858f8a712c
 SHA512 
bdb20da05001c67418e9e9c6d2640b974a1690bbdad7d0ede6ab1577d9bca0e998802737ceccc023fd34fd2f0e63cc7b1b9c2a90ee7d24429f8109b9393d7551
 DIST kubernetes-1.28.8.tar.gz 39978242 BLAKE2B 
3e2aaa7e79ccb5f9f71be0e6c33b58237d297b79cd4f5d5bb4b09e7196d933dcb2aa8cafb9e74360e204116c8684a7263ac4db6dc257adc77a98d31c22a502e8
 SHA512 
2bbc48394784b34712c6b419cd07971780410223e7015c5fe6ed2c25c4e9499e81c9ea1f4269d399fd7e908971f5b8e873595d2b67332f7b49f61a5411a2aed1
 DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B 
d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779
 SHA512 
aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.28.11.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.28.11.ebuild
new file mode 100644
index 000000000000..cdf98b8db32f
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.28.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+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-apiserver
+       acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.20"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+       CGO_LDFLAGS="$(usex hardened '-fNO-PIC ' '')" FORCE_HOST_GO="yes" \
+               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