From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1659763-garchives=archives.gentoo.org@lists.gentoo.org>
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 F2C27159C9B
	for <garchives@archives.gentoo.org>; Thu,  8 Aug 2024 13:53:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 34E8BE2A93;
	Thu,  8 Aug 2024 13:53:06 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 04EEFE2A93
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 13:53:06 +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 38A59343076
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 13:53:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 999361EBE
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2024 13:53:03 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
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" <williamh@gentoo.org>
Message-ID: <1723124146.7609c53216ce3140be839d83f7fce0f987275bd8.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.12.ebuild
X-VCS-Directories: sys-cluster/kubectl/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 7609c53216ce3140be839d83f7fce0f987275bd8
X-VCS-Branch: master
Date: Thu,  8 Aug 2024 13:53:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fbb56805-483a-4208-986e-cfdfced503e9
X-Archives-Hash: 1e07eb9d506bf4006113a9b487cd9d24

commit:     7609c53216ce3140be839d83f7fce0f987275bd8
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  8 13:35:46 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 13:35:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7609c532

sys-cluster/kubectl: add 1.28.12

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kubectl/Manifest               |  1 +
 sys-cluster/kubectl/kubectl-1.28.12.ebuild | 34 ++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index bb4f1c816e62..f2c3fa25387c 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.28.11.tar.gz 40007157 BLAKE2B 93afb8552627861c0d49cfc343cceaeb961939b8748cd125cc65b01f27b35c877007e3a1bfe416f2abcc5aa2bf5ee82673dad4a7276c1f4aaaf0a6b9abd9df19 SHA512 31c721b9fa5f73fd216587073e3308249bdb9a28b8534415e99d2630529f1a85fb7a6b18eb91f1b6bbd3f21dfdc6aa1ad0fe6ce257263e34b7fe7bd5cbbd584b
+DIST kubernetes-1.28.12.tar.gz 40019159 BLAKE2B 65028055409942e46d9df8bbf1ff85e5334cdf140ec62a5c5facac663ec28e2d8c4b201a7d028f61b67afb4ad8789131cf1324a3f485f1be5f4bc561a0c40572 SHA512 47003a09fcf5844a1e7256554036a361aee9eb953228fd745ac354aceae81e98422991fa92bce5aac358066062c2e6975ae991b827afcc35aa5687461841fd5e
 DIST kubernetes-1.29.6.tar.gz 41177485 BLAKE2B c02b17fe4cb2314a005180ba6813d056f49e980af9a96f392d9e46b7b436e062fbabf2f64b996e23c7a84db9f3970a1a24dc63d5ee0ac3029e375cfdec47f473 SHA512 d7b1401a6844c8e43a822b4f062ea4cc58f8fefd74c31a2936e9121220f30e9bcb9358683836d68f66cb28451cf3462a1c2c81f85f9ea53b4e919a370d3245e2
 DIST kubernetes-1.29.7.tar.gz 41180322 BLAKE2B bb107378b6879a87186f9366ec372a1e88a5231609deffd82c72d94af6835e38f261b7116199c5bf734b2f4e0fc1c8f6a6e63e97b1563a5642440ab76a74ba8f SHA512 bce18d12164704f4d55d7566737bdff8305c5613af7a8df4b49cfa5f90f6b51f879159c4da7fbe436fdf7c4fcf5331f3f35e63f8dbc4c833559e6e2b1a61d08f
 DIST kubernetes-1.30.2.tar.gz 39581297 BLAKE2B 7d1f303d21b870ad29d2cac96626edc3a19addedd544624e5cd9f42beb368e0959e499e5fd88bc7ee491a01cd29573115d1e77dfb73098ea88204a2614f7b635 SHA512 73f87da96fae889805e3e8fe644228159746c139e907755ec8654dd2fe46bf4561c6c5bb015bd95a6a1f5ba9be2e193aea9bb43b37ce1d67fb4ba42a50b9dac8

diff --git a/sys-cluster/kubectl/kubectl-1.28.12.ebuild b/sys-cluster/kubectl/kubectl-1.28.12.ebuild
new file mode 100644
index 000000000000..d9e842902c85
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.28.12.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.21.9"
+
+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}
+}