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/runc/
Date: Mon, 11 Feb 2019 19:33:31
Message-Id: 1549913592.23d4df7642c4525cd6e2c0aa053c5c303dde1082.mrueg@gentoo
1 commit: 23d4df7642c4525cd6e2c0aa053c5c303dde1082
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 11 19:33:12 2019 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 11 19:33:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d4df76
7
8 app-emulation/runc: Remove old
9
10 Package-Manager: Portage-2.3.59, Repoman-2.3.12
11 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
12
13 app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild | 54 ----------------------
14 1 file changed, 54 deletions(-)
15
16 diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild
17 deleted file mode 100644
18 index eb9cce7cf94..00000000000
19 --- a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild
20 +++ /dev/null
21 @@ -1,54 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -EGO_PN="github.com/opencontainers/${PN}"
27 -
28 -if [[ ${PV} == *9999 ]]; then
29 - inherit golang-build golang-vcs
30 -else
31 - MY_PV="${PV/_/-}"
32 - EGIT_COMMIT="v${MY_PV}"
33 - RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild
34 - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz"
35 - KEYWORDS="amd64 ~arm ~arm64 ~ppc64"
36 - inherit golang-build golang-vcs-snapshot
37 -fi
38 -
39 -DESCRIPTION="runc container cli tools"
40 -HOMEPAGE="http://runc.io"
41 -
42 -LICENSE="Apache-2.0"
43 -SLOT="0"
44 -IUSE="+ambient apparmor hardened +seccomp"
45 -
46 -RDEPEND="
47 - apparmor? ( sys-libs/libapparmor )
48 - seccomp? ( sys-libs/libseccomp )
49 - !app-emulation/docker-runc
50 -"
51 -
52 -src_compile() {
53 - # Taken from app-emulation/docker-1.7.0-r1
54 - export CGO_CFLAGS="-I${ROOT}/usr/include"
55 - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
56 - -L${ROOT}/usr/$(get_libdir)"
57 -
58 - # build up optional flags
59 - local options=(
60 - $(usex ambient 'ambient')
61 - $(usex apparmor 'apparmor')
62 - $(usex seccomp 'seccomp')
63 - )
64 -
65 - GOPATH="${S}"\
66 - emake BUILDTAGS="${options[*]}" \
67 - COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN}
68 -}
69 -
70 -src_install() {
71 - pushd src/${EGO_PN} || die
72 - dobin runc
73 - dodoc README.md PRINCIPLES.md
74 - popd || die
75 -}