From 286f258bc5092a001dcca5298e80b7de93ce9fff Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 8 Mar 2023 15:32:41 -0600 Subject: sys-cluster/kube-proxy: add 1.23.17 Signed-off-by: William Hubbs --- sys-cluster/kube-proxy/Manifest | 1 + sys-cluster/kube-proxy/kube-proxy-1.23.17.ebuild | 34 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 sys-cluster/kube-proxy/kube-proxy-1.23.17.ebuild (limited to 'sys-cluster') diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest index eb2e368df6c3..8ca6bc9a690d 100644 --- a/sys-cluster/kube-proxy/Manifest +++ b/sys-cluster/kube-proxy/Manifest @@ -1,4 +1,5 @@ DIST kubernetes-1.23.16.tar.gz 38115819 BLAKE2B 39a49a07d9d5c134b6d3edb0d48540ae00c134bd80a6236942f67faebf746e49d38bd23ff2d1935591a12043c4014fcd3a66739e6a3f38b72d125170f265254f SHA512 2eff0c8827fd01953e9d70a010f48ce35313969f238d330096b16ca9041983e992c45d97e4f0fb3b189c003b9f7805cf943727e32820fdb893fce1ffc4d8f092 +DIST kubernetes-1.23.17.tar.gz 38135738 BLAKE2B 18661ca95d518ede1b8f08ec380bdb4678c0ba06bd4a7bc5aed323d6cec78fb8724a2880bd048df734e17f977159f21532349bae08a351b4adc56f52bb2e8198 SHA512 8cbe20601966faf2830dbe66548b95654651e3501c474be5351dbf64dabd1763f75e0afaa99ee31dabd8ea02ba1b16df6ba2a789aaddcad776ca0690637d05ff DIST kubernetes-1.24.10.tar.gz 37847249 BLAKE2B 7f95f4ac29b5898033a8c19dc838eeae546befb762a19fa06fc6db29321cf7355f46958f994e374c395a9084bf5dc1580423ef7837e966277b7427a3b72428f3 SHA512 016b95537af6437d6285d07bfded048b093520fe7715dd8074bdde6a1646aa4e16a43b2dc6cae21e678795122b82dbeb1b7ac3f61997802e53bef518e3dcd2d7 DIST kubernetes-1.24.11.tar.gz 37867002 BLAKE2B 3972a049b1549cb1ed147763f09d20b656243814a91d701a1171c171a19721aef2b8393121160edbd75e6f11978b355ce8e97ef6e9d007634428753d7cc1499e SHA512 ceaa5ca883d208e8f80d4d2628195256df697ce5ebedf2524af7cd94ffd783c055c47797cf76f6d4893e2392b652a89f55999251feda196b96b9df4c27215adc DIST kubernetes-1.25.6.tar.gz 38158861 BLAKE2B af116c78d216477ab757523f66b3332ef982b49384145a69d1b5641b0929b7179171814f89bbba1950b0ab69476e9e48722e8b9b04f0e77610d7dc602d4bac65 SHA512 47e0f736ee7efc614a2e8ed08acd95b64ee78484ac735ca515a03607634a9a94e2d7f3989db300f130506390a93eebb32fba4e54fe2869e3c782932f9b9a033b diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.17.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.23.17.ebuild new file mode 100644 index 000000000000..c1c662945d2d --- /dev/null +++ b/sys-cluster/kube-proxy/kube-proxy-1.23.17.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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.17" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" 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} +} -- cgit v1.2.3-65-gdbad