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 17:45:17
Message-Id: 1549907095.136130d4cadffca0906f61e67c599b04472c7227.mrueg@gentoo
1 commit: 136130d4cadffca0906f61e67c599b04472c7227
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 11 17:44:55 2019 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 11 17:44:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136130d4
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/Manifest | 1 -
14 app-emulation/runc/runc-1.0.0_rc6.ebuild | 61 ----------------------
15 app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild | 61 ----------------------
16 3 files changed, 123 deletions(-)
17
18 diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest
19 index 703fba99dd0..35325d328c8 100644
20 --- a/app-emulation/runc/Manifest
21 +++ b/app-emulation/runc/Manifest
22 @@ -1,4 +1,3 @@
23 DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6
24 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3
25 -DIST runc-1.0.0_rc6.tar.gz 1202212 BLAKE2B 2795b6e88a9587fac61a50bfea52a9df8524eb87aae66129d7ea83e8c3ca586efc60a46d24af857f7ba50f8e4d7021cbd2845d322a8c0ad08be3e0f19d80ba3b SHA512 2f7ed5e835f000d9810a116a27300336f424ac2c370dd1c7d158e26a4997d1e8398612387be27cc22cc25fdd52cc4cff7963ef88ce9c41d337321b75d9be2334
26 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d
27
28 diff --git a/app-emulation/runc/runc-1.0.0_rc6.ebuild b/app-emulation/runc/runc-1.0.0_rc6.ebuild
29 deleted file mode 100644
30 index cb15bc43aaf..00000000000
31 --- a/app-emulation/runc/runc-1.0.0_rc6.ebuild
32 +++ /dev/null
33 @@ -1,61 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -EGO_PN="github.com/opencontainers/${PN}"
39 -
40 -if [[ ${PV} == *9999 ]]; then
41 - inherit golang-build golang-vcs
42 -else
43 - MY_PV="${PV/_/-}"
44 - RUNC_COMMIT="ccb5efd37fb7c86364786e9137e22948751de7ed" # Change this when you update the ebuild
45 - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
47 - inherit golang-build golang-vcs-snapshot
48 -fi
49 -
50 -DESCRIPTION="runc container cli tools"
51 -HOMEPAGE="http://runc.io"
52 -
53 -LICENSE="Apache-2.0"
54 -SLOT="0"
55 -IUSE="+ambient apparmor hardened +kmem +seccomp"
56 -
57 -RDEPEND="
58 - apparmor? ( sys-libs/libapparmor )
59 - seccomp? ( sys-libs/libseccomp )
60 - !app-emulation/docker-runc
61 -"
62 -
63 -src_prepare() {
64 - default
65 - sed -i -e "/^GIT_BRANCH/d"\
66 - -e "/^GIT_BRANCH_CLEAN/d"\
67 - -e "/^COMMIT_NO/d"\
68 - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\
69 - src/${EGO_PN}/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 - $(usex kmem '' 'nokmem')
84 - )
85 -
86 - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN}
87 -}
88 -
89 -src_install() {
90 - pushd src/${EGO_PN} || die
91 - dobin runc
92 - dodoc README.md PRINCIPLES.md
93 - popd || die
94 -}
95
96 diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild
97 deleted file mode 100644
98 index c422609ace8..00000000000
99 --- a/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild
100 +++ /dev/null
101 @@ -1,61 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -EGO_PN="github.com/opencontainers/${PN}"
107 -
108 -if [[ ${PV} == *9999 ]]; then
109 - inherit golang-build golang-vcs
110 -else
111 - MY_PV="${PV/_/-}"
112 - RUNC_COMMIT="96ec2177ae841256168fcf76954f7177af9446eb" # Change this when you update the ebuild
113 - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz"
114 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
115 - inherit golang-build golang-vcs-snapshot
116 -fi
117 -
118 -DESCRIPTION="runc container cli tools"
119 -HOMEPAGE="http://runc.io"
120 -
121 -LICENSE="Apache-2.0"
122 -SLOT="0"
123 -IUSE="+ambient apparmor hardened +kmem +seccomp"
124 -
125 -RDEPEND="
126 - apparmor? ( sys-libs/libapparmor )
127 - seccomp? ( sys-libs/libseccomp )
128 - !app-emulation/docker-runc
129 -"
130 -
131 -src_prepare() {
132 - default
133 - sed -i -e "/^GIT_BRANCH/d"\
134 - -e "/^GIT_BRANCH_CLEAN/d"\
135 - -e "/^COMMIT_NO/d"\
136 - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\
137 - src/${EGO_PN}/Makefile || die
138 -}
139 -
140 -src_compile() {
141 - # Taken from app-emulation/docker-1.7.0-r1
142 - export CGO_CFLAGS="-I${ROOT}/usr/include"
143 - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
144 - -L${ROOT}/usr/$(get_libdir)"
145 -
146 - # build up optional flags
147 - local options=(
148 - $(usex ambient 'ambient' '')
149 - $(usex apparmor 'apparmor' '')
150 - $(usex seccomp 'seccomp' '')
151 - $(usex kmem '' 'nokmem')
152 - )
153 -
154 - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN}
155 -}
156 -
157 -src_install() {
158 - pushd src/${EGO_PN} || die
159 - dobin runc
160 - dodoc README.md PRINCIPLES.md
161 - popd || die
162 -}