1 |
commit: 2bc1223a2025dc7b41409393c56ceac0fcd5fb80 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 5 15:25:45 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 5 15:25:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc1223a |
7 |
|
8 |
sys-cluster/kube-proxy: Version bump to 1.8.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-cluster/kube-proxy/Manifest | 1 + |
13 |
sys-cluster/kube-proxy/kube-proxy-1.8.6.ebuild | 42 ++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest |
17 |
index 00b6ebd297d..488b47db853 100644 |
18 |
--- a/sys-cluster/kube-proxy/Manifest |
19 |
+++ b/sys-cluster/kube-proxy/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST kubernetes-1.8.5.tar.gz 23235782 BLAKE2B 923c4e5a0a3dc19d57665bf184bdd33fcbd9ffacf4aaf6a89553568631cdbc136f4bc0f6de0619bbabdc9f9bab05c495626bdccd1879bffb231fa31792707d08 SHA512 c4d6b2bafb4bc148ffe2273433241ff0564c6a452469180c2289f3f90fde72f0817881332502d08bcba3095809d71865255e8702d1e210dda81dff3310c24124 |
22 |
+DIST kubernetes-1.8.6.tar.gz 23244485 BLAKE2B 2f7fd993f8720d47ac0335ff8ba393f39ad20bb075a546ff7b4f99b4132e0988a3f9ac1c3e5e234bad0895d6bc951ae390e8e09e5630bf49834c5ef4ead23f19 SHA512 20af7157d1df035bb39e0ec57e8887166b34097daa71f57dc94166ae4b1a0379d51baaf268be35fbdd81cf4fdf78abe88f37b505c6428ad1b8d4ef237a1ef4ee |
23 |
DIST kubernetes-1.9.0.tar.gz 23346652 BLAKE2B 0ed7a0b77798feb75adb1261720d23d5bf0ec0b754ea5b1fa369140a324cdfe291c271dca4e0cec50e7484aa6cfdff9aa7f0d0ee0fd469622695c6742ff05e38 SHA512 dc418c46521e15e499bda2444b1fa096004cfbff7a18cf0079df8f939e716b0234246c5b77240b24fe862cb081a0bd91d8a309318ab0fd3494fb0cd8e7b59c12 |
24 |
DIST kubernetes-1.9.1.tar.gz 23377786 BLAKE2B 348368a73d69441130494bdc2fa4c8e1074c698d9784c335cae7b594f9e9b9f982800d40f1c8a666517cb72ba75862cce9ceb68955c319320347792f2c60312f SHA512 43913dd94fee27058ee131bfda49961339b130633769a95716533b865e1d62996110aacdf5d04d61512ce7be458602a73dfed39dad763d130c9e4baf950e7dce |
25 |
|
26 |
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.8.6.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.8.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b8b9ae3ea7f |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/kube-proxy/kube-proxy-1.8.6.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit golang-build golang-vcs-snapshot |
37 |
+ |
38 |
+EGO_PN="k8s.io/kubernetes" |
39 |
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" |
40 |
+KEYWORDS="~amd64" |
41 |
+ |
42 |
+DESCRIPTION="Kubernetes Proxy service" |
43 |
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" |
44 |
+SRC_URI="${ARCHIVE_URI}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+ |
49 |
+DEPEND="dev-go/go-bindata" |
50 |
+ |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ sed -i -e "s/git archive/git-archive/" src/${EGO_PN}/hack/lib/version.sh || die |
56 |
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die |
57 |
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ pushd src/${EGO_PN} || die |
66 |
+ dobin _output/bin/${PN} |
67 |
+ popd || die |
68 |
+ keepdir /var/log/${PN} /var/lib/${PN} |
69 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
70 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
71 |
+ insinto /etc/logrotate.d |
72 |
+ newins "${FILESDIR}"/${PN}.logrotated ${PN} |
73 |
+} |