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 50EFA15802F for ; Wed, 8 Mar 2023 21:08:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50A76E08F3; Wed, 8 Mar 2023 21:08:27 +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 374A4E08F3 for ; Wed, 8 Mar 2023 21:08:27 +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 01F53341147 for ; Wed, 8 Mar 2023 21:08:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BF088D6 for ; Wed, 8 Mar 2023 21:08:24 +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: <1678309041.58f71e4ea3201dcc438ef4942a058af29b98b48c.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-controller-manager/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kube-controller-manager/Manifest sys-cluster/kube-controller-manager/kube-controller-manager-1.26.2.ebuild X-VCS-Directories: sys-cluster/kube-controller-manager/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 58f71e4ea3201dcc438ef4942a058af29b98b48c X-VCS-Branch: master Date: Wed, 8 Mar 2023 21:08:24 +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: effed7c0-a4ee-447a-81d0-979e5607bdbd X-Archives-Hash: c6897606d21b8ad4513435d7e3fded99 commit: 58f71e4ea3201dcc438ef4942a058af29b98b48c Author: William Hubbs gentoo org> AuthorDate: Wed Mar 8 20:54:20 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Mar 8 20:57:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f71e4e sys-cluster/kube-controller-manager: add 1.26.2 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kube-controller-manager/Manifest | 1 + .../kube-controller-manager-1.26.2.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index 2388193ce123..cc501276912e 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -2,3 +2,4 @@ DIST kubernetes-1.23.16.tar.gz 38115819 BLAKE2B 39a49a07d9d5c134b6d3edb0d48540ae DIST kubernetes-1.24.10.tar.gz 37847249 BLAKE2B 7f95f4ac29b5898033a8c19dc838eeae546befb762a19fa06fc6db29321cf7355f46958f994e374c395a9084bf5dc1580423ef7837e966277b7427a3b72428f3 SHA512 016b95537af6437d6285d07bfded048b093520fe7715dd8074bdde6a1646aa4e16a43b2dc6cae21e678795122b82dbeb1b7ac3f61997802e53bef518e3dcd2d7 DIST kubernetes-1.25.6.tar.gz 38158861 BLAKE2B af116c78d216477ab757523f66b3332ef982b49384145a69d1b5641b0929b7179171814f89bbba1950b0ab69476e9e48722e8b9b04f0e77610d7dc602d4bac65 SHA512 47e0f736ee7efc614a2e8ed08acd95b64ee78484ac735ca515a03607634a9a94e2d7f3989db300f130506390a93eebb32fba4e54fe2869e3c782932f9b9a033b DIST kubernetes-1.26.1.tar.gz 38162001 BLAKE2B e3589eb702da49786b3363c16a2a405721c2130fe9814c41af94c5d466e7946732c05da46ccecce915e3d80ea122c3a60d1c5b00a86cfed8b7238bd74daa041e SHA512 8794322c1e943ca47a059e6866bda9dee04acc8a202a984efe5c82403e394c4f5aa2c0218fb43582016c7276e17e837f64c39fc3af0c633461bf026aaacc97ae +DIST kubernetes-1.26.2.tar.gz 38192706 BLAKE2B ca14778ab5a1d1bdfb935d80eea269adb0414b5613d8e70b9c790711a284b79c8f89cdd22af73b9127fbf9f036b0aa317fbd97bc1df735aead0903d951fe5f4a SHA512 c14f3ba25ae3608ca8d28ab75c2f6a3636970d5851ef1c09259d6be4bce17af131f9adcc0be8e51f4197dc16650461bac8faae7b7ef24f899c1a0ad193ed0a6b diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.2.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.2.ebuild new file mode 100644 index 000000000000..c4863b6e8840 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +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-controller-manager + acct-user/kube-controller-manager" +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} +}