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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5323158020 for ; Sat, 15 Oct 2022 19:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD4CE07D4; Sat, 15 Oct 2022 19:24:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E9A65E07D4 for ; Sat, 15 Oct 2022 19:24:50 +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 1152E340F6B for ; Sat, 15 Oct 2022 19:24:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52875617 for ; Sat, 15 Oct 2022 19:24:48 +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: <1665861852.420301f8ea10c6e4cf455e41ae4576d4fb44d60a.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.25.2.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 420301f8ea10c6e4cf455e41ae4576d4fb44d60a X-VCS-Branch: master Date: Sat, 15 Oct 2022 19:24:48 +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: c31b8981-cc8d-4c6a-93dd-e33c5535f139 X-Archives-Hash: 1683ccc5c4af8a31765c516550eecc43 commit: 420301f8ea10c6e4cf455e41ae4576d4fb44d60a Author: William Hubbs gentoo org> AuthorDate: Sat Oct 15 19:24:12 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Oct 15 19:24:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420301f8 sys-cluster/kube-apiserver: add 1.25.2 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.25.2.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index e7c1f5b65d6e..b303f8e99015 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -2,3 +2,4 @@ DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb0 DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2 DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3 DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430 +DIST kubernetes-1.25.2.tar.gz 38046748 BLAKE2B a8c2e5388b95bea40d8c4d672963b231b72dea308dacc0ab20cb91b214eead8ff73b225c565c527bf24e0a9f16638e41b12eb58e026892e371ffd43e6c50d278 SHA512 3b88af0efd0024b3bbacae4f9f1b13a6d7ef2bc47fc8329e7073cb347b2bb9db1aebc2ae1298dfad60d673469478121c96320ef3bd68e26e41f56aead0eae7ec diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.2.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.2.ebuild new file mode 100644 index 000000000000..f987e6c308e9 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 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} +}