diff options
author | William Hubbs <williamh@gentoo.org> | 2024-11-18 12:04:00 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-11-18 12:04:00 -0600 |
commit | 9fe645c0ff78a9a3957b043d6e2c5853a9bf6c07 (patch) | |
tree | 2a1e8f903dbe08ec15d6ffd500fc4a9c8a19da1d /sys-cluster/kube-scheduler | |
parent | sys-cluster/kube-proxy: add 1.31.2 (diff) | |
download | gentoo-9fe645c0ff78a9a3957b043d6e2c5853a9bf6c07.tar.gz gentoo-9fe645c0ff78a9a3957b043d6e2c5853a9bf6c07.tar.bz2 gentoo-9fe645c0ff78a9a3957b043d6e2c5853a9bf6c07.zip |
sys-cluster/kube-scheduler: add 1.31.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-scheduler')
-rw-r--r-- | sys-cluster/kube-scheduler/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-scheduler/kube-scheduler-1.31.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 5b10c49d874a..9cd1ab940d22 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -11,3 +11,4 @@ DIST kubernetes-1.30.4.tar.gz 39602012 BLAKE2B 36bb038a2c64ae9252e002a11b2e08930 DIST kubernetes-1.30.6.tar.gz 39612960 BLAKE2B cfc0c062348b703bce584f7b97b178f0f01b907b05fef81ccb61bbb17460b9b12a430c8606529d01afb148e75190cfad12b0dd798aa316be7ba3e78c8cef24f1 SHA512 c4b5ebb08dbd9daeac2f4da5a1b93c397473e7cf12439291ce80e43b4aae1d233c6e980a080b5c8aaa12e296aa04e068f8b00b23386b23802b99c2ce8f42c800 DIST kubernetes-1.31.0.tar.gz 39255058 BLAKE2B 65ad06c8e57eec7d1affce4d263fe0d6ca4c75543b658372efd37a84f4af7817d7f1134ca92102666e6df140645d7421d8927c1c50726199002462f58075fb8b SHA512 7848802bbd6d6818e55dca4741f4cf32ebd83b2f2f7914323235e0d016ed142feeea16556f6d5ffc7c8a57d122067cfc04e2c1e85368c1a562085e4f479b26c2 DIST kubernetes-1.31.1.tar.gz 36559502 BLAKE2B ca76103fe53019b27d3b88ae61edc9e28d8da80d289e855059394a60e409e3e3045d50c9f73ae449a1b8cbf5ffb6d9d0f15974b7f0175be20f40fa8c920bff58 SHA512 588d3a371d18855165685a291936da4903b194d4b95f77bed8114ce8659c7657a8261f6313f1cacdc9acac492d46bc6d13213a9147fa04c050bf6afd5aba994c +DIST kubernetes-1.31.2.tar.gz 36568544 BLAKE2B 10c3ea32f28905cdf0fb365bd5e3079b00483b756038876b931835888b4b41b1737e220268a612f6f004dcc8b19fa3ef0306c1ad13ed8c0f59dab13c72f3c906 SHA512 2c23a00fb36a7e03d587fd4c32ba8ab73f14b123625e726bf76db8df64e45493d3f93022c8f35e34efe1fdab4c47c946e81843071b72d9c271b06cb0bf8f8426 diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.31.2.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.31.2.ebuild new file mode 100644 index 000000000000..a3f60b02fee1 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.31.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 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.23.0" + +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} +} |