diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-20 12:34:34 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-20 12:34:34 +0100 |
commit | 61dccd54adbe4c9b4f7b8f733dfb0eff589bf0e5 (patch) | |
tree | 47ae055f66a35724992d72719b77dcc8c56c82b6 /app-emulation/flannel | |
parent | sys-cluster/kubectl: Remove old (diff) | |
download | gentoo-61dccd54adbe4c9b4f7b8f733dfb0eff589bf0e5.tar.gz gentoo-61dccd54adbe4c9b4f7b8f733dfb0eff589bf0e5.tar.bz2 gentoo-61dccd54adbe4c9b4f7b8f733dfb0eff589bf0e5.zip |
app-emulation/flannel: Remove old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emulation/flannel')
-rw-r--r-- | app-emulation/flannel/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/flannel/flannel-0.9.1.ebuild | 51 |
2 files changed, 0 insertions, 52 deletions
diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest index 67e2faddfcec..a1c05bc8f13d 100644 --- a/app-emulation/flannel/Manifest +++ b/app-emulation/flannel/Manifest @@ -1,2 +1 @@ DIST flannel-0.10.0.tar.gz 4799262 BLAKE2B 7341f34f72bf2d51aa727d03eb94f376fd9da825dea1865db9d0b46d5bcc0338569b8aa81c3442b101768cd7b58bef3957bea86a38e8c1cca921b7a03d1b2bf3 SHA512 b71fff80f7c4891279e82c6c430cdbff1eb3966cc4817d1c2c5ed7a731e9466f04e51532734244510ab47cba07557c052fbaa9a4a9ecced56fa1e37f6681b1c9 -DIST flannel-0.9.1.tar.gz 8090942 BLAKE2B 94da69c9ef82438a55a238910130beedd55418d1f2a1a9e0d49b36fb5626b9346b4b1dbb46dfdbb839e6303a9906521c5e7bfa7ca695455d1b40167f3245c05f SHA512 ce265effa1924dbd2fa366cf97945ec94ecfc5701dfbaae2d44d1177a36b5e2268b1d9535f2d5dccd84ebb50d8cc8844c46f025fa1f233f85f6dfa0a30d53fe3 diff --git a/app-emulation/flannel/flannel-0.9.1.ebuild b/app-emulation/flannel/flannel-0.9.1.ebuild deleted file mode 100644 index 5135efe94f88..000000000000 --- a/app-emulation/flannel/flannel-0.9.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-vcs-snapshot systemd user - -KEYWORDS="~amd64" -DESCRIPTION="An etcd backed network fabric for containers" -EGO_PN="github.com/coreos/flannel" -HOMEPAGE="https://github.com/coreos/flannel" -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="hardened" -RESTRICT="test" - -src_prepare() { - default - sed -e "s:^var Version =.*:var Version = \"${PV}\":" \ - -i "${S}/src/${EGO_PN}/version/version.go" || die -} - -src_compile() { - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"\ - GOPATH="${WORKDIR}/${P}" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" - [[ -x bin/${PN} ]] || die -} - -src_test() { - GOPATH="${WORKDIR}/${P}" \ - go test -v -work -x "${EGO_PN}" || die -} - -src_install() { - newbin "bin/${PN}" ${PN}d - cd "src/${EGO_PN}" || die - exeinto /usr/libexec/flannel - doexe dist/mk-docker-opts.sh - insinto /etc/systemd/system/docker.service.d - newins "${FILESDIR}/flannel-docker.conf" flannel.conf - newinitd "${FILESDIR}"/flanneld.initd flanneld - newconfd "${FILESDIR}"/flanneld.confd flanneld - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/flanneld.logrotated flanneld - systemd_newtmpfilesd "${FILESDIR}/flannel.tmpfilesd" flannel.conf - systemd_dounit "${FILESDIR}/flanneld.service" - dodoc README.md -} |