summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-10-17 16:47:19 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-10-17 17:03:52 -0500
commitb5f45065316a5ea4126ba64bbffb7df9eab2f46d (patch)
tree239768f0ed7432dddf14e0daf346ddedde299e86
parentsys-cluster/kube-proxy: 1.19.3 bump (diff)
downloadgentoo-b5f45065316a5ea4126ba64bbffb7df9eab2f46d.tar.gz
gentoo-b5f45065316a5ea4126ba64bbffb7df9eab2f46d.tar.bz2
gentoo-b5f45065316a5ea4126ba64bbffb7df9eab2f46d.zip
sys-cluster/kube-scheduler: 1.19.3 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.19.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index b5b7b765a98..e29a08a74ae 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -5,3 +5,4 @@ DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230d
DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d694d55130fa6fd0a13f2e6ec653971670a8b1af04dc5972738e504cce664619b1aad67d0bcae217884fb352c364a6804 SHA512 967caccf8758bcdf4549ec83b795ec580e072d8108b2c8ef10f1d05696dedbfd5d472e27590bb952639f198003b44dc83da5435853337938035488959360e3d3
DIST kubernetes-1.18.9.tar.gz 32626627 BLAKE2B 4150e2a4d5cca27adac795f7d9be19a7151f2ddd33888a5da1d2fa8fcf4ed4451c5b266faedf1556a1ddaba92c066bf57637ecc244b7e9014c76d163dc68dd54 SHA512 db950af5bc964ce98ad39f237dccb0f46c698b7e801a6d8b6f96b90c3ec9650ab8f4836a764baec4c8d1b4cbea1ed5e692623f3434cb4f6f9d2dba1df482baa6
DIST kubernetes-1.19.2.tar.gz 33341808 BLAKE2B 814f43f90f248ad428e7c68995a44a9c69722b8215bab3ab9237b06dcee53297a3f57cb2cf68b9e3d246e49944f3246e7d8d3587ab0abff4b8e2fb72e42152c1 SHA512 7a4e0efdf0e262c662aa87bd77d226275761cb774cb77796846385b41937ce2d8d5e1f9fbae4804c7a0fbc6e558227661c453b2d5bd1b20a5c4913c31eae1519
+DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.19.3.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.19.3.ebuild
new file mode 100644
index 00000000000..177edc1feff
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.19.3.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.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}
+}