summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-10-17 15:52:52 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-10-17 17:03:48 -0500
commit0d4a7611b4716f23fca673e81a20d11bffeb2d6c (patch)
treec72f57b709a289b5a3bca8a368703c74fb2da258
parentsys-cluster/kube-proxy: 1.17.13 bump (diff)
downloadgentoo-0d4a7611b4716f23fca673e81a20d11bffeb2d6c.tar.gz
gentoo-0d4a7611b4716f23fca673e81a20d11bffeb2d6c.tar.bz2
gentoo-0d4a7611b4716f23fca673e81a20d11bffeb2d6c.zip
sys-cluster/kube-scheduler: 1.17.13 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--sys-cluster/kube-scheduler/Manifest1
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.17.13.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index dad85b26c1b..be6c4ad62f4 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.17.12.tar.gz 31835673 BLAKE2B defba38b718f21d0521047bed703680ebb7e736343ffcdc52c441a005c8157197e8d7584476550ed8abc65f2d8cd583f623906daaa00d2e99783dda5ad3f2a57 SHA512 703bdb78e51dc6f7c5b05284dc2374ecef6b48f2a302f4fb5d04a4fce6e77a4ad05ec2a61915dafef07c3396f716a5e97157ca19e589acd7fba662dbb62e269e
+DIST kubernetes-1.17.13.tar.gz 31841139 BLAKE2B b068ed913fe9a36aaf51b2e2ff05841374b9b1ad25392c0b894bb25b2895228201e9c85eee84a6d61901855be336ad07a1108fbeb43a619f779667191737eddb SHA512 eaebc7d649a2a53f2a7bae8fe70ccd469f8f983a2d14148f86e86a05d66a40ce8b71d4422e653966daf4c86ccd353693cc0e9bfe3a44b5259239d047a20ddb7a
DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427
DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549
DIST kubernetes-1.18.9.tar.gz 32626627 BLAKE2B 4150e2a4d5cca27adac795f7d9be19a7151f2ddd33888a5da1d2fa8fcf4ed4451c5b266faedf1556a1ddaba92c066bf57637ecc244b7e9014c76d163dc68dd54 SHA512 db950af5bc964ce98ad39f237dccb0f46c698b7e801a6d8b6f96b90c3ec9650ab8f4836a764baec4c8d1b4cbea1ed5e692623f3434cb4f6f9d2dba1df482baa6
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.17.13.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.17.13.ebuild
new file mode 100644
index 00000000000..415e490bb07
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.17.13.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+ acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ !sys-cluster/kubernetes"
+ BDEPEND="=dev-lang/go-1.14*"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}