From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D877E15802C for ; Mon, 16 Dec 2024 13:17:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 407CEE07B3; Mon, 16 Dec 2024 13:17:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8015DE07BA for ; Mon, 16 Dec 2024 13:17:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69DDB3408DD for ; Mon, 16 Dec 2024 13:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A1C1159E for ; Mon, 16 Dec 2024 13:17:18 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1734354758.d83f7b70459b41ca751aa84b1c04e448d59cfab3.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-apiserver/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kube-apiserver/Manifest sys-cluster/kube-apiserver/kube-apiserver-1.31.4.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d83f7b70459b41ca751aa84b1c04e448d59cfab3 X-VCS-Branch: master Date: Mon, 16 Dec 2024 13:17:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f1cb473-d386-433e-8dfc-a28ebb084dc7 X-Archives-Hash: dcd78ba9101ba3e39c695a2cd64ad1d0 commit: d83f7b70459b41ca751aa84b1c04e448d59cfab3 Author: William Hubbs gentoo org> AuthorDate: Sat Dec 14 16:47:51 2024 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Dec 16 13:12:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83f7b70 sys-cluster/kube-apiserver: add 1.31.4 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.31.4.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 45890cdd306b..66350d8ae8ad 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -6,3 +6,4 @@ DIST kubernetes-1.31.0.tar.gz 39255058 BLAKE2B 65ad06c8e57eec7d1affce4d263fe0d6c DIST kubernetes-1.31.1.tar.gz 36559502 BLAKE2B ca76103fe53019b27d3b88ae61edc9e28d8da80d289e855059394a60e409e3e3045d50c9f73ae449a1b8cbf5ffb6d9d0f15974b7f0175be20f40fa8c920bff58 SHA512 588d3a371d18855165685a291936da4903b194d4b95f77bed8114ce8659c7657a8261f6313f1cacdc9acac492d46bc6d13213a9147fa04c050bf6afd5aba994c DIST kubernetes-1.31.2.tar.gz 36568544 BLAKE2B 10c3ea32f28905cdf0fb365bd5e3079b00483b756038876b931835888b4b41b1737e220268a612f6f004dcc8b19fa3ef0306c1ad13ed8c0f59dab13c72f3c906 SHA512 2c23a00fb36a7e03d587fd4c32ba8ab73f14b123625e726bf76db8df64e45493d3f93022c8f35e34efe1fdab4c47c946e81843071b72d9c271b06cb0bf8f8426 DIST kubernetes-1.31.3.tar.gz 36572445 BLAKE2B ada6c5620d01e721e20673bebb4edd70bd9e2e6684b1bc3a781d84ab16790b228119c825e5727b5350e6b3a118501e240d863988a5f266c84d2cf0e07ca02cb2 SHA512 9b3e2ceca89bb7d388868eda65ac29dbc7fa2425cc607bd6adeee104b3b2139b24c9042d6fc0ca9e7b80ac5a79a0754a7485a237fa4a14ed0e24340634776c38 +DIST kubernetes-1.31.4.tar.gz 36572367 BLAKE2B 34ba7b018550d3a569fbe578392194225248988fd840d5f1958950419b898e6fb109da58fae05d683819d3e205e79f85e4f99caaed1b50536a865cc44e9a6377 SHA512 74e3b3a12f9b3322702f48b76b026fed5f2084181ab687acb109eff8b9f42a20067e173255b7ff4adb885525dff13a52d04055dae21b394275dd61c14040e0f6 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.31.4.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.31.4.ebuild new file mode 100644 index 000000000000..961d6df18f5f --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.31.4.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.23.0" + +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} +}