diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-scheduler/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-scheduler/kube-scheduler-1.10.9.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 4a777e9dd8a5..87d0f105f9f2 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -1,5 +1,6 @@ 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 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 diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.10.9.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.10.9.ebuild new file mode 100644 index 000000000000..81b22a7c9dea --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.10.9.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} +} |