Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/
Date: Sun, 28 Oct 2018 16:25:22
Message-Id: 1540743880.25c8cc0eca7382d5e6be520f70aaf61c91f3959d.mrueg@gentoo
1 commit: 25c8cc0eca7382d5e6be520f70aaf61c91f3959d
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 28 16:24:40 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 28 16:24:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c8cc0e
7
8 sys-cluster/kubelet: Version bump to 1.11.4
9
10 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sys-cluster/kubelet/Manifest | 1 +
14 sys-cluster/kubelet/kubelet-1.11.4.ebuild | 43 +++++++++++++++++++++++++++++++
15 2 files changed, 44 insertions(+)
16
17 diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
18 index 87d0f105f9f..1408cc47754 100644
19 --- a/sys-cluster/kubelet/Manifest
20 +++ b/sys-cluster/kubelet/Manifest
21 @@ -4,6 +4,7 @@ DIST kubernetes-1.10.9.tar.gz 25071180 BLAKE2B 851b99258c61ef238c92ee2bc6918d53f
22 DIST kubernetes-1.11.1.tar.gz 24774820 BLAKE2B 2b4ffda2258fbdf7f05eeea57f7fad8ca2eb574895d016475ceae35d8506d9c09d5874e689c0f25c806d0b0b957fca166a8930a8fc5aca98cbe3174dfd217653 SHA512 4afb54ae389aa414c7e64a7ab60d586c8f3c75afe4da00bcf2221b4b273e164a09548e61c24a0cdaf9d0e52394c3421e6c70f4fbfc80ed62c40ba7816b03afcf
23 DIST kubernetes-1.11.2.tar.gz 24780381 BLAKE2B 020768d7acfbcd2feebea677db52bda785bbe9862327a0734cd8b2f66439c9e0538caebd12c706aada2513b277d37c3e3a3ff47e9eaeff31e75b06040b0b853a SHA512 1e61c3ee5f74e9320d8887c9869c3e2cc1ca57f1e8eb83b92c39a8b1a81a82568b966219696ff420f9c0798f6793b311a959294e6f4b0fd9be59daf180147271
24 DIST kubernetes-1.11.3.tar.gz 24788666 BLAKE2B b388132696b901901cdd5a9f0ab35ebea9533fe178bdf62bf0f1524b92bbb74e5d39c79c045ce0358ceabc8d68e87cb5e1603b0acf6a29f9bb557815e1ebed7e SHA512 f25f7e7738b75bbea62e9c5b0a73f93086f460277acac864c06baf69f565b8fcfb6b09836b8c7fbb8dcec9efc4943b88f5fd8a361007270c7900e7e48c1d5cc5
25 +DIST kubernetes-1.11.4.tar.gz 24804063 BLAKE2B b102f143bfa62258ed78b03fd1e246481661d12a9c8a871e7ca3683b5f17ed7de9116e507a3e4af533e79bd279021f65f5e19cde41e0d5a87ac69ae271db7100 SHA512 4d57c96b5bc734e0493ed05ee948381cb50b11dfbcb12377b31404afb1a6b10ad0709c13b953be145fb3eb79f27ab54d7672aa92f856f1ccfbb8000479ac063b
26 DIST kubernetes-1.12.0.tar.gz 27995428 BLAKE2B 5665425ec3cab7128e33c2e8bff49a66c306284604af88fa9a914d148638b1e894645cfd822bc288b567e97238018725bcefba89ba697734c5f74971358ad73a SHA512 6e5286d4817b1fbb4677277674e48758c9a5f820fe7d839162e6298736233143feccdbfb8fd14a64d0fb72a25abe18818cf9852737932e878b25efcf333d983f
27 DIST kubernetes-1.9.10.tar.gz 23592498 BLAKE2B 021ffbb933a5b541d43617fe36967b91cb1895d4fb6ce7f3651b682976699288646b45d5d0a5698131eedc19f4aa7a125d353971d2ecd44a2fd8510a95fac423 SHA512 621a2c1c76f993ad61087916fc5946aa3f1b3dec93c7024e518de613063a605500d38e763ed55a35967acb8548d63b65a7d8482f68695dc7600c23d3c38187e9
28 DIST kubernetes-1.9.11.tar.gz 23606810 BLAKE2B 19d30d2cadaf5b95f919e82670b1a8e1d5e2b80a4134dbc5c6afcc23d06dee8392f63d80b59ebfbbbf3a4bcce0dc2d81b1d560c3b3b1910350efed35ee77fbbc SHA512 87881d7dd7e0b3e46dc92f3160410fdf9e7ec1f0cbc3ef99da84b808c3813a3a2d843d49e2b501ee3eb8c9db3564f62c72eecaf5dc1917051e81c106bc80a9ba
29
30 diff --git a/sys-cluster/kubelet/kubelet-1.11.4.ebuild b/sys-cluster/kubelet/kubelet-1.11.4.ebuild
31 new file mode 100644
32 index 00000000000..27288752d60
33 --- /dev/null
34 +++ b/sys-cluster/kubelet/kubelet-1.11.4.ebuild
35 @@ -0,0 +1,43 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +inherit golang-build golang-vcs-snapshot
41 +
42 +EGO_PN="k8s.io/kubernetes"
43 +ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
44 +KEYWORDS="~amd64"
45 +
46 +DESCRIPTION="Kubernetes Node Agent"
47 +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
48 +SRC_URI="${ARCHIVE_URI}"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +IUSE="hardened"
53 +
54 +DEPEND="dev-go/go-bindata"
55 +
56 +RESTRICT="test"
57 +
58 +src_prepare() {
59 + default
60 + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die
61 + sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
62 +}
63 +
64 +src_compile() {
65 + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
66 + LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v
67 +}
68 +
69 +src_install() {
70 + pushd src/${EGO_PN} || die
71 + dobin _output/bin/${PN}
72 + popd || die
73 + keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
74 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
75 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
76 + insinto /etc/logrotate.d
77 + newins "${FILESDIR}"/${PN}.logrotated ${PN}
78 +}