diff options
author | William Hubbs <williamh@gentoo.org> | 2020-07-11 13:32:15 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-07-11 13:38:21 -0500 |
commit | b4b92d0a9acab2111536710a237a05e381f521e9 (patch) | |
tree | 12d5b1e99a9ae9b3c65238afa7af210999189fee /sys-cluster/kubernetes | |
parent | net-misc/ntpsec: arm stable (bug #732234) (diff) | |
download | gentoo-b4b92d0a9acab2111536710a237a05e381f521e9.tar.gz gentoo-b4b92d0a9acab2111536710a237a05e381f521e9.tar.bz2 gentoo-b4b92d0a9acab2111536710a237a05e381f521e9.zip |
sys-cluster/kubernetes: remove vulnerable versions
Bug: https://bugs.gentoo.org/731800
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubernetes')
-rw-r--r-- | sys-cluster/kubernetes/Manifest | 10 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.16.10.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.16.8.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.16.9.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.17.4.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.17.5.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.17.6.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.18.0.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.18.1.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.18.2.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.18.3.ebuild | 90 |
11 files changed, 0 insertions, 910 deletions
diff --git a/sys-cluster/kubernetes/Manifest b/sys-cluster/kubernetes/Manifest index b4ac2352bd23..8ad721976610 100644 --- a/sys-cluster/kubernetes/Manifest +++ b/sys-cluster/kubernetes/Manifest @@ -1,16 +1,6 @@ -DIST kubernetes-1.16.10.tar.gz 31761409 BLAKE2B caef0b60045d134e5243558da56301dfe2ef844e7e80ca82d86bd79e5ce00bc9d9aa61550f3356dcc6ee31bf925a22a87364fcf971e353129adb0c0e376b26c0 SHA512 b81b34f12c6d835ef86df598bb13350b7a94b02cb493df9c8e8b605c541d9a9db16331b264f66ecdaaf5451e3a2d13cc104d3d6e5facbf31c4b6bd2cc2a1441f DIST kubernetes-1.16.11.tar.gz 31766900 BLAKE2B a3a099eaf82b7b818a237752885358752176bb1eade5f1623a1bd8920f37a43283fc0a712197153143b6d166bb0ecb45d9d1148cc766681f67f36281473b26e0 SHA512 153a44ce61d70074462c157ffbdb8c58a8807d205a315c2be3aabee80253cba362915f93c31fcbdbfcdc25161b9bc3ca0260b1cdab8f4d562fc69aa465fc476e DIST kubernetes-1.16.12.tar.gz 31772280 BLAKE2B 623a0dc387e911f603ae1f5111a30d43d57a3d8be49a02326077b6264d3cd683ef9b8b0bf9be2685aaade5b831b7fbd49426758aa5817ae7bc6b0cc6f934da2c SHA512 6c72998aa540adec40dc3b78167b2c9e3dfe1ff7d799fd9752676862dfdbdc5a8303b5f4267d132d4c115c5482b8f27140191bcdd74ad7a63f87cafe76cb9f9e -DIST kubernetes-1.16.8.tar.gz 31731459 BLAKE2B 1d53c16586b5a7a41fc42d0fb3444b694531d3f04fb9e168a70d4b98f966f322bc82d39234612e38c71da052002c5bcc452c747d9f948dacbdd91ea40a9f5417 SHA512 04c8e9a9227ac9a98074cd52cbe90758134fedb10164fa69accbc19716a2f18dc133a4f880d0e35a3728c377faea431363f00ae9fe2ff5ca9e509444da9106c5 -DIST kubernetes-1.16.9.tar.gz 31752857 BLAKE2B 34c0ff54e60276bf41ce971a8a50d57256f696ac95b551a90a6d2ccf1540279010953119def539c0824217fbbfc287d24b6f080e1fefce8864c1eade72d0777f SHA512 08fffe855a433ad0cc7586afd12815adb3bcafcac86712181625198fedbfe170bc36ae31aca9783d30dd790c415d447f073234f621416a76a7e4e0de2eeb008d -DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549 -DIST kubernetes-1.17.5.tar.gz 31788321 BLAKE2B b7531b9ba07a20aba6829e3351b3b66a64251970be3a07d44f8b20ef2d44fa7d80f2528c1c0a6c3dcf3373cbb21e500d26c0a53c4ed4b66bb334860c5f8ce3b9 SHA512 2f7fd071a11a4f9d53cf0b23e381d0e864a6dc19e1dab88c2b5bcdade514328714f651bc0caa9c302e74fab7d2823a0d724fe0f5444e13afcf89b792377af283 -DIST kubernetes-1.17.6.tar.gz 31795648 BLAKE2B f6116bc65d08b99295a8e373470f411f5f6b11cad722a713f660f2d24798ee21e2286f4bd538bf53c94af3e9891c49f41ce3b8643ee18df908b0dca03643e007 SHA512 62eaa62a848d7650f29d014b710ca22a744cc1c6517b46a38b5363b3cf4618366d7de2df3f4fbcfe6fbcdde7428e169b9ce917444983049b55fcfff5f3f3217e DIST kubernetes-1.17.7.tar.gz 31808806 BLAKE2B b8c2d64bb2e307ca866465039a4e8d62f0f73d26ed7fe3e6906784369c214037672b80c0adf617c3b47abe213f4ee5e55af72943e742aaba645b0c7f69b984c1 SHA512 12ad9de52ac2028ace8b605ccf14b98c94363f17b56da6d5efbb63617d40898384ff88d88a33d47393c3e7b529f17d41c526340ddfbd4cc0eddb5341789436a4 DIST kubernetes-1.17.8.tar.gz 31815475 BLAKE2B a949e85610c4eb78bb79d2290ff50477fda4406f212869a2d23ba5a4e134be7bbcf327398f82cff86adfc3e9554fc2ca32f1de2667b3fb0187732dab4474f5a0 SHA512 0bf42da5162d91afe7be4cc9e2ca989e22d768b82b0e7b9d2ddc6bac9583fa73f22f4b755fd9cdd215d4c5023b5a349efc3f3b1a944048a329ba657b05b95f0b -DIST kubernetes-1.18.0.tar.gz 32554015 BLAKE2B 24079970cc1887c6dad7b55d9f2fd80cd9f46f1b6c1240cf28abf2eb33b3809bcd858293bb800255533a13e24145fab580b0bd2eb0e06c15ca4e0feeedcf6ff2 SHA512 3298ec63a2fbcd396b415f27a581f4286317ae206c30b35457aed780baae4115059df20e40028df394984caccc8bb4ef6c879ae3c064771c8a5c045dee7998e8 -DIST kubernetes-1.18.1.tar.gz 32581783 BLAKE2B ffacdba21dd6d326ddf9733c49ed3a16ad679fbd25b4ddda44b047a402a163474033d6b2328a816e83ede505aae07e205b68938165c546202fa6df2d03609ead SHA512 c002153e16494cd74e6f0609847602d6dcf166c8bab020341f8302b7cad5d7452ed1c2e66b3b230731d13401493d2d02f0500abcd526dbff44ae3aeabd210577 -DIST kubernetes-1.18.2.tar.gz 32585912 BLAKE2B 1f8dbd6e7a8ba4257abaf2926ada656ec42eb7e0f502f2b4fc75b2a6cacd9a6e91624a717772f605a24b42421933580bc399aca4480aa1c88009016160485a77 SHA512 9786312b06aea5cbd4e786e4b6d639ec4750fa6c8ba469d860702b317103ec464f038015ef038ba21841a0d627d58902769eb73a5d2fdf4da2f0ae4c0ec14e85 -DIST kubernetes-1.18.3.tar.gz 32596732 BLAKE2B 067a0b74d3d8e63ba99da1828c7a3e905b235a8e5bee1eb11bbc0a5e12ab2d94c0b5dcf9febf6b0808c053eb81fa6ea4746aa42d6c0a19c02b834b44d25f095f SHA512 0bb1dc33802127b03480e43dcbdeb576188a2a50b0257bcf47a0efec7d504cbce9b61048cb87d2ae4148174fcb2e373298c5947d5130604f827b806d9d00c6a4 DIST kubernetes-1.18.4.tar.gz 32605319 BLAKE2B 4cf10cadd2b45418f45517a0191d3650a2e36bd3dc69e3f472ac59735712261eebb38eccf7da4f8496ac60701602dbf4730176236486abae6279b1f71bae831f SHA512 b2a6f76b4b933012e39aa3df2510a6dd3a2d64452799fdd32b9d7c461930d273b0cacd46550aa963d809d7b075d6076a6d1a370322870204e1298811c14122a1 DIST kubernetes-1.18.5.tar.gz 32609318 BLAKE2B 68a2571eb1c956484a288b2d379c4a81b1ce7924fe20500ea1b0c4ff925c52d5d2f52c58bce535827e90d6ba1863f88b3dc0c2e74261325ef335a423a193e8c6 SHA512 894c7a8c84b5a416b6699a962a657667885ecb7f2f38fc645239d53039149f439515922b10ffd4e66c3ca24b801f3d316ed3ee1b4e07bfbe792ddffbfb286ac8 diff --git a/sys-cluster/kubernetes/kubernetes-1.16.10.ebuild b/sys-cluster/kubernetes/kubernetes-1.16.10.ebuild deleted file mode 100644 index 08ecc8821c16..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.16.10.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.16.8.ebuild b/sys-cluster/kubernetes/kubernetes-1.16.8.ebuild deleted file mode 100644 index 08ecc8821c16..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.16.8.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.16.9.ebuild b/sys-cluster/kubernetes/kubernetes-1.16.9.ebuild deleted file mode 100644 index 08ecc8821c16..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.16.9.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.17.4.ebuild b/sys-cluster/kubernetes/kubernetes-1.17.4.ebuild deleted file mode 100644 index c333bbabb3b4..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.17.4.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.17.5.ebuild b/sys-cluster/kubernetes/kubernetes-1.17.5.ebuild deleted file mode 100644 index c333bbabb3b4..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.17.5.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.17.6.ebuild b/sys-cluster/kubernetes/kubernetes-1.17.6.ebuild deleted file mode 100644 index 08ecc8821c16..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.17.6.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.18.0.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.0.ebuild deleted file mode 100644 index c333bbabb3b4..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.18.0.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.18.1.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.1.ebuild deleted file mode 100644 index c333bbabb3b4..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.18.1.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.18.2.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.2.ebuild deleted file mode 100644 index c333bbabb3b4..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.18.2.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} diff --git a/sys-cluster/kubernetes/kubernetes-1.18.3.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.3.ebuild deleted file mode 100644 index 08ecc8821c16..000000000000 --- a/sys-cluster/kubernetes/kubernetes-1.18.3.ebuild +++ /dev/null @@ -1,90 +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="production-grade container orchestration" -HOMEPAGE="https://kubernetes.io" -SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -AGENT="kubelet" -CLI="kubeadm kubectl" -SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" -IUSE="hardened" -for x in ${AGENT} ${CLI} ${SERVICES}; do - IUSE+=" +${x}" -done - -BDEPEND=">=dev-lang/go-1.13" -COMMON_DEPEND=" - kube-apiserver? ( - acct-group/kube-apiserver - acct-user/kube-apiserver - ) - kube-controller-manager? ( - acct-group/kube-controller-manager - acct-user/kube-controller-manager - ) - kube-scheduler? ( - acct-group/kube-scheduler - acct-user/kube-scheduler - )" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - kube-proxy? ( net-firewall/conntrack-tools ) - !sys-cluster/kubeadm - !sys-cluster/kubectl - !sys-cluster/kubelet - !sys-cluster/kube-apiserver - !sys-cluster/kube-controller-manager - !sys-cluster/kube-proxy - !sys-cluster/kube-scheduler" - -RESTRICT+=" test" - -src_compile() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ - emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x} - done -} - -src_install() { - local x - for x in ${AGENT} ${CLI} ${SERVICES}; do - use $x || continue - dobin _output/bin/${x} - if has ${x} ${CLI}; then - _output/bin/${x} completion bash > ${x}.bash || die - _output/bin/${x} completion zsh > ${x}.zsh || die - newbashcomp ${x}.bash ${x} - insinto /usr/share/zsh/site-functions - newins ${x}.zsh _${x} - continue - fi - newinitd "${FILESDIR}"/${x}.initd ${x} - newconfd "${FILESDIR}"/${x}.confd ${x} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${x}.logrotated ${x} - keepdir /var/log/${x} - if [[ "$x" =~ kubelet ]]; then - systemd_dounit "${FILESDIR}"/${x}.service - insinto /etc/kubernetes - newins "${FILESDIR}"/${x}.env ${x}.env - keepdir /etc/kubernetes/manifests - fi - if [[ $x =~ kubelet|kube-proxy ]]; then - keepdir /var/lib/${x} - fi - if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then - fowners ${x}:${x} /var/log/${x} - fi - done -} |