summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2020-01-24 17:47:00 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-24 18:23:44 -0600
commitc8c1415f23c8397b8cefb49e6227822ba7feaa3f (patch)
treedd09d3fa245d9778962a0a418bfbb37b53a33862 /sys-cluster/kubeadm
parentprofiles/default/linux/x86/17.0/musl/use.mask: add a link to ssp problems (diff)
downloadgentoo-c8c1415f23c8397b8cefb49e6227822ba7feaa3f.tar.gz
gentoo-c8c1415f23c8397b8cefb49e6227822ba7feaa3f.tar.bz2
gentoo-c8c1415f23c8397b8cefb49e6227822ba7feaa3f.zip
sys-cluster/kubeadm: 1.17.2 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubeadm')
-rw-r--r--sys-cluster/kubeadm/Manifest1
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.17.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 3084d964bad0..310555dc40ff 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -6,3 +6,4 @@ DIST kubernetes-1.15.9.tar.gz 26683313 BLAKE2B e8faaf32bda63dd0ac25670cd96a4a04a
DIST kubernetes-1.16.2.tar.gz 31202049 BLAKE2B e7bb9330c233959702545207ce3061559ecae6283332eae9eb57d38654a0b7a447d85ca016a674cf72b253c816662bffe2e04cf298ce43d3e5dd26d722783ac1 SHA512 44c600f3e9af64f66d2403340137cd162bfcc1ed30d5d6ad440b77be403656f624a1390489680134a7742626d3eb0affa92ff3e17c02ba2df91f7a75655046a9
DIST kubernetes-1.16.3.tar.gz 31211177 BLAKE2B 816b7a4c3489b328d14ae149bdc71bcdc9a6c981ddff8d812b602d1976d12785355615f6ad43246cc201c6d7f3d5a19381d3e6cefba9358a754df81cf35bedca SHA512 3381249ab9b76849720252ddcc89565dd4f79c003c6e6f97b9cb39f7490acfd12110d21beeee4d5b7239769ace998d1949f8b25d70e42643c244b819d7b5c042
DIST kubernetes-1.16.6.tar.gz 31714463 BLAKE2B 050897d4308a31d5164a907766af4f952d6551fba7e503bf7def78db37d017a3f5bd7a1c54125e42f9adeb850e6e38ef4ac9a98af978faf2efc4a474323b9f43 SHA512 2e1ca5781842ccd32f6e9791d069e9838a6221be3c4018abc06517cf97517bb500a6fafd7ae346088430f60c3e1dcbb983842572b9ed3241b70467dc1941e4a1
+DIST kubernetes-1.17.2.tar.gz 31753827 BLAKE2B de92f1e0f087115691b5ce057a07f4b46a4410714ad9164801c0390190bd8e29f8aa6e79d0d8b816669770feaf229932df04c48792ce11e77e8c682db54f28bd SHA512 64c45967e6a85943fd3f62f82e0d51001bbeb04ed8ccbe376ad63989f4a888f838bc17d1d0942e8c857118781703a6cbd3336bff1f3ae5269f808b5d9b4d11bd
diff --git a/sys-cluster/kubeadm/kubeadm-1.17.2.ebuild b/sys-cluster/kubeadm/kubeadm-1.17.2.ebuild
new file mode 100644
index 000000000000..a2529fec51c7
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.17.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://github.com/kubernetes/kubernetes 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"
+
+DEPEND=">=dev-lang/go-1.13
+ dev-go/go-bindata"
+
+RESTRICT="test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_prepare() {
+ default
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" hack/lib/golang.sh || die
+ sed -i -e "/export PATH/d" hack/generate-bindata.sh || die
+}
+
+src_compile() {
+ LDFLAGS="" emake -j1 WHAT=cmd/${PN} GOFLAGS=-v
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}