summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-12-17 16:16:18 +0100
committerManuel Rüger <mrueg@gentoo.org>2019-12-17 16:17:24 +0100
commit7262500e733165b4111d6105b26d31d6f3f672b0 (patch)
treec575ad12ff97e3c29246ec718ee4a83b6d43840d /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: Remove old (diff)
downloadgentoo-7262500e733165b4111d6105b26d31d6f3f672b0.tar.gz
gentoo-7262500e733165b4111d6105b26d31d6f3f672b0.tar.bz2
gentoo-7262500e733165b4111d6105b26d31d6f3f672b0.zip
sys-cluster/kube-controller-manager: Version bump to 1.16.4
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r--sys-cluster/kube-controller-manager/Manifest1
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.16.4.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index 9043f24ebba9..72c24828017b 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -4,3 +4,4 @@ DIST kubernetes-1.15.5.tar.gz 26658547 BLAKE2B a1b97329c7e8b7b54b682cb9cf5c35181
DIST kubernetes-1.15.6.tar.gz 26665166 BLAKE2B 9e40db549d524a4e248479d5836aaa6063e44c0e01f1bbdfcf3bdc37e8f317badc0446148b8cc737c16790d93dd2827f48ab896d0ec36e1b265b598a67ecbae5 SHA512 f7b374bc0797a9c48535ffea28da1629de8734aa8884cf63ff4850ae5f63e64d55b89ceb6e2a29082bf7317ab742f8deed6333b2c21089e9e99e931d72e8f6b0
DIST kubernetes-1.16.2.tar.gz 31202049 BLAKE2B e7bb9330c233959702545207ce3061559ecae6283332eae9eb57d38654a0b7a447d85ca016a674cf72b253c816662bffe2e04cf298ce43d3e5dd26d722783ac1 SHA512 44c600f3e9af64f66d2403340137cd162bfcc1ed30d5d6ad440b77be403656f624a1390489680134a7742626d3eb0affa92ff3e17c02ba2df91f7a75655046a9
DIST kubernetes-1.16.3.tar.gz 31211177 BLAKE2B 816b7a4c3489b328d14ae149bdc71bcdc9a6c981ddff8d812b602d1976d12785355615f6ad43246cc201c6d7f3d5a19381d3e6cefba9358a754df81cf35bedca SHA512 3381249ab9b76849720252ddcc89565dd4f79c003c6e6f97b9cb39f7490acfd12110d21beeee4d5b7239769ace998d1949f8b25d70e42643c244b819d7b5c042
+DIST kubernetes-1.16.4.tar.gz 31220590 BLAKE2B 3ee3ab50f2a10c419b99f7f25072ad7b129741829d241ad788b343e5bd30ec3c9b07053755a2ec650227c0d26ae34f3d1d101cfd50ed6b16b3415a8233c8e4c0 SHA512 84768ffe3d4147082b3b151c7787498a78ee0e6aee537f5fb21c8e0e30e72b222d68942389063e8fc2a549aec423fc84a9696b3b70b9ae746a2b87a2f47297de
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.16.4.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.16.4.ebuild
new file mode 100644
index 000000000000..6aa71f51b8b1
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.16.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+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 Controller Manager"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND="dev-go/go-bindata
+ >=dev-lang/go-1.11"
+
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+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
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin _output/bin/${PN}
+ popd || die
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}