summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-05-19 10:40:38 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-05-19 10:40:38 -0500
commit05455ead14d5601907ee43a4e73e7a0d203da689 (patch)
tree63bb8128867b21816fc8b01b2bd4f34177a1fb11 /sys-cluster/kube-proxy
parentsys-cluster/kubelet: add 1.26.5 (diff)
downloadgentoo-05455ead14d5601907ee43a4e73e7a0d203da689.tar.gz
gentoo-05455ead14d5601907ee43a4e73e7a0d203da689.tar.bz2
gentoo-05455ead14d5601907ee43a4e73e7a0d203da689.zip
sys-cluster/kube-proxy: add 1.26.5
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-proxy')
-rw-r--r--sys-cluster/kube-proxy/Manifest1
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.26.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 5703e467752c..8ff30bca0a4e 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -4,4 +4,5 @@ DIST kubernetes-1.25.10.tar.gz 38218997 BLAKE2B 5f256ffe2236c4eefebbb66051b8bdb7
DIST kubernetes-1.25.9.tar.gz 38197577 BLAKE2B f90e8e6fff4ada4b36b16623463e99de2818343c4206ada7c230799a01df189c196dc9d8f747517465606958f84b49bbf6a84d759590763ebf3079fa8e2f87c7 SHA512 6966e4246715c358ea60bd581ae9706d002d7463ab5466984a099249e8bd8aebf4929715ece255e3975a60aa4639912d0776ba86d6095438a0788517765cb61c
DIST kubernetes-1.26.3.tar.gz 38215855 BLAKE2B 1bc1b4e9aeebc41e3e7a519f097b886d0cdede91f0cbbabc7c26db1c75d87220f2e8a5aa5ac85ad0c01486abd5806e74d2b09aa1a0281364b70417d3daea503e SHA512 7a8aa29ea282aec99046d231d4c6756e36ba74eca4c2300b3b1f5a1362d211ffe712957746044168b254ba7332e324e341a2e4d56be7bb6a58de953fa630ac14
DIST kubernetes-1.26.4.tar.gz 38229656 BLAKE2B 1da5b7c380d27d57f6c6200f5b65b9a469c9d6663713742bc2f32746bad2eea17bb8265df009d625011f1e036d768e26bda514634aacc13b2997bb7c70684f3e SHA512 185d21368f84a1e1829578c7552922db098d2caecd2c1d95c5da259a107009960ef44c2dd42eec4dab50c4c59a8d5ae0b4dd45fc6f106b27138e1a1d7391626d
+DIST kubernetes-1.26.5.tar.gz 38241396 BLAKE2B e42ffb2396b9811cf23f861327fdd93d067e43b222971b3fb115679692f8923c11494ac7c1bd8ed8a13cfe95b3964e33dc030405d2a3deb19e04c843f75eb7b0 SHA512 d35e663e469d29c77abfae443c8f835103e230805331a98ed6314518bd937c366e2734c687c31c4eadf7ecbd0a607dece463edb0057270a37114681d8aa77f0b
DIST kubernetes-1.27.1.tar.gz 38048443 BLAKE2B c5475209ef4bcad704a6075392180496e4ec9f63af26038cb22b0f28effeab8eafe734c330c80e86d0aaabf125bec5f134cd1479ce54fd6437b3aeeaec8fb352 SHA512 20d2b8f3c892884a1abd5e30320f3cf50ada79c3b68409c6d626278e42d031e960057b042aade93b55b3185623c5bdcfef9a16602e7f3c4a71be8cee517e7ba1
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.26.5.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.26.5.ebuild
new file mode 100644
index 000000000000..c2bf8bb7da7f
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.26.5.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.19"
+
+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}
+}