[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2018-03-20 Thread Manuel Rüger
commit: 61dccd54adbe4c9b4f7b8f733dfb0eff589bf0e5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Mar 20 11:34:34 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Mar 20 11:34:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61dccd54

app-emulation/flannel: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/flannel/Manifest |  1 -
 app-emulation/flannel/flannel-0.9.1.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index 67e2faddfce..a1c05bc8f13 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 5135efe94f8..000
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2018-02-09 Thread Manuel Rüger
commit: 82a9176fb565d7ec7278ff6b6f5a0f41735e7dbb
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb  9 15:32:42 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb  9 15:32:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a9176f

app-emulation/flannel: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/flannel/Manifest |  1 -
 app-emulation/flannel/flannel-0.9.0.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index e6be8a87476..67e2faddfce 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,3 +1,2 @@
 DIST flannel-0.10.0.tar.gz 4799262 BLAKE2B 
7341f34f72bf2d51aa727d03eb94f376fd9da825dea1865db9d0b46d5bcc0338569b8aa81c3442b101768cd7b58bef3957bea86a38e8c1cca921b7a03d1b2bf3
 SHA512 
b71fff80f7c4891279e82c6c430cdbff1eb3966cc4817d1c2c5ed7a731e9466f04e51532734244510ab47cba07557c052fbaa9a4a9ecced56fa1e37f6681b1c9
-DIST flannel-0.9.0.tar.gz 8090296 BLAKE2B 
f3592a9d448219683a1d34c5c291206ebb331b801455fd4bc3c1e7909576d865943cad9e6c79915bb6be5d8fd47d910a4fb550a1352ea0a506f90dcf2312964c
 SHA512 
b91a3da1b69c806d9af87d4c5f8702c845b328978e375d957bbb8dd3eeb35547cc63f8f13bef7520a8e012e4e958a7c6ca047d0b06a1f9a0e31f61ec2be40a4d
 DIST flannel-0.9.1.tar.gz 8090942 BLAKE2B 
94da69c9ef82438a55a238910130beedd55418d1f2a1a9e0d49b36fb5626b9346b4b1dbb46dfdbb839e6303a9906521c5e7bfa7ca695455d1b40167f3245c05f
 SHA512 
ce265effa1924dbd2fa366cf97945ec94ecfc5701dfbaae2d44d1177a36b5e2268b1d9535f2d5dccd84ebb50d8cc8844c46f025fa1f233f85f6dfa0a30d53fe3

diff --git a/app-emulation/flannel/flannel-0.9.0.ebuild 
b/app-emulation/flannel/flannel-0.9.0.ebuild
deleted file mode 100644
index 5135efe94f8..000
--- a/app-emulation/flannel/flannel-0.9.0.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
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2018-02-09 Thread Manuel Rüger
commit: 93305b4c4dabaefc6996ea710abd953aa217604a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb  9 15:30:21 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb  9 15:32:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93305b4c

app-emulation/flannel: Version bump to 0.10.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/flannel/Manifest  |  1 +
 app-emulation/flannel/flannel-0.10.0.ebuild | 51 +
 2 files changed, 52 insertions(+)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index a4ff778496d..e6be8a87476 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,2 +1,3 @@
+DIST flannel-0.10.0.tar.gz 4799262 BLAKE2B 
7341f34f72bf2d51aa727d03eb94f376fd9da825dea1865db9d0b46d5bcc0338569b8aa81c3442b101768cd7b58bef3957bea86a38e8c1cca921b7a03d1b2bf3
 SHA512 
b71fff80f7c4891279e82c6c430cdbff1eb3966cc4817d1c2c5ed7a731e9466f04e51532734244510ab47cba07557c052fbaa9a4a9ecced56fa1e37f6681b1c9
 DIST flannel-0.9.0.tar.gz 8090296 BLAKE2B 
f3592a9d448219683a1d34c5c291206ebb331b801455fd4bc3c1e7909576d865943cad9e6c79915bb6be5d8fd47d910a4fb550a1352ea0a506f90dcf2312964c
 SHA512 
b91a3da1b69c806d9af87d4c5f8702c845b328978e375d957bbb8dd3eeb35547cc63f8f13bef7520a8e012e4e958a7c6ca047d0b06a1f9a0e31f61ec2be40a4d
 DIST flannel-0.9.1.tar.gz 8090942 BLAKE2B 
94da69c9ef82438a55a238910130beedd55418d1f2a1a9e0d49b36fb5626b9346b4b1dbb46dfdbb839e6303a9906521c5e7bfa7ca695455d1b40167f3245c05f
 SHA512 
ce265effa1924dbd2fa366cf97945ec94ecfc5701dfbaae2d44d1177a36b5e2268b1d9535f2d5dccd84ebb50d8cc8844c46f025fa1f233f85f6dfa0a30d53fe3

diff --git a/app-emulation/flannel/flannel-0.10.0.ebuild 
b/app-emulation/flannel/flannel-0.10.0.ebuild
new file mode 100644
index 000..3fd362881d8
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.10.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2018-02-09 Thread Manuel Rüger
commit: 30a28c6f6ebdb019752ddf0cfeff8626ae71c80a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb  9 14:36:07 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb  9 14:36:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a28c6f

app-emulation/flannel: Add myself as co-maintainer

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/flannel/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-emulation/flannel/metadata.xml 
b/app-emulation/flannel/metadata.xml
index 26007a60b41..cfe71d5ee79 100644
--- a/app-emulation/flannel/metadata.xml
+++ b/app-emulation/flannel/metadata.xml
@@ -4,6 +4,10 @@
   
 zmed...@gentoo.org
   
+  
+mr...@gentoo.org
+Manuel Rüger
+  
   
 coreos/flannel
   



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2017-11-29 Thread Manuel Rüger
commit: e66c0c2cc3b80b17a4d3910c646d7c7b7f487e02
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov 29 10:55:17 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov 29 10:55:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66c0c2c

app-emulation/flannel: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-emulation/flannel/Manifest|  1 -
 app-emulation/flannel/flannel-0.8.0-r2.ebuild | 51 ---
 2 files changed, 52 deletions(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index 67f13487de4..ad8b654ed9b 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,3 +1,2 @@
-DIST flannel-0.8.0.tar.gz 8089967 SHA256 
8905f1706b649db8c9852ddd0d559ff8c1844886278455b8ff0c22b909b1e059 SHA512 
8d3693d95f67ab273c68671d0b2ab76dd3761868bb956cb14c171525bbefab8223d202f2356de249e1add1bbac89f995367a6d5c1b8e1358bebaa317b4f0a2fc
 WHIRLPOOL 
c6c2d4cc2f864b2e3271933a99d5ae8b4ef08c12b7e5cca771ca86c4902a4f2469cee990c46b5a40337a89b52c44d17cebcd56be77b502c2fedc371aad299be1
 DIST flannel-0.9.0.tar.gz 8090296 SHA256 
3d04611497eab9f066d0316a23e5cc931b730707cc5fdcd1ea9940146f41151f SHA512 
b91a3da1b69c806d9af87d4c5f8702c845b328978e375d957bbb8dd3eeb35547cc63f8f13bef7520a8e012e4e958a7c6ca047d0b06a1f9a0e31f61ec2be40a4d
 WHIRLPOOL 
da8cb9b415bb6627e33f7e040316a8e882e8b7960353a4e69dd81c25fb3025dbaf06b0ef6350df0e5566cd0cef9f7313a273bd75d2f1d613c7f8961245fadf49
 DIST flannel-0.9.1.tar.gz 8090942 BLAKE2B 
94da69c9ef82438a55a238910130beedd55418d1f2a1a9e0d49b36fb5626b9346b4b1dbb46dfdbb839e6303a9906521c5e7bfa7ca695455d1b40167f3245c05f
 SHA512 
ce265effa1924dbd2fa366cf97945ec94ecfc5701dfbaae2d44d1177a36b5e2268b1d9535f2d5dccd84ebb50d8cc8844c46f025fa1f233f85f6dfa0a30d53fe3

diff --git a/app-emulation/flannel/flannel-0.8.0-r2.ebuild 
b/app-emulation/flannel/flannel-0.8.0-r2.ebuild
deleted file mode 100644
index 5135efe94f8..000
--- a/app-emulation/flannel/flannel-0.8.0-r2.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
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2017-11-28 Thread Manuel Rüger
commit: 4ed5350d676483aae6c2f839c26ad9a238252b8d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Nov 28 16:18:34 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Nov 28 16:18:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ed5350d

app-emulation/flannel: Version bump to 0.9.1

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-emulation/flannel/Manifest |  1 +
 app-emulation/flannel/flannel-0.9.1.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index eb33a19d070..67f13487de4 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,2 +1,3 @@
 DIST flannel-0.8.0.tar.gz 8089967 SHA256 
8905f1706b649db8c9852ddd0d559ff8c1844886278455b8ff0c22b909b1e059 SHA512 
8d3693d95f67ab273c68671d0b2ab76dd3761868bb956cb14c171525bbefab8223d202f2356de249e1add1bbac89f995367a6d5c1b8e1358bebaa317b4f0a2fc
 WHIRLPOOL 
c6c2d4cc2f864b2e3271933a99d5ae8b4ef08c12b7e5cca771ca86c4902a4f2469cee990c46b5a40337a89b52c44d17cebcd56be77b502c2fedc371aad299be1
 DIST flannel-0.9.0.tar.gz 8090296 SHA256 
3d04611497eab9f066d0316a23e5cc931b730707cc5fdcd1ea9940146f41151f SHA512 
b91a3da1b69c806d9af87d4c5f8702c845b328978e375d957bbb8dd3eeb35547cc63f8f13bef7520a8e012e4e958a7c6ca047d0b06a1f9a0e31f61ec2be40a4d
 WHIRLPOOL 
da8cb9b415bb6627e33f7e040316a8e882e8b7960353a4e69dd81c25fb3025dbaf06b0ef6350df0e5566cd0cef9f7313a273bd75d2f1d613c7f8961245fadf49
+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
new file mode 100644
index 000..5135efe94f8
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.9.1.ebuild
@@ -0,0 +1,51 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2017-09-25 Thread Manuel Rüger
commit: a07f698e50d707dd923cfa68a72f37506005b3a1
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 25 13:57:39 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 25 13:57:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07f698e

app-emulation/flannel: Version bump to 0.9.0

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-emulation/flannel/Manifest |  1 +
 app-emulation/flannel/flannel-0.9.0.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index 530a82a99a6..eb33a19d070 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1 +1,2 @@
 DIST flannel-0.8.0.tar.gz 8089967 SHA256 
8905f1706b649db8c9852ddd0d559ff8c1844886278455b8ff0c22b909b1e059 SHA512 
8d3693d95f67ab273c68671d0b2ab76dd3761868bb956cb14c171525bbefab8223d202f2356de249e1add1bbac89f995367a6d5c1b8e1358bebaa317b4f0a2fc
 WHIRLPOOL 
c6c2d4cc2f864b2e3271933a99d5ae8b4ef08c12b7e5cca771ca86c4902a4f2469cee990c46b5a40337a89b52c44d17cebcd56be77b502c2fedc371aad299be1
+DIST flannel-0.9.0.tar.gz 8090296 SHA256 
3d04611497eab9f066d0316a23e5cc931b730707cc5fdcd1ea9940146f41151f SHA512 
b91a3da1b69c806d9af87d4c5f8702c845b328978e375d957bbb8dd3eeb35547cc63f8f13bef7520a8e012e4e958a7c6ca047d0b06a1f9a0e31f61ec2be40a4d
 WHIRLPOOL 
da8cb9b415bb6627e33f7e040316a8e882e8b7960353a4e69dd81c25fb3025dbaf06b0ef6350df0e5566cd0cef9f7313a273bd75d2f1d613c7f8961245fadf49

diff --git a/app-emulation/flannel/flannel-0.9.0.ebuild 
b/app-emulation/flannel/flannel-0.9.0.ebuild
new file mode 100644
index 000..5135efe94f8
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.9.0.ebuild
@@ -0,0 +1,51 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/, app-emulation/flannel/files/

2017-09-01 Thread Zac Medico
commit: 40f02a0eaee5422f5eeb2b3dd7c7dd5c6b926cd5
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Sep  1 22:22:44 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Sep  1 22:29:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f02a0e

app-emulation/flannel: revbump to 0.8.0-r2 for bug 629170

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 app-emulation/flannel/files/flanneld.initd   | 9 ++---
 .../flannel/{flannel-0.8.0-r1.ebuild => flannel-0.8.0-r2.ebuild} | 0
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/app-emulation/flannel/files/flanneld.initd 
b/app-emulation/flannel/files/flanneld.initd
index 6f75abd40f5..d5d966a40d3 100644
--- a/app-emulation/flannel/files/flanneld.initd
+++ b/app-emulation/flannel/files/flanneld.initd
@@ -3,11 +3,11 @@
 # Distributed under the terms of the GNU General Public License v2
 
 description="Flannel Network Fabric for Containers"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
 user=${user:-root}
 group=${group:-root}
 
-command="/usr/bin/${SVCNAME}"
+command="/usr/bin/${RC_SVCNAME}"
 command_args="${command_args}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
@@ -16,9 +16,4 @@ start_stop_daemon_args="--user ${user} --group ${group} \
 
 depend() {
need net
-   after net
-}
-
-start_pre() {
-   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
 }

diff --git a/app-emulation/flannel/flannel-0.8.0-r1.ebuild 
b/app-emulation/flannel/flannel-0.8.0-r2.ebuild
similarity index 100%
rename from app-emulation/flannel/flannel-0.8.0-r1.ebuild
rename to app-emulation/flannel/flannel-0.8.0-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2017-08-24 Thread Manuel Rüger
commit: 5d3888269504a058648f3df0ab2cf887019cfd52
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Aug 24 14:34:01 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Aug 24 14:34:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d388826

app-emulation/flannel: Remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-emulation/flannel/Manifest |  25 --
 app-emulation/flannel/flannel-0.5.5.ebuild |  45 --
 app-emulation/flannel/flannel-0.6.2.ebuild | 134 -
 app-emulation/flannel/flannel-0.8.0.ebuild |  45 --
 4 files changed, 249 deletions(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index 1b8360c7a4e..530a82a99a6 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,26 +1 @@
-DIST ansicolor-a422bbe96644373c5753384a59d678f7d261ff10.tar.gz 7319 SHA256 
5a240c42b5dfa34065d0aef36c1735682306d2175bf9ccb89e3b6be0e174df2f SHA512 
adaab239eb195bc9b8394fc228b4ea6554c0c7e52a9d0fd8b80a7408302ac4cdcc072b1219e69d9db1c6791680077f6730e8ffe41208006a426247b2d135efea
 WHIRLPOOL 
346cec6eacc39e96d9e98e6be69d4f658bef9c66c1dcfcf83fde997e43ca46ac10d8abcea94180515952799e0be01edea8d8202e17c87a42245c8da701e2fb3d
-DIST beorn7-perks-4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9.tar.gz 10593 SHA256 
d80f6864af88af9a4f726d3a0ccaea30a3dd2a7c0ea3a79ab92a9987598bd9f0 SHA512 
ecac8d361b4695b1fc32a9aaf9e0785201d1bebbf270226540e2c3fe193ad21f4fe8aed4e01937bd1e7273ca394455ca6fd7cf29418710f279cbb8eb92939e32
 WHIRLPOOL 
787aad3e28076b51c4904b3aaf8f01a69ce69988dc3e518c97b1a79ec8496f88b4e25ec25e89ae290935c748b3f8033f98906627ebfe2e0f6c9e489f5bffd7d6
-DIST bolt-1.3.0.tar.gz 80322 SHA256 
e417fccc1186dcf8807e3b2a7afb31bad31faf2ca383d203002a7d783c872f13 SHA512 
51b72f82cf055ab1b47ca51c16c9f3cd1293de4596e1294db83f348d7da62ee2230fc94cb11347483f81783e23e5763424f697a4d028050fb434e0455dd06934
 WHIRLPOOL 
a07c027ae0cf2031beeb6a6c98917153ed4bf85de306f0192c8ec60ebe8c8bdfcff5f2bb6586f261d4cfce8809cb056225a3ed7256d059adb2ea211cfd6f
-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 
c215c893a5cf7ad93d014f544f97c8d14317edc63a858058d571848c765caac458c146c1a00077eb149ae54ea3bff4d42de1bcdf005697f7db8af18a4917
-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
-DIST go-text-a8b38433e35b65ba247bb267317037dee1b70cea.tar.gz 4274499 SHA256 
95176ca61248a9cad5b15770437bbc32cf0588c3f4c4aa832dc188aae2bca331 SHA512 
65a3a39402575dfd5e14da599c4037a82c2fe3a2a488a18a214cfc15eb202db4ad538c533115326eb0969a037936ef05176d28acce1d02caadc2b00233195f23
 WHIRLPOOL 
7d867805f66d25ce433d297ca6937bebe3ee476f05febb486d3b731b77dd9e920f51cc0e756add8614097096e8af05dac68476f8643def1812fb5d68c2e805c4
-DIST go-tools-0_pre20160220.tar.gz 1827046 SHA256 
395190b159e918204f67dee0b8f08f55d14cf59b83aa79cdb69c75de71c8d99a SHA512 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/, app-emulation/flannel/files/

2017-08-03 Thread Manuel Rüger
commit: 588a8971fe9252f583dd0be708fdf87e5d18a8ed
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Aug  3 18:49:57 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Aug  3 18:49:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588a8971

app-emulation/flannel: Add initscripts and logrotate file

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-emulation/flannel/files/flanneld.confd  |  2 +
 app-emulation/flannel/files/flanneld.initd  | 24 
 app-emulation/flannel/files/flanneld.logrotated |  7 
 app-emulation/flannel/flannel-0.8.0-r1.ebuild   | 51 +
 4 files changed, 84 insertions(+)

diff --git a/app-emulation/flannel/files/flanneld.confd 
b/app-emulation/flannel/files/flanneld.confd
new file mode 100644
index 000..18686aa5d22
--- /dev/null
+++ b/app-emulation/flannel/files/flanneld.confd
@@ -0,0 +1,2 @@
+# arguments for flannel
+command_args=""

diff --git a/app-emulation/flannel/files/flanneld.initd 
b/app-emulation/flannel/files/flanneld.initd
new file mode 100644
index 000..6f75abd40f5
--- /dev/null
+++ b/app-emulation/flannel/files/flanneld.initd
@@ -0,0 +1,24 @@
+#!/sbin/openrc-run
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Flannel Network Fabric for Containers"
+pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+user=${user:-root}
+group=${group:-root}
+
+command="/usr/bin/${SVCNAME}"
+command_args="${command_args}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/flannel/flannel.log \
+   --stderr /var/log/flannel/flannel.log"
+
+depend() {
+   need net
+   after net
+}
+
+start_pre() {
+   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
+}

diff --git a/app-emulation/flannel/files/flanneld.logrotated 
b/app-emulation/flannel/files/flanneld.logrotated
new file mode 100644
index 000..4108e630557
--- /dev/null
+++ b/app-emulation/flannel/files/flanneld.logrotated
@@ -0,0 +1,7 @@
+/var/log/flannel/* {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git a/app-emulation/flannel/flannel-0.8.0-r1.ebuild 
b/app-emulation/flannel/flannel-0.8.0-r1.ebuild
new file mode 100644
index 000..5135efe94f8
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.8.0-r1.ebuild
@@ -0,0 +1,51 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2017-07-28 Thread Zac Medico
commit: 4732e95c8d29eb70e8e9e8628582a3baaa29c905
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jul 28 18:40:21 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Jul 28 18:41:07 2017 +
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 
a07c027ae0cf2031beeb6a6c98917153ed4bf85de306f0192c8ec60ebe8c8bdfcff5f2bb6586f261d4cfce8809cb056225a3ed7256d059adb2ea211cfd6f
 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 
c215c893a5cf7ad93d014f544f97c8d14317edc63a858058d571848c765caac458c146c1a00077eb149ae54ea3bff4d42de1bcdf005697f7db8af18a4917
 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 000..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 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/files/, app-emulation/flannel/

2016-10-29 Thread Zac Medico
commit: a96e839d7e30a06d0d7ecc5e5020da31496f683d
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Oct 29 12:18:12 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Oct 29 12:19:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96e839d

app-emulation/flannel: version bump to 0.6.2

Package-Manager: portage-2.3.2

 app-emulation/flannel/Manifest   |  24 +
 app-emulation/flannel/files/flanneld.service |   2 +-
 app-emulation/flannel/flannel-0.6.2.ebuild   | 135 +++
 3 files changed, 160 insertions(+), 1 deletion(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index b14795d..a053a16 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1 +1,25 @@
+DIST ansicolor-a422bbe96644373c5753384a59d678f7d261ff10.tar.gz 7319 SHA256 
5a240c42b5dfa34065d0aef36c1735682306d2175bf9ccb89e3b6be0e174df2f SHA512 
adaab239eb195bc9b8394fc228b4ea6554c0c7e52a9d0fd8b80a7408302ac4cdcc072b1219e69d9db1c6791680077f6730e8ffe41208006a426247b2d135efea
 WHIRLPOOL 
346cec6eacc39e96d9e98e6be69d4f658bef9c66c1dcfcf83fde997e43ca46ac10d8abcea94180515952799e0be01edea8d8202e17c87a42245c8da701e2fb3d
+DIST beorn7-perks-4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9.tar.gz 10593 SHA256 
d80f6864af88af9a4f726d3a0ccaea30a3dd2a7c0ea3a79ab92a9987598bd9f0 SHA512 
ecac8d361b4695b1fc32a9aaf9e0785201d1bebbf270226540e2c3fe193ad21f4fe8aed4e01937bd1e7273ca394455ca6fd7cf29418710f279cbb8eb92939e32
 WHIRLPOOL 
787aad3e28076b51c4904b3aaf8f01a69ce69988dc3e518c97b1a79ec8496f88b4e25ec25e89ae290935c748b3f8033f98906627ebfe2e0f6c9e489f5bffd7d6
+DIST bolt-1.3.0.tar.gz 80322 SHA256 
e417fccc1186dcf8807e3b2a7afb31bad31faf2ca383d203002a7d783c872f13 SHA512 
51b72f82cf055ab1b47ca51c16c9f3cd1293de4596e1294db83f348d7da62ee2230fc94cb11347483f81783e23e5763424f697a4d028050fb434e0455dd06934
 WHIRLPOOL 
a07c027ae0cf2031beeb6a6c98917153ed4bf85de306f0192c8ec60ebe8c8bdfcff5f2bb6586f261d4cfce8809cb056225a3ed7256d059adb2ea211cfd6f
 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 go-crypto-b2fa06b6af4b7c9bfeb8569ab7b17f04550717bf.tar.gz 1298465 SHA256 
423a29190851ee1a1a0b4d7539ff725f7de9f0fb9a3d3d76a491025a6ee7b492 SHA512 
8721402dc0a3486cfe9898e83d686307af13995d1edb4b21c58a3c3e3d13abe5fb9860270ca9f721be6147338c2f54d66489d2f5c7cc45dbfa98c7d678d00ce3
 WHIRLPOOL 
c215c893a5cf7ad93d014f544f97c8d14317edc63a858058d571848c765caac458c146c1a00077eb149ae54ea3bff4d42de1bcdf005697f7db8af18a4917
+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
+DIST go-text-a8b38433e35b65ba247bb267317037dee1b70cea.tar.gz 4274499 SHA256 
95176ca61248a9cad5b15770437bbc32cf0588c3f4c4aa832dc188aae2bca331 SHA512 
65a3a39402575dfd5e14da599c4037a82c2fe3a2a488a18a214cfc15eb202db4ad538c533115326eb0969a037936ef05176d28acce1d02caadc2b00233195f23
 WHIRLPOOL 
7d867805f66d25ce433d297ca6937bebe3ee476f05febb486d3b731b77dd9e920f51cc0e756add8614097096e8af05dac68476f8643def1812fb5d68c2e805c4
+DIST go-tools-0_pre20160220.tar.gz 1827046 SHA256 
395190b159e918204f67dee0b8f08f55d14cf59b83aa79cdb69c75de71c8d99a SHA512 
95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1
 WHIRLPOOL 
48737d871487e693040b448e799d89f8461e6dc60ee12cc21fe874d9897b9721397986aa947af3bcbc2e514422e3c27147a5d2fe21b4fb7593c91e1fb267e424
+DIST go-yaml-v1-9f9df34309c04878acc86042b16630b0f696e1de.tar.gz 60069 SHA256 
e2288c906f0ab336623286e32732a3f22aa91d126d226e89579a70761fe59462 SHA512 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2016-10-29 Thread Zac Medico
commit: 97347af22df1324ab3aa87dfe3153fc2cbfd0008
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Oct 29 07:58:07 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Oct 29 07:59:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97347af2

app-emulation/flannel: remove old version 0.5.4

Package-Manager: portage-2.3.2

 app-emulation/flannel/Manifest |  1 -
 app-emulation/flannel/flannel-0.5.4.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index e933869..b14795d 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1,2 +1 @@
-DIST flannel-0.5.4.tar.gz 578005 SHA256 
14bbbabdbb85f3366ae6788a8b8ba110d56add15e06def4d8ead4c9698fc15fd SHA512 
535d3de31186760cd72cac5753fabc269c8ebf9f3fe90a381b86dae0747a1dd4f4099cce19729a7d5990fefc99236bea8742062605a376f9bd9f653c07b4e92a
 WHIRLPOOL 
10756f47fc35ce39ac1b9321d4bb347993d8d5dd37bc83bf769e35e32f3de02bbba89d39142c4b6eb8a6bd92be7a5ad91c45bf0f8aeb6e0efe050383766c3aef
 DIST flannel-0.5.5.tar.gz 592235 SHA256 
dbbcb08c0e70713b0c920387a9967e5b30ef833c8118c847edbbca4f68ff0562 SHA512 
5300583752fbfa0da3c1a066268a7441271c02a0304213cc854c252727b5035db4a51a4747ad54db3c741b6f623363c99920a5bf2292c59dc3dc4d653b366f83
 WHIRLPOOL 
c97b7ece323309343fef40b36a826b420f3be5df61ac7bb9ae4faa48802c395be886b8a6740765779e2023a5bdbffde21dda1934179e4e284204aa821275e645

diff --git a/app-emulation/flannel/flannel-0.5.4.ebuild 
b/app-emulation/flannel/flannel-0.5.4.ebuild
deleted file mode 100644
index e5a5159..
--- a/app-emulation/flannel/flannel-0.5.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit systemd user
-
-KEYWORDS="~amd64"
-DESCRIPTION="An etcd backed network fabric for containers"
-GO_PN="github.com/coreos/flannel"
-HOMEPAGE="https://${GO_PN};
-SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.4:="
-RDEPEND=""
-
-src_prepare() {
-   local line
-   sed -e 's:go build:[[ ${0##*/} == test ]] || \0 -v -x:' -i build || die
-   sed -e 's:go test:\0 -v:' -i test || die
-
-   # remote_test.go:98: GetNetworkConfig failed: Get 
http://127.0.0.1:/v1/_/config: dial tcp 127.0.0.1:: getsockopt: 
connection refused
-   sed -e 's:^func TestRemote:func _TestRemote:' -i remote/remote_test.go 
|| die
-}
-
-src_compile() {
-   "${BASH}" -ex ./build || die 'Build failed'
-}
-
-src_test() {
-   "${BASH}" -ex ./test || die 'Tests failed'
-}
-
-src_install() {
-   dobin bin/*
-   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"
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/

2016-04-10 Thread Zac Medico
commit: 1a829c3ac7d744988935a3843b538498769cc54f
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Apr 11 04:06:14 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Apr 11 04:07:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a829c3a

app-emulation/flannel: version bump to 0.5.5

Package-Manager: portage-2.2.28

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

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
index 21f5b5e..e933869 100644
--- a/app-emulation/flannel/Manifest
+++ b/app-emulation/flannel/Manifest
@@ -1 +1,2 @@
 DIST flannel-0.5.4.tar.gz 578005 SHA256 
14bbbabdbb85f3366ae6788a8b8ba110d56add15e06def4d8ead4c9698fc15fd SHA512 
535d3de31186760cd72cac5753fabc269c8ebf9f3fe90a381b86dae0747a1dd4f4099cce19729a7d5990fefc99236bea8742062605a376f9bd9f653c07b4e92a
 WHIRLPOOL 
10756f47fc35ce39ac1b9321d4bb347993d8d5dd37bc83bf769e35e32f3de02bbba89d39142c4b6eb8a6bd92be7a5ad91c45bf0f8aeb6e0efe050383766c3aef
+DIST flannel-0.5.5.tar.gz 592235 SHA256 
dbbcb08c0e70713b0c920387a9967e5b30ef833c8118c847edbbca4f68ff0562 SHA512 
5300583752fbfa0da3c1a066268a7441271c02a0304213cc854c252727b5035db4a51a4747ad54db3c741b6f623363c99920a5bf2292c59dc3dc4d653b366f83
 WHIRLPOOL 
c97b7ece323309343fef40b36a826b420f3be5df61ac7bb9ae4faa48802c395be886b8a6740765779e2023a5bdbffde21dda1934179e4e284204aa821275e645

diff --git a/app-emulation/flannel/flannel-0.5.5.ebuild 
b/app-emulation/flannel/flannel-0.5.5.ebuild
new file mode 100644
index 000..5191237
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.5.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit systemd user
+
+KEYWORDS="~amd64"
+DESCRIPTION="An etcd backed network fabric for containers"
+GO_PN="github.com/coreos/flannel"
+HOMEPAGE="https://${GO_PN};
+SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.4:="
+RDEPEND=""
+
+src_prepare() {
+   local line
+   sed -e 's:go build:[[ ${0##*/} == test ]] || \0 -v -x:' -i build || die
+   sed -e 's:go test:\0 -v:' -i test || die
+
+   # remote_test.go:98: GetNetworkConfig failed: Get 
http://127.0.0.1:/v1/_/config: dial tcp 127.0.0.1:: getsockopt: 
connection refused
+   sed -e 's:^func TestRemote:func _TestRemote:' -i remote/remote_test.go 
|| die
+}
+
+src_compile() {
+   "${BASH}" -ex ./build || die 'Build failed'
+}
+
+src_test() {
+   "${BASH}" -ex ./test || die 'Tests failed'
+}
+
+src_install() {
+   dobin bin/*
+   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"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/, app-emulation/flannel/files/

2015-10-23 Thread Zac Medico
commit: da8d9548289ae8466568b211517f75a95a108aed
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Oct 23 22:24:46 2015 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Oct 23 22:28:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8d9548

app-emulation/flannel: new package, An etcd backed network fabric for containers

Package-Manager: portage-2.2.23

 app-emulation/flannel/Manifest  |  1 +
 app-emulation/flannel/files/flannel-docker.conf |  2 ++
 app-emulation/flannel/files/flannel.tmpfilesd   |  1 +
 app-emulation/flannel/files/flanneld.service| 13 +++
 app-emulation/flannel/flannel-0.5.4.ebuild  | 46 +
 app-emulation/flannel/metadata.xml  | 10 ++
 6 files changed, 73 insertions(+)

diff --git a/app-emulation/flannel/Manifest b/app-emulation/flannel/Manifest
new file mode 100644
index 000..21f5b5e
--- /dev/null
+++ b/app-emulation/flannel/Manifest
@@ -0,0 +1 @@
+DIST flannel-0.5.4.tar.gz 578005 SHA256 
14bbbabdbb85f3366ae6788a8b8ba110d56add15e06def4d8ead4c9698fc15fd SHA512 
535d3de31186760cd72cac5753fabc269c8ebf9f3fe90a381b86dae0747a1dd4f4099cce19729a7d5990fefc99236bea8742062605a376f9bd9f653c07b4e92a
 WHIRLPOOL 
10756f47fc35ce39ac1b9321d4bb347993d8d5dd37bc83bf769e35e32f3de02bbba89d39142c4b6eb8a6bd92be7a5ad91c45bf0f8aeb6e0efe050383766c3aef

diff --git a/app-emulation/flannel/files/flannel-docker.conf 
b/app-emulation/flannel/files/flannel-docker.conf
new file mode 100644
index 000..8f55177
--- /dev/null
+++ b/app-emulation/flannel/files/flannel-docker.conf
@@ -0,0 +1,2 @@
+[Service]
+EnvironmentFile=-/run/flannel/docker

diff --git a/app-emulation/flannel/files/flannel.tmpfilesd 
b/app-emulation/flannel/files/flannel.tmpfilesd
new file mode 100644
index 000..98e5abd
--- /dev/null
+++ b/app-emulation/flannel/files/flannel.tmpfilesd
@@ -0,0 +1 @@
+d /run/flannel 0755 root root

diff --git a/app-emulation/flannel/files/flanneld.service 
b/app-emulation/flannel/files/flanneld.service
new file mode 100644
index 000..7e59b6b
--- /dev/null
+++ b/app-emulation/flannel/files/flanneld.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Flanneld overlay address etcd agent
+After=network.target
+Before=docker.service
+
+[Service]
+Type=notify
+Environment=FLANNEL_ETCD=http://127.0.0.1:4001 
FLANNEL_ETCD_KEY=/coreos.com/network
+ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD} 
-etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS
+ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS 
-d /run/flannel/docker
+
+[Install]
+RequiredBy=docker.service

diff --git a/app-emulation/flannel/flannel-0.5.4.ebuild 
b/app-emulation/flannel/flannel-0.5.4.ebuild
new file mode 100644
index 000..4b3992c
--- /dev/null
+++ b/app-emulation/flannel/flannel-0.5.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit systemd user
+
+KEYWORDS="~amd64"
+DESCRIPTION="An etcd backed network fabric for containers"
+GO_PN="github.com/coreos/flannel"
+HOMEPAGE="https://${GO_PN};
+SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.4:="
+RDEPEND=""
+
+src_prepare() {
+   local line
+   sed -e 's:go build:[[ ${0##*/} == test ]] || \0 -v -x:' -i build || die
+   sed -e 's:go test:\0 -v:' -i test || die
+
+   # remote_test.go:98: GetNetworkConfig failed: Get 
http://127.0.0.1:/v1/_/config: dial tcp 127.0.0.1:: getsockopt: 
connection refused
+   sed -e 's:^func TestRemote:func _TestRemote:' -i remote/remote_test.go 
|| die
+}
+
+src_compile() {
+   "${BASH}" -ex ./build || die 'Build failed'
+}
+
+src_test() {
+   "${BASH}" -ex ./test || die 'Tests failed'
+}
+
+src_install() {
+   dobin bin/*
+   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"
+}

diff --git a/app-emulation/flannel/metadata.xml 
b/app-emulation/flannel/metadata.xml
new file mode 100644
index 000..bd78c24
--- /dev/null
+++ b/app-emulation/flannel/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+zmed...@gentoo.org
+  
+  
+coreos/flannel
+  
+