summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 11:24:34 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 11:24:34 -0600
commit1ce2040de712181a9599c41acf8f8035731ed84c (patch)
treec0dbde502e352a88902a59c361682bef3e57edea /sys-cluster/kube-apiserver
parentsys-cluster/kubeadm: add 1.27.11 (diff)
downloadgentoo-1ce2040de712181a9599c41acf8f8035731ed84c.tar.gz
gentoo-1ce2040de712181a9599c41acf8f8035731ed84c.tar.bz2
gentoo-1ce2040de712181a9599c41acf8f8035731ed84c.zip
sys-cluster/kube-apiserver: add 1.27.11
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-apiserver')
-rw-r--r--sys-cluster/kube-apiserver/Manifest1
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.27.11.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index cc6f8f1c1416..f08a2d943534 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.26.13.tar.gz 39454349 BLAKE2B cf45650e62a79fddee9ffd08cb80cb908e4ea9dedb3cbe9384a9560c162e069ca8c2f9daddc9159adbd6791b11f5b24c6fbbc5e1c56369e38771a031a6e66eea SHA512 c3b153323e24ffaf05f27e6c3b05897052c94321a18830fbea061f722d5d0635e7d7042838d82654a48d45b7260bf7fd0e039081481be9c175f04bb7d3a94881
DIST kubernetes-1.27.10.tar.gz 39183865 BLAKE2B 948197dbca1fd7d12d7d1947faa82b983189b9dc8f8af26f9b0ccf26629b7daa609b85c492dc977adc9a6e095f30bb38cafea9e1feb06aabba1847a364277af0 SHA512 cb0e2c9186d2d504c28a02b4a3e222b766fdc942226853b4669a505313abc2fef76ebdc36677ca8bf55bfbe5aaeafdc2e6fa053dbd85779eb824395bffa08060
+DIST kubernetes-1.27.11.tar.gz 39184562 BLAKE2B 1942a11af61c2b33cbcda156aec19a23ff2b74c96430e4171f5ffca3b07f0923722adac9e1046988da75ade94efb26d905d9b279adba837711ee3db8038a1c19 SHA512 9a89df9ad1df5a686326aea433b818e3b62cf07668ba82437f05e1a56df804e6deaef1fc6c7f73a51db63622936cd03d35043964e544de4afb234acd9adce3d8
DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b446af3ba7f9c39b748eb005198b6ad448eca71cd5ad698ba5dd1fcaef727b6b3884e7bfbad0cc8ae7b7cdfc858f8a712c SHA512 bdb20da05001c67418e9e9c6d2640b974a1690bbdad7d0ede6ab1577d9bca0e998802737ceccc023fd34fd2f0e63cc7b1b9c2a90ee7d24429f8109b9393d7551
DIST kubernetes-1.28.7.tar.gz 39959046 BLAKE2B 1120c0b5b902a2ab26473bfafbd9b4f0dbd52e134ae9830618047178416ff9639b20746bca19b987daca066d88ca39039f8a50e5f2239c37e158adc3c098b92d SHA512 ee33a5e729c959847f30101e55be7b475db4a3117eaff8870f2ac564573529e7c8908da9606ddc2460a5483747c44e05ebc65709c06d352f590b57a81eedb9f3
DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.27.11.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.27.11.ebuild
new file mode 100644
index 000000000000..6a4c18ba0010
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.27.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="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"
+
+COMMON_DEPEND="
+ acct-group/kube-apiserver
+ acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.20"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}