commit: a26afe4b3ae3e3e0700a6b896b0af7f431ecec1c Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Fri Jan 17 13:34:31 2025 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Jan 17 13:42:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a26afe4b
sys-cluster/kube-scheduler: add 1.30.9 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-cluster/kube-scheduler/Manifest | 1 + .../kube-scheduler/kube-scheduler-1.30.9.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index b7d2b9f7d9ae..c75c78c0b766 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -2,6 +2,7 @@ DIST kubernetes-1.29.11.tar.gz 41212802 BLAKE2B 5f6b6e81bc6f1350121ff4ea40ea4986 DIST kubernetes-1.29.12.tar.gz 41213761 BLAKE2B 5612ef1b1aabf4b28993effe3438f2fbde636dda09646480a87eaa109f69f876e17df6241556276279d92de93e483313e9f73b5d91730265ac778e877a95971d SHA512 b6d26f551f87c5650c2d9aed1fd572058ae404cffa56b8a0c3c2ee15cb58f9bfa63be218f025972bddfbdb9e79726ee357f9fafff582c4665043ccc1c672b010 DIST kubernetes-1.30.7.tar.gz 39619882 BLAKE2B e019512760df75f7e03ad371b6da46eabdb2afc80238a0e3850fa8e2c1fe99d8eed0b82ee93751d6012323488cefffa2dbc58b340b0bf12059770f77207053f8 SHA512 f16d9e256ad763685b256647a6b8c07b136168bbea3a5338cee29d591e66dff984ecdb62480ba072573ddf4b3247f58b06147849e66f6e46dcced2f4413d2720 DIST kubernetes-1.30.8.tar.gz 39619616 BLAKE2B 47cef4db8b94bfbc7691daa3afdf409ff0bd1679ec179e17cf4126700b6b09fee9d2f133ab6ca42bd00eeb950e798576a09fedd5654306e209a0e97040c8e6ca SHA512 09ebcb396b2d4109b1eb0802b635e649519dcb71ff3e6bac480f66fb66fe8a50784ce6cf245e55bca422320b3fa83b5703ce0de945c140523c3bc6558c7b26c4 +DIST kubernetes-1.30.9.tar.gz 39622344 BLAKE2B 1e82b89eb5ccce5da048596a0e4b3b53fb22658b116b151342ceea69d2eb3da6d2eb8622cf2024bae6a44c44f84b37e262a2c778480ecbf8722c34fb71eb9b14 SHA512 cca4176a6623a2c97a9cc2bd79b39e242e8573c3ec8e2a6c1167f22fb33e89b533bc000a8eb20835fc8a94697d93c6b29c3522d1f6161de0788e9acaa3ca8472 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.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565aa6cb768d5f6313229eeefa0c17eef65f6072a04d8ce07145a11bf8ba5cece92241c3eff049fe2eece3e52230fceafa SHA512 6c773d706cb45bf0d8cb18cbd718ab2053fd4d17ae4db35b9159b258b55dbef71d0f6fd6e6057d8b5e027bdfc9ffb7a0a4d2bc63d8f092c48f5b44f3cc73ff96 diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.30.9.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.30.9.ebuild new file mode 100644 index 000000000000..3f38e54c5bba --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.30.9.ebuild @@ -0,0 +1,39 @@ +# 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" + +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.21.6" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +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} +}