Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/
Date: Thu, 19 Sep 2019 00:01:04
Message-Id: 1568851254.3e1c64f993d82c7fa12aefc23ef702d34c633da0.zmedico@gentoo
1 commit: 3e1c64f993d82c7fa12aefc23ef702d34c633da0
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 19 00:00:17 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 19 00:00:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1c64f9
7
8 app-emulation/flannel: Remove old version 0.10.0
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/flannel/Manifest | 1 -
14 app-emulation/flannel/flannel-0.10.0.ebuild | 51 -----------------------------
15 2 files changed, 52 deletions(-)
16
17 diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
18 index 3c733a58ce1..236b7994970 100644
19 --- a/app-emulation/flannel/Manifest
20 +++ b/app-emulation/flannel/Manifest
21 @@ -1,2 +1 @@
22 -DIST flannel-0.10.0.tar.gz 4799262 BLAKE2B 7341f34f72bf2d51aa727d03eb94f376fd9da825dea1865db9d0b46d5bcc0338569b8aa81c3442b101768cd7b58bef3957bea86a38e8c1cca921b7a03d1b2bf3 SHA512 b71fff80f7c4891279e82c6c430cdbff1eb3966cc4817d1c2c5ed7a731e9466f04e51532734244510ab47cba07557c052fbaa9a4a9ecced56fa1e37f6681b1c9
23 DIST flannel-0.11.0.tar.gz 6443391 BLAKE2B 5358e513a73fec6d8fcdb0182ec814fcf204eb12830f7d60acb3d4432f821ccc9e174fcc7adb57584ab1782c3f285e46b51bb0f76635fab9cf851cb2bd40c1b3 SHA512 72d18cd4ec58ede3848da3b94b7f3e33f8dda59d9fceb13864757998a24f0b312bc5b5d7927d3da8a805475efee469095ac09390fa632eb0c6ef9dd0f5d38a3b
24
25 diff --git a/app-emulation/flannel/flannel-0.10.0.ebuild b/app-emulation/flannel/flannel-0.10.0.ebuild
26 deleted file mode 100644
27 index 3fd362881d8..00000000000
28 --- a/app-emulation/flannel/flannel-0.10.0.ebuild
29 +++ /dev/null
30 @@ -1,51 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit golang-vcs-snapshot systemd user
37 -
38 -KEYWORDS="~amd64"
39 -DESCRIPTION="An etcd backed network fabric for containers"
40 -EGO_PN="github.com/coreos/flannel"
41 -HOMEPAGE="https://github.com/coreos/flannel"
42 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -LICENSE="Apache-2.0"
44 -SLOT="0"
45 -IUSE="hardened"
46 -RESTRICT="test"
47 -
48 -src_prepare() {
49 - default
50 - sed -e "s:^var Version =.*:var Version = \"${PV}\":" \
51 - -i "${S}/src/${EGO_PN}/version/version.go" || die
52 -}
53 -
54 -src_compile() {
55 - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"\
56 - GOPATH="${WORKDIR}/${P}" \
57 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
58 - [[ -x bin/${PN} ]] || die
59 -}
60 -
61 -src_test() {
62 - GOPATH="${WORKDIR}/${P}" \
63 - go test -v -work -x "${EGO_PN}" || die
64 -}
65 -
66 -src_install() {
67 - newbin "bin/${PN}" ${PN}d
68 - cd "src/${EGO_PN}" || die
69 - exeinto /usr/libexec/flannel
70 - doexe dist/mk-docker-opts.sh
71 - insinto /etc/systemd/system/docker.service.d
72 - newins "${FILESDIR}/flannel-docker.conf" flannel.conf
73 - newinitd "${FILESDIR}"/flanneld.initd flanneld
74 - newconfd "${FILESDIR}"/flanneld.confd flanneld
75 - keepdir /var/log/${PN}
76 - insinto /etc/logrotate.d
77 - newins "${FILESDIR}"/flanneld.logrotated flanneld
78 - systemd_newtmpfilesd "${FILESDIR}/flannel.tmpfilesd" flannel.conf
79 - systemd_dounit "${FILESDIR}/flanneld.service"
80 - dodoc README.md
81 -}