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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC16A1382C5 for ; Sat, 17 Apr 2021 21:08:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34A19E0844; Sat, 17 Apr 2021 21:08:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10AD2E0844 for ; Sat, 17 Apr 2021 21:08:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D51D33D7E3 for ; Sat, 17 Apr 2021 21:08:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B425648 for ; Sat, 17 Apr 2021 21:08:03 +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: <1618693667.dbd3e9fdd864c7d1c4b1af7547f34a8b6fd0d78a.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.20.6.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: dbd3e9fdd864c7d1c4b1af7547f34a8b6fd0d78a X-VCS-Branch: master Date: Sat, 17 Apr 2021 21:08:03 +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: afb9c4f1-cb10-42b8-9fad-997e24d9c8cf X-Archives-Hash: ecf531bddf37991c46ecd8251cac27d7 commit: dbd3e9fdd864c7d1c4b1af7547f34a8b6fd0d78a Author: William Hubbs gentoo org> AuthorDate: Sat Apr 17 21:07:47 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Apr 17 21:07:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd3e9fd sys-cluster/kube-apiserver: 1.20.6 bump Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.20.6.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 5191cc1e1d7..ffa1cddfce8 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -6,3 +6,4 @@ DIST kubernetes-1.19.8.tar.gz 33500610 BLAKE2B 2d86519b056f6dcacbaf368af34e66754 DIST kubernetes-1.19.9.tar.gz 33504366 BLAKE2B f339c64cea9c84e67bb72067512576cb2e89bf78d425c1e0ec15f1d87980312df221266d58d7a89aa1949b2aed513df05905b9ce959185209365f5a98703fc7e SHA512 0aa01de3cf3e7d1b000a422768cc665a0b58eac10045629c5eabae6688a47d19ef36b98f6d1719263b3c9877808f0f13f43cd764f691849bda385f4f96ea92d1 DIST kubernetes-1.20.4.tar.gz 34447775 BLAKE2B b38d55023a750da0f04df69548523832ac6b41b1ca1bac2e04cfb4d2c84233fd6adfc55912b39986428f6af8bd64f8e0ec5f12a560ed66c29eca8befef595491 SHA512 e10784a9920af8480cdd2dbcca65c8502034365e224ef8fa822633f0d480fecaca25e5b6d97743c83527729a2e200509dda38c421cbd7b286fec7500226df631 DIST kubernetes-1.20.5.tar.gz 34438218 BLAKE2B f95d5be4f00c7465e07f9b543fbb9fbf1da50bd1894b92fb0861884ea82b4b43d3bbffaad6f2dfa2349f229e6e900c0df8dd992e0a965b033aa415362c9bd1da SHA512 9375597576d074f36989a76d8abd054f5974ea8b1ee837e2707e0485b94f0b76bbdfb1532b632b8e83d6410e553bb4197e9fe045fbeb05fb33a2b8bfae738642 +DIST kubernetes-1.20.6.tar.gz 34478669 BLAKE2B 82e3aac07e9f360cda6854f4ff51082e96648c1a78888a6dd43530b31404089cd1eaa2805fa9896dfa1bdef03ebdd04b6dda8ba948d8b16be28534390554da5e SHA512 b3df8266c597b3e2270e7caea24129ebc8fa258e32e747c1e48ede5ad0244c791f9da39bcaf7c08df8c1b314976742db23ecaa4623ab241f87a80d4834a0948f diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.6.ebuild new file mode 100644 index 00000000000..0c60e4a0143 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.20.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 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.15" + +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} +}