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