Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: dev-libs/libffi/files/, dev-libs/libffi/
Date: Sun, 30 Sep 2012 00:03:56
Message-Id: 1348963313.59da6d654b3f16fe279709a34ccaca03965f2054.zorry@gentoo
1 commit: 59da6d654b3f16fe279709a34ccaca03965f2054
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 30 00:01:53 2012 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 00:01:53 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=59da6d65
7
8 Add libffi with emutramp fix for testing
9
10 ---
11 dev-libs/libffi/ChangeLog | 581 +++++++++++++++++++++++++++
12 dev-libs/libffi/files/libffi-emutramp.patch | 97 +++++
13 dev-libs/libffi/libffi-3.0.11-r1.ebuild | 66 +++
14 dev-libs/libffi/metadata.xml | 33 ++
15 4 files changed, 777 insertions(+), 0 deletions(-)
16
17 diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog
18 new file mode 100644
19 index 0000000..35e674b
20 --- /dev/null
21 +++ b/dev-libs/libffi/ChangeLog
22 @@ -0,0 +1,581 @@
23 +# ChangeLog for dev-libs/libffi
24 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.153 2012/09/29 14:04:36 grobian Exp $
26 +
27 + 30 Sep 2012; Magnus Granberg <zorry@××××××.or> libffi-3.0.11-r1.ebuild:
28 + Add PaX EMUTRAMP support.
29 +
30 + 29 Sep 2012; Fabian Groffen <grobian@g.o> libffi-3.0.11.ebuild:
31 + Marked ~m68k-mint, bug #433529
32 +
33 + 05 Aug 2012; Fabian Groffen <grobian@g.o> libffi-3.0.11.ebuild:
34 + Marked ~x86-freebsd
35 +
36 + 22 Jul 2012; <nixnut@g.o> libffi-3.0.11.ebuild:
37 + ppc stable #416669
38 +
39 + 08 Jul 2012; Raúl Porcel <armin76@g.o> libffi-3.0.11.ebuild:
40 + ia64/m68k/s390/sh/sparc stable wrt #416669
41 +
42 + 13 Jun 2012; Richard Yao <ryao@g.o> libffi-3.0.10.ebuild,
43 + libffi-3.0.11.ebuild:
44 + Add epatch_user
45 +
46 + 31 May 2012; Jeroen Roovers <jer@g.o> libffi-3.0.11.ebuild:
47 + Stable for HPPA (bug #416669).
48 +
49 + 30 May 2012; Markus Meier <maekke@g.o> libffi-3.0.11.ebuild:
50 + arm stable, bug #416669
51 +
52 + 24 May 2012; Matt Turner <mattst88@g.o> libffi-3.0.11.ebuild:
53 + Stable on alpha, bug 416669. Also fixes bug 395755.
54 +
55 + 21 May 2012; Jeff Horelick <jdhore@g.o> libffi-3.0.11.ebuild:
56 + marked x86 per bug 416669
57 +
58 + 20 May 2012; Agostino Sarubbo <ago@g.o> libffi-3.0.11.ebuild:
59 + Stable for amd64, wrt bug #416669
60 +
61 + 26 Apr 2012; Alexis Ballier <aballier@g.o> libffi-3.0.11.ebuild:
62 + keyword ~amd64-fbsd
63 +
64 + 12 Apr 2012; Samuli Suominen <ssuominen@g.o> -libffi-3.0.9-r2.ebuild,
65 + -files/libffi-3.0.9-arm-oabi.patch,
66 + -files/libffi-3.0.9-define-generic-symbols-carefully.patch,
67 + -files/libffi-3.0.9-interix.patch, -files/libffi-3.0.9-irix.patch,
68 + -files/libffi-3.0.9-powerpc64-darwin.patch,
69 + -files/libffi-3.0.9-strncmp.patch, -libffi-3.0.11_rc3.ebuild:
70 + old
71 +
72 +*libffi-3.0.11 (12 Apr 2012)
73 +
74 + 12 Apr 2012; Samuli Suominen <ssuominen@g.o> +libffi-3.0.11.ebuild:
75 + Version bump.
76 +
77 + 06 Apr 2012; Samuli Suominen <ssuominen@g.o>
78 + -libffi-3.0.11_rc1.ebuild, -libffi-3.0.11_rc2.ebuild,
79 + -files/libffi-3.0.11_rc2-fix-ppc64-compile.patch:
80 + old
81 +
82 +*libffi-3.0.11_rc3 (06 Apr 2012)
83 +
84 + 06 Apr 2012; Samuli Suominen <ssuominen@g.o>
85 + +libffi-3.0.11_rc3.ebuild:
86 + Version bump.
87 +
88 + 13 Mar 2012; Samuli Suominen <ssuominen@g.o> libffi-3.0.11_rc2.ebuild,
89 + +files/libffi-3.0.11_rc2-fix-ppc64-compile.patch:
90 + Fix building for PowerPC64 using patch from libffi-discuss ML.
91 +
92 + 19 Feb 2012; Raúl Porcel <armin76@g.o> libffi-3.0.10.ebuild:
93 + arm/ia64/m68k/s390/sh/sparc stable wrt #387063
94 +
95 + 16 Feb 2012; Mike Frysinger <vapier@g.o> libffi-3.0.9-r2.ebuild,
96 + +files/libffi-3.0.9-x32.patch, libffi-3.0.10.ebuild,
97 + libffi-3.0.11_rc1.ebuild, libffi-3.0.11_rc2.ebuild:
98 + Add patch from upstream for x32 targets.
99 +
100 + 31 Jan 2012; Samuli Suominen <ssuominen@g.o> libffi-3.0.10.ebuild:
101 + ppc/ppc64 stable wrt #387063
102 +
103 + 21 Jan 2012; Tobias Klausmann <klausman@g.o> libffi-3.0.10.ebuild:
104 + Stable on alpha, bug #387063
105 +
106 +*libffi-3.0.11_rc2 (18 Nov 2011)
107 +
108 + 18 Nov 2011; Samuli Suominen <ssuominen@g.o>
109 + +libffi-3.0.11_rc2.ebuild:
110 + Version bump.
111 +
112 + 09 Nov 2011; Jeroen Roovers <jer@g.o> libffi-3.0.10.ebuild:
113 + Stable for HPPA (bug #387063).
114 +
115 + 18 Oct 2011; Pawel Hajdan jr <phajdan.jr@g.o> libffi-3.0.10.ebuild:
116 + x86 stable wrt bug #387063
117 +
118 + 14 Oct 2011; Tony Vroon <chainsaw@g.o> libffi-3.0.10.ebuild:
119 + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
120 + Elijah "Armageddon" El Lazkani in bug #387063.
121 +
122 +*libffi-3.0.11_rc1 (13 Oct 2011)
123 +
124 + 13 Oct 2011; Samuli Suominen <ssuominen@g.o>
125 + +libffi-3.0.11_rc1.ebuild:
126 + Version bump.
127 +
128 + 06 Sep 2011; Samuli Suominen <ssuominen@g.o> -libffi-3.0.9.ebuild,
129 + -libffi-3.0.10_rc8.ebuild, -files/libffi-3.0.10-interix.patch:
130 + old
131 +
132 +*libffi-3.0.10 (29 Aug 2011)
133 +
134 + 29 Aug 2011; Diego E. Pettenò <flameeyes@g.o> +libffi-3.0.10.ebuild:
135 + Version bump to 3.0.10 final (interix patch not necessary). Somehow this
136 + lowers, rather than increase, the soversion.
137 +
138 + 21 May 2011; Naohiro Aota <naota@g.o> libffi-3.0.10_rc8.ebuild:
139 + Fix build failure bug #363275 on BSD
140 +
141 + 20 May 2011; Kacper Kowalik <xarthisius@g.o> libffi-3.0.9-r2.ebuild:
142 + ppc64 stable wrt #360465
143 +
144 + 12 May 2011; Markus Duft <mduft@g.o> libffi-3.0.10_rc8.ebuild,
145 + +files/libffi-3.0.10-interix.patch:
146 + add patch: build fix for x86-interix (prefix)
147 +
148 + 02 May 2011; Fabian Groffen <grobian@g.o> libffi-3.0.10_rc8.ebuild:
149 + Marked ~x64-freebsd
150 +
151 + 13 Apr 2011; Brent Baude <ranger@g.o> libffi-3.0.9-r2.ebuild:
152 + Marking libffi-3.0.9-r2 ppc for bug 360465
153 +
154 + 10 Apr 2011; Raúl Porcel <armin76@g.o> libffi-3.0.9-r2.ebuild:
155 + ia64/m68k/s390/sh/sparc/x86 stable wrt #360465
156 +
157 + 10 Apr 2011; Markus Meier <maekke@g.o> libffi-3.0.9-r2.ebuild:
158 + arm stable, bug #360465
159 +
160 + 29 Mar 2011; Jeroen Roovers <jer@g.o> libffi-3.0.9-r2.ebuild:
161 + Stable for HPPA (bug #360465).
162 +
163 + 27 Mar 2011; Tobias Klausmann <klausman@g.o> libffi-3.0.9-r2.ebuild:
164 + Stable on alpha, bug #360465
165 +
166 + 25 Mar 2011; Christoph Mende <angelos@g.o> libffi-3.0.9-r2.ebuild:
167 + Stable on amd64 wrt bug #360465
168 +
169 +*libffi-3.0.10_rc8 (25 Mar 2011)
170 +
171 + 25 Mar 2011; Samuli Suominen <ssuominen@g.o>
172 + +libffi-3.0.10_rc8.ebuild:
173 + Version bump.
174 +
175 + 23 Feb 2011; Samuli Suominen <ssuominen@g.o> libffi-3.0.10_rc5.ebuild:
176 + Detect and document broken installation of sys-devel/gcc in the build.log wrt
177 + #354903
178 +
179 +*libffi-3.0.10_rc5 (15 Feb 2011)
180 +
181 + 15 Feb 2011; Samuli Suominen <ssuominen@g.o>
182 + +libffi-3.0.10_rc5.ebuild:
183 + Version bump.
184 +
185 +*libffi-3.0.10_rc4 (12 Feb 2011)
186 +
187 + 12 Feb 2011; Samuli Suominen <ssuominen@g.o>
188 + +libffi-3.0.10_rc4.ebuild:
189 + Version bump.
190 +
191 +*libffi-3.0.9-r2 (04 Feb 2011)
192 +
193 + 04 Feb 2011; Samuli Suominen <ssuominen@g.o> +libffi-3.0.9-r2.ebuild,
194 + +files/libffi-3.0.9-strncmp.patch:
195 + Backport upstream patch for strncmp usage bug by request from Arfrever
196 + Frehtes Taifersar Arahesis.
197 +
198 + 06 Jan 2011; Fabian Groffen <grobian@g.o> libffi-3.0.9-r1.ebuild,
199 + +files/libffi-3.0.9-powerpc64-darwin.patch:
200 + Add patch to allow compilation on powerpc64-*-darwin*
201 +
202 +*libffi-3.0.9-r1 (18 Dec 2010)
203 +
204 + 18 Dec 2010; Samuli Suominen <ssuominen@g.o> +libffi-3.0.9-r1.ebuild,
205 + +files/libffi-3.0.9-define-generic-symbols-carefully.patch:
206 + Include upstream patch to define generic symbols carefully wrt #347636 by
207 + Dennis Schridde.
208 +
209 + 20 Sep 2010; Raúl Porcel <armin76@g.o> libffi-3.0.9.ebuild,
210 + +files/libffi-3.0.9-arm-oabi.patch:
211 + Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò
212 + <flameeyes@g.o>
213 +
214 + 19 Sep 2010; Raúl Porcel <armin76@g.o> libffi-3.0.9.ebuild:
215 + s390 stable
216 +
217 + 16 Apr 2010; Brent Baude <ranger@g.o> libffi-3.0.9.ebuild:
218 + Marking libffi-3.0.9 ppc for bug 306281
219 +
220 + 22 Mar 2010; Brent Baude <ranger@g.o> libffi-3.0.9.ebuild:
221 + Marking libffi-3.0.9 ppc64 for bug 306281
222 +
223 + 16 Mar 2010; Raúl Porcel <armin76@g.o> libffi-3.0.9.ebuild:
224 + alpha/arm/ia64/m68k/sh/sparc stable wrt #306281
225 +
226 + 03 Mar 2010; Pawel Hajdan jr <phajdan.jr@g.o> libffi-3.0.9.ebuild:
227 + x86 stable wrt bug #306281
228 +
229 + 22 Feb 2010; Samuli Suominen <ssuominen@g.o> libffi-3.0.9.ebuild:
230 + amd64 stable wrt #306281
231 +
232 + 22 Feb 2010; Jeroen Roovers <jer@g.o> libffi-3.0.9.ebuild:
233 + Stable for HPPA (bug #306281).
234 +
235 + 20 Feb 2010; Jonathan Callen <abcd@g.o> libffi-3.0.9.ebuild,
236 + +files/libffi-3.0.9-interix.patch, +files/libffi-3.0.9-irix.patch:
237 + Add patches from prefix, add prefix keywords
238 +
239 + 25 Jan 2010; Raúl Porcel <armin76@g.o> libffi-3.0.9.ebuild:
240 + Add ~m68k, thanks to kolla for testing
241 +
242 + 24 Jan 2010; Raúl Porcel <armin76@g.o> libffi-3.0.9.ebuild:
243 + Add ~ia64/~sh/~sparc wrt #298322
244 +
245 + 13 Jan 2010; Brent Baude <ranger@g.o> libffi-3.0.9.ebuild:
246 + Marking libffi-3.0.9 ~ppc64 for bug 298322
247 +
248 + 04 Jan 2010; Markus Meier <maekke@g.o> libffi-3.0.9.ebuild:
249 + add ~arm, bug #298322
250 +
251 + 03 Jan 2010; Jeroen Roovers <jer@g.o> libffi-3.0.9.ebuild:
252 + Marked ~ppc (bug #298322).
253 +
254 +*libffi-3.0.9 (31 Dec 2009)
255 +
256 + 31 Dec 2009; Samuli Suominen <ssuominen@g.o> +libffi-3.0.9.ebuild:
257 + Version bump.
258 +
259 + 26 Dec 2009; Jeroen Roovers <jer@g.o> libffi-3.0.9_rc6.ebuild,
260 + libffi-3.0.9_rc9.ebuild:
261 + Marked ~hppa (bug #298322).
262 +
263 +*libffi-3.0.9_rc9 (26 Dec 2009)
264 +
265 + 26 Dec 2009; Samuli Suominen <ssuominen@g.o>
266 + +libffi-3.0.9_rc9.ebuild:
267 + Version bump.
268 +
269 +*libffi-3.0.9_rc6 (25 Dec 2009)
270 +
271 + 25 Dec 2009; Samuli Suominen <ssuominen@g.o>
272 + +libffi-3.0.9_rc6.ebuild:
273 + Version bump.
274 +
275 +*libffi-3.0.9_rc4 (24 Dec 2009)
276 +
277 + 24 Dec 2009; Samuli Suominen <ssuominen@g.o>
278 + +libffi-3.0.9_rc4.ebuild, +files/libffi-3.0.9_rc4-revert_includedir.patch:
279 + Version bump.
280 +
281 + 20 Dec 2009; Raúl Porcel <armin76@g.o> libffi-3.0.8.ebuild:
282 + m68k stable
283 +
284 + 13 Dec 2009; Raúl Porcel <armin76@g.o> libffi-3.0.8.ebuild:
285 + Add ~m68k, thanks to kolla for testing
286 +
287 + 10 Dec 2009; Raúl Porcel <armin76@g.o> libffi-3.0.8.ebuild,
288 + +files/libffi-3.0.8-arm.patch:
289 + Steal patch from debian to make it compile on armv6/armv7
290 +
291 +*libffi-3.0.9_rc3 (30 Oct 2009)
292 +
293 + 30 Oct 2009; Samuli Suominen <ssuominen@g.o>
294 + +libffi-3.0.9_rc3.ebuild:
295 + Version bump.
296 +
297 +*libffi-3.0.9_rc2 (27 Oct 2009)
298 +
299 + 27 Oct 2009; Samuli Suominen <ssuominen@g.o>
300 + +libffi-3.0.9_rc2.ebuild:
301 + Version bump.
302 +
303 + 19 Oct 2009; Alexey Shvetsov <alexxy@g.o> libffi-3.0.8.ebuild:
304 + Add ~mips keyword
305 +
306 + 17 Oct 2009; Markus Meier <maekke@g.o> metadata.xml:
307 + remove static-libs description as it is global now
308 +
309 + 05 Oct 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild,
310 + libffi-3.0.9_rc1.ebuild:
311 + Keyword ~sparc-fbsd. Compile tested on FreeBSD-6.2-RELEASE-sparc64-64bit-ELF.
312 +
313 +*libffi-3.0.9_rc1 (05 Oct 2009)
314 +
315 + 05 Oct 2009; Samuli Suominen <ssuominen@g.o>
316 + +libffi-3.0.9_rc1.ebuild:
317 + Version bump.
318 +
319 + 03 Oct 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild:
320 + Move dev-libs/libffi back to EAPI="0" because dev-lang/python is consuming
321 + it.
322 +
323 + 02 Oct 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild,
324 + +files/libffi-3.0.8-autoconf-2.64.patch:
325 + Fix compability with Autoconf 2.64 wrt #287020, thanks to Mike Lundy and
326 + Mike Frysinger.
327 +
328 + 23 Sep 2009; Alexis Ballier <aballier@g.o> libffi-3.0.8.ebuild,
329 + +files/libffi-3.0.8-fbsd.patch:
330 + Fix detection and test on FreeBSD and keyword it.
331 +
332 + 07 Sep 2009; Raúl Porcel <armin76@g.o> libffi-3.0.8.ebuild:
333 + arm/ia64/s390/sh stable
334 +
335 + 05 Sep 2009; Brent Baude <ranger@g.o> libffi-3.0.8.ebuild:
336 + Marking libffi-3.0.8 ppc64 for bug 272675
337 +
338 + 22 Jul 2009; Tobias Klausmann <klausman@g.o> libffi-3.0.8.ebuild:
339 + Stable on alpha, bug #272675
340 +
341 + 19 Jul 2009; nixnut <nixnut@g.o> libffi-3.0.8.ebuild:
342 + ppc stable #272673
343 +
344 + 18 Jul 2009; Jeroen Roovers <jer@g.o> libffi-3.0.8.ebuild:
345 + Stable for HPPA (bug #272675).
346 +
347 + 11 Jun 2009; Markus Meier <maekke@g.o> libffi-3.0.8.ebuild:
348 + amd64 stable, bug #272675
349 +
350 + 10 Jun 2009; Christian Faulhammer <fauli@g.o> libffi-3.0.8.ebuild:
351 + stable x86, bug 272675
352 +
353 + 05 Jun 2009; Ferris McCormick <fmccor@g.o> libffi-3.0.8.ebuild:
354 + Sparc stable, part of Bug #272675.
355 +
356 + 05 Jun 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild:
357 + Block <dev-libs/g-wrap-1.9.11 because they ship a copy of this library.
358 +
359 + 04 Jun 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild:
360 + Keyword ~ppc/~ppc64 wrt #272046, thanks to Luca Barbato for testing.
361 +
362 + 03 Jun 2009; Raúl Porcel <armin76@g.o> libffi-3.0.8.ebuild:
363 + Add ~arm/~ia64/~s390/~sh wrt #272046
364 +
365 + 03 Jun 2009; Samuli Suominen <ssuominen@g.o> libffi-3.0.8.ebuild:
366 + Keyword ~alpha wrt #272046, thanks to Tobias Klausmann for testing.
367 +
368 + 02 Jun 2009; Jeroen Roovers <jer@g.o> libffi-3.0.8.ebuild:
369 + Marked ~hppa (bug #272046).
370 +
371 + 01 Jun 2009; Ferris McCormick <fmccor@g.o> libffi-3.0.8.ebuild:
372 + Add sparc for testing, part of Bug #272046.
373 +
374 + 01 Jun 2009; Samuli Suominen <ssuominen@g.o> -libffi-3.0.5.ebuild,
375 + -libffi-3.0.6.ebuild, libffi-3.0.8.ebuild, metadata.xml:
376 + Only build static libs if USE flag is defined.
377 +
378 +*libffi-3.0.8 (24 Dec 2008)
379 +
380 + 24 Dec 2008; Stephanie Lockwood-Childs <wormo@g.o>
381 + +libffi-3.0.8.ebuild:
382 + version bump requested by Matteo Modesti (bug #252344)
383 +
384 +*libffi-3.0.6 (02 Sep 2008)
385 +
386 + 02 Sep 2008; Marijn Schouten <hkBst@g.o> +libffi-3.0.6.ebuild:
387 + bump
388 +
389 + 29 Jun 2008; Marijn Schouten <hkBst@g.o> libffi-3.0.5.ebuild:
390 + don't patch anymore, move warning to pkg_setup
391 +
392 + 13 Jun 2008; Samuli Suominen <ssuominen@g.o>
393 + +files/libffi-3.0.5-includedir.patch, libffi-3.0.5.ebuild:
394 + Fix includedir. USE flag test for dejagnu which is required for make
395 + check.
396 +
397 +*libffi-3.0.5 (13 Jun 2008)
398 +
399 + 13 Jun 2008; Samuli Suominen <ssuominen@g.o>
400 + -files/libffi-soversion.dpatch, -files/libffi-without-libgcj.dpatch,
401 + +libffi-3.0.5.ebuild, -libffi-3.4.1.ebuild, -libffi-3.4.1-r1.ebuild,
402 + -libffi-3.4.3.ebuild:
403 + Version bump for testing wrt #163724, thanks to Marijn Schouten. Remove
404 + old versions which came from GCC 3.4.x.
405 +
406 + 03 Jun 2008; Michael Sterrett <mr_bones_@g.o> libffi-3.4.1.ebuild,
407 + libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild:
408 + remove reference to app-admin/eselect-compiler which has been removed
409 +
410 + 27 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
411 + Fixing the maintainer. It's supposed to be maintainer-needed.
412 +
413 + 05 Dec 2007; Michael Sterrett <mr_bones_@g.o> -libffi-3.3.5.ebuild:
414 + remove old, dep-broken version
415 +
416 + 13 Nov 2007; Raúl Porcel <armin76@g.o> libffi-3.3.5.ebuild,
417 + libffi-3.4.1-r1.ebuild:
418 + Drop unneeded ~alpha keyword
419 +
420 + 11 May 2007; Thilo Bangert <bangert@g.o> metadata.xml:
421 + fix herd
422 +
423 + 12 Mar 2007; Raúl Porcel <armin76@g.o> libffi-3.4.3.ebuild:
424 + x86 stable
425 +
426 + 03 Mar 2007; Marius Mauch <genone@g.o> libffi-3.3.5.ebuild:
427 + Replacing einfo with elog
428 +
429 + 06 Jan 2007; Danny van Dyk <kugelfang@g.o> -libffi-1.20.ebuild:
430 + QA: Removed unused versions.
431 +
432 + 05 Nov 2006; Piotr Jaroszyński <peper@g.o> libffi-3.4.1.ebuild:
433 + Fix multilib. Thanks to David Leverton <u01drl3@×××××××.uk> in bug #154065.
434 +
435 + 14 Aug 2006; Christian Heim <phreak@g.o> libffi-3.3.5.ebuild,
436 + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild:
437 + Switch default ordering of gcc-config and eselect-compiler to work around
438 + portage bug.
439 +
440 + 13 Aug 2006; Markus Rothe <corsair@g.o> libffi-3.4.1-r1.ebuild,
441 + libffi-3.4.3.ebuild:
442 + Dropped ppc64/~ppc64 keywords
443 +
444 + 02 Aug 2006; Andrej Kacian <ticho@g.o> libffi-3.4.1-r1.ebuild:
445 + Stable on x86, bug #105020.
446 +
447 + 01 Aug 2006; Andrej Kacian <ticho@g.o> libffi-3.4.3.ebuild:
448 + Added ~x86, bug #105020.
449 +
450 + 27 Jul 2006; Fabian Groffen <grobian@g.o> libffi-3.3.5.ebuild,
451 + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild:
452 + QA fixes for bug #141378: build is not really used, so remove its trails.
453 + Remove gnustep as maintainer, gnustep-base is moving away from it.
454 +
455 + 06 Jun 2006; Jeremy Huddleston <eradicator@g.o>
456 + libffi-3.3.5.ebuild, libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild,
457 + libffi-3.4.3.ebuild:
458 + Updated DEPEND to accept eselect-compiler.
459 +
460 + 08 Jan 2006; Michael Hanselmann <hansmi@g.o> metadata.xml:
461 + Remove retiring dev from metadata.
462 +
463 + 05 Jan 2006; Gustavo Zacarias <gustavoz@g.o> libffi-3.4.3.ebuild:
464 + Stable on sparc
465 +
466 + 22 Dec 2005; Joshua Nichols <nichoj@g.o> libffi-3.4.1.ebuild:
467 + Fixed multilib-strict violation (bug #74949).
468 +
469 + 21 Dec 2005; Seemant Kulleen <seemant@g.o> libffi-3.3.5.ebuild,
470 + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild:
471 + Fix QA violation of awk in the global scope. Change to versionator eclass
472 + instead. Thanks to: Christian Heim in bug #108388
473 +
474 + 22 May 2005; Jason Wever <weeve@g.o> libffi-3.4.3.ebuild:
475 + Added ~sparc keyword.
476 +
477 + 06 May 2005; Sven Wegener <swegener@g.o> libffi-3.4.1-r1.ebuild,
478 + libffi-3.4.3.ebuild:
479 + Removed * postfix from <, <=, >= and > dependencies.
480 +
481 + 09 Apr 2005; Armando Di Cianno <fafhrd@g.o> -libffi-3.3.3.ebuild,
482 + -libffi-3.3.3-r1.ebuild, -libffi-3.3.4.ebuild, libffi-3.4.1-r1.ebuild:
483 + Pruning old ebuilds that are no longer needed.
484 +
485 + 06 Apr 2005; Markus Rothe <corsair@g.o> libffi-3.4.3.ebuild:
486 + Stable on ppc64
487 +
488 + 06 Apr 2005; <kloeri@g.o> libffi-3.3.3-r1.ebuild,
489 + libffi-3.3.5.ebuild:
490 + ~alpha cleanup.
491 +
492 + 04 Apr 2005; Michael Hanselmann <hansmi@g.o> libffi-3.4.3.ebuild:
493 + Stable on ppc.
494 +
495 + 04 Apr 2005; Gustavo Zacarias <gustavoz@g.o> libffi-3.3.4.ebuild,
496 + libffi-3.3.5.ebuild:
497 + 3.3.5 to sparc stable, 3.3.4 removed ~sparc for cleanup
498 +
499 + 04 Apr 2005; Gustavo Zacarias <gustavoz@g.o> libffi-3.3.5.ebuild:
500 + Stable on sparc
501 +
502 +*libffi-3.3.5 (14 Mar 2005)
503 +
504 + 14 Mar 2005; Eric Shattow <jnc@g.o> +libffi-3.3.5.ebuild:
505 + Version Bump (interim, closes #80281).
506 +
507 + 12 Mar 2005; Eric Shattow <jnc@g.o> libffi-3.3.4.ebuild:
508 + quasi-stable on x86 (fixes broken dependency tracking in stable arch)
509 +
510 + 05 Mar 2005; Markus Rothe <corsair@g.o> libffi-3.4.3.ebuild:
511 + Added ~ppc64 to KEYWORDS and don't use multilib on ppc64; bug #72258
512 +
513 +*libffi-3.4.3 (03 Dec 2004)
514 +
515 + 03 Dec 2004; Armando Di Cianno <fafhrd@g.o> +libffi-3.4.3.ebuild:
516 + Version bump to match gcc-3.4.3; hopefully this will be the last libffi of
517 + this type/in this series that I make - >=gcc-3.4.3-r1 should support libffi
518 + with gcj and objc now
519 +
520 + 23 Nov 2004; Tom Gall <tgall@g.o>
521 + libffi-3.4.1-r1.ebuild:
522 + added ~ppc64
523 +
524 + 23 Nov 2004; Jeremy Huddleston <eradicator@g.o>
525 + libffi-3.4.1.ebuild:
526 + Stable amd64... bug #68857.
527 +
528 + 31 Oct 2004; <kloeri@g.o> libffi-3.3.3-r1.ebuild:
529 + ~alpha keyword.
530 +
531 + 24 Oct 2004; Jason Wever <weeve@g.o> libffi-3.3.4.ebuild:
532 + Added ~sparc keyword wrt bug #68729.
533 +
534 + 24 Oct 2004; Armando Di Cianno <fafhrd@g.o> libffi-3.3.3-r1.ebuild,
535 + libffi-3.3.4.ebuild:
536 + Making gcc depends more explicit; libffi really needs to be installed
537 + alongside gcc on of these days...
538 +
539 + 09 Oct 2004; David Holm <dholm@g.o> libffi-3.4.1-r1.ebuild:
540 + Added to ~ppc.
541 +
542 +*libffi-3.3.4 (25 Sep 2004)
543 +
544 + 25 Sep 2004; Armando Di Cianno <fafhrd@g.o> +libffi-3.3.4.ebuild:
545 + New version to complement gcc-3.3.4.
546 +
547 +*libffi-3.3.3-r1 (22 Sep 2004)
548 +
549 + 22 Sep 2004; Armando Di Cianno <fafhrd@g.o>
550 + +files/libffi-soversion.dpatch, +files/libffi-without-libgcj.dpatch,
551 + +libffi-3.3.3-r1.ebuild, +libffi-3.4.1-r1.ebuild:
552 + Updated,new 3.3.3-r1 and 3.4.1-r1 for ~x86; 3.4.1-r1 now applies patches that
553 + allow building without turning on libgcj as well.
554 +
555 +*libffi-3.3.3 (27 Aug 2004)
556 +
557 + 27 Aug 2004; Armando Di Cianno <fafhrd@g.o> +libffi-3.3.3.ebuild,
558 + libffi-3.4.1.ebuild:
559 + Added specific as-is type license for libffi; added libffi-3.3.3 for x86; set
560 + HOMEPAGE to more proper url.
561 +
562 + 27 Aug 2004; Armando Di Cianno <fafhrd@g.o> libffi-3.4.1.ebuild:
563 + Added email address next to comment I had previously made in file.
564 +
565 + 14 Aug 2004; Sven Wegener <swegener@g.o> libffi-3.4.1.ebuild:
566 + Fixed CVS Header.
567 +
568 +*libffi-3.4.1 (17 Jul 2004)
569 +
570 + 17 Jul 2004; Travis Tilley <lv@g.o> +libffi-3.4.1.ebuild:
571 + added an ebuild for the libffi 2.0 beta from the gcc 3.4.1 tarball. keyworded
572 + ~amd64
573 +
574 + 01 Jul 2004; Jeremy Huddleston <eradicator@g.o> libffi-1.20.ebuild:
575 + virtual/glibc -> virtual/libc
576 +
577 + 18 Mar 2004; David Holm <dholm@g.o> libffi-1.20.ebuild:
578 + Added to ~ppc.
579 +
580 + 14 Mar 2004; Michael Sterrett <mr_bones_@g.o> libffi-1.20.ebuild:
581 + Don't assign default to S; header fix
582 +
583 +*libffi-1.20 (13 Feb 2003)
584 +
585 + 12 Jul 2003; Daniel Ahlberg <aliz@g.o> :
586 + Added missing changelog entry.
587 +
588 + 06 Dec 2002; Rodney Rees <manson@g.o> : changed sparc ~sparc keywords
589 +
590 +*libffi-0.20 ( 10 Feb 2002 )
591 +
592 + 10 Feb 2002; Karl Trygve Kalleberg <karltk@g.o> ChangeLog files/digest-libffi-0.20 libffi-0.20:
593 +
594 + The libffi library provides a portable, high level programming interface to
595 + various calling conventions. This allows a programmer to call any function
596 + specified by a call interface description at run-time.
597 +
598 + Ffi stands for Foreign Function Interface. A foreign function interface is
599 + the popular name for the interface that allows code written in one language
600 + to call code written in another language. The libffi library really only
601 + provides the lowest, machine dependent layer of a fully featured foreign
602 + function interface. A layer must exist above libffi that handles type
603 + conversions for values passed between the two languages.
604
605 diff --git a/dev-libs/libffi/files/libffi-emutramp.patch b/dev-libs/libffi/files/libffi-emutramp.patch
606 new file mode 100644
607 index 0000000..b83fb34
608 --- /dev/null
609 +++ b/dev-libs/libffi/files/libffi-emutramp.patch
610 @@ -0,0 +1,97 @@
611 +2012-09-30 Magnus Granberg <zorry@g.o>
612 + Pavel Labushev <pavel.labushev@××××××.no>
613 +
614 + * fficonfig.h.in Add FFI_MMAP_EXEC_EMUTRAMP_PAX
615 + * configure Add --enable-pax_emutramp
616 + * src/src/closures.c Add emutramp_enabled_check
617 +
618 +--- a/fficonfig.h.in 2012-09-17 16:51:53.190615663 +0200
619 ++++ a/fficonfig.h.in 2012-09-30 00:34:08.000000000 +0200
620 +@@ -20,6 +20,9 @@
621 + /* Cannot use PROT_EXEC on this target, so, we revert to alternative means */
622 + #undef FFI_EXEC_TRAMPOLINE_TABLE
623 +
624 ++/* Define this if you want to enable pax emulated trampolines */
625 ++#undef FFI_MMAP_EXEC_EMUTRAMP_PAX
626 ++
627 + /* Cannot use malloc on this target, so, we revert to alternative means */
628 + #undef FFI_MMAP_EXEC_WRIT
629 +
630 +--- a/configure 2012-09-17 16:51:53.187615663 +0200
631 ++++ b/configur2 2012-09-30 00:33:41.000000000 +0200
632 +@@ -823,6 +841,7 @@ enable_libtool_lock
633 + enable_portable_binary
634 + with_gcc_arch
635 + enable_maintainer_mode
636 ++enable_pax_emutramp
637 + enable_debug
638 + enable_structs
639 + enable_raw_api
640 +@@ -1470,6 +1487,7 @@ Optional Features:
641 + unportable binaries
642 + --enable-maintainer-mode enable make rules and dependencies not useful
643 + (and sometimes confusing) to the casual installer
644 ++ --enable-pax_emutramp enable pax emulated trampolines for we can't use PROT_EXEC
645 + --enable-debug debugging mode
646 + --disable-structs omit code for struct support
647 + --disable-raw-api make the raw api unavailable
648 +@@ -14376,6 +14414,16 @@ $as_echo "#define SYMBOL_UNDERSCORE 1" >
649 + fi
650 + fi
651 +
652 ++# On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC.
653 ++# Check whether --enable-pax_emutramp was given.
654 ++if test "${enable_pax_emutramp+set}" = set; then :
655 ++ enableval=$enable_pax_emutramp; if test "$enable_pax_emutramp" = "yes"; then
656 ++
657 ++$as_echo "#define FFI_MMAP_EXEC_EMUTRAMP_PAX 1" >>confdefs.h
658 ++
659 ++ fi
660 ++fi
661 ++
662 +
663 + FFI_EXEC_TRAMPOLINE_TABLE=0
664 + case "$target" in
665 +--- a/src/closures.c 2012-09-19 23:37:09.648695333 +0200
666 ++++ b/src/closures.c 2012-09-19 23:19:30.000000000 +0200
667 +@@ -172,6 +172,27 @@ selinux_enabled_check (void)
668 +
669 + #endif /* !FFI_MMAP_EXEC_SELINUX */
670 +
671 ++/* On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC. */
672 ++#ifdef FFI_MMAP_EXEC_EMUTRAMP_PAX
673 ++#include <stdlib.h>
674 ++
675 ++static int emutramp_enabled = -1;
676 ++
677 ++static int
678 ++emutramp_enabled_check (void)
679 ++{
680 ++ if (getenv ("FFI_DISABLE_EMUTRAMP") == NULL)
681 ++ return 1;
682 ++ else
683 ++ return 0;
684 ++}
685 ++
686 ++#define is_emutramp_enabled() (emutramp_enabled >= 0 ? emutramp_enabled \
687 ++ : (emutramp_enabled = emutramp_enabled_check ()))
688 ++#else
689 ++#define is_emutramp_enabled() 0
690 ++#endif /* FFI_MMAP_EXEC_EMUTRAMP_PAX */
691 ++
692 + #elif defined (__CYGWIN__) || defined(__INTERIX)
693 +
694 + #include <sys/mman.h>
695 +@@ -458,6 +479,12 @@ dlmmap (void *start, size_t length, int
696 + printf ("mapping in %zi\n", length);
697 + #endif
698 +
699 ++ if (execfd == -1 && is_emutramp_enabled ())
700 ++ {
701 ++ ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset);
702 ++ return ptr;
703 ++ }
704 ++
705 + if (execfd == -1 && !is_selinux_enabled ())
706 + {
707 + ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset);
708
709 diff --git a/dev-libs/libffi/libffi-3.0.11-r1.ebuild b/dev-libs/libffi/libffi-3.0.11-r1.ebuild
710 new file mode 100644
711 index 0000000..0aa005d
712 --- /dev/null
713 +++ b/dev-libs/libffi/libffi-3.0.11-r1.ebuild
714 @@ -0,0 +1,66 @@
715 +# Copyright 1999-2012 Gentoo Foundation
716 +# Distributed under the terms of the GNU General Public License v2
717 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11.ebuild,v 1.12 2012/09/29 14:04:36 grobian Exp $
718 +
719 +EAPI=4
720 +
721 +MY_P=${P/_/-}
722 +
723 +inherit eutils libtool multilib toolchain-funcs
724 +
725 +DESCRIPTION="a portable, high level programming interface to various calling conventions."
726 +HOMEPAGE="http://sourceware.org/libffi/"
727 +SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz"
728 +
729 +LICENSE="MIT"
730 +SLOT="0"
731 +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
732 +IUSE="debug static-libs test pax_kernel"
733 +
734 +RDEPEND=""
735 +DEPEND="test? ( dev-util/dejagnu )"
736 +
737 +S=${WORKDIR}/${MY_P}
738 +
739 +DOCS="ChangeLog* README"
740 +
741 +pkg_setup() {
742 + # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example
743 + if ! has_version ${CATEGORY}/${PN}; then
744 + local base="${T}"/conftest
745 + echo 'int main() { }' > "${base}".c
746 + $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null
747 + if [ $? -eq = 0 ]; then
748 + eerror "The linker reported linking against -lffi to be working while it shouldn't have."
749 + eerror "This is wrong and you should find and delete the old copy of libffi before continuing."
750 + die "The system is in inconsistent state with unknown libffi installed."
751 + fi
752 + fi
753 +}
754 +
755 +src_prepare() {
756 + epatch "${FILESDIR}"/libffi-emutramp.patch
757 + epatch_user
758 + elibtoolize
759 +}
760 +
761 +src_configure() {
762 + use userland_BSD && export HOST="${CHOST}"
763 + econf \
764 + $(use_enable static-libs static) \
765 + $(use_enable pax_kernel pax_emutramp) \
766 + $(use_enable debug)
767 +}
768 +
769 +src_install() {
770 + default
771 + rm -f "${ED}"/usr/lib*/lib*.la
772 +}
773 +
774 +pkg_preinst() {
775 + preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5)
776 +}
777 +
778 +pkg_postinst() {
779 + preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5)
780 +}
781
782 diff --git a/dev-libs/libffi/metadata.xml b/dev-libs/libffi/metadata.xml
783 new file mode 100644
784 index 0000000..b061e3d
785 --- /dev/null
786 +++ b/dev-libs/libffi/metadata.xml
787 @@ -0,0 +1,33 @@
788 +<?xml version="1.0" encoding="UTF-8"?>
789 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
790 +<pkgmetadata>
791 + <herd>toolchain</herd>
792 + <longdescription lang="en">
793 + Compilers for high level languages generate code that follow certain
794 + conventions. These conventions are necessary, in part, for separate
795 + compilation to work. One such convention is the "calling
796 + convention". The "calling convention" is essentially a set of
797 + assumptions made by the compiler about where function arguments will
798 + be found on entry to a function. A "calling convention" also specifies
799 + where the return value for a function is found.
800 +
801 + Some programs may not know at the time of compilation what arguments
802 + are to be passed to a function. For instance, an interpreter may be
803 + told at run-time about the number and types of arguments used to call
804 + a given function. Libffi can be used in such programs to provide a
805 + bridge from the interpreter program to compiled code.
806 +
807 + The libffi library provides a portable, high level programming
808 + interface to various calling conventions. This allows a programmer to
809 + call any function specified by a call interface description at run
810 + time.
811 +
812 + Ffi stands for Foreign Function Interface. A foreign function
813 + interface is the popular name for the interface that allows code
814 + written in one language to call code written in another language. The
815 + libffi library really only provides the lowest, machine dependent
816 + layer of a fully featured foreign function interface. A layer must
817 + exist above libffi that handles type conversions for values passed
818 + between the two languages.
819 + </longdescription>
820 +</pkgmetadata>