diff options
author | William Hubbs <williamh@gentoo.org> | 2023-07-24 16:53:33 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-07-24 16:53:33 -0500 |
commit | a4009028399d0b26c23015ff328d427238235ed0 (patch) | |
tree | 2908d9a96ed736635b8d1ced077a4d5947a2cb7e /sys-cluster/kube-proxy | |
parent | sys-cluster/kubelet: add 1.27.4 (diff) | |
download | gentoo-a4009028399d0b26c23015ff328d427238235ed0.tar.gz gentoo-a4009028399d0b26c23015ff328d427238235ed0.tar.bz2 gentoo-a4009028399d0b26c23015ff328d427238235ed0.zip |
sys-cluster/kube-proxy: add 1.27.4
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-proxy')
-rw-r--r-- | sys-cluster/kube-proxy/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-proxy/kube-proxy-1.27.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest index 7ec7eb530a86..74b345d8bd2b 100644 --- a/sys-cluster/kube-proxy/Manifest +++ b/sys-cluster/kube-proxy/Manifest @@ -8,3 +8,4 @@ DIST kubernetes-1.26.6.tar.gz 38489671 BLAKE2B 94b37634fec8f1b19953f0433038e289f DIST kubernetes-1.26.7.tar.gz 38498687 BLAKE2B 8a7ac29ea8cff64a0ed2a92fc89b3e2e8620b88247b76467a226f667ea4bda952399c81edf810195ea663a6bf62c4127933e9ee05706393ef675e3e4fb01743f SHA512 9069e653e87883e54df8e01edf2cce9d847a83d593f13e8281654653924586e73841d1ee302de4de93dadf2a2474e875cf350f03c2aec512c100cb3d4fb7d9c5 DIST kubernetes-1.27.2.tar.gz 38061986 BLAKE2B bbb39453cb642abc693a8b646179eb5ccf6886c37cf380ae139c096409a33c38d5d081007a009a4785498f600b89f91a430b7bde191298b108ada336ef3414b1 SHA512 c7a4f6f3e3e6ce66295e9c09b5214ed3b9fa3b674b0b7e200672da5873fbc75533d1e6a5d9e04edba09c81db35e3309dbe6ff6a4a9dffc6687c66a6e5e566b1d DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced154664d20d66ad21e7cf3b6ed92a262f4d1a2dc5b22912b6cdca0a40fecdc262ae7124a2969955f234c49c0950ea68f171f SHA512 51cf0178c8a2a00798cc618c9918f556c418de137566db60a66a0c7556ee625b34cf86b1da241856599784588c0e3e8b81225dca627fea70a87c94adb073bb7a +DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2 SHA512 0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec diff --git a/sys-cluster/kube-proxy/kube-proxy-1.27.4.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.27.4.ebuild new file mode 100644 index 000000000000..ea991ff91e56 --- /dev/null +++ b/sys-cluster/kube-proxy/kube-proxy-1.27.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 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.20" + +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} +} |