diff options
author | William Hubbs <williamh@gentoo.org> | 2020-12-18 14:10:56 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-12-18 14:10:56 -0600 |
commit | 19a2ac3279c31f616a342b171983bd3155d58a13 (patch) | |
tree | 86c8a40bb58e20623470915454dbd4795a4c50f8 /sys-cluster | |
parent | sys-cluster/kubeadm: 1.19.6 bump (diff) | |
download | gentoo-19a2ac3279c31f616a342b171983bd3155d58a13.tar.gz gentoo-19a2ac3279c31f616a342b171983bd3155d58a13.tar.bz2 gentoo-19a2ac3279c31f616a342b171983bd3155d58a13.zip |
sys-cluster/kube-apiserver: 1.19.6 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-apiserver/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 0a491ae29008..d24dcf66a919 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -5,5 +5,6 @@ DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433 DIST kubernetes-1.18.14.tar.gz 32666861 BLAKE2B 6a005804280d72de84d1bab68a51e72c41de0b3a50a1c40befab1290e9fcfecba133fa441f50bf250f458ca4ad44f4fab495da4782626efff70dcfe0f3029d49 SHA512 e19b834db4920db6b466662a8c001ecaad7a7bee6c4faef871bbc3f528e10b0b4c9fc6f3ac065953ce625db0ede98d76536cf3158b4fb241725115febb141946 DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.19.6.tar.gz 33470206 BLAKE2B ea7614da380ce7c834884d96b37753802eb4919b4fb274dabf0d38f0438039c90ab1fccc86e0d8f665c15ae61f1d3f6ce4d400782ed580033cfd58390cd50617 SHA512 d7c6db2fa399b04a3acae792546fa0384e6b3a3e5eaa2c1ba6c49d656da0197f5be3d009756313436816f3839825c66ce23a06a1ec35c37f1c3fcfba79f9ac32 DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b DIST kubernetes-1.20.1.tar.gz 34424663 BLAKE2B 156482f88f051eeea0c428c357a79d876ff0ce5f8ed6eb1ffa72be83bff45b72970280fa1bc7629804c178b9fa45ad84a9961a4f0e7eca1b58351fc7d7f4cfc0 SHA512 40598999cc5c96c54591338eb985bc056892ef2f98cfb521ff26937fa29f63a20e97f52a8454433ff98614d579509b7a5e927edcd96f4725505a334a999c0326 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild new file mode 100644 index 000000000000..0c60e4a0143a --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 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.15" + +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} +} |