Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/qemu: qemu-9999.ebuild qemu-2.0.0.ebuild qemu-2.0.0-r1.ebuild ChangeLog
Date: Fri, 06 Jun 2014 01:42:45
Message-Id: 20140606014241.9A7742004E@flycatcher.gentoo.org
1 vapier 14/06/06 01:42:41
2
3 Modified: qemu-9999.ebuild qemu-2.0.0.ebuild
4 qemu-2.0.0-r1.ebuild ChangeLog
5 Log:
6 Disable mprotect on qemu binaries #459348 by Alon Bar-Lev.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.75 app-emulation/qemu/qemu-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild?r1=1.74&r2=1.75
16
17 Index: qemu-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- qemu-9999.ebuild 4 Jun 2014 20:45:06 -0000 1.74
24 +++ qemu-9999.ebuild 6 Jun 2014 01:42:41 -0000 1.75
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.74 2014/06/04 20:45:06 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.75 2014/06/06 01:42:41 vapier Exp $
30
31 EAPI=5
32
33 @@ -8,7 +8,7 @@
34 PYTHON_REQ_USE="ncurses,readline"
35
36 inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
37 - user udev fcaps readme.gentoo
38 + user udev fcaps readme.gentoo pax-utils
39
40 BACKPORTS=
41
42 @@ -380,15 +380,21 @@
43
44 python_export_best
45
46 - softmmu_targets=
47 - user_targets=
48 + softmmu_targets= softmmu_bins=()
49 + user_targets= user_bins=()
50
51 for target in ${IUSE_SOFTMMU_TARGETS} ; do
52 - use "qemu_softmmu_targets_${target}" && softmmu_targets+=",${target}-softmmu"
53 + if use "qemu_softmmu_targets_${target}"; then
54 + softmmu_targets+=",${target}-softmmu"
55 + softmmu_bins+=( "qemu-system-${target}" )
56 + fi
57 done
58
59 for target in ${IUSE_USER_TARGETS} ; do
60 - use "qemu_user_targets_${target}" && user_targets+=",${target}-linux-user"
61 + if use "qemu_user_targets_${target}"; then
62 + user_targets+=",${target}-linux-user"
63 + user_bins+=( "qemu-${target}" )
64 + fi
65 done
66
67 [[ -n ${softmmu_targets} ]] && \
68 @@ -462,6 +468,11 @@
69 fi
70 fi
71
72 + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348
73 + pushd "${ED}"/usr/bin >/dev/null
74 + pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
75 + popd >/dev/null
76 +
77 # Install config file example for qemu-bridge-helper
78 insinto "/etc/qemu"
79 doins "${FILESDIR}/bridge.conf"
80
81
82
83 1.13 app-emulation/qemu/qemu-2.0.0.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild?rev=1.13&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild?rev=1.13&content-type=text/plain
87 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild?r1=1.12&r2=1.13
88
89 Index: qemu-2.0.0.ebuild
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v
92 retrieving revision 1.12
93 retrieving revision 1.13
94 diff -u -r1.12 -r1.13
95 --- qemu-2.0.0.ebuild 4 Jun 2014 20:45:06 -0000 1.12
96 +++ qemu-2.0.0.ebuild 6 Jun 2014 01:42:41 -0000 1.13
97 @@ -1,6 +1,6 @@
98 # Copyright 1999-2014 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.12 2014/06/04 20:45:06 vapier Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.13 2014/06/06 01:42:41 vapier Exp $
102
103 EAPI=5
104
105 @@ -8,7 +8,7 @@
106 PYTHON_REQ_USE="ncurses,readline"
107
108 inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
109 - user udev fcaps readme.gentoo
110 + user udev fcaps readme.gentoo pax-utils
111
112 BACKPORTS=
113
114 @@ -381,15 +381,21 @@
115
116 python_export_best
117
118 - softmmu_targets=
119 - user_targets=
120 + softmmu_targets= softmmu_bins=()
121 + user_targets= user_bins=()
122
123 for target in ${IUSE_SOFTMMU_TARGETS} ; do
124 - use "qemu_softmmu_targets_${target}" && softmmu_targets+=",${target}-softmmu"
125 + if use "qemu_softmmu_targets_${target}"; then
126 + softmmu_targets+=",${target}-softmmu"
127 + softmmu_bins+=( "qemu-system-${target}" )
128 + fi
129 done
130
131 for target in ${IUSE_USER_TARGETS} ; do
132 - use "qemu_user_targets_${target}" && user_targets+=",${target}-linux-user"
133 + if use "qemu_user_targets_${target}"; then
134 + user_targets+=",${target}-linux-user"
135 + user_bins+=( "qemu-${target}" )
136 + fi
137 done
138
139 [[ -n ${softmmu_targets} ]] && \
140 @@ -463,6 +469,11 @@
141 fi
142 fi
143
144 + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348
145 + pushd "${ED}"/usr/bin >/dev/null
146 + pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
147 + popd >/dev/null
148 +
149 # Install config file example for qemu-bridge-helper
150 insinto "/etc/qemu"
151 doins "${FILESDIR}/bridge.conf"
152
153
154
155 1.5 app-emulation/qemu/qemu-2.0.0-r1.ebuild
156
157 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild?rev=1.5&view=markup
158 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild?rev=1.5&content-type=text/plain
159 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild?r1=1.4&r2=1.5
160
161 Index: qemu-2.0.0-r1.ebuild
162 ===================================================================
163 RCS file: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild,v
164 retrieving revision 1.4
165 retrieving revision 1.5
166 diff -u -r1.4 -r1.5
167 --- qemu-2.0.0-r1.ebuild 4 Jun 2014 20:45:06 -0000 1.4
168 +++ qemu-2.0.0-r1.ebuild 6 Jun 2014 01:42:41 -0000 1.5
169 @@ -1,6 +1,6 @@
170 # Copyright 1999-2014 Gentoo Foundation
171 # Distributed under the terms of the GNU General Public License v2
172 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild,v 1.4 2014/06/04 20:45:06 vapier Exp $
173 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild,v 1.5 2014/06/06 01:42:41 vapier Exp $
174
175 EAPI=5
176
177 @@ -8,7 +8,7 @@
178 PYTHON_REQ_USE="ncurses,readline"
179
180 inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
181 - user udev fcaps readme.gentoo
182 + user udev fcaps readme.gentoo pax-utils
183
184 BACKPORTS=
185
186 @@ -386,15 +386,21 @@
187
188 python_export_best
189
190 - softmmu_targets=
191 - user_targets=
192 + softmmu_targets= softmmu_bins=()
193 + user_targets= user_bins=()
194
195 for target in ${IUSE_SOFTMMU_TARGETS} ; do
196 - use "qemu_softmmu_targets_${target}" && softmmu_targets+=",${target}-softmmu"
197 + if use "qemu_softmmu_targets_${target}"; then
198 + softmmu_targets+=",${target}-softmmu"
199 + softmmu_bins+=( "qemu-system-${target}" )
200 + fi
201 done
202
203 for target in ${IUSE_USER_TARGETS} ; do
204 - use "qemu_user_targets_${target}" && user_targets+=",${target}-linux-user"
205 + if use "qemu_user_targets_${target}"; then
206 + user_targets+=",${target}-linux-user"
207 + user_bins+=( "qemu-${target}" )
208 + fi
209 done
210
211 [[ -n ${softmmu_targets} ]] && \
212 @@ -468,6 +474,11 @@
213 fi
214 fi
215
216 + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348
217 + pushd "${ED}"/usr/bin >/dev/null
218 + pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
219 + popd >/dev/null
220 +
221 # Install config file example for qemu-bridge-helper
222 insinto "/etc/qemu"
223 doins "${FILESDIR}/bridge.conf"
224
225
226
227 1.268 app-emulation/qemu/ChangeLog
228
229 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/ChangeLog?rev=1.268&view=markup
230 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/ChangeLog?rev=1.268&content-type=text/plain
231 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/ChangeLog?r1=1.267&r2=1.268
232
233 Index: ChangeLog
234 ===================================================================
235 RCS file: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v
236 retrieving revision 1.267
237 retrieving revision 1.268
238 diff -u -r1.267 -r1.268
239 --- ChangeLog 4 Jun 2014 20:45:06 -0000 1.267
240 +++ ChangeLog 6 Jun 2014 01:42:41 -0000 1.268
241 @@ -1,6 +1,10 @@
242 # ChangeLog for app-emulation/qemu
243 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
244 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.267 2014/06/04 20:45:06 vapier Exp $
245 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.268 2014/06/06 01:42:41 vapier Exp $
246 +
247 + 06 Jun 2014; Mike Frysinger <vapier@g.o> qemu-2.0.0-r1.ebuild,
248 + qemu-2.0.0.ebuild, qemu-9999.ebuild:
249 + Disable mprotect on qemu binaries #459348 by Alon Bar-Lev.
250
251 04 Jun 2014; Mike Frysinger <vapier@g.o> qemu-2.0.0-r1.ebuild,
252 qemu-2.0.0.ebuild, qemu-9999.ebuild: