commit: 3b0bb2fe9b5acec473702b4b97a9af4f8cf721d9 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Fri Aug 25 17:38:11 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Aug 25 17:38:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0bb2fe
sys-cluster/kube-apiserver: add 1.25.13 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.25.13.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 55a79e5f54f0..7e24ebe57f46 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -3,6 +3,7 @@ DIST kubernetes-1.24.15.tar.gz 38151496 BLAKE2B 47064fefb135031ed220341d34519b4e DIST kubernetes-1.24.17.tar.gz 38157141 BLAKE2B 2a4c68946a446ff9f0adce53960a4282f85c4235efbd2e3f749892e7d3b3cba4e4b0ea3db770dd07772c862966da8f0b339338fa54dbb1860df424f66c24b7b0 SHA512 d5a1356d5937afcede59a54835456db7883f193ba46711a8c6a87636a7f79995458245cbe5b3b89a6c5f668febaf17ba82a21f80e49e68c86e8b87ffe4138b54 DIST kubernetes-1.25.11.tar.gz 38468419 BLAKE2B fa90ffc6fdcba31f4fb70f7ea9cecae5d8e42efb0596abb2aa638e9d235f770cf4772cfa926b3e1a59fa37ae84bc1524d803215d4eccc04cc1d38ec4b884a9fa SHA512 e3805cf6ad4e5b4ce5fb53a73873a3e447cc62b26f106afa1eec21071a7912cfd2e972f27f40c183af3e67a8ac107adc97d63a303b844dcae62e5efa0e1879a5 DIST kubernetes-1.25.12.tar.gz 38481118 BLAKE2B bb345857ce5150d119d7d7bcd6e3ee5a39704599f3f37f49b29d6ed10cf60e25c2b7ce84a9614099d85adfc9b97580535875812e8ba6bcdd1d42bd6208c9fd99 SHA512 6b7b694d4897252772e12206a0658d9326069e5b5b34a4348eace341395619c07a52101bc37d6969082d4813a8a491f7d8e99f6b12003d8dfcd80ede7d41593c +DIST kubernetes-1.25.13.tar.gz 38481625 BLAKE2B 5c820f6907581286565cc250d63878c441eb15064badb6bfb02c646f5a98473f15916cf423975f9dfca6fef0a055d5bca073ff9bdefaafe0c54ce758f1781978 SHA512 fef096489879fce03355a965fbad8680c7904714fd87747d13b489f7d8052a5ca243ce7b5965282150222f8ffc2d2dbc8e41ef3f11c5de2f4009507cb0ded9d0 DIST kubernetes-1.26.6.tar.gz 38489671 BLAKE2B 94b37634fec8f1b19953f0433038e289fe86626db8962e90a52ee82b502251fd2fbae0bb402aff53a8d975d6912a942d0909b7c66b0d38b406ebdbee71d0d97c SHA512 02a6ce3c0ec44dce5b03b97d4a544ac96d43a2342f172c176cbe83b269ffec4c3704f01f620eb11cfdc61728f8431ab6ffdbecc21e0cb29cb388b62c1a930cdf DIST kubernetes-1.26.7.tar.gz 38498687 BLAKE2B 8a7ac29ea8cff64a0ed2a92fc89b3e2e8620b88247b76467a226f667ea4bda952399c81edf810195ea663a6bf62c4127933e9ee05706393ef675e3e4fb01743f SHA512 9069e653e87883e54df8e01edf2cce9d847a83d593f13e8281654653924586e73841d1ee302de4de93dadf2a2474e875cf350f03c2aec512c100cb3d4fb7d9c5 DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced154664d20d66ad21e7cf3b6ed92a262f4d1a2dc5b22912b6cdca0a40fecdc262ae7124a2969955f234c49c0950ea68f171f SHA512 51cf0178c8a2a00798cc618c9918f556c418de137566db60a66a0c7556ee625b34cf86b1da241856599784588c0e3e8b81225dca627fea70a87c94adb073bb7a diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.13.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.13.ebuild new file mode 100644 index 000000000000..467da4d39d0b --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.13.ebuild @@ -0,0 +1,39 @@ +# 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} +}