summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-12-02 01:40:01 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-12-02 01:40:01 +0100
commit149b07a6bf9412c0fc04dc220efa5d2e78eaf698 (patch)
tree6161be6a7a598fa4ff7fda2066c819b0710a4750 /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: Version bump to 1.10.11 (diff)
downloadgentoo-149b07a6bf9412c0fc04dc220efa5d2e78eaf698.tar.gz
gentoo-149b07a6bf9412c0fc04dc220efa5d2e78eaf698.tar.bz2
gentoo-149b07a6bf9412c0fc04dc220efa5d2e78eaf698.zip
sys-cluster/kube-controller-manager: Version bump to 1.10.11
Signed-off-by: Manuel Rüger <mrueg@gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11
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.10.11.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index 905371cfda18..f04d72475dc9 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,3 +1,4 @@
+DIST kubernetes-1.10.11.tar.gz 25085442 BLAKE2B 1cd758c8f042f9ccd797e67690f31038595a1162e8d50aed849e35dcc522aff3af2ce074f3c27f8dfce536ffb290af5d6bf0f684089eb76567f1bfb33f2764c6 SHA512 db7feafe398436123e66c90a271f714a645da5f170241d01371bfe613e87e2c177610f32325f85e02b63df9e847b19fd6000bff0b35d2635e8f03b31a40b9d11
DIST kubernetes-1.10.4.tar.gz 24773451 BLAKE2B 8ee589b12a9e594dc5858473f543ef704ba772d48d565bfe3095cf9fb0588cd1ab602f092cc0fdba533cdf6c50c12f18431416640ad55867590940f34ebf5987 SHA512 cf1ea11fd721a800a6fdb51ed795f7a225577f1d93661ad98929c00a57ba55f31ac3b3d34e6276da997665734375455668b396289badaaed9825a48f33bdace3
DIST kubernetes-1.10.5.tar.gz 25046108 BLAKE2B 4e3d85e872e13a11d7f1fe030d9c6ba62c56b37788c31d6460c7d149c47a59a18a9cbfc791092183977089f4d612b690138faee46383c1b3b7e65adfdd3a0276 SHA512 55ac294297385cf6a69a48193c691744b886a5fa5d22b7a3a601d39aacd4cd898edccfcdc186bb1845e257f0f177d330af15d29d1419caab03f863bfa095eddf
DIST kubernetes-1.10.9.tar.gz 25071180 BLAKE2B 851b99258c61ef238c92ee2bc6918d53fe09299997ce15ec4c38f4061746b01215aad8b6832a044ec96c5f88d61f7629722621c7bb0f4a53176f3c76a2aad4ec SHA512 ebc859304c337b4dc92f4e1122a6ff8ef8e0564757bd1dea5050f7a295da752fe72f81f2fc86aea45dcba9b9c3690140c75f461951b839761d5c636b9b0d2a5b
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.10.11.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.10.11.ebuild
new file mode 100644
index 000000000000..f985f1f4f06f
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.10.11.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 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"
+
+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" 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}
+}