summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-09-20 16:11:59 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-09-20 16:29:31 -0500
commit638d6c78f74d6cedf4d5cdd3ceadb84b5a34c19b (patch)
tree00e8c2d02e69ec6678ec6e01d68769affa8924a6 /sys-cluster/kube-scheduler
parentsys-cluster/kube-proxy: 1.22.2 bump (diff)
downloadgentoo-638d6c78f74d6cedf4d5cdd3ceadb84b5a34c19b.tar.gz
gentoo-638d6c78f74d6cedf4d5cdd3ceadb84b5a34c19b.tar.bz2
gentoo-638d6c78f74d6cedf4d5cdd3ceadb84b5a34c19b.zip
sys-cluster/kube-scheduler: 1.22.2 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
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.22.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index b124dd9cb17a..bfe6a9632c74 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -5,3 +5,4 @@ DIST kubernetes-1.20.11.tar.gz 34514143 BLAKE2B 498107e2ef225964b28868ee1aa37721
DIST kubernetes-1.21.4.tar.gz 36099646 BLAKE2B b41b3581c3e0bc85a5e259df31c225c3deab3e67545f8a8439c3e77eeca1c5d0a5c76948565ebc46ac42790299581943042fa2bda71e6cf2616776a2f9453e08 SHA512 79aa3b13242bfdcee6cda1e542a7f4ca940caab35ff81f617295cb45d6a6ce3c1274d794c1de43a74c684dc371a01a062709da8cec4fe462b520bf804ae59c8e
DIST kubernetes-1.21.5.tar.gz 36128382 BLAKE2B 561de62a9be5c7bf49362732a098cc3bcadff9d006853de1beb73c2ae8def4249b9b3df4bd96a89aa4646929874ab2f0132212f38c98e411424f5887c02d6590 SHA512 bef73a90b31ea9c72070efc52c4e2c6aed1fde5bb0c2b391394148a394cf020071793b368a429e3d11f3e1afa24a3da9ec82b5ba64d61e2fd00209c796d5b7b3
DIST kubernetes-1.22.1.tar.gz 35986911 BLAKE2B f474963aafe63afec87ae113543aad1be000eb32df725254d28d44d1f4fa1bc7c0fac88d77ac58b9bf1dd67129e2c2d010e97368f5ba392bf3924dd8bfa3ebed SHA512 97d5644cd06c2a092338bddc6b5e5b4c538ae8055b5d7c9ea011a8454b191714864ab624657e88aa1d6e8939d1526a69d763b0126249bfbb5e96f62ecf4290a3
+DIST kubernetes-1.22.2.tar.gz 35997127 BLAKE2B bcc5deb9f446032baeff60b3f75e11c75af0e69fd0e50df789d2b7b532f9e839875ef4227729166d667f022816b321bacf219b0fdeaa2d0da552587d4a9a4067 SHA512 81045b0432f60a865c79f408921ff7c5865cdcb297c4cf17f741a08a5fa0f2af9e8c938e54e73c532dbeb643316e8acf983a0e9203be8ce920c2ae588dec6554
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.22.2.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.22.2.ebuild
new file mode 100644
index 000000000000..0e9f9a6dd32b
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.22.2.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.16"
+
+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}
+}