diff options
Diffstat (limited to 'sys-cluster/kubelogin')
-rw-r--r-- | sys-cluster/kubelogin/Manifest | 3 | ||||
-rw-r--r-- | sys-cluster/kubelogin/kubelogin-1.28.0.ebuild | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-cluster/kubelogin/Manifest b/sys-cluster/kubelogin/Manifest index 5796098d2085..548d9aecbfac 100644 --- a/sys-cluster/kubelogin/Manifest +++ b/sys-cluster/kubelogin/Manifest @@ -1,4 +1,7 @@ DIST kubelogin-1.27.0-deps.tar.xz 34246336 BLAKE2B 7c6b8163d5e03ca13fd2aa31b291b0c9d2044df088ce03c6456365d9159f4ef5728d3ddf56cb6e2f71923e6ade54927a23555665e413f0bf3c3aff4e48985132 SHA512 9aaf6a19d4f319cbf3c2e47a17699ec2e5d98c26797dc396066f405cf74719ece893bfdc52af09d3bfb85b8572c822b68aa690a579d187d8d84d2c221570f6f3 DIST kubelogin-1.27.0.tar.gz 383335 BLAKE2B f239fb682a42c723901cbe000130369fb6ec19ea4f4120de66195aa0f0669c25aee9ffb11b08fb06a3e920027ff8ac5495b4cbcb5f64f7d7664ddf9c38caafea SHA512 7f51e84b4884e89f77bb88c1f0f048486863e91dcd7ea50c148483e36bab3676e382e45e43743f3346deda729cbc798d0a8577e18771e945a93b6faf618e8668 +DIST kubelogin-1.28.0-deps.tar.xz 36937936 BLAKE2B b05945d88bd6e389ae9081cdfd3f594677cf9689993d11852bcfe9d5e4bf73e3da3932b3ffddfb9a342516383e6a0903050274de95abbfac3a8fe97641e35510 SHA512 64d7cf6155ad19b60f92443dd0375f44de8a99c65e4546c5cf15330bb0c41b434569f5422cf5611904538b5acc8d78df1268cfd1fce2b22b0e16940870228073 +DIST kubelogin-1.28.0.tar.gz 382953 BLAKE2B 7192b39fafee09eca9f8b26cad0a3a21c792ee6383382f809c71f79af81d3ee69393879df7d7d0fa2a96e3435f196f4d7a7d8d7541c49650628ced1c44a080f3 SHA512 b39cdb31aab7cb1bedbf5d13a449e289569b6e17c319900d18e741aeb8b88a8eee5534aec57753457e6a5b9b139b85b95f2bdb438b79773a8ae54e3eb57a4358 EBUILD kubelogin-1.27.0.ebuild 795 BLAKE2B adc15731eb372ddc25b74e7771a24a3bda39637f26cf5c727e76a11df0df1fb67c7e05941ae95f2a677166cee90963fab4ac8ffae81cc080a8c1610405e6ae70 SHA512 f7dd3c540cc89e3d7caaace6fe7f5727d7f3acafed4648fd8b8db228b1a92df4645f633fa485cc3bda2d337702eb4351d7f04803e3a0fd3dcc125755a87af0f4 +EBUILD kubelogin-1.28.0.ebuild 795 BLAKE2B adc15731eb372ddc25b74e7771a24a3bda39637f26cf5c727e76a11df0df1fb67c7e05941ae95f2a677166cee90963fab4ac8ffae81cc080a8c1610405e6ae70 SHA512 f7dd3c540cc89e3d7caaace6fe7f5727d7f3acafed4648fd8b8db228b1a92df4645f633fa485cc3bda2d337702eb4351d7f04803e3a0fd3dcc125755a87af0f4 MISC metadata.xml 334 BLAKE2B 9ccc6657115da79f314373732b815c1b87d103ae63709d8d2868b333be14fcb056deb7f170031fa0b4c4f610bd19494759460ca4452e5ee1df4c79cd70e631cd SHA512 79294b2af196d38286e0324459354a190b50b8f5d64119a0d2f68342f7737886fa802415efad649ac96ded8a70860e76adf5c6a75ec7781d3994d0aa5231a7cb diff --git a/sys-cluster/kubelogin/kubelogin-1.28.0.ebuild b/sys-cluster/kubelogin/kubelogin-1.28.0.ebuild new file mode 100644 index 000000000000..5d38e4717f8f --- /dev/null +++ b/sys-cluster/kubelogin/kubelogin-1.28.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module + +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" + +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} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +} |