summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-06-24 16:34:34 +0200
committerManuel Rüger <mrueg@gentoo.org>2019-06-24 16:34:34 +0200
commit380860316476b44720a82c6642d011005d69bbd7 (patch)
treecffd64079be8f7f52fcf7bf6cbe953ed3bb9d0bb /sys-cluster
parentdev-texlive/texlive-latexextra: fix exsheets macro syntax (diff)
downloadgentoo-380860316476b44720a82c6642d011005d69bbd7.tar.gz
gentoo-380860316476b44720a82c6642d011005d69bbd7.tar.bz2
gentoo-380860316476b44720a82c6642d011005d69bbd7.zip
sys-cluster/kubelet: Version bump to 1.15.0
Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubelet/Manifest1
-rw-r--r--sys-cluster/kubelet/kubelet-1.15.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index d532b0b40a63..87d872d5d2d3 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -3,4 +3,5 @@ DIST kubernetes-1.11.6.tar.gz 24827575 BLAKE2B 095adccef1b5618f7e5d3a46cbf835f10
DIST kubernetes-1.12.6.tar.gz 28142622 BLAKE2B 7f3541356aebb3f60c27ba1ae1c9c50867bf77ae8cb585955b38addc1015ef0dbbf0bd21e454610ee2fe6c9811c0d32fe912de368f7bf5d95fe60cab7a538354 SHA512 bd4b28fb6ecb7212c9bd6fb24b3ba59466ed9d684a4ba4e403e0270fc96ac5d1bcdcf8ea0be0085353af29bbfe73ab6ff1cda5127ea123ad7660c3022cab4703
DIST kubernetes-1.13.7.tar.gz 28861902 BLAKE2B 16704365a00cee83eb461f21df2d2e6c5d9b721585c62a3b650b1ecb40f8ad044c2b68cadc5f6251ccccbe22b059112f2c206ff352715fef1322505e655645ff SHA512 2cfc0b3739679da7e9bb9ce0aa71ef5842e45af382d616ce6188f20fec929aca579427b866b5cd71cca005d88d1717803c8f3be60eab8c99b200d422bdc40f04
DIST kubernetes-1.14.3.tar.gz 28058624 BLAKE2B 11a1bd98cf6270e0035d6f01a3b14cce641ab1af421e4f060d6616ae6f3e2fd84074c1fad48d4182ce49e62466be40181ff17fce9fd300b84afbdcc3a4f9dc22 SHA512 3fab0b5f142644454d22abfc99454adb3d3055b132cf93b6a0f6a0088b6a7938835edee813611756e80a21b1473e62c179905d77d3f2288bd5c60c6a43e60361
+DIST kubernetes-1.15.0.tar.gz 26591862 BLAKE2B 114ae651bb1827913ff5294878956b46dba288928b9fec45796ce5f3c01ab611a7333bd955fb96e7fe970a9f4afc901570ff911dd946c1a72ff8e2c6b3bc927a SHA512 764268020e0fc27e8325058fefbc53200996e5a8f963c9156cf079425cdfed7545522ff8c779bfa074db8739e3ab97e829a049deaf0a0568f1434d7c1ed8446b
DIST kubernetes-1.9.11.tar.gz 23606810 BLAKE2B 19d30d2cadaf5b95f919e82670b1a8e1d5e2b80a4134dbc5c6afcc23d06dee8392f63d80b59ebfbbbf3a4bcce0dc2d81b1d560c3b3b1910350efed35ee77fbbc SHA512 87881d7dd7e0b3e46dc92f3160410fdf9e7ec1f0cbc3ef99da84b808c3813a3a2d843d49e2b501ee3eb8c9db3564f62c72eecaf5dc1917051e81c106bc80a9ba
diff --git a/sys-cluster/kubelet/kubelet-1.15.0.ebuild b/sys-cluster/kubelet/kubelet-1.15.0.ebuild
new file mode 100644
index 000000000000..f38ce59e625d
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.15.0.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 systemd
+
+EGO_PN="k8s.io/kubernetes"
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="hardened"
+
+DEPEND="dev-go/go-bindata
+ >=dev-lang/go-1.11"
+
+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() {
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin _output/bin/${PN}
+ popd || die
+ keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto /etc/kubernetes
+ newins "${FILESDIR}"/${PN}.env ${PN}.env
+}