commit:     4732e95c8d29eb70e8e9e8628582a3baaa29c905
Author:     Manuel RĂ¼ger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 18:40:21 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 18:41:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4732e95c

app-emulation/flannel: version bump to 0.8.0

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/flannel/Manifest             |  1 +
 app-emulation/flannel/flannel-0.8.0.ebuild | 45 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index a053a1664e3..1b8360c7a4e 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -3,6 +3,7 @@ DIST 
beorn7-perks-4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9.tar.gz 10593 SHA256 d
 DIST bolt-1.3.0.tar.gz 80322 SHA256 
e417fccc1186dcf8807e3b2a7afb31bad31faf2ca383d203002a7d783c872f13 SHA512 
51b72f82cf055ab1b47ca51c16c9f3cd1293de4596e1294db83f348d7da62ee2230fc94cb11347483f81783e23e5763424f697a4d028050fb434e0455dd06934
 WHIRLPOOL 
a079999c027ae0cf2031beeb6a6c98917153ed4bf85de306f0192c8ec60ebe8c8bdfcff5f2bb6586f261d4cfce8809cb056225a3ed7256d059adb2ea211cfd6f
 DIST flannel-0.5.5.tar.gz 592235 SHA256 
dbbcb08c0e70713b0c920387a9967e5b30ef833c8118c847edbbca4f68ff0562 SHA512 
5300583752fbfa0da3c1a066268a7441271c02a0304213cc854c252727b5035db4a51a4747ad54db3c741b6f623363c99920a5bf2292c59dc3dc4d653b366f83
 WHIRLPOOL 
c97b7ece323309343fef40b36a826b420f3be5df61ac7bb9ae4faa48802c395be886b8a6740765779e2023a5bdbffde21dda1934179e4e284204aa821275e645
 DIST flannel-0.6.2.tar.gz 9239397 SHA256 
40c315ee78e50b97d2e48e5c32e2d07690b7361fe1ca09efe16d3edda4bc7e33 SHA512 
6bee7edfc5ba13ff9b157ca79ea4abf1c2575a4a0c7b92279d297d395dfe411fd5a01c9b94fd182868bbb5a2a77e2e01e8f7e726b04e875e5b46c4ce8ac2c3a5
 WHIRLPOOL 
3f9cb2824c91b393edb77c5ebcf0dd1717bf7841a803b871dcf7595fdcb839b88af1e2894e809cb920da309afa8075a8d6980d6c15b1b7d9d0b3552eea4fc77a
+DIST flannel-0.8.0.tar.gz 8089967 SHA256 
8905f1706b649db8c9852ddd0d559ff8c1844886278455b8ff0c22b909b1e059 SHA512 
8d3693d95f67ab273c68671d0b2ab76dd3761868bb956cb14c171525bbefab8223d202f2356de249e1add1bbac89f995367a6d5c1b8e1358bebaa317b4f0a2fc
 WHIRLPOOL 
c6c2d4cc2f864b2e3271933a99d5ae8b4ef08c12b7e5cca771ca86c4902a4f2469cee990c46b5a40337a89b52c44d17cebcd56be77b502c2fedc371aad299be1
 DIST go-crypto-b2fa06b6af4b7c9bfeb8569ab7b17f04550717bf.tar.gz 1298465 SHA256 
423a29190851ee1a1a0b4d7539ff725f7de9f0fb9a3d3d76a491025a6ee7b492 SHA512 
8721402dc0a3486cfe9898e83d686307af13995d1edb4b21c58a3c3e3d13abe5fb9860270ca9f721be6147338c2f54d66489d2f5c7cc45dbfa98c7d678d00ce3
 WHIRLPOOL 
c215c893a5cf7ad93d014f544f97c8d14317edc63a0000858058d571848c765caac458c146c1a00077eb149ae54ea3bff4d42de1bcdf005697f7db8af18a4917
 DIST go-semver-0.2.0.tar.gz 8474 SHA256 
0f15084aee23324e12e5e4542c9f7b0c809d7207b0e90829d1554b234cd8dd4a SHA512 
93cf037a5994fe42d890e26a7547f56593ce4e6b8e149ba4f8437226b0d06a7b948b67c1d5a96d1389baa837cc046220f389a695c999a089b5f30a051bf92a38
 WHIRLPOOL 
3463ff0f01f86787105fb185cb3fcd4fc578823d010387e09a1b17c8ace1dbea134077b7b29bfe07dae6404425eaff3d3c9919597eb4b40c0adc8321a718d9b4
 DIST go-systemd-13.tar.gz 49200 SHA256 
5bad52a1e16b17038f86d336ac3c5aefbde9074f6f0aaa677dc866c0582de783 SHA512 
a53e2ed6b418ea04dbf4e0ba36590ea64c3453b09f0bc7431c20970cd25c12797b5ce80c95c69e2ba85e62d5aa804d71217edbefd6c9e847ba1b192432159cd2
 WHIRLPOOL 
abc1fa6760239da574fb9bbc22c0bd9a9233ca11642caf503d4d2c266ee02d436413bfe3d8be40963af8afd6a6b436ce2bb0498bf31cc27632d6f1a4eaa09cf4

diff --git a/app-emulation/flannel/flannel-0.8.0.ebuild 
b/app-emulation/flannel/flannel-0.8.0.ebuild
new file mode 100644
index 00000000000..a63436a1230
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.8.0.ebuild
@@ -0,0 +1,45 @@
+# 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=""
+RESTRICT="test"
+
+src_prepare() {
+       default
+       sed -e "s:^var Version =.*:var Version = \"${PV}\":" \
+               -i "${S}/src/${EGO_PN}/version/version.go" || die
+}
+
+src_compile() {
+       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
+       systemd_newtmpfilesd "${FILESDIR}/flannel.tmpfilesd" flannel.conf
+       systemd_dounit "${FILESDIR}/flanneld.service"
+       dodoc README.md
+}

Reply via email to