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 E2608158091 for ; Sun, 29 May 2022 17:44:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF1CAE08C3; Sun, 29 May 2022 17:44:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8117E08CD for ; Sun, 29 May 2022 17:44:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A8DB43419D0 for ; Sun, 29 May 2022 17:44:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 777314D5 for ; Sun, 29 May 2022 17:44:01 +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: <1653846235.c73a539c999c319abf129407fb08b82e85163265.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kubelet/Manifest sys-cluster/kubelet/kubelet-1.24.1.ebuild X-VCS-Directories: sys-cluster/kubelet/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c73a539c999c319abf129407fb08b82e85163265 X-VCS-Branch: master Date: Sun, 29 May 2022 17:44:01 +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: b534d22e-ccdc-473d-a434-c6873b59cc82 X-Archives-Hash: f111b0e4d6e414642064af8b79a2c0f1 commit: c73a539c999c319abf129407fb08b82e85163265 Author: William Hubbs gentoo org> AuthorDate: Sun May 29 17:24:38 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun May 29 17:43:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73a539c sys-cluster/kubelet: add 1.24.1 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kubelet/Manifest | 1 + sys-cluster/kubelet/kubelet-1.24.1.ebuild | 36 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index dcd5128ae59c..b83990b3916f 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -3,3 +3,4 @@ DIST kubernetes-1.21.13.tar.gz 36157422 BLAKE2B 413ba3589efd724cd05ab9df76c9ba1f DIST kubernetes-1.22.8.tar.gz 36060758 BLAKE2B 8a9bb933aa7ecb07170065fb0b33805332cea5c4f8194d288c83ca907539dc207b878a03aa23ac62545ddbbc46d8896ce27dfd49791c01ef5d619e00c6564dbc SHA512 b55e1ca89349ab9d17a83b662ed9ea94f425bfad2fbbbff5918f48d831d5151036a44fc86c9eda1452a200abf5b39a9ebbba3560a8e90f49bbebb06597529a4a DIST kubernetes-1.23.5.tar.gz 38204715 BLAKE2B d42d9826704e923f4a25d788656909c641e77de19f483721436c6760d8d9b44c1805da5522c5a850fcbb0d86114057cf690607ff958536ef6af21e21a1d7b089 SHA512 4df849fcdf0d4ffd9552706600b43b9b248f9039ce05384fef859ce7479a9aa74b4a54a9a147b8be3db1c5c02274e71b31ae34700777fe010fb147cd132d80a2 DIST kubernetes-1.24.0.tar.gz 39810384 BLAKE2B eede08b189d42f3835da844510d27ce79ce6d7d2c5cff53e4a0b87f5622e16954390ec723caa6b2960fc63fab2c28fc2007e9227c9ba1e94f4bf5771160d0915 SHA512 7a52d789164928d98e687356b191d59fc69e9a36bade05b5a9a93f02f675a859a17a01ec0f6c5472d05783312cb07ed3acfec82dc79ed9a777ee80721b46eef0 +DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104 diff --git a/sys-cluster/kubelet/kubelet-1.24.1.ebuild b/sys-cluster/kubelet/kubelet-1.24.1.ebuild new file mode 100644 index 000000000000..e4341ebfaa6b --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.24.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd + +DESCRIPTION="Kubernetes Node Agent" +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" + +BDEPEND=">=dev-lang/go-1.18.1" + +RESTRICT+=" test " +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/kubernetes + newins "${FILESDIR}"/${PN}.env ${PN}.env +}