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 6585415838C for ; Mon, 22 Jan 2024 22:57:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5052E2A9F; Mon, 22 Jan 2024 22:57:00 +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 BAEA5E2A9F for ; Mon, 22 Jan 2024 22:57:00 +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 B7B323432EE for ; Mon, 22 Jan 2024 22:56:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C30A14BD for ; Mon, 22 Jan 2024 22:56:58 +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: <1705963350.3de520b634f4a6e9e09d977c155fefc8302a658d.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kubectl/Manifest sys-cluster/kubectl/kubectl-1.28.6.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 3de520b634f4a6e9e09d977c155fefc8302a658d X-VCS-Branch: master Date: Mon, 22 Jan 2024 22:56:58 +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: a0fcb433-780b-4eef-8ceb-d73f9e36acd7 X-Archives-Hash: 1f587d9764b80bc3f20bf8dece5c2cfb commit: 3de520b634f4a6e9e09d977c155fefc8302a658d Author: William Hubbs gentoo org> AuthorDate: Mon Jan 22 22:42:30 2024 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Jan 22 22:42:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de520b6 sys-cluster/kubectl: add 1.28.6 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.28.6.ebuild | 34 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index e4581aa7b2bf..493cec4038cd 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -4,5 +4,6 @@ DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2 DIST kubernetes-1.27.9.tar.gz 39182159 BLAKE2B 1ba76d947c1044378f0dc82733f46cb24bc49d86263413504b817bc2a4046f800d3127dc386491297ea4c310ca1843bb3741d3a4cc6745165104039cccc14796 SHA512 3cdba8bef8a3f5b5464e8da0ebab58f63ce207f3885769a4872b5a62a09c2a700be183ea3706bdda2b88bfdec75bb24844b33e5a377476451626fdbcc0f09700 DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9 DIST kubernetes-1.28.5.tar.gz 39965011 BLAKE2B 96a4b0c181d6703566791251d7b9e2df3a1964a4508ef8c4eb4716340d6190316b8f83efcf727c8c5733efe1065764bb799cc7c056742a374fd555aea432979d SHA512 555ab64dc8df2abc7db217aaf3fc8a1fbfb8aeb91b7c29516844577aa82f8f09b2c0bf2c58fe638b1f484812818e200c7b2f1833b1f5eb76e3a69a6b7bca755b +DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b446af3ba7f9c39b748eb005198b6ad448eca71cd5ad698ba5dd1fcaef727b6b3884e7bfbad0cc8ae7b7cdfc858f8a712c SHA512 bdb20da05001c67418e9e9c6d2640b974a1690bbdad7d0ede6ab1577d9bca0e998802737ceccc023fd34fd2f0e63cc7b1b9c2a90ee7d24429f8109b9393d7551 DIST kubernetes-1.29.0.tar.gz 43612738 BLAKE2B 81d216a40cbf0d8b1ddc7bac4a0304be2f988500d2861dde7f549ffe08b2d284317c0a8616949bd6cb39836a377abeb55ed4340896f86fc924e61e0b5f5a89b8 SHA512 14876c54a4179936c348c7c5f2e090deaa40a1efc6f8c942eb2feaa644b3d8e64ea3836d4b030d883ff2cd2533d5b4ec319c3fc2418708769ed8b07507b6d16e DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a diff --git a/sys-cluster/kubectl/kubectl-1.28.6.ebuild b/sys-cluster/kubectl/kubectl-1.28.6.ebuild new file mode 100644 index 000000000000..4cd6aca347c3 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.28.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI to run commands against Kubernetes clusters" +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.20" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +}