diff options
author | William Hubbs <williamh@gentoo.org> | 2024-01-19 16:58:16 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-01-19 17:12:33 -0600 |
commit | 1c5a7186d9eb7f03ce65bce58a33e612f39f9b66 (patch) | |
tree | 9ba6b7c9eb48690b3b3008b2aeee4ec4a883fa01 | |
parent | sys-cluster/kube-proxy: add 1.29.1 (diff) | |
download | gentoo-1c5a7186d9eb7f03ce65bce58a33e612f39f9b66.tar.gz gentoo-1c5a7186d9eb7f03ce65bce58a33e612f39f9b66.tar.bz2 gentoo-1c5a7186d9eb7f03ce65bce58a33e612f39f9b66.zip |
sys-cluster/kube-scheduler: add 1.29.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r-- | sys-cluster/kube-scheduler/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-scheduler/kube-scheduler-1.29.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index baa28a1f9ec1..e4581aa7b2bf 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.27.9.tar.gz 39182159 BLAKE2B 1ba76d947c1044378f0dc82733f46cb24 DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9 DIST kubernetes-1.28.5.tar.gz 39965011 BLAKE2B 96a4b0c181d6703566791251d7b9e2df3a1964a4508ef8c4eb4716340d6190316b8f83efcf727c8c5733efe1065764bb799cc7c056742a374fd555aea432979d SHA512 555ab64dc8df2abc7db217aaf3fc8a1fbfb8aeb91b7c29516844577aa82f8f09b2c0bf2c58fe638b1f484812818e200c7b2f1833b1f5eb76e3a69a6b7bca755b DIST kubernetes-1.29.0.tar.gz 43612738 BLAKE2B 81d216a40cbf0d8b1ddc7bac4a0304be2f988500d2861dde7f549ffe08b2d284317c0a8616949bd6cb39836a377abeb55ed4340896f86fc924e61e0b5f5a89b8 SHA512 14876c54a4179936c348c7c5f2e090deaa40a1efc6f8c942eb2feaa644b3d8e64ea3836d4b030d883ff2cd2533d5b4ec319c3fc2418708769ed8b07507b6d16e +DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.29.1.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.29.1.ebuild new file mode 100644 index 000000000000..2a519df97c29 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.29.1.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.20" + +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} +} |