1 |
commit: 2026d8e7b630cc82105bb8d0e61b26c1b408f83a |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 19:02:52 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 19:02:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2026d8e7 |
7 |
|
8 |
sys-cluster/kube-proxy: add 1.23.14 |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
sys-cluster/kube-proxy/Manifest | 1 + |
13 |
sys-cluster/kube-proxy/kube-proxy-1.23.14.ebuild | 34 ++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest |
17 |
index c4c7e456f5eb..7409fcc3e26f 100644 |
18 |
--- a/sys-cluster/kube-proxy/Manifest |
19 |
+++ b/sys-cluster/kube-proxy/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST kubernetes-1.23.13.tar.gz 38244983 BLAKE2B c369a4d0d3c77e2f7fb9f20e356e331bdd545a871a4d780762a428bdd6213d88a161b67e83b95ecf0f22888f8850537dd840fe34b4d9ca2843513bdaf91a8aa4 SHA512 213f887c4eac39123771985016d6a4e70111b4b67355b9787cf54b0e308296c7fb199aa4bb06522047140d66279e00834ab89362a1a8a90c4490d085710a3a08 |
22 |
+DIST kubernetes-1.23.14.tar.gz 38259227 BLAKE2B eda8d6b2e40f869834d6fb8d750b7bfa402d2841564c8b4b102b5a94d8fc33601670f8671d81781bd4f6005ebc811e10b5365ae8c066ba04cfeb00f648156db6 SHA512 3464840aefbe4bfa510e575374d4a4a5ff8efb3b30e5d8f915f18351e7c20014dec109050f697c91c58dc4e3abefbe54524f2bf8683af4b05ca28013ad8cf73f |
23 |
DIST kubernetes-1.24.7.tar.gz 37998962 BLAKE2B 08cf155d4cd01d56de405cc809844e7f60fd5b7d5fb5ef0eb686cd24561f4ba0a0fbbdbdfd0bbf37c3fd113d9240909da28dab8447d57f79d9d08d952fe67617 SHA512 35612859f7b62c027b6edfb6f91ab81af97c711cf0648dbd6bf69665b7c480fa9c0b3f012709401b1a78fef761cee4455a4172f8545b33147911140943636446 |
24 |
DIST kubernetes-1.25.3.tar.gz 38051233 BLAKE2B 06d7d155ef8ff6508e0bc8e9263689a3ace1ac0aeafe7cea76bff47494e2227bf7d6cd7f4d5ee044049cd6685398934c941c61743db699f60f9d8ee29d521753 SHA512 817c33b21366158465f1f2af8471154849ad69e8b9c24cd67de2e6d3c48f604e256a4fe65e886d7473577efe80af82027c29c0c043ab27e03b7e3940ff7186fb |
25 |
|
26 |
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.14.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.23.14.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2193eb857e81 |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/kube-proxy/kube-proxy-1.23.14.ebuild |
31 |
@@ -0,0 +1,34 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit go-module |
37 |
+ |
38 |
+DESCRIPTION="Kubernetes Proxy service" |
39 |
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" |
40 |
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm64" |
45 |
+IUSE="hardened" |
46 |
+ |
47 |
+RDEPEND="net-firewall/conntrack-tools" |
48 |
+BDEPEND=">=dev-lang/go-1.17" |
49 |
+ |
50 |
+RESTRICT+=" test" |
51 |
+S="${WORKDIR}/kubernetes-${PV}" |
52 |
+ |
53 |
+src_compile() { |
54 |
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ |
55 |
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin _output/bin/${PN} |
60 |
+ keepdir /var/log/${PN} /var/lib/${PN} |
61 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
62 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
63 |
+ insinto /etc/logrotate.d |
64 |
+ newins "${FILESDIR}"/${PN}.logrotated ${PN} |
65 |
+} |