public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/
Date: Mon, 25 Sep 2017 13:57:53 +0000 (UTC)	[thread overview]
Message-ID: <1506347859.a07f698e50d707dd923cfa68a72f37506005b3a1.mrueg@gentoo> (raw)

commit:     a07f698e50d707dd923cfa68a72f37506005b3a1
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 13:57:39 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 13:57:39 2017 +0000
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 00000000000..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
+}


             reply	other threads:[~2017-09-25 13:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 13:57 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-05  3:48 [gentoo-commits] repo/gentoo:master commit in: app-emulation/flannel/ William Hubbs
2020-08-31 10:18 Alexis Ballier
2019-11-23 10:56 Manuel Rüger
2019-09-19  0:36 Zac Medico
2019-09-19  0:00 Zac Medico
2019-04-23 12:50 Manuel Rüger
2018-03-20 11:35 Manuel Rüger
2018-02-09 15:33 Manuel Rüger
2018-02-09 15:33 Manuel Rüger
2018-02-09 14:37 Manuel Rüger
2017-11-29 10:56 Manuel Rüger
2017-11-28 16:18 Manuel Rüger
2017-08-24 14:37 Manuel Rüger
2017-07-28 18:42 Zac Medico
2016-10-29  7:59 Zac Medico
2016-04-11  4:07 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506347859.a07f698e50d707dd923cfa68a72f37506005b3a1.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox