From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- sys-cluster/kube-apiserver/Manifest | 18 +++++----- .../kube-apiserver/kube-apiserver-1.18.14.ebuild | 40 ---------------------- .../kube-apiserver/kube-apiserver-1.18.15.ebuild | 2 +- .../kube-apiserver/kube-apiserver-1.18.16.ebuild | 40 ++++++++++++++++++++++ .../kube-apiserver/kube-apiserver-1.19.6.ebuild | 40 ---------------------- .../kube-apiserver/kube-apiserver-1.19.7.ebuild | 2 +- .../kube-apiserver/kube-apiserver-1.19.8.ebuild | 40 ++++++++++++++++++++++ .../kube-apiserver/kube-apiserver-1.20.1.ebuild | 40 ---------------------- .../kube-apiserver/kube-apiserver-1.20.2.ebuild | 40 ---------------------- .../kube-apiserver/kube-apiserver-1.20.4.ebuild | 40 ++++++++++++++++++++++ 10 files changed, 130 insertions(+), 172 deletions(-) delete mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.18.14.ebuild create mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.18.16.ebuild delete mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild create mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.19.8.ebuild delete mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.20.1.ebuild delete mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.20.2.ebuild create mode 100644 sys-cluster/kube-apiserver/kube-apiserver-1.20.4.ebuild (limited to 'sys-cluster/kube-apiserver') diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 2ac30f6b35e5..7293709d04cd 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -1,16 +1,14 @@ AUX kube-apiserver.confd 116 BLAKE2B 2cf2dff516674ba4dc0763985a070b75e23f9af51e7334eedcb2593855e7481d5969ed458d322ac29de0e9a9c7f9f041911ee7aeca750ff77ce04fd60bf3a3d3 SHA512 302b2a7ec715967c0aa7d1c177d4e55b26e37ebba8d04dd37ecf627d20042fe91cd7e6192ff9d71422129b0ea54a9eec6046f505af550548bd450998924f37ee AUX kube-apiserver.initd 541 BLAKE2B ddddc86735a9f90a0c232f2631ac21c028045783c737d041a808fb5012522844614a40059524c472b9b50fd077253b75e2bcf33d69518d71428fcb7e27143fba SHA512 2863ad6d1d238b5e9557874cd3f5413108ed9424604cf026e2fd8c2fd66ba867ca9a3d98f67fdac54f335bacddf0479547b28f71aaa1db6580beff49290de110 AUX kube-apiserver.logrotated 88 BLAKE2B e58f3f108f5f7dbbadacfcc1b401567ce79d511a4623f85f01830c5e40d4ad4e44fe0b3f90d4143042d82bd83b0a2b11517e89037755ef2ad7afeeb23401bb60 SHA512 1a4bcd54dafaedc614e34bbadc2a1163f003b5925d47552fb2c47049c033c147e612171e263d9659d189fc2d95688a0b7153322d8dba97c083c079fdef6c400e -DIST kubernetes-1.18.14.tar.gz 32666861 BLAKE2B 6a005804280d72de84d1bab68a51e72c41de0b3a50a1c40befab1290e9fcfecba133fa441f50bf250f458ca4ad44f4fab495da4782626efff70dcfe0f3029d49 SHA512 e19b834db4920db6b466662a8c001ecaad7a7bee6c4faef871bbc3f528e10b0b4c9fc6f3ac065953ce625db0ede98d76536cf3158b4fb241725115febb141946 DIST kubernetes-1.18.15.tar.gz 32665949 BLAKE2B 7a99a5fdbc51bb89fe5c61eb35b7d89eca0fa7e1e797787e793b1a2a29a399dc3f6a74be866d3699ec150a0257d8b0a55e9a2e73a67a552ea963129ca85c149b SHA512 bbe18742323ce66a4e8c40ae906e0ac18ff1fdc89f64ee43777e4dbe762f06d4f27b9152e06d985a58574b3c7e518cd103390f5dc7f2f593a046d0e887671a30 -DIST kubernetes-1.19.6.tar.gz 33470206 BLAKE2B ea7614da380ce7c834884d96b37753802eb4919b4fb274dabf0d38f0438039c90ab1fccc86e0d8f665c15ae61f1d3f6ce4d400782ed580033cfd58390cd50617 SHA512 d7c6db2fa399b04a3acae792546fa0384e6b3a3e5eaa2c1ba6c49d656da0197f5be3d009756313436816f3839825c66ce23a06a1ec35c37f1c3fcfba79f9ac32 +DIST kubernetes-1.18.16.tar.gz 32675639 BLAKE2B 825ccd4c275d52e1d7d24ffce19d5d9ea8314d2ea57746cce5cce165c314cff67f5fbc6678ab1fa9e0d81d6a086fad6a084d11d2b3757fe3a71f3298df960815 SHA512 f525577f0e55736c6702663c9de9a54e7ece5701f334948ec56b2d0d5041e54b5fdc440dfbfede5e886c2b30c2223eba4d2da7131e58c48043cfa75513f7f59f DIST kubernetes-1.19.7.tar.gz 33481861 BLAKE2B de83b13ebc10f96cdcc6bbf4015db35740c4c3e821cc263669f5ac63ff69bc674106cacd95e0bfde165c4fa2b6d7b6dfcbb94654e1551ab3bd43c8aff00ae3ce SHA512 1fc0d6820a9486a81242e25e7cd034537110fe10fa1aadc89be115a16441d50913ea1add1c1364a5f8e4d9255ef3e619a75c45e43b853d1c6038d6af66473ad1 -DIST kubernetes-1.20.1.tar.gz 34424663 BLAKE2B 156482f88f051eeea0c428c357a79d876ff0ce5f8ed6eb1ffa72be83bff45b72970280fa1bc7629804c178b9fa45ad84a9961a4f0e7eca1b58351fc7d7f4cfc0 SHA512 40598999cc5c96c54591338eb985bc056892ef2f98cfb521ff26937fa29f63a20e97f52a8454433ff98614d579509b7a5e927edcd96f4725505a334a999c0326 -DIST kubernetes-1.20.2.tar.gz 34428927 BLAKE2B d49ddbe95f377320261aeca655bea2fb375f134bac32f594ad5d2ee8c349d946f267257888375a3d5184140d5a7d2eddc759e25f633b771e2803595838fcd60f SHA512 7459825ead1435135dbd8f226cba7fc9698771809447067f14742a444073bd6933bb936d053eb70c7745edf8360c1e5e6f835cf3956abc78d3ac26447279a36c -EBUILD kube-apiserver-1.18.14.ebuild 1004 BLAKE2B 37352f285c75f1fd14d2acdd847caad33e422d47dcd768dd1e1bc2adf968eda55bb0e7fb90c1f0055909a6a3d6e3e714d08ab8bbaa5bd1c32a6dcb84ff6d8bf7 SHA512 194dbdb7bde76fcd1f3d623dfe92790968da796e8272dfa6920cd965daaad6cf4a92661fec81e2fe3fb009a0d9b49dd732db83132cc474d212e8b9963d2d5f8d -EBUILD kube-apiserver-1.18.15.ebuild 1005 BLAKE2B a5012338e60aa1ddebb47360b366bfb3b0dc0ab303bad91b7595287ff883058628ec96c4936e0084c314542b917ae8f6e1c29c9f7eb926555c59f097681ff295 SHA512 48aebd74d74e744e9f579e923459369a36774f80a17e81876664c0aae38d26b1d017f8656c968d4ca922c5bb2f66d5656a44a4d6b059cdcebb353202c1cca103 -EBUILD kube-apiserver-1.19.6.ebuild 1011 BLAKE2B e379517c1e19e309e5151e8919d04dcee5573c36da9cc6794c3b523da3b65e929a68dc10c86e22330e94f710005b07936fb252df8f2f7f730910705e92a56129 SHA512 c0bff494da8b557f348ca19d92d748a9490e03b7eef4cf80239a2ac01478cd3fbe3b8c477034e95d9b8405936daefe47cf47371378188a3a989368e3dade5b6d -EBUILD kube-apiserver-1.19.7.ebuild 1012 BLAKE2B 6ddd81924033f371422aa120319efb48ec5ac3a61599ec4d691eb26e51f2eb1b5d27c4c2a6717d36bdec6c21b57ddcfa9456d4e322942d20945143afb7a6b839 SHA512 2b4121c6e2c6ef381dd9fbe23c3b52043620d737539088e3917e3529784823e228cdd569493c3e38a7a4fad0a49b4b12581cf637d66840fd6f7df5efab72036c -EBUILD kube-apiserver-1.20.1.ebuild 1011 BLAKE2B e379517c1e19e309e5151e8919d04dcee5573c36da9cc6794c3b523da3b65e929a68dc10c86e22330e94f710005b07936fb252df8f2f7f730910705e92a56129 SHA512 c0bff494da8b557f348ca19d92d748a9490e03b7eef4cf80239a2ac01478cd3fbe3b8c477034e95d9b8405936daefe47cf47371378188a3a989368e3dade5b6d -EBUILD kube-apiserver-1.20.2.ebuild 1012 BLAKE2B 6ddd81924033f371422aa120319efb48ec5ac3a61599ec4d691eb26e51f2eb1b5d27c4c2a6717d36bdec6c21b57ddcfa9456d4e322942d20945143afb7a6b839 SHA512 2b4121c6e2c6ef381dd9fbe23c3b52043620d737539088e3917e3529784823e228cdd569493c3e38a7a4fad0a49b4b12581cf637d66840fd6f7df5efab72036c +DIST kubernetes-1.19.8.tar.gz 33500610 BLAKE2B 2d86519b056f6dcacbaf368af34e66754a25fb84fc981a5c9d6ddea0f95f87fa61b36afe9ee8d80381084cb5f0018c36671e7d08e8a27b7bf334858800172da4 SHA512 0cefbe0cd29ee3916867549f2aa2a4eb60f87c9fc0fa4bae3748cc4eadd76685f868a9e30a50af092f55c0942bbd5e30648021ec0781afdcdd5f8d4014724c64 +DIST kubernetes-1.20.4.tar.gz 34447775 BLAKE2B b38d55023a750da0f04df69548523832ac6b41b1ca1bac2e04cfb4d2c84233fd6adfc55912b39986428f6af8bd64f8e0ec5f12a560ed66c29eca8befef595491 SHA512 e10784a9920af8480cdd2dbcca65c8502034365e224ef8fa822633f0d480fecaca25e5b6d97743c83527729a2e200509dda38c421cbd7b286fec7500226df631 +EBUILD kube-apiserver-1.18.15.ebuild 1004 BLAKE2B 37352f285c75f1fd14d2acdd847caad33e422d47dcd768dd1e1bc2adf968eda55bb0e7fb90c1f0055909a6a3d6e3e714d08ab8bbaa5bd1c32a6dcb84ff6d8bf7 SHA512 194dbdb7bde76fcd1f3d623dfe92790968da796e8272dfa6920cd965daaad6cf4a92661fec81e2fe3fb009a0d9b49dd732db83132cc474d212e8b9963d2d5f8d +EBUILD kube-apiserver-1.18.16.ebuild 1004 BLAKE2B 37352f285c75f1fd14d2acdd847caad33e422d47dcd768dd1e1bc2adf968eda55bb0e7fb90c1f0055909a6a3d6e3e714d08ab8bbaa5bd1c32a6dcb84ff6d8bf7 SHA512 194dbdb7bde76fcd1f3d623dfe92790968da796e8272dfa6920cd965daaad6cf4a92661fec81e2fe3fb009a0d9b49dd732db83132cc474d212e8b9963d2d5f8d +EBUILD kube-apiserver-1.19.7.ebuild 1011 BLAKE2B e379517c1e19e309e5151e8919d04dcee5573c36da9cc6794c3b523da3b65e929a68dc10c86e22330e94f710005b07936fb252df8f2f7f730910705e92a56129 SHA512 c0bff494da8b557f348ca19d92d748a9490e03b7eef4cf80239a2ac01478cd3fbe3b8c477034e95d9b8405936daefe47cf47371378188a3a989368e3dade5b6d +EBUILD kube-apiserver-1.19.8.ebuild 1011 BLAKE2B e379517c1e19e309e5151e8919d04dcee5573c36da9cc6794c3b523da3b65e929a68dc10c86e22330e94f710005b07936fb252df8f2f7f730910705e92a56129 SHA512 c0bff494da8b557f348ca19d92d748a9490e03b7eef4cf80239a2ac01478cd3fbe3b8c477034e95d9b8405936daefe47cf47371378188a3a989368e3dade5b6d +EBUILD kube-apiserver-1.20.4.ebuild 1011 BLAKE2B e379517c1e19e309e5151e8919d04dcee5573c36da9cc6794c3b523da3b65e929a68dc10c86e22330e94f710005b07936fb252df8f2f7f730910705e92a56129 SHA512 c0bff494da8b557f348ca19d92d748a9490e03b7eef4cf80239a2ac01478cd3fbe3b8c477034e95d9b8405936daefe47cf47371378188a3a989368e3dade5b6d MISC metadata.xml 334 BLAKE2B 5fb3ca0290f69bb3b68aa155afa7d239029ea77ad7c1d9c082df32e8e7fdd4188f8313a6799eb1f98a1d24c6d69b059c5c8cbe4dbeadf33c0892ac4482a41863 SHA512 1a049b08c9dd669d645179ca1afc93a8015fa5faddee858c497d45d7c9917a51261a33bd07545926d2698c200aada2e8ffd535466bed97e2dc07fa0b11bef9e1 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.18.14.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.18.14.ebuild deleted file mode 100644 index dadfa3ce121d..000000000000 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.18.14.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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" -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.14*" - -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} -} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.18.15.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.18.15.ebuild index e2230b0a755b..dadfa3ce121d 100644 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.18.15.ebuild +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.18.15.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="hardened" COMMON_DEPEND=" diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.18.16.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.18.16.ebuild new file mode 100644 index 000000000000..dadfa3ce121d --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.18.16.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" +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.14*" + +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} +} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild deleted file mode 100644 index c7e9121eb778..000000000000 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.19.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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} -} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.19.7.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.19.7.ebuild index 0c60e4a0143a..c7e9121eb778 100644 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.19.7.ebuild +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.19.7.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="hardened" COMMON_DEPEND=" diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.19.8.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.19.8.ebuild new file mode 100644 index 000000000000..c7e9121eb778 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.19.8.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} +} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.1.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.1.ebuild deleted file mode 100644 index c7e9121eb778..000000000000 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.20.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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} -} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.2.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.2.ebuild deleted file mode 100644 index 0c60e4a0143a..000000000000 --- a/sys-cluster/kube-apiserver/kube-apiserver-1.20.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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} -} diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.ebuild new file mode 100644 index 000000000000..c7e9121eb778 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.20.4.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} +} -- cgit v1.2.3