diff options
author | William Hubbs <williamh@gentoo.org> | 2022-01-22 14:53:05 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-01-22 14:57:56 -0600 |
commit | 68eee81e899342885e1920b5c000012eede17e98 (patch) | |
tree | 3c3ff8befa69742f193f3b8dc080090eb3941bd5 /sys-cluster/kube-scheduler | |
parent | sys-cluster/kube-proxy: 1.22.6 bump (diff) | |
download | gentoo-68eee81e899342885e1920b5c000012eede17e98.tar.gz gentoo-68eee81e899342885e1920b5c000012eede17e98.tar.bz2 gentoo-68eee81e899342885e1920b5c000012eede17e98.zip |
sys-cluster/kube-scheduler: 1.22.6 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3
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.22.6.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 1b5c96427b27..1c8af6b2b0a5 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -12,4 +12,5 @@ DIST kubernetes-1.22.2.tar.gz 35997127 BLAKE2B bcc5deb9f446032baeff60b3f75e11c75 DIST kubernetes-1.22.3.tar.gz 36006761 BLAKE2B d0ee379c1d30a5592b2423bf71733904c2d63b7a45b5b49d5a57bd3cdbacdd20d52cb1b3eb9aa7e586401505d8473a3a148e49b3d62715960755df0532b9822c SHA512 d2a4c6f2febbccb395478e88a49297fee627bfc843387a0ae607f655e72ae6b085489ac6cd3982481357c1c745a59d43a282b725e17659e60c178e6ab57c0ca6 DIST kubernetes-1.22.4.tar.gz 36022946 BLAKE2B 3e0b87add2b02e653edb6bb17db076cdaec625536ebab66239e4433c759efbc51ac0222898760f95e1154d7c3532c03565a54181015ddfb910ee55d963086c79 SHA512 b2b8060d031dac83c65e634ad14b804010036a7d74161dd37349f39974d862b10b48423c2dcb4e9ca9e775c94dbe9595d49e57c98a2e6a8d8335cb235ba342e0 DIST kubernetes-1.22.5.tar.gz 36038511 BLAKE2B 3cedea38cdb2c5c1f8b54000e4f7f21c12fe2d38cfe5638b0588adad9dce3831272fb19da35ead0e20ef5f37c8fcb9c2c528282b5671cdcfcd49f181dd72b094 SHA512 248817e5cc20b079b98e3cd294809acee6f66f1963a5f79ae5d09839a19db0a98fd9fe2f8aa4cca853efc548a912953ae4ba1317a5c6e641d80c3cfd3b496026 +DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58 SHA512 bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174 DIST kubernetes-1.23.1.tar.gz 38170867 BLAKE2B edfcd8649995cf944225cf3bc276a7b7cac5ae055e4255319c924b1b80776d939c6630dbd4f074c2b606e16d5abc5c45e72a11b42dda428c8e29411521b63bf7 SHA512 95ccd27680cefa1f0e367259a373236866c85b8b0534bed364101b5177c718de0bcd6631136e84b910a2fce00f4c119aef043782228658f852d6753f6606c316 diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.22.6.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.22.6.ebuild new file mode 100644 index 000000000000..6deafd6db8c6 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.22.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.16" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" 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} +} |