summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-09-28 15:45:26 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-09-28 15:45:26 +0200
commit97267330ddf2f1fea4c5643ca4d637bddbc9db0b (patch)
treebd9ffeaab31e61d346c1681186b63a1790ad6cb5 /sys-cluster/kube-scheduler
parentsys-cluster/kube-controller-manager: Version bump to 1.12.0 (diff)
downloadgentoo-97267330ddf2f1fea4c5643ca4d637bddbc9db0b.tar.gz
gentoo-97267330ddf2f1fea4c5643ca4d637bddbc9db0b.tar.bz2
gentoo-97267330ddf2f1fea4c5643ca4d637bddbc9db0b.zip
sys-cluster/kube-scheduler: Version bump to 1.12.0
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'sys-cluster/kube-scheduler')
-rw-r--r--sys-cluster/kube-scheduler/Manifest1
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.12.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index 7fafb21b7aa0..1687076d790c 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -3,6 +3,7 @@ DIST kubernetes-1.10.5.tar.gz 25046108 BLAKE2B 4e3d85e872e13a11d7f1fe030d9c6ba62
DIST kubernetes-1.11.1.tar.gz 24774820 BLAKE2B 2b4ffda2258fbdf7f05eeea57f7fad8ca2eb574895d016475ceae35d8506d9c09d5874e689c0f25c806d0b0b957fca166a8930a8fc5aca98cbe3174dfd217653 SHA512 4afb54ae389aa414c7e64a7ab60d586c8f3c75afe4da00bcf2221b4b273e164a09548e61c24a0cdaf9d0e52394c3421e6c70f4fbfc80ed62c40ba7816b03afcf
DIST kubernetes-1.11.2.tar.gz 24780381 BLAKE2B 020768d7acfbcd2feebea677db52bda785bbe9862327a0734cd8b2f66439c9e0538caebd12c706aada2513b277d37c3e3a3ff47e9eaeff31e75b06040b0b853a SHA512 1e61c3ee5f74e9320d8887c9869c3e2cc1ca57f1e8eb83b92c39a8b1a81a82568b966219696ff420f9c0798f6793b311a959294e6f4b0fd9be59daf180147271
DIST kubernetes-1.11.3.tar.gz 24788666 BLAKE2B b388132696b901901cdd5a9f0ab35ebea9533fe178bdf62bf0f1524b92bbb74e5d39c79c045ce0358ceabc8d68e87cb5e1603b0acf6a29f9bb557815e1ebed7e SHA512 f25f7e7738b75bbea62e9c5b0a73f93086f460277acac864c06baf69f565b8fcfb6b09836b8c7fbb8dcec9efc4943b88f5fd8a361007270c7900e7e48c1d5cc5
+DIST kubernetes-1.12.0.tar.gz 27995428 BLAKE2B 5665425ec3cab7128e33c2e8bff49a66c306284604af88fa9a914d148638b1e894645cfd822bc288b567e97238018725bcefba89ba697734c5f74971358ad73a SHA512 6e5286d4817b1fbb4677277674e48758c9a5f820fe7d839162e6298736233143feccdbfb8fd14a64d0fb72a25abe18818cf9852737932e878b25efcf333d983f
DIST kubernetes-1.9.10.tar.gz 23592498 BLAKE2B 021ffbb933a5b541d43617fe36967b91cb1895d4fb6ce7f3651b682976699288646b45d5d0a5698131eedc19f4aa7a125d353971d2ecd44a2fd8510a95fac423 SHA512 621a2c1c76f993ad61087916fc5946aa3f1b3dec93c7024e518de613063a605500d38e763ed55a35967acb8548d63b65a7d8482f68695dc7600c23d3c38187e9
DIST kubernetes-1.9.8.tar.gz 23559610 BLAKE2B ef384dd9a06cb00c5a095b05a4b304b08a97c3eac9c40b1b06664bfffb5e5b7c71505d50c4f7c3b594975df1013030788c8cee40acbce5c9ccd34ee5b44dc4fe SHA512 45e65d7a1f0950f2fb8fc923bdcaf1d607960be096a98fbfe187ef117da02ce7bf430cdc4c6d7e707557ef54f3239025e442be08729e86dabba624f3aa7503d1
DIST kubernetes-1.9.9.tar.gz 23588721 BLAKE2B 0fdf1d934692df14d519b23ca3c5ff4fb887eefd7cc56a7ca51dde384e713f65fd48049a9b3376a7c36e0e32da05c472a704521ce8a66a0987e9e49c26f84b58 SHA512 0203fce2646c0221be95b22315f7f62340043542d7213f3020f1012ab016ee47b958d69399b4eaa36bdc219c1c3d3916a7fcff6fbd1975e2a91087bc866b3135
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.12.0.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.12.0.ebuild
new file mode 100644
index 000000000000..81b22a7c9dea
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.12.0.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 Scheduler"
+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}
+}