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 8B6CF158020 for ; Mon, 28 Nov 2022 20:42:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D71A6E07D3; Mon, 28 Nov 2022 20:42:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDCC7E07B2 for ; Mon, 28 Nov 2022 20:42:24 +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 EA11A341058 for ; Mon, 28 Nov 2022 20:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54FF4756 for ; Mon, 28 Nov 2022 20:42: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: <1669668120.7c4e1332b3d3307ac1696b97f6dfc0c1149a5b1f.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.25.4.ebuild X-VCS-Directories: sys-cluster/kube-apiserver/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 7c4e1332b3d3307ac1696b97f6dfc0c1149a5b1f X-VCS-Branch: master Date: Mon, 28 Nov 2022 20:42: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: 24dd9b88-2e7a-441f-a6c5-c5d8bf0a17be X-Archives-Hash: c69f1acf7e958798ad75d6dd4d5168cd commit: 7c4e1332b3d3307ac1696b97f6dfc0c1149a5b1f Author: William Hubbs gentoo org> AuthorDate: Mon Nov 28 20:42:00 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Nov 28 20:42:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4e1332 sys-cluster/kube-apiserver: add 1.25.4 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-apiserver/Manifest | 1 + .../kube-apiserver/kube-apiserver-1.25.4.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index e636b154020e..b35d871de033 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -3,3 +3,4 @@ DIST kubernetes-1.23.14.tar.gz 38259227 BLAKE2B eda8d6b2e40f869834d6fb8d750b7bfa DIST kubernetes-1.24.7.tar.gz 37998962 BLAKE2B 08cf155d4cd01d56de405cc809844e7f60fd5b7d5fb5ef0eb686cd24561f4ba0a0fbbdbdfd0bbf37c3fd113d9240909da28dab8447d57f79d9d08d952fe67617 SHA512 35612859f7b62c027b6edfb6f91ab81af97c711cf0648dbd6bf69665b7c480fa9c0b3f012709401b1a78fef761cee4455a4172f8545b33147911140943636446 DIST kubernetes-1.24.8.tar.gz 38001022 BLAKE2B 8452e3b93f91c5b2c542a9fcd0843e36a87dfb366dc46af1602f349d0d22eb5a838bd0b26c9b394acc9d3af9b77eaf1a47380951750887b416f533414af1f1e5 SHA512 cb5b9fd2ffdf5a3de48aed0c6c50e874c09374021bf47072337c6ba9df5807fcf1ae37f594b74ecfd8cb31ededde0922093a25eb3c62b9e26b500830ea1af956 DIST kubernetes-1.25.3.tar.gz 38051233 BLAKE2B 06d7d155ef8ff6508e0bc8e9263689a3ace1ac0aeafe7cea76bff47494e2227bf7d6cd7f4d5ee044049cd6685398934c941c61743db699f60f9d8ee29d521753 SHA512 817c33b21366158465f1f2af8471154849ad69e8b9c24cd67de2e6d3c48f604e256a4fe65e886d7473577efe80af82027c29c0c043ab27e03b7e3940ff7186fb +DIST kubernetes-1.25.4.tar.gz 38068572 BLAKE2B 66dfe5a55ded66fc00792accaed542e45bea65c659a676920fca13d70077db8f05149bf5922eef2c2811eea84932c6b9e4997969b90b97597146ec443420da3a SHA512 1cbd7b708a70dd51fe399924ea3d995c809e426a2946eaf50eda041ece7a4740513c54ac871270d2f4d7497f59b551a78e5cb6ecb991d4ba038972c7b7383cac diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.4.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.4.ebuild new file mode 100644 index 000000000000..f987e6c308e9 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 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} +}