summaryrefslogtreecommitdiff
path: root/sys-cluster/kube-apiserver
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/kube-apiserver')
-rw-r--r--sys-cluster/kube-apiserver/Manifest14
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.26.13.ebuild2
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.26.9.ebuild39
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.27.10.ebuild2
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild39
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.28.2.ebuild39
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.28.5.ebuild39
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.29.0.ebuild39
8 files changed, 4 insertions, 209 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index 57513795139b..9987d9eaac12 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -3,24 +3,14 @@ AUX kube-apiserver.initd 541 BLAKE2B ddddc86735a9f90a0c232f2631ac21c028045783c73
AUX kube-apiserver.logrotated 88 BLAKE2B e58f3f108f5f7dbbadacfcc1b401567ce79d511a4623f85f01830c5e40d4ad4e44fe0b3f90d4143042d82bd83b0a2b11517e89037755ef2ad7afeeb23401bb60 SHA512 1a4bcd54dafaedc614e34bbadc2a1163f003b5925d47552fb2c47049c033c147e612171e263d9659d189fc2d95688a0b7153322d8dba97c083c079fdef6c400e
DIST kubernetes-1.26.12.tar.gz 39450451 BLAKE2B 0a045e90408ee01044550e2f2703339c467d700ee03bb06b6d237af599af0dadbbcd24ef56ff73dc53d74152c96ff7601f11a314b8c8b0994ead33611fbeff19 SHA512 e0815e38b46c4885373b9a54141d1b84a8189f79d44d3d20b90847f0e69c026b2b9c4b85899dd4e00e7c72f18fbaf48559b5c9573a4504132dcfe03842b7c3e6
DIST kubernetes-1.26.13.tar.gz 39454349 BLAKE2B cf45650e62a79fddee9ffd08cb80cb908e4ea9dedb3cbe9384a9560c162e069ca8c2f9daddc9159adbd6791b11f5b24c6fbbc5e1c56369e38771a031a6e66eea SHA512 c3b153323e24ffaf05f27e6c3b05897052c94321a18830fbea061f722d5d0635e7d7042838d82654a48d45b7260bf7fd0e039081481be9c175f04bb7d3a94881
-DIST kubernetes-1.26.9.tar.gz 38520517 BLAKE2B 4e49686fd083b1aefb314a1f6acbff91437a5f8e6801c20bcf493a29eb99c419c13cd1246efbe4e6baab0da22a19df189a6cda7047eaa14edf7fa895eeca5535 SHA512 9ad42f2ddbd8662b9175d58f06024571e3bc07f3d905f66a9cc5635e41492ed9a9cdb0debe3864990516dacc41afb58265dc918d46a078e77f0889b9ed121427
DIST kubernetes-1.27.10.tar.gz 39183865 BLAKE2B 948197dbca1fd7d12d7d1947faa82b983189b9dc8f8af26f9b0ccf26629b7daa609b85c492dc977adc9a6e095f30bb38cafea9e1feb06aabba1847a364277af0 SHA512 cb0e2c9186d2d504c28a02b4a3e222b766fdc942226853b4669a505313abc2fef76ebdc36677ca8bf55bfbe5aaeafdc2e6fa053dbd85779eb824395bffa08060
-DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db
DIST kubernetes-1.27.9.tar.gz 39182159 BLAKE2B 1ba76d947c1044378f0dc82733f46cb24bc49d86263413504b817bc2a4046f800d3127dc386491297ea4c310ca1843bb3741d3a4cc6745165104039cccc14796 SHA512 3cdba8bef8a3f5b5464e8da0ebab58f63ce207f3885769a4872b5a62a09c2a700be183ea3706bdda2b88bfdec75bb24844b33e5a377476451626fdbcc0f09700
-DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9
-DIST kubernetes-1.28.5.tar.gz 39965011 BLAKE2B 96a4b0c181d6703566791251d7b9e2df3a1964a4508ef8c4eb4716340d6190316b8f83efcf727c8c5733efe1065764bb799cc7c056742a374fd555aea432979d SHA512 555ab64dc8df2abc7db217aaf3fc8a1fbfb8aeb91b7c29516844577aa82f8f09b2c0bf2c58fe638b1f484812818e200c7b2f1833b1f5eb76e3a69a6b7bca755b
DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b446af3ba7f9c39b748eb005198b6ad448eca71cd5ad698ba5dd1fcaef727b6b3884e7bfbad0cc8ae7b7cdfc858f8a712c SHA512 bdb20da05001c67418e9e9c6d2640b974a1690bbdad7d0ede6ab1577d9bca0e998802737ceccc023fd34fd2f0e63cc7b1b9c2a90ee7d24429f8109b9393d7551
-DIST kubernetes-1.29.0.tar.gz 43612738 BLAKE2B 81d216a40cbf0d8b1ddc7bac4a0304be2f988500d2861dde7f549ffe08b2d284317c0a8616949bd6cb39836a377abeb55ed4340896f86fc924e61e0b5f5a89b8 SHA512 14876c54a4179936c348c7c5f2e090deaa40a1efc6f8c942eb2feaa644b3d8e64ea3836d4b030d883ff2cd2533d5b4ec319c3fc2418708769ed8b07507b6d16e
DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a
EBUILD kube-apiserver-1.26.12.ebuild 991 BLAKE2B 5c707a31448ff721b388c1686cec776decb73edf2084278137e6374a47b17732175dbc07864eda6c82aa6c60fe316f05640a2400d756d31b6a01e17a8e05ba91 SHA512 8b72d0027322b97a64203d73e060313a9844f45b034ad34a0f9f76fe5a8dab0487db88409c081fb6ca5c9b900752a5161b2d141198f681b10a8f7230177bda18
-EBUILD kube-apiserver-1.26.13.ebuild 992 BLAKE2B ee2548a81ccfc7b01d02b3fd50cf1e72aaf87b41fb7f755be0b7b8cb1945293e3186ff60b671ec2999e8f3dd89971f41cfc2c6043a5359d8267cc257d0b9275e SHA512 26e281880b67f6b13c957596c60e2df42943570b11e4dd7986ed99193c23c0a58d8a29dff8089dc54b96053ac02de744c65d3fe764a5823959c255c56391ae3d
-EBUILD kube-apiserver-1.26.9.ebuild 991 BLAKE2B 27a5563d75bb7c818335c8d019b63c2371a7c72d679bb237d79cc699ffd7e5f4f5f11a4197cdd086c4162d2af3fcb5c252a4effcd2fdc7ddf95fc0c1c2784946 SHA512 4dcce5a68b1f97d9f13191677fb21324317f38d5b4b2f15d4514b83ea96e097d5bbe86260c1f8ad462373d234cbe361ef9e2b3b615ee4cb86d984b83b5acddd8
-EBUILD kube-apiserver-1.27.10.ebuild 992 BLAKE2B 6024873f67136c5fbc0a18363b0fd2c22babc435cee5dd59433f2afed1dfa9b4afd6ae9ccceacf115b8894679f17fd8decaa69e6775825a6a9229abcce5e5cc7 SHA512 08a88ac5616d5bc65278b864664e422ecfd20431e4ce0ffc6a9e6ca53d53ce54e0663455252e341b9659268c5339a24d1bf26da4655a753b8adf09bdf5c1fba9
-EBUILD kube-apiserver-1.27.6.ebuild 991 BLAKE2B a8f7a56d24d5d28dd947049982b22b2b409bd04a4257dff823833b63d48a842cdcc1a1dd48cab9aae8cc5cd91b2e760937898d75685e88c0ff3de5e87c755708 SHA512 03d62b412a1400c9a10c694a08a6e1dd8bcf431e4c1204e06bf10861d844a195a7e1dac51c61d34621129277bf898f83e5aeaced8798e06bcf3c80c339b235e5
+EBUILD kube-apiserver-1.26.13.ebuild 991 BLAKE2B 5c707a31448ff721b388c1686cec776decb73edf2084278137e6374a47b17732175dbc07864eda6c82aa6c60fe316f05640a2400d756d31b6a01e17a8e05ba91 SHA512 8b72d0027322b97a64203d73e060313a9844f45b034ad34a0f9f76fe5a8dab0487db88409c081fb6ca5c9b900752a5161b2d141198f681b10a8f7230177bda18
+EBUILD kube-apiserver-1.27.10.ebuild 991 BLAKE2B fff102fb5f33fe14e49467b3a7220106a68298f251867b5b2c57b90beebb17f2e7787114605a11b3de62346f42499229f47acd3a5805b0538dc572b9002a7211 SHA512 6ea59893c6263caf915fc366e0954f86fe8cbb1da6e7984b2a66cb2c30afdd7d3efd9e8ed0d443415af9928a316babf93205357fc9e5c75485dd640d5f29c43f
EBUILD kube-apiserver-1.27.9.ebuild 991 BLAKE2B fff102fb5f33fe14e49467b3a7220106a68298f251867b5b2c57b90beebb17f2e7787114605a11b3de62346f42499229f47acd3a5805b0538dc572b9002a7211 SHA512 6ea59893c6263caf915fc366e0954f86fe8cbb1da6e7984b2a66cb2c30afdd7d3efd9e8ed0d443415af9928a316babf93205357fc9e5c75485dd640d5f29c43f
-EBUILD kube-apiserver-1.28.2.ebuild 1011 BLAKE2B c742281d6cd13b3570e21f096e68fc6a9bc2ece46149e6f1f3ffb1c6c0139943473f29e26dfbeb323f8995bc5f42310055ba79b31fc968fe65bd2ba4576bcde2 SHA512 ea8e39bdc4b0f4fcb56e038963b158f608639a89be62c50f6f2cb8109f1db632653f679094850dda1e5cc6b321da170eb6256681d7280d99c6b3cd453b5781d7
-EBUILD kube-apiserver-1.28.5.ebuild 1011 BLAKE2B b9b690506e1fa8144d04629569261617662fa79c6ef9642eb3653f08ffbf9b607507d3ab0215e61422c2a9092edd5195dbbd5a3f94129de8b804ed2b022b601c SHA512 33a20363d21b508a277b7afb8170a80da493f6c7da0f064d4bb123a283376279ad349148fa4b610f560b8e945ce714f8ef192b71e19d837fe131e01d2fd5ff57
EBUILD kube-apiserver-1.28.6.ebuild 1011 BLAKE2B b9b690506e1fa8144d04629569261617662fa79c6ef9642eb3653f08ffbf9b607507d3ab0215e61422c2a9092edd5195dbbd5a3f94129de8b804ed2b022b601c SHA512 33a20363d21b508a277b7afb8170a80da493f6c7da0f064d4bb123a283376279ad349148fa4b610f560b8e945ce714f8ef192b71e19d837fe131e01d2fd5ff57
-EBUILD kube-apiserver-1.29.0.ebuild 1012 BLAKE2B 221d54edfdfcf3c03199b9afeb99271c35c9ea0bed9a4b63e32a869861931440501636f298c8a54bd3104edbf059a309547163d37f8b4c1903c92b092bf3d549 SHA512 d2a8f78b1dfc50294fc8c25d750bee92001c678941d3c61c1df5ecbabb1c19fbf2d4834da91a1ffd4f21f50d6a6a7400683b7c5bee73e914239785468edf5612
EBUILD kube-apiserver-1.29.1.ebuild 1011 BLAKE2B b9b690506e1fa8144d04629569261617662fa79c6ef9642eb3653f08ffbf9b607507d3ab0215e61422c2a9092edd5195dbbd5a3f94129de8b804ed2b022b601c SHA512 33a20363d21b508a277b7afb8170a80da493f6c7da0f064d4bb123a283376279ad349148fa4b610f560b8e945ce714f8ef192b71e19d837fe131e01d2fd5ff57
MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.26.13.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.26.13.ebuild
index 5206c1ba8c68..c65d7b0bd328 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.26.13.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.26.13.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.26.9.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.26.9.ebuild
deleted file mode 100644
index 732d08517b60..000000000000
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.26.9.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2021-2023 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.19"
-
-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}
-}
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.27.10.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.27.10.ebuild
index 6a4c18ba0010..85b1c177e676 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.27.10.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.27.10.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild
deleted file mode 100644
index 914f0e96f092..000000000000
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2021-2023 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}
-}
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.28.2.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.28.2.ebuild
deleted file mode 100644
index 7e5f283b5908..000000000000
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.28.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2021-2023 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 ' '')" FORCE_HOST_GO="yes" \
- 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}
-}
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.28.5.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.28.5.ebuild
deleted file mode 100644
index 6a3a360634ba..000000000000
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.28.5.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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 ' '')" FORCE_HOST_GO="yes" \
- 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}
-}
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.29.0.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.29.0.ebuild
deleted file mode 100644
index cdf98b8db32f..000000000000
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.29.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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 ' '')" FORCE_HOST_GO="yes" \
- 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}
-}