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 627C6138239 for ; Mon, 22 Feb 2021 06:34:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0A03E0824; Mon, 22 Feb 2021 06:34:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 84301E0824 for ; Mon, 22 Feb 2021 06:34:25 +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 4C654340F89 for ; Mon, 22 Feb 2021 06:34:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFEC84E1 for ; Mon, 22 Feb 2021 06:34:22 +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: <1613975586.f1180782ecef486c543712cef2c98968e598ca98.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.4.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: f1180782ecef486c543712cef2c98968e598ca98 X-VCS-Branch: master Date: Mon, 22 Feb 2021 06:34:22 +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: de2e301f-7bbb-43d0-a193-9ec35e0cc30f X-Archives-Hash: 723c3d1fc4861dde23f96c5322bb4131 commit: f1180782ecef486c543712cef2c98968e598ca98 Author: William Hubbs gentoo org> AuthorDate: Mon Feb 22 05:40:29 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Feb 22 06:33:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1180782 sys-cluster/kube-apiserver: 1.20.4 bump Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.20.4.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 3a2fcc6e693..b8326c81c3c 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -4,3 +4,4 @@ DIST kubernetes-1.19.6.tar.gz 33470206 BLAKE2B ea7614da380ce7c834884d96b37753802 DIST kubernetes-1.19.7.tar.gz 33481861 BLAKE2B de83b13ebc10f96cdcc6bbf4015db35740c4c3e821cc263669f5ac63ff69bc674106cacd95e0bfde165c4fa2b6d7b6dfcbb94654e1551ab3bd43c8aff00ae3ce SHA512 1fc0d6820a9486a81242e25e7cd034537110fe10fa1aadc89be115a16441d50913ea1add1c1364a5f8e4d9255ef3e619a75c45e43b853d1c6038d6af66473ad1 DIST kubernetes-1.20.1.tar.gz 34424663 BLAKE2B 156482f88f051eeea0c428c357a79d876ff0ce5f8ed6eb1ffa72be83bff45b72970280fa1bc7629804c178b9fa45ad84a9961a4f0e7eca1b58351fc7d7f4cfc0 SHA512 40598999cc5c96c54591338eb985bc056892ef2f98cfb521ff26937fa29f63a20e97f52a8454433ff98614d579509b7a5e927edcd96f4725505a334a999c0326 DIST kubernetes-1.20.2.tar.gz 34428927 BLAKE2B d49ddbe95f377320261aeca655bea2fb375f134bac32f594ad5d2ee8c349d946f267257888375a3d5184140d5a7d2eddc759e25f633b771e2803595838fcd60f SHA512 7459825ead1435135dbd8f226cba7fc9698771809447067f14742a444073bd6933bb936d053eb70c7745edf8360c1e5e6f835cf3956abc78d3ac26447279a36c +DIST kubernetes-1.20.4.tar.gz 34447775 BLAKE2B b38d55023a750da0f04df69548523832ac6b41b1ca1bac2e04cfb4d2c84233fd6adfc55912b39986428f6af8bd64f8e0ec5f12a560ed66c29eca8befef595491 SHA512 e10784a9920af8480cdd2dbcca65c8502034365e224ef8fa822633f0d480fecaca25e5b6d97743c83527729a2e200509dda38c421cbd7b286fec7500226df631 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.ebuild new file mode 100644 index 00000000000..0c60e4a0143 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.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} +}