summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-08-25 12:42:38 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-08-25 12:52:14 -0500
commit5ec57d607aee01b44ee0e19534f74d890bfe73ba (patch)
tree9842933bc7bbf57cb48bd1e1c4f789e99ca7f50f /sys-cluster
parentsys-cluster/kube-proxy: add 1.27.5 (diff)
downloadgentoo-5ec57d607aee01b44ee0e19534f74d890bfe73ba.tar.gz
gentoo-5ec57d607aee01b44ee0e19534f74d890bfe73ba.tar.bz2
gentoo-5ec57d607aee01b44ee0e19534f74d890bfe73ba.zip
sys-cluster/kube-scheduler: add 1.27.5
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-scheduler/Manifest1
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.27.5.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index e9c816bc5e18..fc6b7fa6a6f2 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -9,4 +9,5 @@ DIST kubernetes-1.26.7.tar.gz 38498687 BLAKE2B 8a7ac29ea8cff64a0ed2a92fc89b3e2e8
DIST kubernetes-1.26.8.tar.gz 38511916 BLAKE2B 60e1277debcdf5b093629d718552948a240fe8db9678def0d222aa685b198c230b2cea7107f0340e89bb0de7ab51f4471b2ed30b466ba64dfe982fa3c1733e61 SHA512 38649d4c8a85e236a8ceffe5bba5146cf1a4eb9191534707dd39443303f99d830e95dc4e9be0febfb2a8bd4d0b57f13b5cb883b51fea57306f1f2ceff2052d69
DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced154664d20d66ad21e7cf3b6ed92a262f4d1a2dc5b22912b6cdca0a40fecdc262ae7124a2969955f234c49c0950ea68f171f SHA512 51cf0178c8a2a00798cc618c9918f556c418de137566db60a66a0c7556ee625b34cf86b1da241856599784588c0e3e8b81225dca627fea70a87c94adb073bb7a
DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2 SHA512 0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec
+DIST kubernetes-1.27.5.tar.gz 38204018 BLAKE2B 4b44430f7854fca70f650c31388b9d378218d6d4ed116659522542a0e199a19c65e152a4b7235ad5f5fe86753c3ee834ea162da9ff889e384bee780a61a39c42 SHA512 9237d03c3cc2374b1e3631f63ac850fc2461628785863c909972c85b74d9fd3c75dc286e0953059c1999457d2a43b474b1ec7b8c633e158aeb88f89e02e874f8
DIST kubernetes-1.28.0.tar.gz 42229948 BLAKE2B c514577fa3cdeee6fa1d6f488de74b56845e3cfaf7f810ecd4ec9c023f034e0c50b647ebf5b60eb26b9387b79d060a6aeee9eee43fab904094ec767603fc5c6d SHA512 dcb5f2ec3fec841a3a1678ac88473b355f13cad1543b5098a2f1fe1d217e34fb46727c1345bbd35945eb4164aa4fe069ebdefc2328c8797671caa9a5be0f8fd6
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.27.5.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.27.5.ebuild
new file mode 100644
index 000000000000..038445235f63
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.27.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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}"
+BDEPEND=">=dev-lang/go-1.20"
+
+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}
+}