From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3579D59CB1 for ; Mon, 11 Apr 2016 04:07:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38A74E0806; Mon, 11 Apr 2016 04:07:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3695E0806 for ; Mon, 11 Apr 2016 04:07:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 545503409B7 for ; Mon, 11 Apr 2016 04:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E1A0201 for ; Mon, 11 Apr 2016 04:07:09 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1460347620.1a829c3ac7d744988935a3843b538498769cc54f.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/flannel/Manifest app-emulation/flannel/flannel-0.5.5.ebuild X-VCS-Directories: app-emulation/flannel/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 1a829c3ac7d744988935a3843b538498769cc54f X-VCS-Branch: master Date: Mon, 11 Apr 2016 04:07:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c4738075-e78d-4ca4-b321-1aa395512ac1 X-Archives-Hash: 00a98629ac2ed7b103555b70c12a4f65 commit: 1a829c3ac7d744988935a3843b538498769cc54f Author: Zac Medico gentoo org> AuthorDate: Mon Apr 11 04:06:14 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Apr 11 04:07:00 2016 +0000 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 0000000..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:9999/v1/_/config: dial tcp 127.0.0.1:9999: 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" +}