diff options
author | William Hubbs <williamh@gentoo.org> | 2022-01-22 15:15:48 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-01-22 15:54:29 -0600 |
commit | e4b114ecf4e330f0006162764a80a32bfe6cb80a (patch) | |
tree | e858bf8f96842beeae3174b758a11e25a8481524 /sys-cluster/kube-apiserver | |
parent | sys-cluster/kubeadm: 1.23.2 bump (diff) | |
download | gentoo-e4b114ecf4e330f0006162764a80a32bfe6cb80a.tar.gz gentoo-e4b114ecf4e330f0006162764a80a32bfe6cb80a.tar.bz2 gentoo-e4b114ecf4e330f0006162764a80a32bfe6cb80a.zip |
sys-cluster/kube-apiserver: 1.23.2 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-apiserver')
-rw-r--r-- | sys-cluster/kube-apiserver/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 1c8af6b2b0a5..bead7aeaae80 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/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-apiserver/kube-apiserver-1.23.2.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild new file mode 100644 index 000000000000..f500b5c78822 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module systemd + +DESCRIPTION="Kubernetes API server" +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-apiserver + acct-user/kube-apiserver" +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} +} |