commit: 2d981066ec6cd8fc190ef1ed99a1aee4f7ffec57 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> AuthorDate: Tue May 27 19:55:11 2025 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Tue May 27 20:18:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d981066
sys-cluster/kubelogin: add 1.32.4 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> sys-cluster/kubelogin/Manifest | 2 ++ sys-cluster/kubelogin/kubelogin-1.32.4.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/sys-cluster/kubelogin/Manifest b/sys-cluster/kubelogin/Manifest index bbe541e0b28a..a12194dd8338 100644 --- a/sys-cluster/kubelogin/Manifest +++ b/sys-cluster/kubelogin/Manifest @@ -2,3 +2,5 @@ DIST kubelogin-1.31.0-deps.tar.xz 35730044 BLAKE2B 2c840b28e0bb00e8f84bf6160cd1d DIST kubelogin-1.31.0.tar.gz 407631 BLAKE2B 628ee0d671af7c23c5050b3ff75129ca77ef05822779f43e53dc2435613626cd94f93462a9ca102b6917fa9da0de778509378d20ac42107faf8beccb4bde2f4f SHA512 b42f0a38a1069649bd8130d5e1ac6eceb6a170ddb6c03bf0eb1313cc9e82e731d3bc44cc11b0914db523f091f28c516244573597a11a7b58e3712787f0540fdb DIST kubelogin-1.32.3-deps.tar.xz 75088008 BLAKE2B dda884935c13daa642d8d19d8e7e81921080128b8d945a260a3894c488b7c674617e75ffd63331947a13671b8ab5b4827db86f7099b77ea5f9e1aad3145b5ab5 SHA512 9147ead0f008b7b8ee9d524b61d08b04d6bf048273e23e85f20b8c148d0543d26c8592240a09cd8afe303df85fbf9d16b2ac0683e854a87039fea1b1faf16832 DIST kubelogin-1.32.3.tar.gz 146889 BLAKE2B 62ec15c62d3a95852b24a5ca5bdeda6c376d819c249179706d623ab2e77b86a830dfc408e4a7c2a02398e051fd5fc2b71c1f81e1efc7bcb311e5bca8462e187c SHA512 690f4ea8ddd2bf4b48cd7d13586fd924fc262bf2c97dc1e2918ab62ebe7f9064407f4bb4b69f6a8699d9f541a2d7114f374c7a3dfc8e1bfcb93fd071a2c72978 +DIST kubelogin-1.32.4-deps.tar.xz 74596480 BLAKE2B bc7d2f717333fdb25cb5169a8d9f82c6202187777e5b3088c6d26a4a438ac9aa9b3040424ebcaefb6ea2448964d375f8ac1dd36685e8ccc8a027d837b4d0eb57 SHA512 92d2c1f7a2a497920a56859532a879c90fb161cb1ad8c080debeebc803230a1aa8d6ec9d8e9db5717f55a92abb436b07ced2935f34ea9d573fc78cbbd9998a50 +DIST kubelogin-1.32.4.tar.gz 146616 BLAKE2B 7bd05b529076416359d5192aeb5a440a7d62ec3f91c62b41e14b22c144f552094ae923780ae41c251f2b8a2d7c94e623e9df6c626388d01a3938d426e467b420 SHA512 7c3edc05b386402759bad3c8109f962b4f0cc631814cc4af05f32ebd7ef893fe1d9b4dbfa4c3a46d4bf576fbc900747e2920c3e7973f90a7eae28eccc708e6ab diff --git a/sys-cluster/kubelogin/kubelogin-1.32.4.ebuild b/sys-cluster/kubelogin/kubelogin-1.32.4.ebuild new file mode 100644 index 000000000000..c2e57739bdf7 --- /dev/null +++ b/sys-cluster/kubelogin/kubelogin-1.32.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module shell-completion + +DESCRIPTION="kubectl plugin for Kubernetes OpenID Connect authentication" +HOMEPAGE="https://github.com/int128/kubelogin" +SRC_URI="https://github.com/int128/kubelogin/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +src_compile() { + ego build -ldflags="-s -w" -o ./bin/${PN} . +} + +src_install() { + newbin bin/${PN} "kubectl-oidc_login" + bin/${PN} completion bash > ${PN}.bash || die + bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + newzshcomp ${PN}.zsh _${PN} +}
