commit:     e38d7a59a5184ade934f498925c1ac3b20bc7221
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 17:41:18 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 17:41:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38d7a59

sys-cluster/kube-proxy: add 1.31.1

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

 sys-cluster/kube-proxy/Manifest                 |  1 +
 sys-cluster/kube-proxy/kube-proxy-1.31.1.ebuild | 35 +++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 3d2cebdf725f..27b910c13fd3 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -8,3 +8,4 @@ DIST kubernetes-1.30.2.tar.gz 39581297 BLAKE2B 
7d1f303d21b870ad29d2cac96626edc3a
 DIST kubernetes-1.30.3.tar.gz 39587795 BLAKE2B 
ba6d819866247dd0d26cb014857d238075dc6beb9cfacfc4ecaccab9d88c4295189309d62e4856c0f4f6c57762b14bfa16fb6bd96548cb88f69dd350e00dbf59
 SHA512 
303c823f74ccc5c1685ec16ba3de9dbbe9614ddf19e279e43ee392a4ef04ee68400a3e0c2a839d6a3f43712fab426084037ed871e3e4caafe8b37999fd83b73a
 DIST kubernetes-1.30.4.tar.gz 39602012 BLAKE2B 
36bb038a2c64ae9252e002a11b2e08930a48471022b00f45511c7b869c76f2de5b941207ee05b57a824a8b4a84b475c376ffb856e5486b532d1cd7413a79500a
 SHA512 
09a562deb763d43578cf345d62be145ccc92e77be228b10184b1b2909716eed8cf2b0c20f6add195347653c2f42ed1c749a5f1c03a9b7dd0a5e0f1e21f32adc0
 DIST kubernetes-1.31.0.tar.gz 39255058 BLAKE2B 
65ad06c8e57eec7d1affce4d263fe0d6ca4c75543b658372efd37a84f4af7817d7f1134ca92102666e6df140645d7421d8927c1c50726199002462f58075fb8b
 SHA512 
7848802bbd6d6818e55dca4741f4cf32ebd83b2f2f7914323235e0d016ed142feeea16556f6d5ffc7c8a57d122067cfc04e2c1e85368c1a562085e4f479b26c2
+DIST kubernetes-1.31.1.tar.gz 36559502 BLAKE2B 
ca76103fe53019b27d3b88ae61edc9e28d8da80d289e855059394a60e409e3e3045d50c9f73ae449a1b8cbf5ffb6d9d0f15974b7f0175be20f40fa8c920bff58
 SHA512 
588d3a371d18855165685a291936da4903b194d4b95f77bed8114ce8659c7657a8261f6313f1cacdc9acac492d46bc6d13213a9147fa04c050bf6afd5aba994c

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.31.1.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.31.1.ebuild
new file mode 100644
index 000000000000..61c67e1168d2
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.31.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes 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"
+
+RDEPEND="net-firewall/conntrack-tools"
+BDEPEND=">=dev-lang/go-1.23.0"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+               emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
+               WHAT=cmd/${PN}
+}
+
+src_install() {
+       dobin _output/bin/${PN}
+       keepdir /var/log/${PN} /var/lib/${PN}
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       insinto /etc/logrotate.d
+       newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}

Reply via email to