commit:     d0ba3b09742a925917f0507b8f1fcee39240666f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 20 20:03:44 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 20 20:25:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ba3b09

sys-cluster/kube-scheduler: 1.19.15 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-scheduler/Manifest                |  1 +
 .../kube-scheduler/kube-scheduler-1.19.15.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index d0e0051392d..b0472450714 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.19.14.tar.gz 33547290 BLAKE2B 
a35a51301a7c50bf46247ca0a3e341f1b2a479fcbb2d4c53abee20983892ec41d8e607e7e920f54f7ca2ade3ef32e5fe1e84e12eea5d154fc764319a7e37667a
 SHA512 
9262cb6f21b7096121f4ae9dd14d8dcbcffb3c590cfee13aafe7152a585fcdf4c13ab8002553757c2c3288ebef1ad6f824e431b45a2751bcc8ad6e033409d6a2
+DIST kubernetes-1.19.15.tar.gz 33569852 BLAKE2B 
b1c214b25f9fe5f860325382a99b36123913c98aedecf8d0778e9fb4c9308834c4e1d089e6b23f32f380997f26a9dcd7d0d5de45a5f87f9d4144538001d634ef
 SHA512 
cdef25ab050df79a5fce824721920fedead8326b83b5134ef534a8b8671b58a122bd49598981cd86bdd6ab46fdc8b55ccee5fd9e4c725ddf261bf4178f264e0a
 DIST kubernetes-1.20.10.tar.gz 34502658 BLAKE2B 
273f47a8f99a52a9b1fa2ea8a755dd97d6b85c0bd516d162defe44ed32706f1661221c66eca148fc34978d2027eaf73a2605ba48f26e9fb223cf41cd0177cd56
 SHA512 
a196fb3c1251de8d3136dd6494b9223a05ed313069219da20b3066fabd26d3dd6752cf6f6c7b1522e4941bcde726099b80cf62f8c0e4752b0cdb9c83e02b4910
 DIST kubernetes-1.21.4.tar.gz 36099646 BLAKE2B 
b41b3581c3e0bc85a5e259df31c225c3deab3e67545f8a8439c3e77eeca1c5d0a5c76948565ebc46ac42790299581943042fa2bda71e6cf2616776a2f9453e08
 SHA512 
79aa3b13242bfdcee6cda1e542a7f4ca940caab35ff81f617295cb45d6a6ce3c1274d794c1de43a74c684dc371a01a062709da8cec4fe462b520bf804ae59c8e
 DIST kubernetes-1.22.1.tar.gz 35986911 BLAKE2B 
f474963aafe63afec87ae113543aad1be000eb32df725254d28d44d1f4fa1bc7c0fac88d77ac58b9bf1dd67129e2c2d010e97368f5ba392bf3924dd8bfa3ebed
 SHA512 
97d5644cd06c2a092338bddc6b5e5b4c538ae8055b5d7c9ea011a8454b191714864ab624657e88aa1d6e8939d1526a69d763b0126249bfbb5e96f62ecf4290a3

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.19.15.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.19.15.ebuild
new file mode 100644
index 00000000000..98230502bf7
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.19.15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 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.15"
+
+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}
+}

Reply via email to