summaryrefslogtreecommitdiff
path: root/sys-cluster/kubectl
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/kubectl')
-rw-r--r--sys-cluster/kubectl/Manifest2
-rw-r--r--sys-cluster/kubectl/kubectl-1.15.12.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index e077d984a80a..8653082a9887 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,11 +1,13 @@
DIST kubernetes-1.15.10.tar.gz 26689433 BLAKE2B 5648bf9e6b4738393c735a00baec25e144e278c219c0c906a6a9b209896ce5dcb1411d58bbc8e9dd04f4f9312f7052b5f28eb4f2047406547de69a083fc4db19 SHA512 48c069d88a0111072ac02aed0760bc34ae44fbb5140489a837f089a6c944b5fa18f95f4bcc4286ca1fdfd6cd25e7bd0ff99c3b21373a1d70d3a0f70d352d4ed8
DIST kubernetes-1.15.11.tar.gz 26693249 BLAKE2B 8ffaac0416034e8113955863bffbd04a3bf7f7075374872a63b7c5bdb47d1d241d8da8635c401cab86b2cc278ee6efd8237910aa6cc321e7bc014fc50febef03 SHA512 ec86cad825d06ccc8336e6c0eb3f2e5351e4ba84df0cccd515c37cd6845e1e6d5b8414ea6d970ff92c71088576396a95daaa6deb15d18452eb85d80e09246e1e
+DIST kubernetes-1.15.12.tar.gz 26717819 BLAKE2B f7cf4a5a15265a644d17e8e934239fc209047a7e9ac3a4a1e69b6d618c3e6d79e0f132f17c613fc4fac71614bad4726bfb36da6b4c4b72e63c35739bee8482ab SHA512 ce356fb2cc0cfe1c761c2e59495a84292ac1fadc338c9bb8c4d4eff8efca11a5958ce1d92d0f91ff9f7557bf16283eed8eee007ee17427b3b52e209308fe8acd
DIST kubernetes-1.16.7.tar.gz 31722167 BLAKE2B 4792fec43d5921086dc78fc46d9d38554bc710bfb1a29928fd962fc0940946d4a4c1cba1ca86e999ebf2e1064bbeb011c9c6e464fada90c8a3e52a0cc2984977 SHA512 dc7d9180dd120418964e2fcc57105c9c3ba9b79abfdf357ca3ecd3c41468100b89e63b82ab6658b423c730ac2f229bf5eacca0321896b0739963fbc18343d765
DIST kubernetes-1.16.8.tar.gz 31731459 BLAKE2B 1d53c16586b5a7a41fc42d0fb3444b694531d3f04fb9e168a70d4b98f966f322bc82d39234612e38c71da052002c5bcc452c747d9f948dacbdd91ea40a9f5417 SHA512 04c8e9a9227ac9a98074cd52cbe90758134fedb10164fa69accbc19716a2f18dc133a4f880d0e35a3728c377faea431363f00ae9fe2ff5ca9e509444da9106c5
DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427
DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549
EBUILD kubectl-1.15.10.ebuild 1287 BLAKE2B c1039bcd37cd643f098c60e5e8a5cc5305daac8c22bde30f65a9faadf05657ef6ae01e8d87f8d2c0ccb47ef65d0a3b1ae2a4b94aa2b7c977bfd04fd4f9a98c00 SHA512 bbe2c3260b1a0435811b23a52b697853f08495605ae0e0bf8539e93d60b6a562005b64360d5640df3098986912b0dc805989a9f582fb4abfd3de6ed40ac5017f
EBUILD kubectl-1.15.11.ebuild 1286 BLAKE2B 6cf861b209e0df7c8c2ff62ff4698d0f74f125ea30d6daa2a01444536c2a646e26cf2a6d359aa6e8a7a797c687c2a38db3df2599d91f08f058d19c1710f7bc68 SHA512 123f42dd0d81854466880507079e0aebab63507907762b5e86a142251382bc0be44cd595bd2c85a1130027f6dbb9ab71011040d4dc1734540e9ba9a2510b80cd
+EBUILD kubectl-1.15.12.ebuild 1287 BLAKE2B c1039bcd37cd643f098c60e5e8a5cc5305daac8c22bde30f65a9faadf05657ef6ae01e8d87f8d2c0ccb47ef65d0a3b1ae2a4b94aa2b7c977bfd04fd4f9a98c00 SHA512 bbe2c3260b1a0435811b23a52b697853f08495605ae0e0bf8539e93d60b6a562005b64360d5640df3098986912b0dc805989a9f582fb4abfd3de6ed40ac5017f
EBUILD kubectl-1.16.7.ebuild 1287 BLAKE2B eafef6161de411917449cf56a9262ff03a11243de64ac3b00af9a3df6d2249f3e21841369177783de0ceeb79a4e73afdb757afa361833bbefb786670d952d10e SHA512 3442cceb953bb2221c990feb3365001fda8c9c64636e93a7580d35ebe6d080fcdfbde414db46f388723dbd87b2698b093220184c808b8de9505b655f1145ed47
EBUILD kubectl-1.16.8.ebuild 1287 BLAKE2B eafef6161de411917449cf56a9262ff03a11243de64ac3b00af9a3df6d2249f3e21841369177783de0ceeb79a4e73afdb757afa361833bbefb786670d952d10e SHA512 3442cceb953bb2221c990feb3365001fda8c9c64636e93a7580d35ebe6d080fcdfbde414db46f388723dbd87b2698b093220184c808b8de9505b655f1145ed47
EBUILD kubectl-1.17.3.ebuild 1051 BLAKE2B a0bcd5e270a4b55cd36974b519cf48cfd4bf717fbd2101054ae5b39479a8ea8351754a3f2819f685fb1114c70f5196b152aea69ff08ca893a335cbce186512c6 SHA512 32322c110477b4b44d066b0c59d12991597b6d772d9f79b0ce10516c8563c3edc3e55b61f27bd5e5ed7567837615eb7a5b9b766786291683a4d26e2a4f4d385e
diff --git a/sys-cluster/kubectl/kubectl-1.15.12.ebuild b/sys-cluster/kubectl/kubectl-1.15.12.ebuild
new file mode 100644
index 000000000000..021b5398348a
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.15.12.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+
+EGO_PN="k8s.io/kubernetes"
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="=dev-lang/go-1.12*
+ dev-go/go-bindata"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+ rm src/${EGO_PN}/go.mod || die
+}
+
+src_compile() {
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v
+ pushd src/${EGO_PN} || die
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin _output/bin/${PN}
+
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+
+ popd || die
+}