commit: 6f5efafa75e45919b8114b1bf359d348dee3c9a9 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Thu Jan 16 23:11:48 2025 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Thu Jan 16 23:12:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5efafa
sys-cluster/kube-scheduler: add 1.32.1 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-cluster/kube-scheduler/Manifest | 1 + .../kube-scheduler/kube-scheduler-1.32.1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 38d8bbd543d9..b02af228c9a0 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.30.8.tar.gz 39619616 BLAKE2B 47cef4db8b94bfbc7691daa3afdf409ff DIST kubernetes-1.31.3.tar.gz 36572445 BLAKE2B ada6c5620d01e721e20673bebb4edd70bd9e2e6684b1bc3a781d84ab16790b228119c825e5727b5350e6b3a118501e240d863988a5f266c84d2cf0e07ca02cb2 SHA512 9b3e2ceca89bb7d388868eda65ac29dbc7fa2425cc607bd6adeee104b3b2139b24c9042d6fc0ca9e7b80ac5a79a0754a7485a237fa4a14ed0e24340634776c38 DIST kubernetes-1.31.4.tar.gz 36572367 BLAKE2B 34ba7b018550d3a569fbe578392194225248988fd840d5f1958950419b898e6fb109da58fae05d683819d3e205e79f85e4f99caaed1b50536a865cc44e9a6377 SHA512 74e3b3a12f9b3322702f48b76b026fed5f2084181ab687acb109eff8b9f42a20067e173255b7ff4adb885525dff13a52d04055dae21b394275dd61c14040e0f6 DIST kubernetes-1.32.0.tar.gz 39162995 BLAKE2B 72e717b1c3d2d40e46b236c5bdbc1dbe8aaca3b45a0a64dfd9fbd8dbcd7fd56202cb616f6fe35dbcba4d1cb2555c2fc6eba0c630662bb5e9c67763432ba14b9c SHA512 baefc48e15e4ab72636db5d78cf606f586991674308492ff41907611f5630ac8c3e80a5468bd3d4f1379ab54645d4e167a0e1d217a406542b2e32fa9fdf1c549 +DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.32.1.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.32.1.ebuild new file mode 100644 index 000000000000..ae0f49492418 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.32.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 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" + +S="${WORKDIR}/kubernetes-${PV}" + +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.23.3" + +RESTRICT+=" test" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + 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} +}