summaryrefslogtreecommitdiff
path: root/sys-cluster/kubelogin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
commit115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch)
treec31afe35699960753f76770d6b0b4ea48af9f686 /sys-cluster/kubelogin
parente292b671b113c2cc012beddad93a3df4f9410698 (diff)
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'sys-cluster/kubelogin')
-rw-r--r--sys-cluster/kubelogin/Manifest4
-rw-r--r--sys-cluster/kubelogin/kubelogin-1.27.0.ebuild27
-rw-r--r--sys-cluster/kubelogin/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/sys-cluster/kubelogin/Manifest b/sys-cluster/kubelogin/Manifest
new file mode 100644
index 000000000000..5796098d2085
--- /dev/null
+++ b/sys-cluster/kubelogin/Manifest
@@ -0,0 +1,4 @@
+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
+EBUILD kubelogin-1.27.0.ebuild 795 BLAKE2B adc15731eb372ddc25b74e7771a24a3bda39637f26cf5c727e76a11df0df1fb67c7e05941ae95f2a677166cee90963fab4ac8ffae81cc080a8c1610405e6ae70 SHA512 f7dd3c540cc89e3d7caaace6fe7f5727d7f3acafed4648fd8b8db228b1a92df4645f633fa485cc3bda2d337702eb4351d7f04803e3a0fd3dcc125755a87af0f4
+MISC metadata.xml 334 BLAKE2B 9ccc6657115da79f314373732b815c1b87d103ae63709d8d2868b333be14fcb056deb7f170031fa0b4c4f610bd19494759460ca4452e5ee1df4c79cd70e631cd SHA512 79294b2af196d38286e0324459354a190b50b8f5d64119a0d2f68342f7737886fa802415efad649ac96ded8a70860e76adf5c6a75ec7781d3994d0aa5231a7cb
diff --git a/sys-cluster/kubelogin/kubelogin-1.27.0.ebuild b/sys-cluster/kubelogin/kubelogin-1.27.0.ebuild
new file mode 100644
index 000000000000..5d38e4717f8f
--- /dev/null
+++ b/sys-cluster/kubelogin/kubelogin-1.27.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}
+}
diff --git a/sys-cluster/kubelogin/metadata.xml b/sys-cluster/kubelogin/metadata.xml
new file mode 100644
index 000000000000..3d7e2ca055da
--- /dev/null
+++ b/sys-cluster/kubelogin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>concord@gentoo.org</email>
+ <name>Kenton Groombridge</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">int128/kubelogin</remote-id>
+ </upstream>
+</pkgmetadata>