summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-07-08 15:22:16 +0200
committerManuel Rüger <mrueg@gentoo.org>2019-07-08 15:22:49 +0200
commit4313305c2b94dad4f4e1fd7356ab496e17ec15f4 (patch)
tree320882a5cd08fe4f1b00f7d13b3f33848634b390
parentvirtual/libmysqlclient: Mark 18-r1 stable on all arches (diff)
downloadgentoo-4313305c2b94dad4f4e1fd7356ab496e17ec15f4.tar.gz
gentoo-4313305c2b94dad4f4e1fd7356ab496e17ec15f4.tar.bz2
gentoo-4313305c2b94dad4f4e1fd7356ab496e17ec15f4.zip
sys-cluster/kubeadm: Version bump to 1.13.8
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
-rw-r--r--sys-cluster/kubeadm/Manifest1
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.13.8.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 58a2a2c68e13..643ab55511c5 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -1,3 +1,4 @@
DIST kubernetes-1.13.7.tar.gz 28861902 BLAKE2B 16704365a00cee83eb461f21df2d2e6c5d9b721585c62a3b650b1ecb40f8ad044c2b68cadc5f6251ccccbe22b059112f2c206ff352715fef1322505e655645ff SHA512 2cfc0b3739679da7e9bb9ce0aa71ef5842e45af382d616ce6188f20fec929aca579427b866b5cd71cca005d88d1717803c8f3be60eab8c99b200d422bdc40f04
+DIST kubernetes-1.13.8.tar.gz 28863825 BLAKE2B a796e25d6c4c751bf4bce1d4c8b48b0d0c9ddfcf7aa4356fe4a0ac990f2bfc11e2b4ee0267a1ddd8478c9af1470b53bb88d51d60db8bb650396181381d5de3b9 SHA512 f65263c32afc28fa6f32f762824545f6a2a10ca791d4d175914834f0b8bcadbf578f9c3e7224a2744b71049d6d3d71cbe11b3ede83c23f3ff15bbd4da919439f
DIST kubernetes-1.14.3.tar.gz 28058624 BLAKE2B 11a1bd98cf6270e0035d6f01a3b14cce641ab1af421e4f060d6616ae6f3e2fd84074c1fad48d4182ce49e62466be40181ff17fce9fd300b84afbdcc3a4f9dc22 SHA512 3fab0b5f142644454d22abfc99454adb3d3055b132cf93b6a0f6a0088b6a7938835edee813611756e80a21b1473e62c179905d77d3f2288bd5c60c6a43e60361
DIST kubernetes-1.15.0.tar.gz 26591862 BLAKE2B 114ae651bb1827913ff5294878956b46dba288928b9fec45796ce5f3c01ab611a7333bd955fb96e7fe970a9f4afc901570ff911dd946c1a72ff8e2c6b3bc927a SHA512 764268020e0fc27e8325058fefbc53200996e5a8f963c9156cf079425cdfed7545522ff8c779bfa074db8739e3ab97e829a049deaf0a0568f1434d7c1ed8446b
diff --git a/sys-cluster/kubeadm/kubeadm-1.13.8.ebuild b/sys-cluster/kubeadm/kubeadm-1.13.8.ebuild
new file mode 100644
index 000000000000..6c4b699b7594
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.13.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 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 Easily bootstrap a secure Kubernetes cluster"
+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.11
+ 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
+}
+
+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
+}