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/docker-runc/
Date: Mon, 19 Mar 2018 22:54:07
Message-Id: 1521500028.879ab26fbcb957687142286c69c1e009159f9369.mrueg@gentoo
1 commit: 879ab26fbcb957687142286c69c1e009159f9369
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 19 22:53:48 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 19 22:53:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879ab26f
7
8 app-emulation/docker-runc: Remove old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-emulation/docker-runc/Manifest | 2 -
13 .../docker-runc-1.0.0_rc4_p20170926.ebuild | 59 ----------------------
14 .../docker-runc-1.0.0_rc4_p20171108.ebuild | 59 ----------------------
15 3 files changed, 120 deletions(-)
16
17 diff --git a/app-emulation/docker-runc/Manifest b/app-emulation/docker-runc/Manifest
18 index e9895f2f911..34e45bed57d 100644
19 --- a/app-emulation/docker-runc/Manifest
20 +++ b/app-emulation/docker-runc/Manifest
21 @@ -1,4 +1,2 @@
22 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907 SHA512 0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
23 -DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e SHA512 bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b59999174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76
24 -DIST docker-runc-1.0.0_rc4_p20171108.tar.gz 1189298 BLAKE2B e213955ef59e7d5a43f1567c67d72b99d7de503340ed8c777a43a70c4f2b1dbfce2905377c912958f736cf31247334d1c2ab29fae203a297561c26ad43a4e4c1 SHA512 a5bf97ce284317e03e63ee0e39228d77848fcde2f6322de06eebc2536978b5d87fd8c3fbccb2e74ef8c80fbaa28f3d0b24074cb9fde01e268593332aacd57695
25 DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3 SHA512 c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5
26
27 diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
28 deleted file mode 100644
29 index e87d7dd2df9..00000000000
30 --- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
31 +++ /dev/null
32 @@ -1,59 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -EGO_PN="github.com/opencontainers/${PN/docker-}"
38 -
39 -if [[ ${PV} == *9999 ]]; then
40 - inherit golang-vcs
41 -else
42 - MY_PV="${PV/_/-}"
43 - EGIT_COMMIT="0351df1c5a66838d0c392b4ac4cf9450de844e2d"
44 - RUNC_COMMIT="0351df1" # Change this when you update the ebuild
45 - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~amd64 ~arm ~ppc64"
47 - inherit golang-vcs-snapshot
48 -fi
49 -
50 -DESCRIPTION="runc container cli tools (docker fork)"
51 -HOMEPAGE="http://runc.io"
52 -
53 -LICENSE="Apache-2.0"
54 -SLOT="0"
55 -IUSE="+ambient apparmor hardened +seccomp"
56 -
57 -RDEPEND="
58 - apparmor? ( sys-libs/libapparmor )
59 - seccomp? ( sys-libs/libseccomp )
60 - !app-emulation/runc
61 -"
62 -
63 -S=${WORKDIR}/${P}/src/${EGO_PN}
64 -
65 -RESTRICT="test"
66 -
67 -src_prepare() {
68 - default
69 - sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e "/COMMIT_NO :=/d" Makefile || die
70 -}
71 -
72 -src_compile() {
73 - # Taken from app-emulation/docker-1.7.0-r1
74 - export CGO_CFLAGS="-I${ROOT}/usr/include"
75 - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
76 - -L${ROOT}/usr/$(get_libdir)"
77 -
78 - # build up optional flags
79 - local options=(
80 - $(usex ambient 'ambient' '')
81 - $(usex apparmor 'apparmor' '')
82 - $(usex seccomp 'seccomp' '')
83 - )
84 -
85 - GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
86 - COMMIT="${RUNC_COMMIT}"
87 -}
88 -
89 -src_install() {
90 - dobin runc
91 -}
92
93 diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
94 deleted file mode 100644
95 index f8b7a5ec038..00000000000
96 --- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
97 +++ /dev/null
98 @@ -1,59 +0,0 @@
99 -# Copyright 1999-2018 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=6
103 -EGO_PN="github.com/opencontainers/${PN/docker-}"
104 -
105 -if [[ ${PV} == *9999 ]]; then
106 - inherit golang-vcs
107 -else
108 - MY_PV="${PV/_/-}"
109 - EGIT_COMMIT="b2567b37d7b75eb4cf325b77297b140ea686ce8f"
110 - RUNC_COMMIT="b2567b3" # Change this when you update the ebuild
111 - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
112 - KEYWORDS="~amd64 ~arm ~ppc64"
113 - inherit golang-vcs-snapshot
114 -fi
115 -
116 -DESCRIPTION="runc container cli tools (docker fork)"
117 -HOMEPAGE="http://runc.io"
118 -
119 -LICENSE="Apache-2.0"
120 -SLOT="0"
121 -IUSE="+ambient apparmor hardened +seccomp"
122 -
123 -RDEPEND="
124 - apparmor? ( sys-libs/libapparmor )
125 - seccomp? ( sys-libs/libseccomp )
126 - !app-emulation/runc
127 -"
128 -
129 -S=${WORKDIR}/${P}/src/${EGO_PN}
130 -
131 -RESTRICT="test"
132 -
133 -src_prepare() {
134 - default
135 - sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e "/COMMIT_NO :=/d" Makefile || die
136 -}
137 -
138 -src_compile() {
139 - # Taken from app-emulation/docker-1.7.0-r1
140 - export CGO_CFLAGS="-I${ROOT}/usr/include"
141 - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
142 - -L${ROOT}/usr/$(get_libdir)"
143 -
144 - # build up optional flags
145 - local options=(
146 - $(usex ambient 'ambient' '')
147 - $(usex apparmor 'apparmor' '')
148 - $(usex seccomp 'seccomp' '')
149 - )
150 -
151 - GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
152 - COMMIT="${RUNC_COMMIT}"
153 -}
154 -
155 -src_install() {
156 - dobin runc
157 -}