commit:     fa4984fd86052f0bb134626bbd52c7773c59fbdc
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 13:43:40 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 13:53:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4984fd

sys-cluster/kube-apiserver: add 1.29.13

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

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

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index c75c78c0b766..a8bc7f2a1897 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,6 @@
 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.29.13.tar.gz 41213750 BLAKE2B 
315e2470fa078edf123fc6c4c691d781fdcce0353ddfef83132a36291979e7a4098c725fa858cfeba0d6e310bc74c5c18027c9930d100e73a38abf29f98fe333
 SHA512 
7eb00c3b0352ed079b265e578267e3b8dbadda2ca3cc514857f524a90428224bdf71f67e4196986cb042b7310e0322b4e31454fd5d3f1bd21f43362de2dce6b4
 DIST kubernetes-1.30.7.tar.gz 39619882 BLAKE2B 
e019512760df75f7e03ad371b6da46eabdb2afc80238a0e3850fa8e2c1fe99d8eed0b82ee93751d6012323488cefffa2dbc58b340b0bf12059770f77207053f8
 SHA512 
f16d9e256ad763685b256647a6b8c07b136168bbea3a5338cee29d591e66dff984ecdb62480ba072573ddf4b3247f58b06147849e66f6e46dcced2f4413d2720
 DIST kubernetes-1.30.8.tar.gz 39619616 BLAKE2B 
47cef4db8b94bfbc7691daa3afdf409ff0bd1679ec179e17cf4126700b6b09fee9d2f133ab6ca42bd00eeb950e798576a09fedd5654306e209a0e97040c8e6ca
 SHA512 
09ebcb396b2d4109b1eb0802b635e649519dcb71ff3e6bac480f66fb66fe8a50784ce6cf245e55bca422320b3fa83b5703ce0de945c140523c3bc6558c7b26c4
 DIST kubernetes-1.30.9.tar.gz 39622344 BLAKE2B 
1e82b89eb5ccce5da048596a0e4b3b53fb22658b116b151342ceea69d2eb3da6d2eb8622cf2024bae6a44c44f84b37e262a2c778480ecbf8722c34fb71eb9b14
 SHA512 
cca4176a6623a2c97a9cc2bd79b39e242e8573c3ec8e2a6c1167f22fb33e89b533bc000a8eb20835fc8a94697d93c6b29c3522d1f6161de0788e9acaa3ca8472

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.29.13.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.29.13.ebuild
new file mode 100644
index 000000000000..f8303ef05318
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.29.13.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2025 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.21.9"
+
+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