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 60D19158095 for ; Sun, 18 Sep 2022 19:42:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E5C2E08FB; Sun, 18 Sep 2022 19:42:47 +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 84A52E08FB for ; Sun, 18 Sep 2022 19:42:47 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3F45340DDE for ; Sun, 18 Sep 2022 19:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2E165E3 for ; Sun, 18 Sep 2022 19:42:43 +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: <1663530031.67d2a8c51aeafa3f8c7484e5deed7973d2c170ca.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.24.5.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 67d2a8c51aeafa3f8c7484e5deed7973d2c170ca X-VCS-Branch: master Date: Sun, 18 Sep 2022 19:42:43 +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: 2bb2e9ac-3ecc-4b18-8109-57224c8f6007 X-Archives-Hash: d98523aa62ed9315aafee43ed6e32b55 commit: 67d2a8c51aeafa3f8c7484e5deed7973d2c170ca Author: William Hubbs gentoo org> AuthorDate: Sun Sep 18 19:40:31 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Sep 18 19:40:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d2a8c5 sys-cluster/kube-apiserver: add 1.24.5 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.24.5.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index f08f02195cfa..974fa2d54a1e 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -3,4 +3,5 @@ DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb0 DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872 DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2 DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05 +DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3 DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild new file mode 100644 index 000000000000..4010c16c51d5 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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.18.1" + +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} +}