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 5030F15808B for ; Mon, 21 Feb 2022 22:21:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FFB3E09E5; Mon, 21 Feb 2022 22:21:50 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3C26E09C6 for ; Mon, 21 Feb 2022 22:21:49 +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 F2C29343198 for ; Mon, 21 Feb 2022 22:21:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A3202CC for ; Mon, 21 Feb 2022 22:21:47 +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: <1645482091.2953ad5d77076573a483855140b6063b071aebb4.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.21.10.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 2953ad5d77076573a483855140b6063b071aebb4 X-VCS-Branch: master Date: Mon, 21 Feb 2022 22:21:47 +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: 0dff628c-42a1-4749-a3b4-d4cb628ac1bc X-Archives-Hash: d66a5d9b727632bec8f9b2694cd25c95 commit: 2953ad5d77076573a483855140b6063b071aebb4 Author: William Hubbs gentoo org> AuthorDate: Mon Feb 21 22:21:31 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Feb 21 22:21:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2953ad5d sys-cluster/kube-apiserver: 1.21.10 bump Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.21.10.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 0e8b0ec4e629..ed01b28cff53 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -1,4 +1,5 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094 SHA512 760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c +DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06 SHA512 c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e SHA512 d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58 SHA512 bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064 SHA512 83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild new file mode 100644 index 000000000000..19b4da1a49f7 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild @@ -0,0 +1,40 @@ +# 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} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.16" + +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} +}