summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-08-27 14:44:22 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-08-27 14:44:43 -0500
commit4b5397d6333df34d3c118bb950bdd29f7be84a76 (patch)
tree15de25d00e9a4429364192fd22966a5550d40821 /sys-cluster
parentsys-cluster/kube-proxy: add 1.25.0 (diff)
downloadgentoo-4b5397d6333df34d3c118bb950bdd29f7be84a76.tar.gz
gentoo-4b5397d6333df34d3c118bb950bdd29f7be84a76.tar.bz2
gentoo-4b5397d6333df34d3c118bb950bdd29f7be84a76.zip
sys-cluster/kube-scheduler: add 1.25.0
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.25.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index 867a4902f64e..1f1d44659ddb 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -4,3 +4,4 @@ DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45
DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild
new file mode 100644
index 000000000000..a07decbaab8e
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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.19"
+
+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}
+}