diff options
author | William Hubbs <williamh@gentoo.org> | 2023-05-19 11:05:02 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-05-19 11:05:02 -0500 |
commit | 9964a4bfc45e73c8ff96d92af0ed2fdbb8dffd74 (patch) | |
tree | e0918a9d49aa2502369e8623f8e972c44fd62943 /sys-cluster/kube-scheduler | |
parent | sys-cluster/kube-proxy: add 1.27.2 (diff) | |
download | gentoo-9964a4bfc45e73c8ff96d92af0ed2fdbb8dffd74.tar.gz gentoo-9964a4bfc45e73c8ff96d92af0ed2fdbb8dffd74.tar.bz2 gentoo-9964a4bfc45e73c8ff96d92af0ed2fdbb8dffd74.zip |
sys-cluster/kube-scheduler: add 1.27.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.27.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index 3ba52181aa43..ab7ff0fc64c0 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.25.9.tar.gz 38197577 BLAKE2B f90e8e6fff4ada4b36b16623463e99de2 DIST kubernetes-1.26.4.tar.gz 38229656 BLAKE2B 1da5b7c380d27d57f6c6200f5b65b9a469c9d6663713742bc2f32746bad2eea17bb8265df009d625011f1e036d768e26bda514634aacc13b2997bb7c70684f3e SHA512 185d21368f84a1e1829578c7552922db098d2caecd2c1d95c5da259a107009960ef44c2dd42eec4dab50c4c59a8d5ae0b4dd45fc6f106b27138e1a1d7391626d DIST kubernetes-1.26.5.tar.gz 38241396 BLAKE2B e42ffb2396b9811cf23f861327fdd93d067e43b222971b3fb115679692f8923c11494ac7c1bd8ed8a13cfe95b3964e33dc030405d2a3deb19e04c843f75eb7b0 SHA512 d35e663e469d29c77abfae443c8f835103e230805331a98ed6314518bd937c366e2734c687c31c4eadf7ecbd0a607dece463edb0057270a37114681d8aa77f0b DIST kubernetes-1.27.1.tar.gz 38048443 BLAKE2B c5475209ef4bcad704a6075392180496e4ec9f63af26038cb22b0f28effeab8eafe734c330c80e86d0aaabf125bec5f134cd1479ce54fd6437b3aeeaec8fb352 SHA512 20d2b8f3c892884a1abd5e30320f3cf50ada79c3b68409c6d626278e42d031e960057b042aade93b55b3185623c5bdcfef9a16602e7f3c4a71be8cee517e7ba1 +DIST kubernetes-1.27.2.tar.gz 38061986 BLAKE2B bbb39453cb642abc693a8b646179eb5ccf6886c37cf380ae139c096409a33c38d5d081007a009a4785498f600b89f91a430b7bde191298b108ada336ef3414b1 SHA512 c7a4f6f3e3e6ce66295e9c09b5214ed3b9fa3b674b0b7e200672da5873fbc75533d1e6a5d9e04edba09c81db35e3309dbe6ff6a4a9dffc6687c66a6e5e566b1d diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.27.2.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.27.2.ebuild new file mode 100644 index 000000000000..038445235f63 --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.27.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 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="" 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} +} |