Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-controller-manager/
Date: Sat, 17 Oct 2020 22:04:15
Message-Id: 1602972231.412a1317295fec1402858be13e8121366fd90ba1.williamh@gentoo
1 commit: 412a1317295fec1402858be13e8121366fd90ba1
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 17 21:42:04 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 17 22:03:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412a1317
7
8 sys-cluster/kube-controller-manager: 1.19.3 bump
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 sys-cluster/kube-controller-manager/Manifest | 1 +
13 .../kube-controller-manager-1.19.3.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
17 index 759ccc16085..6c65bd01de9 100644
18 --- a/sys-cluster/kube-controller-manager/Manifest
19 +++ b/sys-cluster/kube-controller-manager/Manifest
20 @@ -8,3 +8,4 @@ DIST kubernetes-1.18.8.tar.gz 32619514 BLAKE2B cdeff1d4400e69bee3f675a6a8c111ec6
21 DIST kubernetes-1.18.9.tar.gz 32626627 BLAKE2B 4150e2a4d5cca27adac795f7d9be19a7151f2ddd33888a5da1d2fa8fcf4ed4451c5b266faedf1556a1ddaba92c066bf57637ecc244b7e9014c76d163dc68dd54 SHA512 db950af5bc964ce98ad39f237dccb0f46c698b7e801a6d8b6f96b90c3ec9650ab8f4836a764baec4c8d1b4cbea1ed5e692623f3434cb4f6f9d2dba1df482baa6
22 DIST kubernetes-1.19.1.tar.gz 33338722 BLAKE2B ad9b36ec30049b721634f6725cab08f849407c7c1483c62694acdb6726932a212752586eb9849c0063309b52f90da05ef1f36603f292aa86ea1e3b1feb439f73 SHA512 e07f850a5957cb7f48a1720c7cb269df60bacafb7ac86f4b211875e789551681909a2ddcf85a38a880156669f2b73ce1dd379d241238a52bc3cb34b44b706284
23 DIST kubernetes-1.19.2.tar.gz 33341808 BLAKE2B 814f43f90f248ad428e7c68995a44a9c69722b8215bab3ab9237b06dcee53297a3f57cb2cf68b9e3d246e49944f3246e7d8d3587ab0abff4b8e2fb72e42152c1 SHA512 7a4e0efdf0e262c662aa87bd77d226275761cb774cb77796846385b41937ce2d8d5e1f9fbae4804c7a0fbc6e558227661c453b2d5bd1b20a5c4913c31eae1519
24 +DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607
25
26 diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.19.3.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.19.3.ebuild
27 new file mode 100644
28 index 00000000000..7ebd21720e5
29 --- /dev/null
30 +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.19.3.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit go-module
37 +
38 +DESCRIPTION="Kubernetes Controller Manager"
39 +HOMEPAGE="https://kubernetes.io"
40 +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm64"
45 +IUSE="hardened"
46 +
47 +COMMON_DEPEND="acct-group/kube-controller-manager
48 + acct-user/kube-controller-manager"
49 +DEPEND="${COMMON_DEPEND}"
50 +RDEPEND="${COMMON_DEPEND}
51 + !sys-cluster/kubernetes"
52 +BDEPEND=">=dev-lang/go-1.15"
53 +
54 +RESTRICT+=" test"
55 +S="${WORKDIR}/kubernetes-${PV}"
56 +
57 +src_compile() {
58 + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
59 + emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
60 +}
61 +
62 +src_install() {
63 + dobin _output/bin/${PN}
64 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
65 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
66 + insinto /etc/logrotate.d
67 + newins "${FILESDIR}"/${PN}.logrotated ${PN}
68 + keepdir /var/log/${PN}
69 + fowners ${PN}:${PN} /var/log/${PN}
70 +}