summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-08-10 15:33:25 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-08-10 15:33:25 +0200
commitf271670b1dae44414c6e063e32c98d5e98aa3917 (patch)
tree7ec5f462e42ff512e8e9762894fbf743357489ff
parentsys-cluster/kube-proxy: Install /var/lib/kube-proxy as well (diff)
downloadgentoo-f271670b.tar.gz
gentoo-f271670b.tar.bz2
gentoo-f271670b.zip
sys-cluster/kube-proxy: Remove old
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.7.3.ebuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.7.3.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.7.3.ebuild
deleted file mode 100644
index b3636fb8fb87..000000000000
--- a/sys-cluster/kube-proxy/kube-proxy-1.7.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build golang-vcs-snapshot
-
-EGO_PN="k8s.io/kubernetes"
-ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Kubernetes Proxy service"
-HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
-SRC_URI="${ARCHIVE_URI}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-DEPEND="dev-go/go-bindata"
-
-RESTRICT="test"
-
-src_prepare() {
- default
- sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die
- sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
-}
-
-src_compile() {
- LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN}
-}
-
-src_install() {
- pushd src/${EGO_PN} || die
- dobin _output/bin/${PN}
- popd || die
- keepdir /var/log/${PN}
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/${PN}.logrotated ${PN}
-}