commit: 6e75471423f837215e6f1476faa2d220e128104d Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Jan 22 21:15:55 2022 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Jan 22 21:54:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e754714
sys-cluster/kube-controller-manager: 1.23.2 bump Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-cluster/kube-controller-manager/Manifest | 1 + .../kube-controller-manager-1.23.2.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index 1c8af6b2b0a5..bead7aeaae80 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -14,3 +14,4 @@ DIST kubernetes-1.22.4.tar.gz 36022946 BLAKE2B 3e0b87add2b02e653edb6bb17db076cda 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 +DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3 SHA512 af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98 diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.2.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.2.ebuild new file mode 100644 index 000000000000..0d5f0abd650c --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.2.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 Controller Manager" +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-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.17" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS=-v 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} +}