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 E3F0315ACFB for ; Sat, 8 Apr 2023 21:51:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4DC8E086F; Sat, 8 Apr 2023 21:50:59 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA085E086F for ; Sat, 8 Apr 2023 21:50:59 +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 ABFC1341168 for ; Sat, 8 Apr 2023 21:50:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 976619FA for ; Sat, 8 Apr 2023 21:50:56 +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: <1680990629.251c4759a5a6b54de0bb28e1bb9853a55f0ab8eb.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.26.3.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 251c4759a5a6b54de0bb28e1bb9853a55f0ab8eb X-VCS-Branch: master Date: Sat, 8 Apr 2023 21:50:56 +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: 435ec0d3-c886-4cdb-8796-7c87f9dd8839 X-Archives-Hash: 4e5b07d951b8a48e2c4af585acb3e778 commit: 251c4759a5a6b54de0bb28e1bb9853a55f0ab8eb Author: William Hubbs gentoo org> AuthorDate: Sat Apr 8 21:50:29 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Apr 8 21:50:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251c4759 sys-cluster/kube-apiserver: add 1.26.3 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.26.3.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index fcdea1d67205..336e61995738 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -2,3 +2,4 @@ DIST kubernetes-1.23.17.tar.gz 38135738 BLAKE2B 18661ca95d518ede1b8f08ec380bdb46 DIST kubernetes-1.24.11.tar.gz 37867002 BLAKE2B 3972a049b1549cb1ed147763f09d20b656243814a91d701a1171c171a19721aef2b8393121160edbd75e6f11978b355ce8e97ef6e9d007634428753d7cc1499e SHA512 ceaa5ca883d208e8f80d4d2628195256df697ce5ebedf2524af7cd94ffd783c055c47797cf76f6d4893e2392b652a89f55999251feda196b96b9df4c27215adc DIST kubernetes-1.25.7.tar.gz 38169376 BLAKE2B d324e823be2efc3d19892313ed2a7daa0a3c1384f4f03e18a703f63f32609e1a594a8fd3fc49cb78330848fd42ae1d629339a967ab973e73ddff2be8c6a1eb73 SHA512 d164496df03223cab4d1754ab42f88f0e5d5cc95e1e5995442183aa739d583078c6b7ea1febdc92e2bf8b76820857cd8973d8364f452c2e576b7168a32578419 DIST kubernetes-1.26.2.tar.gz 38192706 BLAKE2B ca14778ab5a1d1bdfb935d80eea269adb0414b5613d8e70b9c790711a284b79c8f89cdd22af73b9127fbf9f036b0aa317fbd97bc1df735aead0903d951fe5f4a SHA512 c14f3ba25ae3608ca8d28ab75c2f6a3636970d5851ef1c09259d6be4bce17af131f9adcc0be8e51f4197dc16650461bac8faae7b7ef24f899c1a0ad193ed0a6b +DIST kubernetes-1.26.3.tar.gz 38215855 BLAKE2B 1bc1b4e9aeebc41e3e7a519f097b886d0cdede91f0cbbabc7c26db1c75d87220f2e8a5aa5ac85ad0c01486abd5806e74d2b09aa1a0281364b70417d3daea503e SHA512 7a8aa29ea282aec99046d231d4c6756e36ba74eca4c2300b3b1f5a1362d211ffe712957746044168b254ba7332e324e341a2e4d56be7bb6a58de953fa630ac14 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.26.3.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.26.3.ebuild new file mode 100644 index 000000000000..467da4d39d0b --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.26.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2023 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} +}