diff options
author | William Hubbs <williamh@gentoo.org> | 2024-01-12 12:10:13 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-01-12 12:23:49 -0600 |
commit | 7c2096b3927a4577f6f584701f2075ef1469853a (patch) | |
tree | 7713fc561cacc00b04fa8d5744426843c0df87f5 /sys-cluster/kube-scheduler | |
parent | sys-cluster/kube-proxy: add 1.29.0 (diff) | |
download | gentoo-7c2096b3927a4577f6f584701f2075ef1469853a.tar.gz gentoo-7c2096b3927a4577f6f584701f2075ef1469853a.tar.bz2 gentoo-7c2096b3927a4577f6f584701f2075ef1469853a.zip |
sys-cluster/kube-scheduler: add 1.29.0
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.29.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index da194768a3a3..7ed37e1fb70f 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -8,3 +8,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.3.tar.gz 39928717 BLAKE2B 0de1e016c6e5d374afe08552cccd213a55f5c142cce1dc58970bb6c88a857cf8c96f2a0cafe7c542df547eceaa4b9d96a679866d3c364e05e788a74ecf6e475a SHA512 57ed8619ebbf1c2c5a6da299b8eba840f6bb185981eb18f840c7f68b8da91684bbbd0136d993a74caf5711177330f60ea5749c64c75d8d219d62751e09c298bc DIST kubernetes-1.28.5.tar.gz 39965011 BLAKE2B 96a4b0c181d6703566791251d7b9e2df3a1964a4508ef8c4eb4716340d6190316b8f83efcf727c8c5733efe1065764bb799cc7c056742a374fd555aea432979d SHA512 555ab64dc8df2abc7db217aaf3fc8a1fbfb8aeb91b7c29516844577aa82f8f09b2c0bf2c58fe638b1f484812818e200c7b2f1833b1f5eb76e3a69a6b7bca755b +DIST kubernetes-1.29.0.tar.gz 43612738 BLAKE2B 81d216a40cbf0d8b1ddc7bac4a0304be2f988500d2861dde7f549ffe08b2d284317c0a8616949bd6cb39836a377abeb55ed4340896f86fc924e61e0b5f5a89b8 SHA512 14876c54a4179936c348c7c5f2e090deaa40a1efc6f8c942eb2feaa644b3d8e64ea3836d4b030d883ff2cd2533d5b4ec319c3fc2418708769ed8b07507b6d16e diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.29.0.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.29.0.ebuild new file mode 100644 index 000000000000..2a519df97c29 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.29.0.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} +} |