Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/
Date: Fri, 03 Nov 2017 14:27:07
Message-Id: 1509719208.21017a15627bf177fe34f4e9603bb1789cf0b584.mrueg@gentoo
1 commit: 21017a15627bf177fe34f4e9603bb1789cf0b584
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 3 14:26:48 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 3 14:26:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21017a15
7
8 app-emulation/containerd: Sync some changes to live ebuild
9
10 Package-Manager: Portage-2.3.12, Repoman-2.3.4
11
12 app-emulation/containerd/containerd-9999.ebuild | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15 diff --git a/app-emulation/containerd/containerd-9999.ebuild b/app-emulation/containerd/containerd-9999.ebuild
16 index 42467124d22..345b3fa9b96 100644
17 --- a/app-emulation/containerd/containerd-9999.ebuild
18 +++ b/app-emulation/containerd/containerd-9999.ebuild
19 @@ -1,18 +1,18 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 -EGO_PN="github.com/docker/${PN}"
26 +EGO_PN="github.com/containerd/${PN}"
27
28 inherit toolchain-funcs
29
30 if [[ ${PV} == *9999 ]]; then
31 inherit golang-vcs
32 else
33 - MY_PV="${PV/_/-}"
34 + MY_PV="${PV/_beta/-beta.}"
35 EGIT_COMMIT="v${MY_PV}"
36 SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
37 - KEYWORDS="~amd64 ~ppc64"
38 + KEYWORDS="~amd64 ~arm ~ppc64"
39 inherit golang-vcs-snapshot
40 fi
41
42 @@ -24,17 +24,17 @@ SLOT="0"
43 IUSE="hardened +seccomp"
44
45 DEPEND=""
46 -RDEPEND=">=app-emulation/runc-1.0.0_rc2
47 +RDEPEND=">=app-emulation/runc-1.0.0_rc4
48 seccomp? ( sys-libs/libseccomp )"
49
50 S=${WORKDIR}/${P}/src/${EGO_PN}
51
52 src_compile() {
53 - local options=( $(usex seccomp "seccomp") )
54 + local options=( $(usex seccomp "seccomp" "") )
55 export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
56 LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}"
57 }
58
59 src_install() {
60 - dobin bin/containerd* bin/ctr
61 + dobin bin/containerd{-shim,-stress,} bin/ctr
62 }