From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 61743138010 for ; Sun, 30 Sep 2012 00:03:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B52C21C004; Sun, 30 Sep 2012 00:03:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4159421C004 for ; Sun, 30 Sep 2012 00:03:48 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5494033D5BC for ; Sun, 30 Sep 2012 00:03:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 10E96E5449 for ; Sun, 30 Sep 2012 00:03:46 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1348963313.59da6d654b3f16fe279709a34ccaca03965f2054.zorry@gentoo> Subject: [gentoo-commits] proj/hardened-dev:master commit in: dev-libs/libffi/files/, dev-libs/libffi/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: dev-libs/libffi/ChangeLog dev-libs/libffi/files/libffi-emutramp.patch dev-libs/libffi/libffi-3.0.11-r1.ebuild dev-libs/libffi/metadata.xml X-VCS-Directories: dev-libs/libffi/files/ dev-libs/libffi/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 59da6d654b3f16fe279709a34ccaca03965f2054 X-VCS-Branch: master Date: Sun, 30 Sep 2012 00:03:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 662ebc96-c744-44fa-ba0f-a71069531d2c X-Archives-Hash: 5cf1d138c24b4763394dff6d6b10e6dc commit: 59da6d654b3f16fe279709a34ccaca03965f2054 Author: Magnus Granberg gentoo org> AuthorDate: Sun Sep 30 00:01:53 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Sun Sep 30 00:01:53 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=59da6d65 Add libffi with emutramp fix for testing --- dev-libs/libffi/ChangeLog | 581 +++++++++++++++++++++++++++ dev-libs/libffi/files/libffi-emutramp.patch | 97 +++++ dev-libs/libffi/libffi-3.0.11-r1.ebuild | 66 +++ dev-libs/libffi/metadata.xml | 33 ++ 4 files changed, 777 insertions(+), 0 deletions(-) diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog new file mode 100644 index 0000000..35e674b --- /dev/null +++ b/dev-libs/libffi/ChangeLog @@ -0,0 +1,581 @@ +# ChangeLog for dev-libs/libffi +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.153 2012/09/29 14:04:36 grobian Exp $ + + 30 Sep 2012; Magnus Granberg libffi-3.0.11-r1.ebuild: + Add PaX EMUTRAMP support. + + 29 Sep 2012; Fabian Groffen libffi-3.0.11.ebuild: + Marked ~m68k-mint, bug #433529 + + 05 Aug 2012; Fabian Groffen libffi-3.0.11.ebuild: + Marked ~x86-freebsd + + 22 Jul 2012; libffi-3.0.11.ebuild: + ppc stable #416669 + + 08 Jul 2012; Raúl Porcel libffi-3.0.11.ebuild: + ia64/m68k/s390/sh/sparc stable wrt #416669 + + 13 Jun 2012; Richard Yao libffi-3.0.10.ebuild, + libffi-3.0.11.ebuild: + Add epatch_user + + 31 May 2012; Jeroen Roovers libffi-3.0.11.ebuild: + Stable for HPPA (bug #416669). + + 30 May 2012; Markus Meier libffi-3.0.11.ebuild: + arm stable, bug #416669 + + 24 May 2012; Matt Turner libffi-3.0.11.ebuild: + Stable on alpha, bug 416669. Also fixes bug 395755. + + 21 May 2012; Jeff Horelick libffi-3.0.11.ebuild: + marked x86 per bug 416669 + + 20 May 2012; Agostino Sarubbo libffi-3.0.11.ebuild: + Stable for amd64, wrt bug #416669 + + 26 Apr 2012; Alexis Ballier libffi-3.0.11.ebuild: + keyword ~amd64-fbsd + + 12 Apr 2012; Samuli Suominen -libffi-3.0.9-r2.ebuild, + -files/libffi-3.0.9-arm-oabi.patch, + -files/libffi-3.0.9-define-generic-symbols-carefully.patch, + -files/libffi-3.0.9-interix.patch, -files/libffi-3.0.9-irix.patch, + -files/libffi-3.0.9-powerpc64-darwin.patch, + -files/libffi-3.0.9-strncmp.patch, -libffi-3.0.11_rc3.ebuild: + old + +*libffi-3.0.11 (12 Apr 2012) + + 12 Apr 2012; Samuli Suominen +libffi-3.0.11.ebuild: + Version bump. + + 06 Apr 2012; Samuli Suominen + -libffi-3.0.11_rc1.ebuild, -libffi-3.0.11_rc2.ebuild, + -files/libffi-3.0.11_rc2-fix-ppc64-compile.patch: + old + +*libffi-3.0.11_rc3 (06 Apr 2012) + + 06 Apr 2012; Samuli Suominen + +libffi-3.0.11_rc3.ebuild: + Version bump. + + 13 Mar 2012; Samuli Suominen libffi-3.0.11_rc2.ebuild, + +files/libffi-3.0.11_rc2-fix-ppc64-compile.patch: + Fix building for PowerPC64 using patch from libffi-discuss ML. + + 19 Feb 2012; Raúl Porcel libffi-3.0.10.ebuild: + arm/ia64/m68k/s390/sh/sparc stable wrt #387063 + + 16 Feb 2012; Mike Frysinger libffi-3.0.9-r2.ebuild, + +files/libffi-3.0.9-x32.patch, libffi-3.0.10.ebuild, + libffi-3.0.11_rc1.ebuild, libffi-3.0.11_rc2.ebuild: + Add patch from upstream for x32 targets. + + 31 Jan 2012; Samuli Suominen libffi-3.0.10.ebuild: + ppc/ppc64 stable wrt #387063 + + 21 Jan 2012; Tobias Klausmann libffi-3.0.10.ebuild: + Stable on alpha, bug #387063 + +*libffi-3.0.11_rc2 (18 Nov 2011) + + 18 Nov 2011; Samuli Suominen + +libffi-3.0.11_rc2.ebuild: + Version bump. + + 09 Nov 2011; Jeroen Roovers libffi-3.0.10.ebuild: + Stable for HPPA (bug #387063). + + 18 Oct 2011; Pawel Hajdan jr libffi-3.0.10.ebuild: + x86 stable wrt bug #387063 + + 14 Oct 2011; Tony Vroon libffi-3.0.10.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & + Elijah "Armageddon" El Lazkani in bug #387063. + +*libffi-3.0.11_rc1 (13 Oct 2011) + + 13 Oct 2011; Samuli Suominen + +libffi-3.0.11_rc1.ebuild: + Version bump. + + 06 Sep 2011; Samuli Suominen -libffi-3.0.9.ebuild, + -libffi-3.0.10_rc8.ebuild, -files/libffi-3.0.10-interix.patch: + old + +*libffi-3.0.10 (29 Aug 2011) + + 29 Aug 2011; Diego E. Pettenò +libffi-3.0.10.ebuild: + Version bump to 3.0.10 final (interix patch not necessary). Somehow this + lowers, rather than increase, the soversion. + + 21 May 2011; Naohiro Aota libffi-3.0.10_rc8.ebuild: + Fix build failure bug #363275 on BSD + + 20 May 2011; Kacper Kowalik libffi-3.0.9-r2.ebuild: + ppc64 stable wrt #360465 + + 12 May 2011; Markus Duft libffi-3.0.10_rc8.ebuild, + +files/libffi-3.0.10-interix.patch: + add patch: build fix for x86-interix (prefix) + + 02 May 2011; Fabian Groffen libffi-3.0.10_rc8.ebuild: + Marked ~x64-freebsd + + 13 Apr 2011; Brent Baude libffi-3.0.9-r2.ebuild: + Marking libffi-3.0.9-r2 ppc for bug 360465 + + 10 Apr 2011; Raúl Porcel libffi-3.0.9-r2.ebuild: + ia64/m68k/s390/sh/sparc/x86 stable wrt #360465 + + 10 Apr 2011; Markus Meier libffi-3.0.9-r2.ebuild: + arm stable, bug #360465 + + 29 Mar 2011; Jeroen Roovers libffi-3.0.9-r2.ebuild: + Stable for HPPA (bug #360465). + + 27 Mar 2011; Tobias Klausmann libffi-3.0.9-r2.ebuild: + Stable on alpha, bug #360465 + + 25 Mar 2011; Christoph Mende libffi-3.0.9-r2.ebuild: + Stable on amd64 wrt bug #360465 + +*libffi-3.0.10_rc8 (25 Mar 2011) + + 25 Mar 2011; Samuli Suominen + +libffi-3.0.10_rc8.ebuild: + Version bump. + + 23 Feb 2011; Samuli Suominen libffi-3.0.10_rc5.ebuild: + Detect and document broken installation of sys-devel/gcc in the build.log wrt + #354903 + +*libffi-3.0.10_rc5 (15 Feb 2011) + + 15 Feb 2011; Samuli Suominen + +libffi-3.0.10_rc5.ebuild: + Version bump. + +*libffi-3.0.10_rc4 (12 Feb 2011) + + 12 Feb 2011; Samuli Suominen + +libffi-3.0.10_rc4.ebuild: + Version bump. + +*libffi-3.0.9-r2 (04 Feb 2011) + + 04 Feb 2011; Samuli Suominen +libffi-3.0.9-r2.ebuild, + +files/libffi-3.0.9-strncmp.patch: + Backport upstream patch for strncmp usage bug by request from Arfrever + Frehtes Taifersar Arahesis. + + 06 Jan 2011; Fabian Groffen libffi-3.0.9-r1.ebuild, + +files/libffi-3.0.9-powerpc64-darwin.patch: + Add patch to allow compilation on powerpc64-*-darwin* + +*libffi-3.0.9-r1 (18 Dec 2010) + + 18 Dec 2010; Samuli Suominen +libffi-3.0.9-r1.ebuild, + +files/libffi-3.0.9-define-generic-symbols-carefully.patch: + Include upstream patch to define generic symbols carefully wrt #347636 by + Dennis Schridde. + + 20 Sep 2010; Raúl Porcel libffi-3.0.9.ebuild, + +files/libffi-3.0.9-arm-oabi.patch: + Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò + + + 19 Sep 2010; Raúl Porcel libffi-3.0.9.ebuild: + s390 stable + + 16 Apr 2010; Brent Baude libffi-3.0.9.ebuild: + Marking libffi-3.0.9 ppc for bug 306281 + + 22 Mar 2010; Brent Baude libffi-3.0.9.ebuild: + Marking libffi-3.0.9 ppc64 for bug 306281 + + 16 Mar 2010; Raúl Porcel libffi-3.0.9.ebuild: + alpha/arm/ia64/m68k/sh/sparc stable wrt #306281 + + 03 Mar 2010; Pawel Hajdan jr libffi-3.0.9.ebuild: + x86 stable wrt bug #306281 + + 22 Feb 2010; Samuli Suominen libffi-3.0.9.ebuild: + amd64 stable wrt #306281 + + 22 Feb 2010; Jeroen Roovers libffi-3.0.9.ebuild: + Stable for HPPA (bug #306281). + + 20 Feb 2010; Jonathan Callen libffi-3.0.9.ebuild, + +files/libffi-3.0.9-interix.patch, +files/libffi-3.0.9-irix.patch: + Add patches from prefix, add prefix keywords + + 25 Jan 2010; Raúl Porcel libffi-3.0.9.ebuild: + Add ~m68k, thanks to kolla for testing + + 24 Jan 2010; Raúl Porcel libffi-3.0.9.ebuild: + Add ~ia64/~sh/~sparc wrt #298322 + + 13 Jan 2010; Brent Baude libffi-3.0.9.ebuild: + Marking libffi-3.0.9 ~ppc64 for bug 298322 + + 04 Jan 2010; Markus Meier libffi-3.0.9.ebuild: + add ~arm, bug #298322 + + 03 Jan 2010; Jeroen Roovers libffi-3.0.9.ebuild: + Marked ~ppc (bug #298322). + +*libffi-3.0.9 (31 Dec 2009) + + 31 Dec 2009; Samuli Suominen +libffi-3.0.9.ebuild: + Version bump. + + 26 Dec 2009; Jeroen Roovers libffi-3.0.9_rc6.ebuild, + libffi-3.0.9_rc9.ebuild: + Marked ~hppa (bug #298322). + +*libffi-3.0.9_rc9 (26 Dec 2009) + + 26 Dec 2009; Samuli Suominen + +libffi-3.0.9_rc9.ebuild: + Version bump. + +*libffi-3.0.9_rc6 (25 Dec 2009) + + 25 Dec 2009; Samuli Suominen + +libffi-3.0.9_rc6.ebuild: + Version bump. + +*libffi-3.0.9_rc4 (24 Dec 2009) + + 24 Dec 2009; Samuli Suominen + +libffi-3.0.9_rc4.ebuild, +files/libffi-3.0.9_rc4-revert_includedir.patch: + Version bump. + + 20 Dec 2009; Raúl Porcel libffi-3.0.8.ebuild: + m68k stable + + 13 Dec 2009; Raúl Porcel libffi-3.0.8.ebuild: + Add ~m68k, thanks to kolla for testing + + 10 Dec 2009; Raúl Porcel libffi-3.0.8.ebuild, + +files/libffi-3.0.8-arm.patch: + Steal patch from debian to make it compile on armv6/armv7 + +*libffi-3.0.9_rc3 (30 Oct 2009) + + 30 Oct 2009; Samuli Suominen + +libffi-3.0.9_rc3.ebuild: + Version bump. + +*libffi-3.0.9_rc2 (27 Oct 2009) + + 27 Oct 2009; Samuli Suominen + +libffi-3.0.9_rc2.ebuild: + Version bump. + + 19 Oct 2009; Alexey Shvetsov libffi-3.0.8.ebuild: + Add ~mips keyword + + 17 Oct 2009; Markus Meier metadata.xml: + remove static-libs description as it is global now + + 05 Oct 2009; Samuli Suominen libffi-3.0.8.ebuild, + libffi-3.0.9_rc1.ebuild: + Keyword ~sparc-fbsd. Compile tested on FreeBSD-6.2-RELEASE-sparc64-64bit-ELF. + +*libffi-3.0.9_rc1 (05 Oct 2009) + + 05 Oct 2009; Samuli Suominen + +libffi-3.0.9_rc1.ebuild: + Version bump. + + 03 Oct 2009; Samuli Suominen libffi-3.0.8.ebuild: + Move dev-libs/libffi back to EAPI="0" because dev-lang/python is consuming + it. + + 02 Oct 2009; Samuli Suominen libffi-3.0.8.ebuild, + +files/libffi-3.0.8-autoconf-2.64.patch: + Fix compability with Autoconf 2.64 wrt #287020, thanks to Mike Lundy and + Mike Frysinger. + + 23 Sep 2009; Alexis Ballier libffi-3.0.8.ebuild, + +files/libffi-3.0.8-fbsd.patch: + Fix detection and test on FreeBSD and keyword it. + + 07 Sep 2009; Raúl Porcel libffi-3.0.8.ebuild: + arm/ia64/s390/sh stable + + 05 Sep 2009; Brent Baude libffi-3.0.8.ebuild: + Marking libffi-3.0.8 ppc64 for bug 272675 + + 22 Jul 2009; Tobias Klausmann libffi-3.0.8.ebuild: + Stable on alpha, bug #272675 + + 19 Jul 2009; nixnut libffi-3.0.8.ebuild: + ppc stable #272673 + + 18 Jul 2009; Jeroen Roovers libffi-3.0.8.ebuild: + Stable for HPPA (bug #272675). + + 11 Jun 2009; Markus Meier libffi-3.0.8.ebuild: + amd64 stable, bug #272675 + + 10 Jun 2009; Christian Faulhammer libffi-3.0.8.ebuild: + stable x86, bug 272675 + + 05 Jun 2009; Ferris McCormick libffi-3.0.8.ebuild: + Sparc stable, part of Bug #272675. + + 05 Jun 2009; Samuli Suominen libffi-3.0.8.ebuild: + Block libffi-3.0.8.ebuild: + Keyword ~ppc/~ppc64 wrt #272046, thanks to Luca Barbato for testing. + + 03 Jun 2009; Raúl Porcel libffi-3.0.8.ebuild: + Add ~arm/~ia64/~s390/~sh wrt #272046 + + 03 Jun 2009; Samuli Suominen libffi-3.0.8.ebuild: + Keyword ~alpha wrt #272046, thanks to Tobias Klausmann for testing. + + 02 Jun 2009; Jeroen Roovers libffi-3.0.8.ebuild: + Marked ~hppa (bug #272046). + + 01 Jun 2009; Ferris McCormick libffi-3.0.8.ebuild: + Add sparc for testing, part of Bug #272046. + + 01 Jun 2009; Samuli Suominen -libffi-3.0.5.ebuild, + -libffi-3.0.6.ebuild, libffi-3.0.8.ebuild, metadata.xml: + Only build static libs if USE flag is defined. + +*libffi-3.0.8 (24 Dec 2008) + + 24 Dec 2008; Stephanie Lockwood-Childs + +libffi-3.0.8.ebuild: + version bump requested by Matteo Modesti (bug #252344) + +*libffi-3.0.6 (02 Sep 2008) + + 02 Sep 2008; Marijn Schouten +libffi-3.0.6.ebuild: + bump + + 29 Jun 2008; Marijn Schouten libffi-3.0.5.ebuild: + don't patch anymore, move warning to pkg_setup + + 13 Jun 2008; Samuli Suominen + +files/libffi-3.0.5-includedir.patch, libffi-3.0.5.ebuild: + Fix includedir. USE flag test for dejagnu which is required for make + check. + +*libffi-3.0.5 (13 Jun 2008) + + 13 Jun 2008; Samuli Suominen + -files/libffi-soversion.dpatch, -files/libffi-without-libgcj.dpatch, + +libffi-3.0.5.ebuild, -libffi-3.4.1.ebuild, -libffi-3.4.1-r1.ebuild, + -libffi-3.4.3.ebuild: + Version bump for testing wrt #163724, thanks to Marijn Schouten. Remove + old versions which came from GCC 3.4.x. + + 03 Jun 2008; Michael Sterrett libffi-3.4.1.ebuild, + libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild: + remove reference to app-admin/eselect-compiler which has been removed + + 27 Dec 2007; Christian Heim metadata.xml: + Fixing the maintainer. It's supposed to be maintainer-needed. + + 05 Dec 2007; Michael Sterrett -libffi-3.3.5.ebuild: + remove old, dep-broken version + + 13 Nov 2007; Raúl Porcel libffi-3.3.5.ebuild, + libffi-3.4.1-r1.ebuild: + Drop unneeded ~alpha keyword + + 11 May 2007; Thilo Bangert metadata.xml: + fix herd + + 12 Mar 2007; Raúl Porcel libffi-3.4.3.ebuild: + x86 stable + + 03 Mar 2007; Marius Mauch libffi-3.3.5.ebuild: + Replacing einfo with elog + + 06 Jan 2007; Danny van Dyk -libffi-1.20.ebuild: + QA: Removed unused versions. + + 05 Nov 2006; Piotr Jaroszyński libffi-3.4.1.ebuild: + Fix multilib. Thanks to David Leverton in bug #154065. + + 14 Aug 2006; Christian Heim libffi-3.3.5.ebuild, + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild: + Switch default ordering of gcc-config and eselect-compiler to work around + portage bug. + + 13 Aug 2006; Markus Rothe libffi-3.4.1-r1.ebuild, + libffi-3.4.3.ebuild: + Dropped ppc64/~ppc64 keywords + + 02 Aug 2006; Andrej Kacian libffi-3.4.1-r1.ebuild: + Stable on x86, bug #105020. + + 01 Aug 2006; Andrej Kacian libffi-3.4.3.ebuild: + Added ~x86, bug #105020. + + 27 Jul 2006; Fabian Groffen libffi-3.3.5.ebuild, + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild: + QA fixes for bug #141378: build is not really used, so remove its trails. + Remove gnustep as maintainer, gnustep-base is moving away from it. + + 06 Jun 2006; Jeremy Huddleston + libffi-3.3.5.ebuild, libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, + libffi-3.4.3.ebuild: + Updated DEPEND to accept eselect-compiler. + + 08 Jan 2006; Michael Hanselmann metadata.xml: + Remove retiring dev from metadata. + + 05 Jan 2006; Gustavo Zacarias libffi-3.4.3.ebuild: + Stable on sparc + + 22 Dec 2005; Joshua Nichols libffi-3.4.1.ebuild: + Fixed multilib-strict violation (bug #74949). + + 21 Dec 2005; Seemant Kulleen libffi-3.3.5.ebuild, + libffi-3.4.1.ebuild, libffi-3.4.1-r1.ebuild, libffi-3.4.3.ebuild: + Fix QA violation of awk in the global scope. Change to versionator eclass + instead. Thanks to: Christian Heim in bug #108388 + + 22 May 2005; Jason Wever libffi-3.4.3.ebuild: + Added ~sparc keyword. + + 06 May 2005; Sven Wegener libffi-3.4.1-r1.ebuild, + libffi-3.4.3.ebuild: + Removed * postfix from <, <=, >= and > dependencies. + + 09 Apr 2005; Armando Di Cianno -libffi-3.3.3.ebuild, + -libffi-3.3.3-r1.ebuild, -libffi-3.3.4.ebuild, libffi-3.4.1-r1.ebuild: + Pruning old ebuilds that are no longer needed. + + 06 Apr 2005; Markus Rothe libffi-3.4.3.ebuild: + Stable on ppc64 + + 06 Apr 2005; libffi-3.3.3-r1.ebuild, + libffi-3.3.5.ebuild: + ~alpha cleanup. + + 04 Apr 2005; Michael Hanselmann libffi-3.4.3.ebuild: + Stable on ppc. + + 04 Apr 2005; Gustavo Zacarias libffi-3.3.4.ebuild, + libffi-3.3.5.ebuild: + 3.3.5 to sparc stable, 3.3.4 removed ~sparc for cleanup + + 04 Apr 2005; Gustavo Zacarias libffi-3.3.5.ebuild: + Stable on sparc + +*libffi-3.3.5 (14 Mar 2005) + + 14 Mar 2005; Eric Shattow +libffi-3.3.5.ebuild: + Version Bump (interim, closes #80281). + + 12 Mar 2005; Eric Shattow libffi-3.3.4.ebuild: + quasi-stable on x86 (fixes broken dependency tracking in stable arch) + + 05 Mar 2005; Markus Rothe libffi-3.4.3.ebuild: + Added ~ppc64 to KEYWORDS and don't use multilib on ppc64; bug #72258 + +*libffi-3.4.3 (03 Dec 2004) + + 03 Dec 2004; Armando Di Cianno +libffi-3.4.3.ebuild: + Version bump to match gcc-3.4.3; hopefully this will be the last libffi of + this type/in this series that I make - >=gcc-3.4.3-r1 should support libffi + with gcj and objc now + + 23 Nov 2004; Tom Gall + libffi-3.4.1-r1.ebuild: + added ~ppc64 + + 23 Nov 2004; Jeremy Huddleston + libffi-3.4.1.ebuild: + Stable amd64... bug #68857. + + 31 Oct 2004; libffi-3.3.3-r1.ebuild: + ~alpha keyword. + + 24 Oct 2004; Jason Wever libffi-3.3.4.ebuild: + Added ~sparc keyword wrt bug #68729. + + 24 Oct 2004; Armando Di Cianno libffi-3.3.3-r1.ebuild, + libffi-3.3.4.ebuild: + Making gcc depends more explicit; libffi really needs to be installed + alongside gcc on of these days... + + 09 Oct 2004; David Holm libffi-3.4.1-r1.ebuild: + Added to ~ppc. + +*libffi-3.3.4 (25 Sep 2004) + + 25 Sep 2004; Armando Di Cianno +libffi-3.3.4.ebuild: + New version to complement gcc-3.3.4. + +*libffi-3.3.3-r1 (22 Sep 2004) + + 22 Sep 2004; Armando Di Cianno + +files/libffi-soversion.dpatch, +files/libffi-without-libgcj.dpatch, + +libffi-3.3.3-r1.ebuild, +libffi-3.4.1-r1.ebuild: + Updated,new 3.3.3-r1 and 3.4.1-r1 for ~x86; 3.4.1-r1 now applies patches that + allow building without turning on libgcj as well. + +*libffi-3.3.3 (27 Aug 2004) + + 27 Aug 2004; Armando Di Cianno +libffi-3.3.3.ebuild, + libffi-3.4.1.ebuild: + Added specific as-is type license for libffi; added libffi-3.3.3 for x86; set + HOMEPAGE to more proper url. + + 27 Aug 2004; Armando Di Cianno libffi-3.4.1.ebuild: + Added email address next to comment I had previously made in file. + + 14 Aug 2004; Sven Wegener libffi-3.4.1.ebuild: + Fixed CVS Header. + +*libffi-3.4.1 (17 Jul 2004) + + 17 Jul 2004; Travis Tilley +libffi-3.4.1.ebuild: + added an ebuild for the libffi 2.0 beta from the gcc 3.4.1 tarball. keyworded + ~amd64 + + 01 Jul 2004; Jeremy Huddleston libffi-1.20.ebuild: + virtual/glibc -> virtual/libc + + 18 Mar 2004; David Holm libffi-1.20.ebuild: + Added to ~ppc. + + 14 Mar 2004; Michael Sterrett libffi-1.20.ebuild: + Don't assign default to S; header fix + +*libffi-1.20 (13 Feb 2003) + + 12 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*libffi-0.20 ( 10 Feb 2002 ) + + 10 Feb 2002; Karl Trygve Kalleberg ChangeLog files/digest-libffi-0.20 libffi-0.20: + + The libffi library provides a portable, high level programming interface to + various calling conventions. This allows a programmer to call any function + specified by a call interface description at run-time. + + Ffi stands for Foreign Function Interface. A foreign function interface is + the popular name for the interface that allows code written in one language + to call code written in another language. The libffi library really only + provides the lowest, machine dependent layer of a fully featured foreign + function interface. A layer must exist above libffi that handles type + conversions for values passed between the two languages. diff --git a/dev-libs/libffi/files/libffi-emutramp.patch b/dev-libs/libffi/files/libffi-emutramp.patch new file mode 100644 index 0000000..b83fb34 --- /dev/null +++ b/dev-libs/libffi/files/libffi-emutramp.patch @@ -0,0 +1,97 @@ +2012-09-30 Magnus Granberg + Pavel Labushev + + * fficonfig.h.in Add FFI_MMAP_EXEC_EMUTRAMP_PAX + * configure Add --enable-pax_emutramp + * src/src/closures.c Add emutramp_enabled_check + +--- a/fficonfig.h.in 2012-09-17 16:51:53.190615663 +0200 ++++ a/fficonfig.h.in 2012-09-30 00:34:08.000000000 +0200 +@@ -20,6 +20,9 @@ + /* Cannot use PROT_EXEC on this target, so, we revert to alternative means */ + #undef FFI_EXEC_TRAMPOLINE_TABLE + ++/* Define this if you want to enable pax emulated trampolines */ ++#undef FFI_MMAP_EXEC_EMUTRAMP_PAX ++ + /* Cannot use malloc on this target, so, we revert to alternative means */ + #undef FFI_MMAP_EXEC_WRIT + +--- a/configure 2012-09-17 16:51:53.187615663 +0200 ++++ b/configur2 2012-09-30 00:33:41.000000000 +0200 +@@ -823,6 +841,7 @@ enable_libtool_lock + enable_portable_binary + with_gcc_arch + enable_maintainer_mode ++enable_pax_emutramp + enable_debug + enable_structs + enable_raw_api +@@ -1470,6 +1487,7 @@ Optional Features: + unportable binaries + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer ++ --enable-pax_emutramp enable pax emulated trampolines for we can't use PROT_EXEC + --enable-debug debugging mode + --disable-structs omit code for struct support + --disable-raw-api make the raw api unavailable +@@ -14376,6 +14414,16 @@ $as_echo "#define SYMBOL_UNDERSCORE 1" > + fi + fi + ++# On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC. ++# Check whether --enable-pax_emutramp was given. ++if test "${enable_pax_emutramp+set}" = set; then : ++ enableval=$enable_pax_emutramp; if test "$enable_pax_emutramp" = "yes"; then ++ ++$as_echo "#define FFI_MMAP_EXEC_EMUTRAMP_PAX 1" >>confdefs.h ++ ++ fi ++fi ++ + + FFI_EXEC_TRAMPOLINE_TABLE=0 + case "$target" in +--- a/src/closures.c 2012-09-19 23:37:09.648695333 +0200 ++++ b/src/closures.c 2012-09-19 23:19:30.000000000 +0200 +@@ -172,6 +172,27 @@ selinux_enabled_check (void) + + #endif /* !FFI_MMAP_EXEC_SELINUX */ + ++/* On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC. */ ++#ifdef FFI_MMAP_EXEC_EMUTRAMP_PAX ++#include ++ ++static int emutramp_enabled = -1; ++ ++static int ++emutramp_enabled_check (void) ++{ ++ if (getenv ("FFI_DISABLE_EMUTRAMP") == NULL) ++ return 1; ++ else ++ return 0; ++} ++ ++#define is_emutramp_enabled() (emutramp_enabled >= 0 ? emutramp_enabled \ ++ : (emutramp_enabled = emutramp_enabled_check ())) ++#else ++#define is_emutramp_enabled() 0 ++#endif /* FFI_MMAP_EXEC_EMUTRAMP_PAX */ ++ + #elif defined (__CYGWIN__) || defined(__INTERIX) + + #include +@@ -458,6 +479,12 @@ dlmmap (void *start, size_t length, int + printf ("mapping in %zi\n", length); + #endif + ++ if (execfd == -1 && is_emutramp_enabled ()) ++ { ++ ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset); ++ return ptr; ++ } ++ + if (execfd == -1 && !is_selinux_enabled ()) + { + ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset); diff --git a/dev-libs/libffi/libffi-3.0.11-r1.ebuild b/dev-libs/libffi/libffi-3.0.11-r1.ebuild new file mode 100644 index 0000000..0aa005d --- /dev/null +++ b/dev-libs/libffi/libffi-3.0.11-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11.ebuild,v 1.12 2012/09/29 14:04:36 grobian Exp $ + +EAPI=4 + +MY_P=${P/_/-} + +inherit eutils libtool multilib toolchain-funcs + +DESCRIPTION="a portable, high level programming interface to various calling conventions." +HOMEPAGE="http://sourceware.org/libffi/" +SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +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" +IUSE="debug static-libs test pax_kernel" + +RDEPEND="" +DEPEND="test? ( dev-util/dejagnu )" + +S=${WORKDIR}/${MY_P} + +DOCS="ChangeLog* README" + +pkg_setup() { + # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example + if ! has_version ${CATEGORY}/${PN}; then + local base="${T}"/conftest + echo 'int main() { }' > "${base}".c + $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null + if [ $? -eq = 0 ]; then + eerror "The linker reported linking against -lffi to be working while it shouldn't have." + eerror "This is wrong and you should find and delete the old copy of libffi before continuing." + die "The system is in inconsistent state with unknown libffi installed." + fi + fi +} + +src_prepare() { + epatch "${FILESDIR}"/libffi-emutramp.patch + epatch_user + elibtoolize +} + +src_configure() { + use userland_BSD && export HOST="${CHOST}" + econf \ + $(use_enable static-libs static) \ + $(use_enable pax_kernel pax_emutramp) \ + $(use_enable debug) +} + +src_install() { + default + rm -f "${ED}"/usr/lib*/lib*.la +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) +} diff --git a/dev-libs/libffi/metadata.xml b/dev-libs/libffi/metadata.xml new file mode 100644 index 0000000..b061e3d --- /dev/null +++ b/dev-libs/libffi/metadata.xml @@ -0,0 +1,33 @@ + + + + toolchain + + Compilers for high level languages generate code that follow certain + conventions. These conventions are necessary, in part, for separate + compilation to work. One such convention is the "calling + convention". The "calling convention" is essentially a set of + assumptions made by the compiler about where function arguments will + be found on entry to a function. A "calling convention" also specifies + where the return value for a function is found. + + Some programs may not know at the time of compilation what arguments + are to be passed to a function. For instance, an interpreter may be + told at run-time about the number and types of arguments used to call + a given function. Libffi can be used in such programs to provide a + bridge from the interpreter program to compiled code. + + The libffi library provides a portable, high level programming + interface to various calling conventions. This allows a programmer to + call any function specified by a call interface description at run + time. + + Ffi stands for Foreign Function Interface. A foreign function + interface is the popular name for the interface that allows code + written in one language to call code written in another language. The + libffi library really only provides the lowest, machine dependent + layer of a fully featured foreign function interface. A layer must + exist above libffi that handles type conversions for values passed + between the two languages. + +