From a3092fb5fc9dec8de66bd81f141de050c7d635fc Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 16 Aug 2012 17:59:27 +0900 Subject: place holder --- dev-python/pyopengl/ChangeLog | 337 ---------------------------- dev-python/pyopengl/Manifest | 4 - dev-python/pyopengl/metadata.xml | 5 - dev-python/pyopengl/pyopengl-3.0.1.ebuild | 37 --- dev-python/wxpython/ChangeLog | 93 +------- dev-python/wxpython/Manifest | 27 ++- dev-python/wxpython/wxpython-2.9.3.1.ebuild | 155 ------------- 7 files changed, 25 insertions(+), 633 deletions(-) delete mode 100644 dev-python/pyopengl/ChangeLog delete mode 100644 dev-python/pyopengl/Manifest delete mode 100644 dev-python/pyopengl/metadata.xml delete mode 100644 dev-python/pyopengl/pyopengl-3.0.1.ebuild delete mode 100644 dev-python/wxpython/wxpython-2.9.3.1.ebuild (limited to 'dev-python') diff --git a/dev-python/pyopengl/ChangeLog b/dev-python/pyopengl/ChangeLog deleted file mode 100644 index d811f28..0000000 --- a/dev-python/pyopengl/ChangeLog +++ /dev/null @@ -1,337 +0,0 @@ -# ChangeLog for dev-python/pyopengl -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.63 2010/09/30 17:15:32 jlec Exp $ - - 30 Sep 2010; Justin Lecher pyopengl-3.0.1.ebuild: - keyworded for ~-linux prefix - - 16 Sep 2010; Tomáš Chvátal - pyopengl-3.0.1.ebuild: - virtual/glut -> media-libs/glut - - 05 Jul 2010; Samuli Suominen pyopengl-3.0.1.ebuild: - ppc64 stable wrt #319171 - - 24 May 2010; pyopengl-3.0.1.ebuild: - ppc stable #319171 - - 23 May 2010; Raúl Porcel pyopengl-3.0.1.ebuild: - alpha/arm/ia64/sh/sparc/x86 stable wrt #319171 - - 18 May 2010; Markos Chandras pyopengl-3.0.1.ebuild: - Stable on amd64 wrt bug #319171 - - 14 May 2010; Jeroen Roovers pyopengl-3.0.1.ebuild: - Stable for HPPA (bug #319171). - - 18 Apr 2010; pyopengl-3.0.1_beta2.ebuild: - ppc stable #302672 - -*pyopengl-3.0.1 (04 Apr 2010) - - 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.1.ebuild: - Version bump. - - 04 Apr 2010; Raúl Porcel - pyopengl-3.0.1_beta2.ebuild: - alpha/arm/ia64/sh/sparc stable wrt #302672 - - 23 Feb 2010; Christian Faulhammer - pyopengl-3.0.1_beta2.ebuild: - stable x86, bug 302672 - - 10 Feb 2010; Jeroen Roovers pyopengl-3.0.1_beta2.ebuild: - Stable for HPPA (bug #302672). - - 25 Jan 2010; Raúl Porcel - pyopengl-3.0.1_beta2.ebuild: - Add ~alpha/~arm/~ia64/~sh/~sparc wrt #298612 - - 25 Jan 2010; Raúl Porcel - pyopengl-3.0.1_beta1.ebuild: - alpha/ia64/sh/sparc stable wrt #298132 - - 14 Jan 2010; Markus Meier pyopengl-3.0.1_beta1.ebuild: - arm/x86 stable, bug #298132 - - 14 Jan 2010; Brent Baude pyopengl-3.0.1_beta2.ebuild: - Marking pyopengl-3.0.1_beta2 ~ppc for bug 298612 - - 10 Jan 2010; Brent Baude pyopengl-3.0.1_beta1.ebuild: - stable ppc64, bug 298132 - - 10 Jan 2010; Brent Baude pyopengl-3.0.1_beta2.ebuild: - Marking pyopengl-3.0.1_beta2 ~ppc64 for bug 298612 - - 07 Jan 2010; Jeroen Roovers pyopengl-3.0.1_beta1.ebuild: - Stable for HPPA (bug #298132). - - 07 Jan 2010; Jeroen Roovers pyopengl-3.0.1_beta2.ebuild: - Marked ~hppa (bug #298612). - - 07 Jan 2010; Alexis Ballier - pyopengl-3.0.1_beta2.ebuild: - keyword ~x86-fbsd, bug #298612 - - 07 Jan 2010; Steve Dibb pyopengl-3.0.1_beta1.ebuild: - amd64 stable, bug 298132 - - 28 Dec 2009; nixnut pyopengl-3.0.1_beta1.ebuild: - ppc stable #298132 - -*pyopengl-3.0.1_beta2 (28 Dec 2009) - - 28 Dec 2009; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.1_beta2.ebuild: - Version bump. Add optional dependency on dev-tcltk/togl (bug #285352). - -*pyopengl-3.0.1_beta1 (21 Nov 2009) - - 21 Nov 2009; Arfrever Frehtes Taifersar Arahesis - -pyopengl-2.0.0.44.ebuild, -files/pyopengl-2.0.0.44-fix_togl.patch, - -pyopengl-3.0.1_alpha3.ebuild, +pyopengl-3.0.1_beta1.ebuild, - -files/config.diff: - Version bump. - - 08 Oct 2009; Raúl Porcel pyopengl-3.0.0.ebuild: - ia64/sh/sparc stable wrt #271976 - - 21 Sep 2009; Markus Meier pyopengl-3.0.0.ebuild: - arm stable, bug #271976 - -*pyopengl-3.0.1_alpha4 (13 Sep 2009) - - 13 Sep 2009; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.1_alpha4.ebuild: - Version bump. - - 06 Sep 2009; Christian Ruppert - pyopengl-2.0.0.44.ebuild, -files/pyopengl-2.0.1.09-malloc.patch: - Remove unused patch. Fix repoman complains. - - 04 Sep 2009; Patrick Lauer - -pyopengl-3.0.0_beta6.ebuild, -pyopengl-3.0.0_beta8.ebuild, - -pyopengl-3.0.1_alpha1.ebuild: - Remove old - -*pyopengl-3.0.1_alpha3 (29 Aug 2009) - - 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.1_alpha3.ebuild: - Version bump. - -*pyopengl-3.0.1_alpha1 (02 Aug 2009) - - 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.1_alpha1.ebuild: - Version bump. Set SUPPORT_PYTHON_ABIS. - - 19 Jun 2009; Brent Baude pyopengl-3.0.0.ebuild: - stable ppc64, bug 271976 - - 09 Jun 2009; Jeroen Roovers pyopengl-3.0.0.ebuild: - Stable for HPPA (bug #271976). - - 07 Jun 2009; Tobias Klausmann pyopengl-3.0.0.ebuild: - Stable on alpha, bug #271976 - - 06 Jun 2009; nixnut pyopengl-3.0.0.ebuild: - ppc stable #271976 - - 01 Jun 2009; Markus Meier pyopengl-3.0.0.ebuild: - amd64/x86 stable, bug #271976 - -*pyopengl-3.0.0 (16 May 2009) - - 16 May 2009; Arfrever Frehtes Taifersar Arahesis - +pyopengl-3.0.0.ebuild: - Version bump. - - 25 Jan 2009; Patrick Lauer - pyopengl-3.0.0_beta8.ebuild: - Disabling doc useflag in beta8 as upstream does not ship the docs. Closes - #256297 - -*pyopengl-3.0.0_beta8 (24 Jan 2009) - - 24 Jan 2009; Patrick Lauer - +pyopengl-3.0.0_beta8.ebuild: - Bump to beta8, closes #256180 - -*pyopengl-3.0.0_beta6 (25 Oct 2008) - - 25 Oct 2008; Ali Polatel -pyopengl-2.0.1.09.ebuild, - -pyopengl-2.0.1.09-r1.ebuild, -pyopengl-3.0.0_beta1.ebuild, - +pyopengl-3.0.0_beta6.ebuild: - Version bump. Fix python dependency, bug 242688. Use use dependencies - instead of built_with_use. Drop old. - - 29 Jun 2008; Torsten Veller pyopengl-3.0.0_beta1.ebuild: - Add missing die: || "..." -> || die "..." - - 24 Feb 2008; Tiziano Müller - pyopengl-3.0.0_beta1.ebuild: - Fixed typo in built_with_use. Added setuptools dependency (bug #211253). - -*pyopengl-3.0.0_beta1 (24 Feb 2008) - - 24 Feb 2008; Tiziano Müller - +pyopengl-3.0.0_beta1.ebuild: - Version bump (fixes bugs #199961, #137872, #133602 since ctype is being used - instead of swig and bug #202921). - - 22 Jul 2007; Hans de Graaff pyopengl-2.0.0.44.ebuild, - pyopengl-2.0.1.09.ebuild, pyopengl-2.0.1.09-r1.ebuild: - Drop virtual/x11 references. - - 03 Feb 2007; Lukasz Strzygowski - pyopengl-2.0.0.44.ebuild: - Fixed mistaken variable name (bug #157514). - -*pyopengl-2.0.1.09-r1 (27 Jan 2007) - - 27 Jan 2007; Lukasz Strzygowski - +pyopengl-2.0.1.09-r1.ebuild: - Added doc use-flag and fixed to install docs in /usr/share/doc (bug #158511). - - 12 Sep 2006; Marien Zwart pyopengl-2.0.0.44.ebuild, - pyopengl-2.0.1.09.ebuild: - built_with_use tcltk -> built_with_use tk. Thanks to Cardoe for reporting. - - 28 Jul 2006; Javier Villavicencio - pyopengl-2.0.1.09.ebuild: - Added ~x86-fbsd keyword. - - 28 Jul 2006; Alastair Tse - +files/pyopengl-2.0.1.09-malloc.patch, pyopengl-2.0.1.09.ebuild: - freebsd compat patch to remove use of malloc.h (#140940) - - 11 Dec 2005; Donnie Berkholz ; - pyopengl-2.0.1.09.ebuild: - Add modular X dependencies. - - 08 Feb 2005; Fernando Serboncini - pyopengl-2.0.0.44.ebuild, pyopengl-2.0.1.09.ebuild: - Fixed lib vars. Thanks to Tom Payne for the diff. Closes - #81217 - - 07 Feb 2005; Fernando Serboncini - pyopengl-2.0.0.44.ebuild, pyopengl-2.0.1.09.ebuild: - Fixed SED expression. Closes #81164 - - 31 Jan 2005; Fernando Serboncini - -files/pyopengl-2.0.0.44-disable_togl.patch, - +files/pyopengl-2.0.0.44-fix_togl.patch, pyopengl-2.0.0.44.ebuild, - pyopengl-2.0.1.09.ebuild: - removed virtualx eclass dependency on both ebuilds. Closes #80090. - - 28 Jan 2005; Mike Frysinger pyopengl-2.0.0.44.ebuild, - pyopengl-2.0.1.09.ebuild: - Remove opengl-update cruft. - - 25 Jan 2005; Fernando Serboncini - pyopengl-2.0.0.44.ebuild, pyopengl-2.0.1.09.ebuild: - Fixed opengl-update switch on both ebuilds. Fixes #76928 - - 25 Jan 2005; Jeremy Huddleston - pyopengl-2.0.0.44.ebuild, pyopengl-2.0.1.09.ebuild: - Use proper env.d file. - -*pyopengl-2.0.1.09 (25 Jan 2005) - - 25 Jan 2005; Fernando Serboncini - +pyopengl-2.0.1.09.ebuild: - Version bump, closes #68921. - Thanks to Keith Lyon for the ebuild. - - 30 Dec 2004; Ciaran McCreesh : - Change encoding to UTF-8 for GLEP 31 compliance - - 05 Sep 2004; Sven Wegener : - Fixed ChangeLog header. - - 13 Aug 2004; Alastair Tse pyopengl-2.0.0.44.ebuild: - stop unary warnings - - 29 Jul 2004; Tom Gall PyOpenGL-2.0.0.44.ebuild: - stable on ppc64, bug #57015 - -*pyopengl-2.0.0.44 (20 Jul 2004) - - 20 Jul 2004; Bryan Østergaard +metadata.xml, - +files/config.diff, +files/pyopengl-2.0.0.44-disable_togl.patch, - +pyopengl-2.0.0.44.ebuild: - Rename dev-python/PyOpenGL to dev-python/pyopengl. - - 13 May 2004; Stephen P. Becker PyOpenGL-2.0.0.44.ebuild: - Stable on mips. - - 07 May 2004; Bryan Østergaard PyOpenGL-2.0.0.44.ebuild: - Add missing IUSE. - - 11 Apr 2004; Donnie Berkholz ; - PyOpenGL-2.0.0.44.ebuild: - Fixes for xorg-x11 compatibility. - - 09 Apr 2004; Michael Sterrett - PyOpenGL-2.0.0.44.ebuild: - don't assign default to S; inherit eutils for epatch - - 07 Apr 2004; Bart Lauwers PyOpenGL-2.0.0.44.ebuild: - Fix for bug #45435: previous code broke non-nvidia opengl setups - - 16 Mar 2004; Stephen P. Becker PyOpenGL-2.0.0.44.ebuild: - Added ~mips keyword. - - 17 Feb 2004; Aron Griffis PyOpenGL-2.0.0.44.ebuild: - stable on ia64 - - 17 Jan 2004; Bartosch Pixa : - manifest fix - - 16 Jan 2004; Bartosch Pixa - PyOpenGL-2.0.0.44.ebuild: - set ppc in keywords - - 16 Jan 2004; Bart Lauwers PyOpenGL-2.0.0.44.ebuild : - AMD64 keywords. - - 29 Dec 2003; Guy Martin PyOpenGL-2.0.0.44.ebuild: - Marked stable on hppa. - - 25 Dec 2003; Jason Wever PyOpenGL-2.0.0.44.ebuild: - Marked stable on sparc. - - 06 Dec 2003; Alastair Tse PyOpenGL-2.0.0.44.ebuild, - files/PyOpenGL-2.0.0.44-disable_togl.patch: - temporarily disabled ToGL until we find a better solution for tk-8.4.4. please - note that this is going to be deprecated from PyOpenGL in the next release and - is not used by anything in portage. (#32070) Patch thanks to Eamon - Caddigan - - 30 May 2003; Jack Morgan PyOpenGL-2.0.0.44.ebuild: - Changed -sparc to ~sparc - - 16 May 2003; Stanislav Brabec files/config.diff: - Patch updated to build with tk-8.4 (from Chad Netzer - , bugs #20248). - -*PyOpenGL-2.0.0.44 (29 Aug 2002) - - 11 Sep 2002; Nick Hadaway PyOpenGL-2.0.0.44.ebuild : - Updated dependancies to include glut. This addresses bug #7563 - - 29 Aug 2002; Seemant Kulleen PyOpenGL-2.0.0.44.ebuild : - Adjusted so that an X server need not be running. It will use a virtual X - server. - - 29 Aug 2002; Nick Hadaway PyOpenGL-2.0.0.44.ebuild, - files/digest-PyOpenGL-2.0.0.44, files/config.diff : - New ebuild added to support a wxPython opengl enabled build. This ebuild - requires a local or remote xserver running in order to complete the - build. diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest deleted file mode 100644 index f09a8a3..0000000 --- a/dev-python/pyopengl/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST PyOpenGL-3.0.1.tar.gz 698475 RMD160 cd9c3f20ae7154cc4fcb810dea3a24bd469d3c05 SHA1 3a5b4888b0c9f73513c9e41629c32e1279907524 SHA256 79065ba0fec47e9e9514f3be543866f07d7b08071336d566fbf3ab138c442635 -EBUILD pyopengl-3.0.1.ebuild 909 SHA1 59abd43012cd0e09228361caf6196449cf03c2db SHA256 20f3e6e2d88262746410523bac51b871c9ed1248d792680f3fd3909cffd12bcd -MISC ChangeLog 11833 SHA1 897f275c45f7df4aa024f4b5ea93f530cd338d6e SHA256 375dca6fc56f1da6f49f2a2e57392e8a4e656817c3faf182072a104e771c343c -MISC metadata.xml 159 SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/pyopengl/metadata.xml b/dev-python/pyopengl/metadata.xml deleted file mode 100644 index de483c5..0000000 --- a/dev-python/pyopengl/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -python - diff --git a/dev-python/pyopengl/pyopengl-3.0.1.ebuild b/dev-python/pyopengl/pyopengl-3.0.1.ebuild deleted file mode 100644 index fe3d70f..0000000 --- a/dev-python/pyopengl/pyopengl-3.0.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.1.ebuild,v 1.10 2010/12/26 15:26:50 arfrever Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.5" -PYTHON_USE_WITH="tk" -PYTHON_USE_WITH_OPT="tk" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -MY_PN="PyOpenGL" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python OpenGL bindings" -HOMEPAGE="http://pyopengl.sourceforge.net/ http://pypi.python.org/pypi/PyOpenGL" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz - mirror://sourceforge/pyopengl/${MY_P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~amd64-linux ~x86-linux" -IUSE="tk" - -RDEPEND="media-libs/freeglut - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - tk? ( dev-tcltk/togl )" -DEPEND="${RDEPEND} - dev-python/setuptools" -RESTRICT_PYTHON_ABIS="2.4 3.*" - -S="${WORKDIR}/${MY_P}" - -PYTHON_MODNAME="OpenGL" diff --git a/dev-python/wxpython/ChangeLog b/dev-python/wxpython/ChangeLog index 5984a8f..58a806e 100644 --- a/dev-python/wxpython/ChangeLog +++ b/dev-python/wxpython/ChangeLog @@ -1,95 +1,6 @@ # ChangeLog for dev-python/wxpython -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v 1.163 2012/02/28 18:45:32 ranger Exp $ - - 28 Feb 2012; Brent Baude wxpython-2.8.12.1.ebuild: - Marking wxpython-2.8.12.1 ppc for bug 403235 - - 22 Feb 2012; Jeroen Roovers wxpython-2.8.12.1.ebuild: - Stable for HPPA (bug #403235). - - 22 Feb 2012; Patrick Lauer wxpython-2.8.11.0.ebuild, - wxpython-2.8.12.0.ebuild, wxpython-2.8.12.1.ebuild, wxpython-2.9.1.1.ebuild, - wxpython-2.9.3.1.ebuild: - Restricting pypy - - 16 Feb 2012; Markus Meier wxpython-2.8.12.1.ebuild: - arm stable, bug #403235 - - 16 Feb 2012; Pawel Hajdan jr - wxpython-2.8.12.1.ebuild: - x86 stable wrt bug #403235 - - 13 Feb 2012; Agostino Sarubbo wxpython-2.8.12.1.ebuild: - Stable for amd64, wrt bug #403235 - -*wxpython-2.9.3.1 (12 Feb 2012) - - 12 Feb 2012; Ryan Hill +wxpython-2.9.3.1.ebuild: - Version bump (bug #384037 by radhermit). - - 08 Jan 2012; Markos Chandras wxpython-2.8.12.1.ebuild: - Fix a typo. Patch by Arfrever - - 06 Jan 2012; Markos Chandras wxpython-2.8.12.1.ebuild, - wxpython-2.9.1.1.ebuild: - Synchronize ebuilds. Use distutils.eclass. Patch by Arfrever. - - 06 Jan 2012; Markos Chandras wxpython-2.8.12.1.ebuild, - wxpython-2.9.1.1.ebuild: - Don't inherit unused eclass. Properly set local variables. Patch by Arfrever. - - 09 Dec 2011; Samuli Suominen - -files/scripts-multiver-2.6.1.0.diff, -wxpython-2.6.4.0-r2.ebuild: - old - -*wxpython-2.8.12.1 (09 Dec 2011) - - 09 Dec 2011; Ryan Hill +wxpython-2.8.12.1.ebuild: - Version bump. - - 09 Dec 2011; Ryan Hill -wxpython-2.8.10.1.ebuild, - -files/wxpython-2.8-drop-editra.patch: - Remove old. - - 16 Jul 2011; Kacper Kowalik wxpython-2.8.11.0.ebuild: - ppc64 stable wrt #364203 - - 28 Jun 2011; Brent Baude wxpython-2.8.11.0.ebuild: - Marking wxpython-2.8.11.0 ppc for bug 364203 - - 04 Jun 2011; Raúl Porcel wxpython-2.8.11.0.ebuild: - alpha/ia64/sh/sparc stable wrt #364203 - - 21 May 2011; Thomas Kahle wxpython-2.8.11.0.ebuild: - x86 stable per bug 364203 - - 13 May 2011; Markus Meier wxpython-2.8.11.0.ebuild: - arm stable, bug #364203 - - 27 Apr 2011; Christoph Mende wxpython-2.8.11.0.ebuild: - Stable on amd64 wrt bug #364203 - - 26 Apr 2011; Jeroen Roovers wxpython-2.8.11.0.ebuild: - Stable for HPPA (bug #364203). - - 22 Apr 2011; Ryan Hill wxpython-2.8.11.0.ebuild, - wxpython-2.8.12.0.ebuild: - Don't install non-working binary stuff into DOCDIR (bug #364393 by ago). - -*wxpython-2.8.12.0 (20 Apr 2011) - - 20 Apr 2011; Ryan Hill +wxpython-2.8.12.0.ebuild, - +files/wxpython-2.8.12-drop-editra.patch: - Version bump (bug #363319). - - 29 Mar 2011; Christoph Mende wxpython-2.6.4.0-r2.ebuild, - wxpython-2.8.10.1.ebuild: - Fixed slot deps - - 27 Feb 2011; Ryan Hill wxpython-2.8.10.1.ebuild, - wxpython-2.8.11.0.ebuild, wxpython-2.9.1.1.ebuild: - Slot gnome stuff. +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v 1.139 2011/01/23 01:12:36 dirtyepic Exp $ *wxpython-2.9.1.1 (23 Jan 2011) diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index f23734d..074de7c 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,8 +1,27 @@ +AUX wxpython-2.8-cache-writable.patch 538 RMD160 1d627cfae8a819850d6f6807b6547b138e63e5a0 SHA1 e6c4e5732f2a3792bea50a9ff51d233569ca490e SHA256 caf371fdd36ae60b36754f6fa66df3887c3ee2e1dd509f8cc8bc92525942f429 +AUX wxpython-2.8-drop-editra.patch 2276 RMD160 dc3b1e9fbf57d5c5c4c97c6f6ccaf1bc00d5ebf9 SHA1 755549eea057f3f84ffdd19c3d7ea8f1ed7a3ca8 SHA256 b54b8ddf0f50e0d6c214d7e7d7105389a160a633ee2307b2f4a4c09b40a65f28 +AUX wxpython-2.8-wxversion-demo.patch 219 RMD160 5ec8b5179fe03493786965849494adb0f697eb23 SHA1 92ccb9e099def1ff9ff842b5bfbbd769c1d06c6e SHA256 19618386cf750f56051541c403153bf1c7e90764199e53818eb0c9557d026f1c AUX wxpython-2.8.11-drop-editra.patch 2197 RMD160 49364666c2c71f58bc89d63dbce7086cf786ea95 SHA1 9777b6e20a095249eb9a51f99ecefdea709c5066 SHA256 a0774e4c273485711cb3da4d70cf7bf0766a9f189fafdc7bae07186d553f341b +AUX wxpython-2.8.12-drop-editra.patch 2643 RMD160 11d3cda0646e79ec78fa720650d188cec452d2f7 SHA1 5ac5dd8506d86968a2b8621e8ee6b85f8e1757cc SHA256 bbe4960ab735f344916e36cb772a1a6c7e27d6540c7ee1dcd8437bff8fb6bee8 +AUX wxpython-2.8.9-wxversion-scripts.patch 7730 RMD160 e93c7b883b1ad22011df069d8d6ad24938ea8b07 SHA1 cf05e834a6e4325f51881f62113922e3aa20f5c4 SHA256 55b1caa38295338dda3cc9ebfa4e43eb3be76959a0ee9b23a7b81085d80d7ba6 AUX wxpython-2.9-wxversion-demo.patch 147 RMD160 5a666314fe5893d8246b73ebbc32e00b928c9e1a SHA1 73499356a2cd2f8262ca0624dea6f9b38f93a371 SHA256 79c0cb7455fe6947ba9b7278d98e2c6da156edd5e5c276b03cc7fff5d3073d14 AUX wxpython-2.9-wxversion-scripts.patch 4600 RMD160 6bc6f7966c39c2e072aec65412858843c957b4d0 SHA1 983db57bcfd143378cd81d28a1008f0d04733e1c SHA256 6c5cd5f3daa51bf3c033f1c934ac1ce219a421a7e993660c64ac532a9dd96675 -DIST wxPython-demo-2.9.3.1.tar.bz2 3959076 RMD160 3f12ba73e2a228d7b9fe46b8af410979447814a4 SHA1 2d9c83128eb78ee33a003d83e8c5bb82d12db0be SHA256 6e26ead8c780ecbcebb68593a72cd28432b2e756a42e019286d970d6a92ac340 -DIST wxPython-src-2.9.3.1.tar.bz2 49131100 RMD160 cd19b1d07d39c7918c72cf124f4f5cd48836d781 SHA1 0202f64e1e99fb69d22d7be0d38cf7dcf3d80d79 SHA256 7bae5bf45e98eba836472bdb358330f867c69de3a347860edd48fcb53690040d -EBUILD wxpython-2.9.3.1.ebuild 4363 RMD160 8d3092bd94f9c3b47f5df8a20dbe13428908ba7e SHA1 ed2ef215d4488734f063a3f57c611ad58170cb68 SHA256 02da994677dc4a0b4a6d3389be256c21b333d2e76142bde278ff1c99a5a43923 -MISC ChangeLog 29193 RMD160 edb060658eeb712d5da81cf8c6be5703417dd300 SHA1 98f164e8a80d7f67bb6b3205d68531ff73bcc13a SHA256 2b29efd38d148af3aa329b40763310073f87e34d81d4d8b4f496e60f2c56eefd +DIST wxPython-demo-2.8.10.1.tar.bz2 3605257 RMD160 00aa54621e3b0a16c2f77bb8b7663a64328c5e75 SHA1 2dc2df3ae3180866715ee7a2e9c2eb5bd7231ab2 SHA256 b2f15413e117547344a4b80db8bf6d2750c333454fcea427b38c9b62793643a0 +DIST wxPython-demo-2.8.11.0.tar.bz2 3894559 RMD160 74337736081d809e85e212c72a45cfd7bd23c236 SHA1 9e9a148bf8590d69bc652c535c8dc5b860f01043 SHA256 b4463d50bb597b66471e218f94e6e6f94e05689735038348f9689de941cc24d3 +DIST wxPython-demo-2.8.12.1.tar.bz2 3906851 RMD160 8274d1e227bceb76274776f8c42ffcb0f60fd39d SHA1 ca9e6a10c523e59fb9b0018c4862deeeb26c431d SHA256 252282193a80590b9eab436bef322701b21d35ad03b4b6ebb4824241ff947b5a +DIST wxPython-demo-2.9.1.1.tar.bz2 3925228 RMD160 082f1610dc2b2a9852d52077c09da54f3e162d73 SHA1 8b0fe8032d6e85950850d42dbd57882d1fda7fc9 SHA256 f3b689e17f347744b55fff948dc68f58905ba35a9647c3b3c2cf881374522371 +DIST wxPython-docs-2.8.10.1.tar.bz2 2331639 RMD160 c1eadac650401895ae32739b316cda3c06cd60bf SHA1 d096994904aabdc23ca6717af640b32963798a16 SHA256 3992384869dcb3c757da5f4e63e7ef4ab24f2fa1842edd5e126be4856bb951c0 +DIST wxPython-docs-2.8.11.0.tar.bz2 2331727 RMD160 da31b1da7e8f4862c404a14de2216216ab53aae4 SHA1 6d42177e72b93f286f55cc298bc7ab29531ffa7f SHA256 1e95cf1033902fd4c7abc1b9d34688179f8b699a0f74455fec541a6ad421590d +DIST wxPython-docs-2.8.12.1.tar.bz2 2331363 RMD160 245f1c20dcde4525f8fdcbfe2d82812ff8b4a92f SHA1 d83939f1f2d0592e2fa3000907d099ee8db32fd0 SHA256 1dfae3a74b91e2003856eed51698c51094f1a4e6688633ae61af7a22fa8a0ddb +DIST wxPython-newdocs-2.8.9.2.tar.bz2 1503913 RMD160 86084386383904972df15aa65ca26d1ad1a28a5d SHA1 eedef5ef87824b28a6fe4d338420cf6249ac1f2f SHA256 890b6b7ca37ba7aaa27f9716ea9992ac75ed8150e83939506e3c47f86e7f37a8 +DIST wxPython-src-2.8.10.1.tar.bz2 29770994 RMD160 bb606046d140623041b988e64ab268ced9aa958f SHA1 6598fbafd979a91f20100171fa23a91779f6dc62 SHA256 447690773279088e9d06dcfe56f00f310c0186de435969bb60b04ed0c3f25f5f +DIST wxPython-src-2.8.11.0.tar.bz2 30604503 RMD160 9e93b0acaf85ba1a4be9c324a872037c44a7694a SHA1 18982edc236a1d87e4eef018928358c925aa5b17 SHA256 210c568bdec811b10fbf8274e9659c8e52823d31fdda9010dbba725194f66661 +DIST wxPython-src-2.8.12.1.tar.bz2 31311482 RMD160 94eae06087bdd930e21bf90cc6672f93a1f5a17a SHA1 05688dc03d61631750f5904273122bb40a2115f5 SHA256 1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0 +DIST wxPython-src-2.9.1.1.tar.bz2 40441688 RMD160 921fdd48c3a0c6fca86073a0588c357231d6fd5c SHA1 886196021bb7712ddf0f2a368137fde26e6e7823 SHA256 613ecb71dbb65b5938ea323bd5cd896b26853e46c4aa45fbf4837fc7e041583a +EBUILD wxpython-2.8.10.1.ebuild 5726 RMD160 6f25d8eb0db256a2ad7e9a6e03ab3a035e650c8c SHA1 09cf643c1dd15e5736f6ddb1bf22bdac03e0fa76 SHA256 487de05b2481c7e157204a73f4990b6c2051a4ab3b134defc734e2661929e414 +EBUILD wxpython-2.8.11.0.ebuild 5729 RMD160 2a09b118b817dfbd1b1f380b07e97c7b3786be3e SHA1 723129aa8089f03540d0875a321af09182ec3fd4 SHA256 3974f538f86094291348af2bb8eb8b1d1a0b8a1095248148b398869b9a5b6615 +EBUILD wxpython-2.8.12.1.ebuild 5125 RMD160 efb9c55fef3f62f84fec2f4eb421dc5c759167fc SHA1 aeadb1e081ee4d510c142144f5e72ef6bb85a848 SHA256 3667782a211e53a054b74db6d2adbcae539718f439b6d0d8d78200f0aa3eaf31 +EBUILD wxpython-2.9.1.1.ebuild 5274 RMD160 1cdad58904b4c4994b6f62a173bc5d504d538ca8 SHA1 7772b19fe3acc5176e74c2a2dbbb3f7bab4239e0 SHA256 a865cddcab9dff1f9ff3bc84a7eef9a41f56738a3fbbe4551bf6fa4de1516001 +MISC ChangeLog 26026 RMD160 ba1a8340cfa711b71900712d3b47db925bad1e1a SHA1 65c48f612562094d64596f580eb28dc8727de8b6 SHA256 71d49768f7b5a47f14fde25ccdf965f4e3a251c7b38296317ed541825e62a347 MISC metadata.xml 366 RMD160 3241adb1423f2ce702bc75172a071d7c24c335e3 SHA1 363953bc2e7c364bdc92278ce391df6820c8b063 SHA256 d90a8fa164deff1b8cfa28cf401483424addfceeca8cd35539b7f2bbb3280cff +MISC wxpython.patch 3985 RMD160 4c9ba1a03c2b0496fef104b3a6fdd591e56aec11 SHA1 073857020a27d30b9156b6a82d8153ef06e34367 SHA256 0645f59e19d623e7a5faac6a33d68a6ec4900bf1d9b941c2d09e687525d015de diff --git a/dev-python/wxpython/wxpython-2.9.3.1.ebuild b/dev-python/wxpython/wxpython-2.9.3.1.ebuild deleted file mode 100644 index 95eef56..0000000 --- a/dev-python/wxpython/wxpython-2.9.3.1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.9.3.1.ebuild,v 1.2 2012/02/22 14:51:31 patrick Exp $ - -EAPI="4" -PYTHON_DEPEND="2:2.6" -WX_GTK_VER="2.9" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython 2.7-pypy-*" - -inherit alternatives distutils eutils fdo-mime wxwidgets - -MY_P="${P/wxpython-/wxPython-src-}" - -DESCRIPTION="A blending of the wxWindows C++ class library with Python" -HOMEPAGE="http://www.wxpython.org/" -SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 - examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" - -LICENSE="wxWinLL-3" -SLOT="2.9" -KEYWORDS="~x86-linux" -IUSE="cairo examples opengl" - -RDEPEND=" - >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X] - dev-libs/glib:2 - dev-python/setuptools - media-libs/libpng:0 - media-libs/tiff:0 - virtual/jpeg - x11-libs/gtk+:2 - x11-libs/pango[X] - cairo? ( >=dev-python/pycairo-1.8.4 ) - opengl? ( dev-python/pyopengl )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_P}/wxPython" -DOC_S="${WORKDIR}/wxPython-${PV}" - -PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") -PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") - -PYTHON_MODNAME="wx-${PV%.*}-gtk2 wxversion.py" - -src_prepare() { - sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" - - epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-scripts.patch - # drop editra - we have it as a separate package now - epatch "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch - - if use examples; then - cd "${DOC_S}" - epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch - fi - - python_copy_sources -} - -src_configure() { - need-wxwidgets unicode - - DISTUTILS_GLOBAL_OPTIONS=( - "* WX_CONFIG=${WX_CONFIG}" - "* WXPORT=gtk2" - "* UNICODE=1" - "* BUILD_GLCANVAS=$(use opengl && echo 1 || echo 0)" - ) -} - -distutils_src_install_post_hook() { - # Collision protection. - local file - for file in "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/bin/"*; do - mv "${file}" "${file}-${SLOT}" - done -} - -src_install() { - local file x - - distutils_src_install - - # this should be temporary - dobin "${S}"/scripts/pyslices || die - dobin "${S}"/scripts/pysliceshell || die - - # Collision protection. - rename_files() { - for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do - mv "${file}" "${file}-${SLOT}" || return 1 - done - } - python_execute_function -q rename_files - - dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt - - insinto /usr/share/applications - for x in {Py{AlaMode,Crust,Shell,Slices{,Shell}},XRCed}; do - newins "${S}"/distrib/${x}.desktop ${x}-${SLOT}.desktop - done - insinto /usr/share/pixmaps - newins "${S}"/wx/py/PyCrust_32.png PyCrust-${SLOT}.png - newins "${S}"/wx/py/PySlices_32.png PySlices-${SLOT}.png - newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed-${SLOT}.png - - if use examples; then - dodir /usr/share/doc/${PF}/demo - dodir /usr/share/doc/${PF}/samples - cp -R "${DOC_S}"/demo/* "${ED}"/usr/share/doc/${PF}/demo/ || die - cp -R "${DOC_S}"/samples/* "${ED}"/usr/share/doc/${PF}/samples/ || die - fi -} - -pkg_postinst() { - fdo-mime_desktop_database_update - - create_symlinks() { - alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" - } - python_execute_function -q create_symlinks - - distutils_pkg_postinst - - echo - elog "Gentoo uses the Multi-version method for SLOT'ing." - elog "Developers, see this site for instructions on using" - elog "2.8 or 2.9 with your apps:" - elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" - elog - if use examples; then - elog "The demo.py app which contains demo modules with" - elog "documentation and source code has been installed at" - elog "/usr/share/doc/${PF}/demo/demo.py" - elog - elog "More example apps and modules can be found in" - elog "/usr/share/doc/${PF}/samples/" - fi - echo -} - -pkg_postrm() { - distutils_pkg_postrm - fdo-mime_desktop_database_update - - create_symlinks() { - alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" - } - python_execute_function -q create_symlinks -} -- cgit v1.2.3-65-gdbad From 3ffaa9ca918b8db0e9a8c1e789d2443026bd1d8e Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 16 Aug 2012 18:00:33 +0900 Subject: place holder --- app-admin/eselect-boost.patch | 161 + app-admin/eselect-mesa/ChangeLog | 48 + app-admin/eselect-mesa/Manifest | 4 + app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild | 30 + app-admin/eselect-mesa/metadata.xml | 5 + cross-powerpc-unknown-linux-gnu/gdb/ChangeLog | 706 +++++ cross-powerpc-unknown-linux-gnu/gdb/Manifest | 13 + .../gdb/files/gdb-6.7.1-solaris.patch | 16 + .../gdb/files/gdb-6.8-solaris64.patch | 40 + .../gdb/files/gdb-6.8-tui-rlapi.patch | 66 + .../gdb/gdb-6.8-r2.ebuild | 94 + .../gdb/gdb-7.2.50.20101117.4.15.ebuild | 121 + cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.ebuild | 121 + cross-powerpc-unknown-linux-gnu/gdb/metadata.xml | 8 + cross-powerpc-unknown-linux-gnu/glibc/ChangeLog | 3145 ++++++++++++++++++++ cross-powerpc-unknown-linux-gnu/glibc/Manifest | 29 + .../glibc/files/eblits/common.eblit | 287 ++ .../glibc/files/eblits/pkg_postinst.eblit | 29 + .../glibc/files/eblits/pkg_preinst.eblit | 83 + .../glibc/files/eblits/pkg_setup.eblit | 67 + .../glibc/files/eblits/src_compile.eblit | 208 ++ .../glibc/files/eblits/src_install.eblit | 252 ++ .../glibc/files/eblits/src_test.eblit | 42 + .../glibc/files/eblits/src_unpack.eblit | 178 ++ .../glibc/files/glibc-2.10-gentoo-chk_fail.c | 315 ++ .../glibc-2.10-hardened-configure-picdefault.patch | 30 + .../glibc-2.10-hardened-inittls-nosysenter.patch | 274 ++ .../files/glibc-2.10-hardened-ssp-compat.patch | 168 ++ .../glibc/files/glibc-2.11-hardened-pie.patch | 40 + .../glibc/files/glibc-2.12-hardened-pie.patch | 39 + .../glibc/files/glibc-2.6-gentoo-stack_chk_fail.c | 321 ++ .../glibc/files/index.html | 42 + .../glibc/files/pkg_postinst.eblit | 29 + .../glibc/glibc-2.11.2.ebuild | 241 ++ .../glibc/glibc-2.12.1-r2.ebuild | 257 ++ cross-powerpc-unknown-linux-gnu/glibc/metadata.xml | 13 + dev-python/pypy/ChangeLog | 99 + dev-python/pypy/Manifest | 16 + dev-python/pypy/files/1.7-scripts-location.patch | 11 + .../pypy/files/1.8-elf-metadata-26a8d3fc57a7.patch | 10 + .../files/1.8-sext-instructions-02dc2f6160ee.patch | 22 + ...ils-fix_handling_of_executables_and_flags.patch | 391 +++ ....UnixCCompiler.runtime_library_dir_option.patch | 11 + .../pypy/files/1.9-no-bytecode-4151f9c406b6.patch | 27 + dev-python/pypy/files/1.9-scripts-location.patch | 11 + ...ils-fix_handling_of_executables_and_flags.patch | 391 +++ ....UnixCCompiler.runtime_library_dir_option.patch | 11 + .../pypy/files/pypy-1.9-no-static-hack.patch | 22 + dev-python/pypy/metadata.xml | 15 + dev-python/pypy/pypy-1.8-r1.ebuild | 102 + dev-python/pypy/pypy-1.9.ebuild | 102 + .../files/wxpython-2.8-cache-writable.patch | 20 + .../wxpython/files/wxpython-2.8-drop-editra.patch | 49 + .../files/wxpython-2.8-wxversion-demo.patch | 10 + .../files/wxpython-2.8.12-drop-editra.patch | 55 + .../files/wxpython-2.8.9-wxversion-scripts.patch | 191 ++ dev-python/wxpython/wxpython-2.8.10.1.ebuild | 193 ++ dev-python/wxpython/wxpython-2.8.11.0.ebuild | 193 ++ dev-python/wxpython/wxpython-2.8.12.1.ebuild | 173 ++ dev-python/wxpython/wxpython-2.9.1.1.ebuild | 178 ++ dev-python/wxpython/wxpython.patch | 120 + media-libs/mesa/Manifest | 5 + media-libs/mesa/files/eselect-mesa.conf.7.11 | 39 + media-libs/mesa/files/glx_ro_text_segm.patch | 28 + .../mesa/files/mesa-glibc-2.3.5-initstate_r.patch | 25 + media-libs/mesa/mesa-7.11.1.ebuild | 370 +++ media-video/libav/ChangeLog | 411 +++ media-video/libav/Manifest | 11 + .../libav/files/libav-0.8.3-frei0r-ldl.patch | 17 + media-video/libav/libav-0.8.2-r2.ebuild | 303 ++ media-video/libav/libav-0.8.2.ebuild | 307 ++ media-video/libav/libav-0.8.3.ebuild | 303 ++ media-video/libav/libav-0.8.9999.ebuild | 303 ++ media-video/libav/libav-9999.ebuild | 326 ++ media-video/libav/metadata.xml | 40 + sci-physics/geant-python/ChangeLog | 22 + sci-physics/geant-python/Manifest | 16 + .../files/geant-python-4.9.3-RunMan.patch | 157 + .../files/geant-python-4.9.3-VisAtt.patch | 10 + .../files/geant-python-4.9.3-build.patch | 43 + .../files/geant-python-4.9.5-TrkMan.patch | 12 + .../files/geant-python-4.9.5-build.patch | 39 + .../files/geant-python-4.9.5-vis-fix.patch | 31 + .../files/geant-python-4.9.5-visverbose.patch | 13 + sci-physics/geant-python/geant-python-4.9.3.ebuild | 72 + .../geant-python/geant-python-4.9.3_p02.ebuild | 70 + sci-physics/geant-python/geant-python-4.9.5.ebuild | 68 + .../geant-python/geant-python-4.9.5_p01.ebuild | 83 + sci-physics/geant-python/metadata.xml | 8 + sci-physics/geant/files/geant-4.9.2-zlib.patch | 11 + .../geant/files/geant-4.9.3-respect_flags.patch | 125 + sci-physics/geant/files/geant-4.9.3-zlib.patch | 27 + sci-physics/geant/files/geant-4.9.4-datadir.patch | 43 + sci-physics/geant/files/geant-4.9.4-libdir.patch | 35 + .../geant/files/geant-4.9.4-no-benchmarks.patch | 10 + .../geant/files/geant-4.9.4-no-examples.patch | 15 + .../geant/files/geant-4.9.4-trajectory.patch | 11 + .../geant-4.9.5_p01-scripts-only-dataenv.patch | 56 + sci-physics/geant/geant-3.21.14-r2.ebuild | 72 + sci-physics/geant/geant-3.21.14-r3.ebuild | 70 + sci-physics/geant/geant-4.9.2_p02.ebuild | 264 ++ sci-physics/geant/geant-4.9.3_p02.ebuild | 263 ++ sci-physics/geant/geant-4.9.4_p03.ebuild | 86 + sci-physics/geant/geant-4.9.5_p01.ebuild | 86 + sys-apps/lshw/ChangeLog | 349 +++ sys-apps/lshw/Manifest | 5 + sys-apps/lshw/files/lshw-02.15b-build.patch | 119 + sys-apps/lshw/lshw-02.15b.ebuild | 54 + sys-apps/lshw/metadata.xml | 5 + sys-apps/openrc/ChangeLog | 1019 +++++++ sys-apps/openrc/Manifest | 33 + sys-apps/openrc/files/openrc-0.8.3-ccwgroup.patch | 57 + .../files/openrc-0.8.3-deprecation_warning.patch | 33 + sys-apps/openrc/files/openrc-0.9.9.3-funcsh.patch | 11 + sys-apps/openrc/files/openrc-0.9.9.3-uprefix.patch | 11 + sys-apps/openrc/files/openrc-9999-msg-style.patch | 81 + sys-apps/openrc/files/openrc-9999-pause.patch | 29 + sys-apps/openrc/files/openrc.logrotate | 7 + sys-apps/openrc/files/start-stop-daemon.pam | 2 + sys-apps/openrc/metadata.xml | 5 + sys-apps/openrc/openrc-0.10.1.ebuild | 436 +++ sys-apps/openrc/openrc-0.10.2.ebuild | 436 +++ sys-apps/openrc/openrc-0.10.3.ebuild | 436 +++ sys-apps/openrc/openrc-0.10.4.ebuild | 436 +++ sys-apps/openrc/openrc-0.10.5.ebuild | 436 +++ sys-apps/openrc/openrc-0.10.ebuild | 436 +++ sys-apps/openrc/openrc-0.9.8.4.ebuild | 423 +++ sys-apps/openrc/openrc-0.9.9.1.ebuild | 426 +++ sys-apps/openrc/openrc-0.9.9.2.ebuild | 426 +++ sys-apps/openrc/openrc-0.9.9.3.ebuild | 436 +++ sys-apps/openrc/openrc-0.9.9.ebuild | 426 +++ sys-apps/openrc/openrc-9999.ebuild | 443 +++ sys-apps/portage/ChangeLog | 2493 ++++++++++++++++ sys-apps/portage/Manifest | 23 + sys-apps/portage/files/05portage.envd | 1 + .../portage-2.2.00.15801-prefix-chaining.patch | 693 +++++ .../files/portage-2.2.01.18213-ebuildshell.patch | 105 + .../portage-2.2.01.18826-aix-preservelibs.patch | 32 + .../files/portage-2.2.01.18980-ebuildshell.patch | 103 + .../portage-2.2.01.19247-aix-preserve-libs.patch | 163 + .../files/portage-2.2.01.19247-ebuildshell.patch | 105 + .../files/portage-2.2.01.19981-ebuildshell.patch | 105 + .../files/portage-2.2.01.20020-ebuildshell.patch | 137 + .../files/portage-2.2.01.20239-ebuildshell.patch | 148 + .../files/portage-2.2.01.20336-openrc.patch | 19 + sys-apps/portage/metadata.xml | 13 + sys-apps/portage/portage-2.2.01.20271.ebuild | 282 ++ sys-apps/portage/portage-2.2.01.20366.ebuild | 283 ++ sys-apps/portage/portage-2.2.01.20389.ebuild | 283 ++ sys-apps/portage/portage-2.2.01.20430.ebuild | 283 ++ sys-apps/portage/portage-9999.ebuild | 331 ++ sys-process/runit/ChangeLog | 128 + sys-process/runit/Manifest | 16 + sys-process/runit/files/1 | 10 + sys-process/runit/files/2 | 6 + sys-process/runit/files/3 | 15 + sys-process/runit/files/3-1.4 | 14 + sys-process/runit/files/ctrlaltdel | 9 + sys-process/runit/files/finish.getty | 2 + sys-process/runit/files/run.getty | 2 + sys-process/runit/metadata.xml | 5 + sys-process/runit/runit-1.7.0.ebuild | 65 + sys-process/runit/runit-2.0.0.ebuild | 65 + sys-process/runit/runit-2.1.1-r1.ebuild | 74 + sys-process/runit/runit-2.1.1.ebuild | 58 + www-servers/nginx/ChangeLog | 1789 +++++++++++ www-servers/nginx/Manifest | 15 + www-servers/nginx/files/nginx.conf | 72 + www-servers/nginx/files/nginx.initd | 87 + www-servers/nginx/files/nginx.logrotate | 11 + www-servers/nginx/metadata.xml | 27 + www-servers/nginx/nginx-1.2.0.ebuild | 379 +++ x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild | 178 ++ x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild | 169 ++ 174 files changed, 30065 insertions(+) create mode 100644 app-admin/eselect-boost.patch create mode 100644 app-admin/eselect-mesa/ChangeLog create mode 100644 app-admin/eselect-mesa/Manifest create mode 100644 app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild create mode 100644 app-admin/eselect-mesa/metadata.xml create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/ChangeLog create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/Manifest create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.7.1-solaris.patch create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-solaris64.patch create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-tui-rlapi.patch create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/gdb-6.8-r2.ebuild create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.50.20101117.4.15.ebuild create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.ebuild create mode 100644 cross-powerpc-unknown-linux-gnu/gdb/metadata.xml create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/ChangeLog create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/Manifest create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/common.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_postinst.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_preinst.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_setup.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_compile.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_install.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_test.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_unpack.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-gentoo-chk_fail.c create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-configure-picdefault.patch create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-inittls-nosysenter.patch create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-ssp-compat.patch create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.11-hardened-pie.patch create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.12-hardened-pie.patch create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.6-gentoo-stack_chk_fail.c create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/index.html create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/files/pkg_postinst.eblit create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/glibc-2.11.2.ebuild create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/glibc-2.12.1-r2.ebuild create mode 100644 cross-powerpc-unknown-linux-gnu/glibc/metadata.xml create mode 100644 dev-python/pypy/ChangeLog create mode 100644 dev-python/pypy/Manifest create mode 100644 dev-python/pypy/files/1.7-scripts-location.patch create mode 100644 dev-python/pypy/files/1.8-elf-metadata-26a8d3fc57a7.patch create mode 100644 dev-python/pypy/files/1.8-sext-instructions-02dc2f6160ee.patch create mode 100644 dev-python/pypy/files/1.9-distutils-fix_handling_of_executables_and_flags.patch create mode 100644 dev-python/pypy/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch create mode 100644 dev-python/pypy/files/1.9-no-bytecode-4151f9c406b6.patch create mode 100644 dev-python/pypy/files/1.9-scripts-location.patch create mode 100644 dev-python/pypy/files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch create mode 100644 dev-python/pypy/files/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch create mode 100644 dev-python/pypy/files/pypy-1.9-no-static-hack.patch create mode 100644 dev-python/pypy/metadata.xml create mode 100644 dev-python/pypy/pypy-1.8-r1.ebuild create mode 100644 dev-python/pypy/pypy-1.9.ebuild create mode 100644 dev-python/wxpython/files/wxpython-2.8-cache-writable.patch create mode 100644 dev-python/wxpython/files/wxpython-2.8-drop-editra.patch create mode 100644 dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch create mode 100644 dev-python/wxpython/files/wxpython-2.8.12-drop-editra.patch create mode 100644 dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch create mode 100644 dev-python/wxpython/wxpython-2.8.10.1.ebuild create mode 100644 dev-python/wxpython/wxpython-2.8.11.0.ebuild create mode 100644 dev-python/wxpython/wxpython-2.8.12.1.ebuild create mode 100644 dev-python/wxpython/wxpython-2.9.1.1.ebuild create mode 100644 dev-python/wxpython/wxpython.patch create mode 100644 media-libs/mesa/Manifest create mode 100644 media-libs/mesa/files/eselect-mesa.conf.7.11 create mode 100644 media-libs/mesa/files/glx_ro_text_segm.patch create mode 100644 media-libs/mesa/files/mesa-glibc-2.3.5-initstate_r.patch create mode 100644 media-libs/mesa/mesa-7.11.1.ebuild create mode 100644 media-video/libav/ChangeLog create mode 100644 media-video/libav/Manifest create mode 100644 media-video/libav/files/libav-0.8.3-frei0r-ldl.patch create mode 100644 media-video/libav/libav-0.8.2-r2.ebuild create mode 100644 media-video/libav/libav-0.8.2.ebuild create mode 100644 media-video/libav/libav-0.8.3.ebuild create mode 100644 media-video/libav/libav-0.8.9999.ebuild create mode 100644 media-video/libav/libav-9999.ebuild create mode 100644 media-video/libav/metadata.xml create mode 100644 sci-physics/geant-python/ChangeLog create mode 100644 sci-physics/geant-python/Manifest create mode 100644 sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.3-build.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.5-build.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch create mode 100644 sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch create mode 100644 sci-physics/geant-python/geant-python-4.9.3.ebuild create mode 100644 sci-physics/geant-python/geant-python-4.9.3_p02.ebuild create mode 100644 sci-physics/geant-python/geant-python-4.9.5.ebuild create mode 100644 sci-physics/geant-python/geant-python-4.9.5_p01.ebuild create mode 100644 sci-physics/geant-python/metadata.xml create mode 100644 sci-physics/geant/files/geant-4.9.2-zlib.patch create mode 100644 sci-physics/geant/files/geant-4.9.3-respect_flags.patch create mode 100644 sci-physics/geant/files/geant-4.9.3-zlib.patch create mode 100644 sci-physics/geant/files/geant-4.9.4-datadir.patch create mode 100644 sci-physics/geant/files/geant-4.9.4-libdir.patch create mode 100644 sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch create mode 100644 sci-physics/geant/files/geant-4.9.4-no-examples.patch create mode 100644 sci-physics/geant/files/geant-4.9.4-trajectory.patch create mode 100644 sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch create mode 100644 sci-physics/geant/geant-3.21.14-r2.ebuild create mode 100644 sci-physics/geant/geant-3.21.14-r3.ebuild create mode 100644 sci-physics/geant/geant-4.9.2_p02.ebuild create mode 100644 sci-physics/geant/geant-4.9.3_p02.ebuild create mode 100644 sci-physics/geant/geant-4.9.4_p03.ebuild create mode 100644 sci-physics/geant/geant-4.9.5_p01.ebuild create mode 100644 sys-apps/lshw/ChangeLog create mode 100644 sys-apps/lshw/Manifest create mode 100644 sys-apps/lshw/files/lshw-02.15b-build.patch create mode 100644 sys-apps/lshw/lshw-02.15b.ebuild create mode 100644 sys-apps/lshw/metadata.xml create mode 100644 sys-apps/openrc/ChangeLog create mode 100644 sys-apps/openrc/Manifest create mode 100644 sys-apps/openrc/files/openrc-0.8.3-ccwgroup.patch create mode 100644 sys-apps/openrc/files/openrc-0.8.3-deprecation_warning.patch create mode 100644 sys-apps/openrc/files/openrc-0.9.9.3-funcsh.patch create mode 100644 sys-apps/openrc/files/openrc-0.9.9.3-uprefix.patch create mode 100644 sys-apps/openrc/files/openrc-9999-msg-style.patch create mode 100644 sys-apps/openrc/files/openrc-9999-pause.patch create mode 100644 sys-apps/openrc/files/openrc.logrotate create mode 100644 sys-apps/openrc/files/start-stop-daemon.pam create mode 100644 sys-apps/openrc/metadata.xml create mode 100644 sys-apps/openrc/openrc-0.10.1.ebuild create mode 100644 sys-apps/openrc/openrc-0.10.2.ebuild create mode 100644 sys-apps/openrc/openrc-0.10.3.ebuild create mode 100644 sys-apps/openrc/openrc-0.10.4.ebuild create mode 100644 sys-apps/openrc/openrc-0.10.5.ebuild create mode 100644 sys-apps/openrc/openrc-0.10.ebuild create mode 100644 sys-apps/openrc/openrc-0.9.8.4.ebuild create mode 100644 sys-apps/openrc/openrc-0.9.9.1.ebuild create mode 100644 sys-apps/openrc/openrc-0.9.9.2.ebuild create mode 100644 sys-apps/openrc/openrc-0.9.9.3.ebuild create mode 100644 sys-apps/openrc/openrc-0.9.9.ebuild create mode 100644 sys-apps/openrc/openrc-9999.ebuild create mode 100644 sys-apps/portage/ChangeLog create mode 100644 sys-apps/portage/Manifest create mode 100644 sys-apps/portage/files/05portage.envd create mode 100644 sys-apps/portage/files/portage-2.2.00.15801-prefix-chaining.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.18213-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.18826-aix-preservelibs.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.18980-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.19247-aix-preserve-libs.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.19247-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.19981-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.20020-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.20239-ebuildshell.patch create mode 100644 sys-apps/portage/files/portage-2.2.01.20336-openrc.patch create mode 100644 sys-apps/portage/metadata.xml create mode 100644 sys-apps/portage/portage-2.2.01.20271.ebuild create mode 100644 sys-apps/portage/portage-2.2.01.20366.ebuild create mode 100644 sys-apps/portage/portage-2.2.01.20389.ebuild create mode 100644 sys-apps/portage/portage-2.2.01.20430.ebuild create mode 100644 sys-apps/portage/portage-9999.ebuild create mode 100644 sys-process/runit/ChangeLog create mode 100644 sys-process/runit/Manifest create mode 100755 sys-process/runit/files/1 create mode 100755 sys-process/runit/files/2 create mode 100755 sys-process/runit/files/3 create mode 100755 sys-process/runit/files/3-1.4 create mode 100755 sys-process/runit/files/ctrlaltdel create mode 100755 sys-process/runit/files/finish.getty create mode 100755 sys-process/runit/files/run.getty create mode 100644 sys-process/runit/metadata.xml create mode 100644 sys-process/runit/runit-1.7.0.ebuild create mode 100644 sys-process/runit/runit-2.0.0.ebuild create mode 100644 sys-process/runit/runit-2.1.1-r1.ebuild create mode 100644 sys-process/runit/runit-2.1.1.ebuild create mode 100644 www-servers/nginx/ChangeLog create mode 100644 www-servers/nginx/Manifest create mode 100644 www-servers/nginx/files/nginx.conf create mode 100644 www-servers/nginx/files/nginx.initd create mode 100644 www-servers/nginx/files/nginx.logrotate create mode 100644 www-servers/nginx/metadata.xml create mode 100644 www-servers/nginx/nginx-1.2.0.ebuild create mode 100644 x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild create mode 100644 x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild (limited to 'dev-python') diff --git a/app-admin/eselect-boost.patch b/app-admin/eselect-boost.patch new file mode 100644 index 0000000..0a5a97c --- /dev/null +++ b/app-admin/eselect-boost.patch @@ -0,0 +1,161 @@ +diff -Naurp eselect-boost.old/eselect-boost-0.4.ebuild eselect-boost/eselect-boost-0.4.ebuild +--- eselect-boost.old/eselect-boost-0.4.ebuild 2012-05-17 01:01:01.000000000 +0900 ++++ eselect-boost/eselect-boost-0.4.ebuild 2012-05-21 19:44:03.300079056 +0900 +@@ -2,6 +2,8 @@ + # Distributed under the terms of the GNU General Public License v2 + # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.6 2012/05/16 15:38:05 jer Exp $ + ++EAPI="4" ++ + inherit multilib + + DESCRIPTION="boost module for eselect" +@@ -10,16 +12,17 @@ SRC_URI="" + + LICENSE="GPL-2" + SLOT="0" +-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" ++KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" + IUSE="" + + DEPEND="" + RDEPEND=">=app-admin/eselect-1.0.5" ++S="${WORKDIR}" + + src_install() { + local mdir="/usr/share/eselect/modules" + dodir ${mdir} +- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install" ++ sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${ED}${mdir}/boost.eselect" || die "failed to install" + + keepdir /etc/eselect/boost + keepdir /usr/share/boost-eselect/profiles +diff -Naurp eselect-boost.old/files/boost.eselect-0.4 eselect-boost/files/boost.eselect-0.4 +--- eselect-boost.old/files/boost.eselect-0.4 2012-04-02 09:51:03.000000000 +0900 ++++ eselect-boost/files/boost.eselect-0.4 2012-05-21 19:39:12.337065431 +0900 +@@ -17,7 +17,7 @@ _suffices="|-debug" + find_targets() { + local f + # use ls here to get a really empty set in case no boost is installed +- for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do ++ for d in $(ls -d "${EROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do + for p in "${d}"/* ; do + echo "boost-$(basename ${d})/$(basename ${p})" + done +@@ -28,7 +28,7 @@ remove_installation() { + echo "Removing symlinks from old version" + + local link +- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do ++ for link in "${EROOT}/usr/include/boost" "${EROOT}/usr/share/boostbook" ; do + if [[ -L "${link}" ]] ; then + rm "${link}" || die -q "Couldn't remove \"${link}\" symlink" + else +@@ -36,15 +36,15 @@ remove_installation() { + fi + done + +- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null ++ pushd "${EROOT}/usr/%LIBDIR%" 1>/dev/null + local lib +- for lib in libboost_*.{a,so} ; do +- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue ++ for lib in libboost_*.{a,so,dylib} ; do ++ [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so|dylib) ]] || continue + rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink" + done + popd 1>/dev/null + +- pushd "${ROOT}"/usr/bin 1>/dev/null ++ pushd "${EROOT}"/usr/bin 1>/dev/null + local tool + for tool in ${_boost_tools} ; do + [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" ) +@@ -53,7 +53,7 @@ remove_installation() { + + local python_module python_module_dir + for python_module in mpi.py mpi_debug.py ; do +- for python_module_dir in "${ROOT}"usr/%LIBDIR%/python*/site-packages ; do ++ for python_module_dir in "${EROOT}"usr/%LIBDIR%/python*/site-packages ; do + if [[ -e "${python_module_dir}/${python_module}" ]] ; then + rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\"" + fi +@@ -62,7 +62,7 @@ remove_installation() { + + # Deprecated code for older versions of Boost. + local mod="mpi.so" +- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do ++ for moddir in "${EROOT}"/usr/%LIBDIR%/python*/site-packages ; do + if [ -L "${moddir}/${mod}" ] ; then + rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink" + else +@@ -77,10 +77,10 @@ remove_installation() { + echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\"" + done + +- if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then +- rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink" ++ if [ -L "${EROOT}/etc/eselect/boost/active" ] ; then ++ rm "${EROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${EROOT}/etc/eselect/boost/active\" symlink" + else +- [[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink" ++ [[ -e "${EROOT}/etc/eselect/boost/active" ]] && die -q "\"${EROOT}/etc/eselect/boost/active\" exists and isn't a symlink" + fi + } + +@@ -95,10 +95,10 @@ set_installation() { + version="${version/boost-}" + version="${version/./_}" + +- cd "${ROOT}/etc/eselect/boost" +- ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}" ++ cd "${EROOT}/etc/eselect/boost" ++ ln -s "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}" + +- . "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" ++ . "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}" + + for t in ${dirs} ${bins} ${libs} ; do + [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist" +@@ -112,7 +112,7 @@ set_installation() { + done + + [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist" +- pushd "${ROOT}/usr/include" 1>/dev/null ++ pushd "${EROOT}/usr/include" 1>/dev/null + ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\"" + popd 1>/dev/null + +@@ -144,8 +144,8 @@ do_show() { + local include + + write_list_start "Current boost version:" +- if [[ -L "${ROOT}"/usr/include/boost ]] ; then +- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost ))) ++ if [[ -L "${EROOT}"/usr/include/boost ]] ; then ++ include=$(basename $(dirname $(canonicalise "${EROOT}"/usr/include/boost ))) + write_kv_list_entry "${include%/}" "" + else + write_kv_list_entry "(unset)" "" +@@ -163,8 +163,8 @@ do_list() { + write_list_start "Available boost versions:" + if [[ -n "${targets[@]}" ]] ; then + local i +- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active") +- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-} ++ local active_slot=$(canonicalise "${EROOT}/etc/eselect/boost/active") ++ active_slot=${active_slot/"${EROOT}/usr/share/boost-eselect/profiles/"/boost-} + for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do + if [[ "${targets[${i}]}" == ${active_slot} ]] ; then + targets[${i}]="${targets[${i}]} $(highlight '*' )" +@@ -217,8 +217,8 @@ do_update() { + profile="default" + + # extract profile if there's already one boost version selected +- if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then +- profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active")) ++ if [ -L "${EROOT}"/etc/eselect/boost/active ] ; then ++ profile=$(basename $(canonicalise "${EROOT}/etc/eselect/boost/active")) + fi + + echo "Previously selected profile: ${profile}" diff --git a/app-admin/eselect-mesa/ChangeLog b/app-admin/eselect-mesa/ChangeLog new file mode 100644 index 0000000..f412095 --- /dev/null +++ b/app-admin/eselect-mesa/ChangeLog @@ -0,0 +1,48 @@ +# ChangeLog for app-admin/eselect-mesa +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-mesa/ChangeLog,v 1.11 2011/02/18 17:55:30 pacho Exp $ + + 18 Feb 2011; Pacho Ramos eselect-mesa-0.0.9.ebuild: + amd64 stable, bug #355453 + +*eselect-mesa-0.0.9 (18 Feb 2011) + + 18 Feb 2011; Chí-Thanh Christopher Nguyễn + +eselect-mesa-0.0.9.ebuild: + Version bump. Now with multilib support + + 14 Feb 2011; Kacper Kowalik + eselect-mesa-0.0.8.ebuild: + ppc stable wrt #344827, #354237 + + 12 Feb 2011; Raúl Porcel eselect-mesa-0.0.8.ebuild: + alpha/ia64/sh/sparc stable wrt #344827 + + 31 Dec 2010; Jeroen Roovers eselect-mesa-0.0.8.ebuild: + Stable for HPPA (bug #344827). + + 29 Dec 2010; Markus Meier eselect-mesa-0.0.8.ebuild: + arm stable, bug #344827 + + 25 Dec 2010; Christian Faulhammer + eselect-mesa-0.0.8.ebuild: + x86 stable, bug + + 23 Dec 2010; Samuli Suominen + eselect-mesa-0.0.8.ebuild: + amd64 stable wrt #344827 + + 19 Dec 2010; Samuli Suominen + eselect-mesa-0.0.8.ebuild: + ppc64 stable wrt #344827 + + 28 Nov 2010; Chí-Thanh Christopher Nguyễn + eselect-mesa-0.0.8.ebuild: + Transfer keywords from media-libs/mesa + +*eselect-mesa-0.0.8 (27 Nov 2010) + + 27 Nov 2010; Chí-Thanh Christopher Nguyễn + +eselect-mesa-0.0.8.ebuild, +metadata.xml: + Initial import from x11 overlay. + diff --git a/app-admin/eselect-mesa/Manifest b/app-admin/eselect-mesa/Manifest new file mode 100644 index 0000000..54d6908 --- /dev/null +++ b/app-admin/eselect-mesa/Manifest @@ -0,0 +1,4 @@ +DIST eselect-mesa-0.0.9.tar.gz 2217 RMD160 3c9cf52763860829e744f1a58bcda55f9a8ef3fa SHA1 30f757222bcb50a9e3b30f10f594a53934157db0 SHA256 27adf2beff6f7cbd54004e4c27f9ac869e8c7bc72cb83c32acfbccf4119b2494 +EBUILD eselect-mesa-0.0.9.ebuild 748 SHA1 743d0804baebbb04af146dc85e3fe9b6ad7b09a7 SHA256 9560b35303ef6e2eb809f654d7e8f61e396a58d8aa2bdcc845ae394828f4750f +MISC ChangeLog 1593 SHA1 c6da567ea751f2fa63ce001d37d6742fc6d520e2 SHA256 a53c3fc5e5cf20d09cbe4f1ae1b104b1046a65746a312c30b5237ef90d141f6d +MISC metadata.xml 156 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 diff --git a/app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild b/app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild new file mode 100644 index 0000000..379b73e --- /dev/null +++ b/app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-mesa/eselect-mesa-0.0.9.ebuild,v 1.2 2011/02/18 17:55:30 pacho Exp $ + +EAPI=3 + +DESCRIPTION="Utility to change the Mesa OpenGL driver being used" +HOMEPAGE="http://www.gentoo.org/" + +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64-linux" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.4" + +src_install() { + insinto /usr/share/eselect/modules + doins mesa.eselect || die +} + +pkg_postinst() { + if has_version ">=media-libs/mesa-7.9" && \ + ! [ -f "${EROOT}"/usr/share/mesa/eselect-mesa.conf ]; then + eerror "Rebuild media-libs/mesa for ${PN} to work." + fi +} diff --git a/app-admin/eselect-mesa/metadata.xml b/app-admin/eselect-mesa/metadata.xml new file mode 100644 index 0000000..01c4c00 --- /dev/null +++ b/app-admin/eselect-mesa/metadata.xml @@ -0,0 +1,5 @@ + + + +x11 + diff --git a/cross-powerpc-unknown-linux-gnu/gdb/ChangeLog b/cross-powerpc-unknown-linux-gnu/gdb/ChangeLog new file mode 100644 index 0000000..9d342b4 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/ChangeLog @@ -0,0 +1,706 @@ +# ChangeLog for sys-devel/gdb +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.178 2011/01/08 21:40:38 maekke Exp $ + + 08 Jan 2011; Markus Meier gdb-7.2.ebuild: + arm stable, bug #350259 + + 04 Jan 2011; Markos Chandras gdb-7.2.ebuild: + Stable on amd64 wrt bug #350259 + + 03 Jan 2011; Pawel Hajdan jr gdb-7.2.ebuild: + x86 stable wrt bug #350259 + +*gdb-7.2.50.20101117.4.15 (31 Dec 2010) + + 31 Dec 2010; Mike Frysinger gdb-7.2.ebuild, + +gdb-7.2.50.20101117.4.15.ebuild: + Merge rpm and non-rpm ebuilds, and version bump the rpm one. + + 14 Sep 2010; Mike Frysinger gdb-7.2.ebuild: + Fix EAPI=3 porting and force usage of python-2 by Arfrever Frehtes Taifersar + Arahesis #316945. + + 11 Sep 2010; Mike Frysinger gdb-7.0.1.ebuild: + Mark s390 stable #310159. + + 11 Sep 2010; Mike Frysinger gdb-7.2.ebuild: + Enable 64-bit-bfd all the time #330851 by Hugo Mildenberger. + +*gdb-7.2 (11 Sep 2010) + + 11 Sep 2010; Mike Frysinger +gdb-7.2.ebuild: + Version bump. + + 21 May 2010; Peter Volkov gdb-7.0.1.ebuild: + amd64 stable, bug 310159 + + 20 May 2010; Jeroen Roovers gdb-7.0.1.ebuild: + Stable for HPPA (bug #310159). + + 09 May 2010; Raúl Porcel gdb-7.0.1.ebuild: + alpha/arm/ia64/sparc stable wrt #310159 + + 16 Apr 2010; Brent Baude gdb-7.0.1.ebuild: + Marking gdb-7.0.1 ppc for bug 310159 + + 29 Mar 2010; Christian Faulhammer gdb-7.0.1.ebuild: + stable x86, bug 310159 + + 22 Mar 2010; Brent Baude gdb-7.0.1.ebuild: + Marking gdb-7.0.1 ppc64 for bug 310159 + +*gdb-7.1 (19 Mar 2010) + + 19 Mar 2010; Mike Frysinger +gdb-7.1.ebuild: + Version bump. + + 26 Jan 2010; Jeroen Roovers gdb-7.0.ebuild: + Stable for HPPA (bug #296389). + + 10 Jan 2010; nixnut gdb-7.0.ebuild: + ppc stable #296389 + +*gdb-7.0.1 (05 Jan 2010) + + 05 Jan 2010; Mike Frysinger +gdb-7.0.1.ebuild: + Version bump. + + 05 Jan 2010; Mike Frysinger gdb-7.0.ebuild: + Add fix by Knut St. Osmundsen for building with USE=multitarget #299600. + + 01 Jan 2010; Tobias Klausmann gdb-7.0.ebuild: + Stable on alpha, bug #296389 + + 22 Dec 2009; Markus Meier gdb-7.0.ebuild: + amd64/arm/x86 stable, bug #296389 + +*gdb-7.0 (10 Oct 2009) + + 10 Oct 2009; Mike Frysinger +gdb-7.0.ebuild, + metadata.xml: + Version bump. + + 10 Oct 2009; Mike Frysinger gdb-6.8-r1.ebuild, + gdb-6.8-r2.ebuild, gdb-6.8.50.20090811.2.12.ebuild: + Update readline check to include SLOT. + + 16 Aug 2009; Mike Frysinger gdb-6.8-r2.ebuild: + Add support for IUSE=expat #280391 by Maciej Mrozowski. + +*gdb-6.8.50.20090811.2.12 (16 Aug 2009) + + 16 Aug 2009; Mike Frysinger + +gdb-6.8.50.20090811.2.12.ebuild: + Version bump. + +*gdb-6.8.50.20090302.8.11 (12 Mar 2009) + + 12 Mar 2009; Mike Frysinger + +gdb-6.8.50.20090302.8.11.ebuild: + Add an ebuild for Fedora rpms (since they apply a ton of custom patches). + +*gdb-6.8-r2 (12 Mar 2009) + + 12 Mar 2009; Mike Frysinger +gdb-6.8-r2.ebuild: + Grab fix from Fedora for accessing tls vars (like errno). + + 22 Feb 2009; Mike Frysinger gdb-6.8-r1.ebuild: + Use system readline only if it is version 5 #259865 by michel. + + 01 Feb 2009; nixnut gdb-6.8-r1.ebuild: + ppc stable #255219 + + 23 Jan 2009; Brent Baude gdb-6.8-r1.ebuild: + stable ppc64, bug 255219 + + 23 Jan 2009; Raúl Porcel gdb-6.8-r1.ebuild: + ia64/sparc stable wrt #255219 + + 18 Jan 2009; Markus Meier gdb-6.8-r1.ebuild: + amd64/x86 stable, bug #255219 + + 18 Jan 2009; Tobias Klausmann gdb-6.8-r1.ebuild: + Stable on alpha, bug #255219 + + 18 Jan 2009; Guy Martin gdb-6.8-r1.ebuild: + hppa stable, #255219 + + 02 Aug 2008; Panagiotis Christopoulos metadata.xml: + Update metadata.xml to include USE flag descriptions. Entries taken from + profiles/use.local.desc. GLEP 56 + +*gdb-6.8-r1 (21 Jun 2008) + + 21 Jun 2008; Mike Frysinger +gdb-6.8-r1.ebuild: + Add some PIE patches #223533 by Magnus Granberg. + + 07 Apr 2008; Mike Frysinger gdb-6.8.ebuild: + Workaround build failure with USE=multitarget #216368. + + 30 Mar 2008; Mike Frysinger gdb-6.7.1-r3.ebuild, + gdb-6.8.ebuild: + Use strip-unsupported-flags rather than replace-flags as pointed out by Donnie. + + 30 Mar 2008; Markus Rothe gdb-6.7.1-r3.ebuild: + Stable on ppc64; bug #215339 + + 30 Mar 2008; Raúl Porcel gdb-6.7.1-r3.ebuild: + alpha/ia64/sparc stable wrt #215339 + + 29 Mar 2008; Dawid Węgliński gdb-6.7.1-r3.ebuild: + Stable on x86 (bug #215339) + + 29 Mar 2008; Jeroen Roovers gdb-6.7.1-r3.ebuild: + Stable for HPPA (bug #215339). + +*gdb-6.8 (29 Mar 2008) + + 29 Mar 2008; Mike Frysinger +gdb-6.8.ebuild: + Version bump. + + 29 Mar 2008; Brent Baude gdb-6.7.1-r3.ebuild: + stable ppc, bug 215339 + + 25 Mar 2008; Santiago M. Mola gdb-6.7.1-r3.ebuild: + amd64 stable + +*gdb-6.7.1-r3 (25 Feb 2008) + + 25 Feb 2008; Mike Frysinger +gdb-6.7.1-r3.ebuild: + Grab fix from upstream for crash #210636 by emerald. + + 24 Feb 2008; Raúl Porcel gdb-6.7.1-r2.ebuild: + alpha/ia64/sparc/x86 stable + +*gdb-6.7.1-r2 (22 Jan 2008) + + 22 Jan 2008; Diego Pettenò +gdb-6.7.1-r2.ebuild: + Use system libreadline rather than building an internal copy. Closes bug + #206947. + + 30 Dec 2007; Mike Frysinger gdb-6.7.1-r1.ebuild: + Fixup duel build code a bit as well as the patch itself. + +*gdb-6.7.1-r1 (29 Dec 2007) + + 29 Dec 2007; Mike Frysinger +gdb-6.7.1-r1.ebuild: + Add DUEL support #199987 by Sergei Golubchik. + + 16 Dec 2007; Markus Rothe gdb-6.7.1.ebuild: + Stable on ppc64; bug #202246 + + 16 Dec 2007; Samuli Suominen gdb-6.7.1.ebuild: + amd64 stable wrt #202246 + + 15 Dec 2007; Raúl Porcel gdb-6.7.1.ebuild: + alpha/ia64/sparc stable wrt #202246 + + 15 Dec 2007; Dawid Węgliński gdb-6.7.1.ebuild: + Stable on x86 (bug #202246) + + 14 Dec 2007; Jeroen Roovers gdb-6.7.1.ebuild: + Stable for HPPA (bug #202246). + + 14 Dec 2007; nixnut gdb-6.7.1.ebuild: + Stable on ppc wrt bug 202246 + +*gdb-6.7.1 (29 Oct 2007) + + 29 Oct 2007; Mike Frysinger +gdb-6.7.1.ebuild: + Version bump. + +*gdb-6.7 (10 Oct 2007) + + 10 Oct 2007; Mike Frysinger +gdb-6.7.ebuild: + Version bump. + + 09 Jul 2007; Mike Frysinger gdb-6.6-r2.ebuild: + Fix building on hppa with sanitized headers #180476. + + 12 May 2007; Joshua Kinard gdb-6.6-r2.ebuild: + Stable on mips. + + 11 Apr 2007; Tobias Scherbaum gdb-6.6-r2.ebuild: + ppc stable, bug #144833 + + 10 Apr 2007; Jose Luis Rivero gdb-6.6-r2.ebuild: + alpha stable wrt security bug #144833 + + 10 Apr 2007; Michael Cummings gdb-6.6-r2.ebuild: + sparc stable wrt security bug 144833 + + 09 Apr 2007; Raúl Porcel gdb-6.6-r2.ebuild: + ia64 stable wrt security bug 144833 + + 06 Apr 2007; Jeroen Roovers gdb-6.6-r2.ebuild: + Stable for HPPA (bug #144833). + + 06 Apr 2007; Peter Weller gdb-6.6-r2.ebuild: + Stable on amd64 wrt bug 144833 + + 06 Apr 2007; Christian Faulhammer gdb-6.6-r2.ebuild: + stable x86, security bug 144833 + + 05 Apr 2007; Markus Rothe gdb-6.6-r2.ebuild: + Stable on ppc64; bug #144833 + +*gdb-6.6-r2 (31 Mar 2007) + + 31 Mar 2007; Mike Frysinger +gdb-6.6-r2.ebuild: + Fix .gdbinit checks #169609 and add stack overflow checks #144833 by Tavis + Ormandy. + + 16 Mar 2007; Jose Luis Rivero gdb-6.6.ebuild: + Stable on alpha wrt bug #164336 + +*gdb-6.6-r1 (04 Mar 2007) + + 04 Mar 2007; Mike Frysinger +gdb-6.6-r1.ebuild: + Add some fixes from upstream #150963 (fix SuperH detection) by Manuel Lauss + and #169366 (fix Corrupted DWARF expression error) by Hanno Meyer-Thurow. + + 21 Feb 2007; Alexander H. Færøy gdb-6.6.ebuild: + Stable on MIPS; bug #164336 + + 31 Jan 2007; Markus Rothe gdb-6.6.ebuild: + Stable on ppc64; bug #164336 + + 31 Jan 2007; Olivier Crête gdb-6.6.ebuild: + Stable on amd64 per bug #164336 + + 31 Jan 2007; Jeroen Roovers gdb-6.6.ebuild: + Stable for HPPA (bug #164336). + + 29 Jan 2007; Gustavo Zacarias gdb-6.6.ebuild: + Stable on sparc wrt #164336 + + 29 Jan 2007; Raúl Porcel gdb-6.6.ebuild: + x86 stable wrt bug 164336 + + 29 Jan 2007; Luca Barbato gdb-6.6.ebuild: + Marked ppc + +*gdb-6.6 (19 Dec 2006) + + 19 Dec 2006; Mike Frysinger +gdb-6.6.ebuild: + Version bump. + +*gdb-6.5-r2 (24 Aug 2006) + + 24 Aug 2006; Mike Frysinger +gdb-6.5-r2.ebuild: + Add patch for gnu hash support from upstream #144851 by Christophe Saout. + + 01 Jul 2006; gdb-6.5-r1.ebuild: + - fix gdbinit file causing errors with recent gdb. bug 97409 + + 22 Jun 2006; files/gdb-6.4-scanmem.patch, + files/gdb-6.5-scanmem.patch, gdb-6.5-r1.ebuild: + - fix segv in scanmem when no parms are given avoid memleak also + + 22 Jun 2006; Mike Frysinger + +files/gdb-6.5-locale.patch, gdb-6.5.ebuild: + Fix issues with funky locales #125264 by J. + +*gdb-6.5-r1 (21 Jun 2006) + + 21 Jun 2006; +files/gdb-6.5-scanmem.patch, + +gdb-6.5-r1.ebuild: + - bump scanmem patch + +*gdb-6.5 (21 Jun 2006) + + 21 Jun 2006; Mike Frysinger +gdb-6.5.ebuild: + Version bump. + +*gdb-6.4-r5 (18 Jun 2006) + + 18 Jun 2006; Tony Vroon + +files/gdb-6.4-ppc-stack.patch, +gdb-6.4-r5.ebuild: + Apply upstream patch to get usable backtraces on PPC. Research by illusion + in bug #137125. + + 03 May 2006; Diego Pettenò gdb-6.4-r4.ebuild: + Add ~x86-fbsd keyword. + + 27 Apr 2006; Alec Warner files/digest-gdb-6.1, + files/digest-gdb-6.2.1, files/digest-gdb-6.3-r4, files/digest-gdb-6.3-r5, + files/digest-gdb-6.4, files/digest-gdb-6.4-r1, files/digest-gdb-6.4-r2, + files/digest-gdb-6.4-r3, files/digest-gdb-6.4-r4, Manifest: + Fixing SHA256 digest, pass four + +*gdb-6.4-r4 (16 Mar 2006) + + 16 Mar 2006; Mike Frysinger + +files/gdb-6.4-avr-eclipse.patch, +gdb-6.4-r4.ebuild: + Add patch from upstream for avr/eclipse compat #126288 by Ian Hubbertz. + +*gdb-6.4-r3 (05 Mar 2006) + + 05 Mar 2006; Mike Frysinger +gdb-6.4-r3.ebuild: + Drop relative patch #122050 by Stefan Knorr. + +*gdb-6.3-r5 (21 Feb 2006) + + 21 Feb 2006; Kevin F. Quinn +gdb-6.3-r5.ebuild: + Added patches from RedHat to support PIEs in gdb-6.3 + + 19 Feb 2006; Joshua Kinard gdb-6.4.ebuild: + Marked stable on mips. + +*gdb-6.4-r2 (23 Jan 2006) + + 23 Jan 2006; Mike Frysinger + +files/gdb-6.3-partial-die-20050503.patch, +gdb-6.4-r2.ebuild: + Add patch from Fedora to fix #120091 by Ed Catmur. + + 16 Jan 2006; files/gdb-6.4-scanmem.patch: + - scanmem patch updates from the PaX Team. Fixed compilation warnings and + clean up the control flow a bit (one less level of indentation) and I also + added tab completion for 'scanmem'. + +*gdb-6.4-r1 (08 Dec 2005) + + 08 Dec 2005; +files/gdb-6.4-scanmem.patch, + +gdb-6.4-r1.ebuild, gdb-6.4.ebuild: + - fwd port scanmem patch for gdb-6.4 + + 09 Dec 2005; Mike Frysinger + +files/gdb-6.4-sse2-register-display.patch, gdb-6.4.ebuild: + Disable building with -Werror #114902. + +*gdb-6.4 (02 Dec 2005) + + 02 Dec 2005; Mike Frysinger + +files/gdb-6.4-relative-paths.patch, +files/gdb-6.4-uclibc.patch, + +gdb-6.4.ebuild: + Version bump. + + 16 Jul 2005; Danny van Dyk gdb-6.3-r4.ebuild: + Marked s390. + +*gdb-6.3-r4 (09 Jul 2005) + + 09 Jul 2005; Mike Frysinger +gdb-6.3-r4.ebuild: + Sync with latest debian patchset. + +*gdb-6.2.1-r1 (15 May 2005) + + 15 May 2005; -gdb-6.0-r1.ebuild, -gdb-6.0.ebuild, + -gdb-6.1.1.ebuild, -gdb-6.2.1-r1.ebuild, -gdb-6.2.ebuild, gdb-6.3-r3.ebuild, + -gdb-6.3.ebuild: + - stable on arm #91654 - cleanup most vuln non stabilized versions of gdb + + 15 May 2005; gdb-6.3-r3.ebuild: + Stable on IA64, bug #91654. + + 09 May 2005; files/gdb-6.3-gdbinit-stat.patch: + - Jan Postransky writes via email gdb doesn't read .gdbinit file in current + working directory. I suggest putting parentheses arround the last condition + like in the attached fix. + + 06 May 2005; Bryan Østergaard gdb-6.3-r3.ebuild: + Stable on alpha, bug 91654. + + 06 May 2005; + +files/gdb-6.2.1-200-uclibc-readline-conf.patch, + +files/gdb-6.2.1-400-mips-coredump.patch, + +files/gdb-6.2.1-libiberty-pic.patch, +files/gdb-6.3-pass_all-uclibc.patch, + gdb-6.3-r3.ebuild: + - minor touch ups for mips/x86/uclibc/pic + + 06 May 2005; Gustavo Zacarias gdb-6.3-r3.ebuild: + Stable on sparc wrt #91654 + + 06 May 2005; gdb-6.3-r3.ebuild: + Mark stable on x86 and amd64 per bug #91654 + + 06 May 2005; Markus Rothe gdb-6.3-r3.ebuild: + Stable on ppc64; bug #91654 + + 06 May 2005; Michael Hanselmann gdb-6.3-r3.ebuild: + Stable on hppa. + + 06 May 2005; Michael Hanselmann gdb-6.3-r3.ebuild: + Stable on ppc. + +*gdb-6.3-r3 (05 May 2005) + + 05 May 2005; +files/bfd-malloc-wrap.patch, + -gdb-6.3-r1.ebuild, -gdb-6.3-r2.ebuild, +gdb-6.3-r3.ebuild: + - add security patch to bfd/elfcode.h to from bug #91398 + + 28 Apr 2005; Gustavo Zacarias gdb-6.3.ebuild: + Stable on sparc + + 25 Apr 2005; Bryan Østergaard gdb-6.3.ebuild: + Stable on alpha. + +*gdb-6.3-r2 (24 Apr 2005) + + 24 Apr 2005; +files/gdb-6.3-gdbinit-stat.patch, + +gdb-6.3-r2.ebuild: + - avoid executing arbitrary .gdbinit files in pwd that are not owned by the + current uid or that are world writeable. sec bug #88398 + + 24 Apr 2005; Markus Rothe gdb-6.3.ebuild: + Stable on ppc64 + +*gdb-6.3-r1 (23 Apr 2005) + + 23 Apr 2005; Mike Frysinger +gdb-6.3-r1.ebuild: + Grab & use Debians patchset. + + 14 Mar 2005; Gustavo Zacarias gdb-6.3.ebuild: + To ~sparc, this version actually works + + 03 Jan 2005; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + +*gdb-6.3 (27 Nov 2004) + + 27 Nov 2004; +files/gdb-6.3-relative-paths.patch, + +files/gdb-6.3-scanmem.patch, +files/gdb-6.3-uclibc.patch, +gdb-6.3.ebuild: + initial commit gdb-6.3. - Adds new ~/.gdbinit file for x86 users. - Adds a + forward port of antilove's scanmem gdb-6.1 patch. Forward ported every patch, + minus the gdb-6.x-crash.patch + + 09 Nov 2004; Mike Frysinger + +files/gdb-6.2.1-pass-libdir.patch, +files/gdb-6.2.1-relative-paths.patch, + +files/gdb-6.x-crash.patch, gdb-6.0-r1.ebuild, gdb-6.0.ebuild, + gdb-6.1.1.ebuild: + Clean up ebuilds and add support for maketest (#68643). Also add misc + patches to resolve segfaults/sandbox violations (#49582 #65404) and package + collisions (#69496). + + 03 Nov 2004; Joshua Kinard gdb-6.2.1.ebuild, + gdb-6.2.ebuild: + Marked stable on mips. + + 13 Oct 2004; Travis Tilley gdb-6.0-r1.ebuild: + another sandbox fix + + 23 Sep 2004; Travis Tilley gdb-6.2.1.ebuild: + make CONF_LIBDIR aware again to fix a sandbox violation. lets hope nobody + reverts the change this time. + +*gdb-6.2.1 (23 Sep 2004) + + 23 Sep 2004; Luca Barbato +gdb-6.2.1.ebuild: + new version, thanks Pär Karlsson for + reporting + + 09 Sep 2004; Chris Gianelloni gdb-6.2.ebuild: + Making multilib safe and closing bug #63438. + + 07 Sep 2004; Gustavo Zacarias gdb-6.1.1.ebuild: + Stable on sparc + + 09 Aug 2004; Gustavo Zacarias gdb-6.1.1.ebuild, + gdb-6.2.ebuild: + 6.1.1 ~sparc, 6.2 -sparc + +*gdb-6.2 (08 Aug 2004) + + 08 Aug 2004; gdb-6.2.ebuild: + version bump + + 03 Aug 2004; Mike Frysinger gdb-6.0.ebuild, + gdb-6.1.1.ebuild: + Strip out LINGUAs that gdb doesnt support #59179 by Matthias Peick. + + 28 Jul 2004; gdb-6.1.1.ebuild, gdb-6.1.ebuild, + files/gdb-6.1-uclibc.patch: + patched bfd/config.bfd and ltmain for uclibc + + 02 Jul 2004; Jeremy Huddleston gdb-5.1.1-r2.ebuild: + virtual/glibc -> virtual/libc + + 24 Jun 2004; Aron Griffis gdb-5.3.90.ebuild, + gdb-5.3.ebuild: + QA - fix use invocation + + 23 Jun 2004; Aron Griffis gdb-6.1.1.ebuild, + gdb-6.1.ebuild: + Add ~alpha + +*gdb-6.1.1 (22 Jun 2004) + + 22 Jun 2004; Martin Schlemmer +gdb-6.1.1.ebuild: + Update version. + + 11 Jun 2004; Bryan Østergaard gdb-6.0.ebuild: + Stable on alpha. + + 06 Jun 2004; Guy Martin gdb-6.1.ebuild, + files/gdb-6.1-hppa-01.patch, files/gdb-6.1-hppa.patch: + Update of the hppa patch to fix the inclusion of asm/offset[s].h + + 30 May 2004; Guy Martin gdb-6.1.ebuild, + files/gdb-6.1-hppa.patch: + Added hppa support to gdb-6.1. Marked ~hppa. + + 28 May 2004; Tom Gall gdb-6.1.ebuild: + stable on ppc64 (with small patch) + + 13 May 2004; Stephen P. Becker gdb-6.0.ebuild: + Stable on mips. + + 27 Apr 2004; Aron Griffis gdb-5.3-r1.ebuild, + gdb-5.3.90.ebuild, gdb-5.3.ebuild: + Add inherit eutils + + 22 Apr 2004; Travis Tilley gdb-6.0-r1.ebuild, + gdb-6.0.ebuild: + stable on amd64 + +*gdb-5.3-r1 (18 Apr 2004) + + 18 Apr 2004; Michael McCabe +gdb-5.3-r1.ebuild: + Added s390 specific fixes to gdb-5.3. Closes bug #47903 + +*gdb-6.1 (05 Apr 2004) + + 05 Apr 2004; Stefan Jones : + Try gdb-6.1 to try and fix bug #45756 + + 09 Mar 2004; gdb-6.0.ebuild: + stable on ia64 + +*gdb-6.0-r1 (05 Mar 2004) + + 05 Mar 2004; Luca Barbato gdb-6.0-r1.ebuild, + files/gdb-6.0-xfreemod-all.patch: + New revision, xfree module tracking support added + + 23 Feb 2004; Sven Blumenstein gdb-6.0.ebuild: + Stable on sparc (finally). + + 15 Feb 2004; Bartosch Pixa gdb-6.0.ebuild: + set ppc in keywords + + 08 Feb 2004; Martin Schlemmer gdb-6.0.ebuild: + Bump to stable for x86. + + 19 Jan 2004; Martin Schlemmer gdb-5.1.1-r2.ebuild, + gdb-5.2.1.ebuild, gdb-5.3.90.ebuild, gdb-5.3.ebuild, gdb-6.0.ebuild: + Do not install configure, bfd, and standards info manuals, as binutils provide + them. + + 18 Oct 2003; Jason Wever gdb-5.3.90.ebuild, + gdb-6.0.ebuild: + Added fix for bug #29845 and fixed gdb-6.0 compile on sparc. + +*gdb-6.0 (17 Oct 2003) + + 17 Oct 2003; Stefan Jones : + New version, has most of the old gdb-5.3.90 patch already in, if any are + needed for non-x86 arch then feel free to add. + +*gdb-5.3.90 (20 Sep 2003) + + 30 Sep 2003; Joshua Kinard gdb-5.3.90.ebuild: + Added ~mips to KEYWORDS + + 24 Sep 2003; Jason Wever gdb-5.3.90.ebuild: + Applied patch from Sven Blumenstein to fix sparc and hppa + compilation issues, fixes bug #29390. + + 20 Sep 2003; Martin Schlemmer gdb-5.3.90.ebuild: + Update to cvs version - should fix debugging threaded applications for users + using NPTL. + + 26 May 2003; Tavis Ormandy gdb-5.3.ebuild: + ccc compatability fixes + +*gdb-5.3 (21 Dec 2002) + + 19 May 2003; Joshua Kinard gdb-5.3.ebuild: + Added a patch that allows gdb-5.3 to compile properly + on sparc and set KEYWORDS to ~sparc from -sparc + + 24 Mar 2003; Guy Martin gdb-5.3.ebuild : + Added patch for hppa support. Added hppa to keywords. + + 28 Feb 2003; Stefan Jones gdb-5.3.ebuild : + Added support for objc via the USE flag objc, see bug #16507 + + 31 Jan 2003; Joshua Brindle gdb-5.3.ebuild : + This does not compile on sparc, changing to -sparc + + 22 Jan 2003; Jason Wever gdb-5.3.ebuild : + Changed sparc keyword back to ~sparc as bug 12866 is not yet resolved. + + 02 Jan 2002; Nick Hadaway gdb-5.3.ebuild : + Marked stable. + + 26 Dec 2002; Nick Hadaway gdb-5.3.ebuild : + Removed the unneeded man patch. + + 21 Dec 2002; Nick Hadaway gdb-5.3.ebuild, + files/digest-gdb-5.3 : + Version bump. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*gdb-5.2.1 (20 Aug 2002) + + 19 Oct 2002; Seemant Kulleen : + + cleanup of old ebuilds and formatting. + + 11 Oct 2002; Nick Hadaway gdb-5.2.1.ebuild : + Throttled optimization flags down to -O2. See bug #6089 + + 20 Aug 2002; Nick Hadaway + gdb-5.2.1.ebuild, files/digest-gdb-5.2.1, files/man.diff : + Version bump. + +*gdb-5.1.1-r2 (2 June 2002) + + 24 Jul 2002; Mark Guertin : + Added ppc to keywords + + 2 June 2002; Olivier Reisch gdb-5.1.1-r2.ebuild + + Have the PPC patch only applied on PPC platform. + +*gdb-5.1.1-r1 (6 May 2002) + + 6 May 2002; Kain gdb-5.1.1-r1.ebuild + + PPC compatibility patch to fix some bool typedef stuff. + +*gdb-5.1.1 (5 Apr 2002) + + 5 Apr 2002; Seemant Kulleen gdb-5.1.1.ebuild + files/digest-gdb-5.1.1 + + Version bump, but this is being masked until the ncurses incompatibility + is resolved. + +*gdb-5.1 (7 Feb 2002) Karl Trygve Kalleberg : gdb-5.1.ebuild files/digest-gdb-5.1 + + GDB, the GNU Project debugger, allows you to see what is going on `inside' + another program while it executes -- or what another program was doing at + the moment it crashed. + + GDB can do four main kinds of things (plus other things in support of these) + to help you catch bugs in the act: + + * Start your program, specifying anything that might affect its behavior. + * Make your program stop on specified conditions. + * Examine what has happened, when your program has stopped. + * Change things in your program, so you can experiment with correcting the effects of one bug and go on to learn about another. + + GDB works on a wide variety of UNIX and non-UNIX systems. + +*gdb-5.0-r2 (1 Feb 2002) + + 1 Feb 2002; G.Bevin ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/cross-powerpc-unknown-linux-gnu/gdb/Manifest b/cross-powerpc-unknown-linux-gnu/gdb/Manifest new file mode 100644 index 0000000..70d0c6f --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/Manifest @@ -0,0 +1,13 @@ +AUX gdb-6.7.1-solaris.patch 409 RMD160 323f52cc55184316470d652947633c04a4e288c5 SHA1 265f416ab5290a3a692885ce1f457cbb0ad98b90 SHA256 6a9dc418fa1f2939ab35028e4c93d41f67f7aa33066a4092a88b04df33a7b77a +AUX gdb-6.8-solaris64.patch 1321 RMD160 d32fdd15d624212150fc418e353d0146c94d34d8 SHA1 37446c501bfb3958e8adfef1f59307e8d82703a8 SHA256 8ccf1bf626b021d6547a74ea3302946f1905ca5e73f8c53f0bc956daef31c474 +AUX gdb-6.8-tui-rlapi.patch 1834 RMD160 60f8e3921703429f18f68d2793024952775e88ff SHA1 5aa1210c163008c8d9ea3361fcafb738e6a9b65e SHA256 bc1635f90d95343aa87433c3b76e65df621fa7c4836616b681fabc75d9d21d15 +DIST gdb-6.8-patches-1.5.tar.lzma 125348 RMD160 f0f2668b709aa4f06a77b8c9a9d147273a08d73c SHA1 ff0bb2d76ca8681554eca94272ff0cde4b7d75dd SHA256 e503204a517992595b37f49e6cb115bcb1c210845197d54d974ffd53bc55647b +DIST gdb-6.8.tar.bz2 15581509 RMD160 23fc9442290b6383ce8f943ef1eb117fa06e79fb SHA1 ba1394d59dd84a1dd3a83322bd82c799596f0bcf SHA256 eedffd586bf41cf2ae2f77e6819545d6eb1e5062052320a27332fdfaaebdf818 +DIST gdb-7.2-patches-1.tar.xz 8908 RMD160 ca1ec5360ef2b575a548a75baeef90c4aec64138 SHA1 d91b1aa7d743cfbf98d1c72f6015dfa7b856fb86 SHA256 c091d46b869aec70ea507d93936d85e134002766808e38cc29d0a6f1f4898fab +DIST gdb-7.2.50.20101117-4.fc15.src.rpm 20026108 RMD160 3a29004cb9806c235ad6cf9107eecf9cf26ebc55 SHA1 0a5c3bc903c77ab07f8813be5484cb0716864577 SHA256 7af3cc31317cc4fcc7530ac23d86baa570309095a7c4e8a7999a830ff6f07ca7 +DIST gdb-7.2.tar.bz2 18530613 RMD160 2f2f5eb331593a276f1b7024ac35f7ca1520653d SHA1 cae138dee0c11778c471a1d5e4b09e0ae08f9e9d SHA256 bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0 +EBUILD gdb-6.8-r2.ebuild 2688 RMD160 5eefdde4e32d7e900d9bf3e12e2bd8f6aee0e12c SHA1 cfb8ad801efde1ea428ec1c0362cca6ca4b9a069 SHA256 2ca6fc4472654ff25738632ea360013d0903488951d330dd967bf652045a7058 +EBUILD gdb-7.2.50.20101117.4.15.ebuild 3286 RMD160 d8743da141f12442fbe4658f14ebdf6d497d6d7e SHA1 ef90b9a0361376255362e52418ebd414708ed88d SHA256 a5cac46d7aa884962208d29c1d3d77d01f5ff82743d507188d3575f426780820 +EBUILD gdb-7.2.ebuild 3270 RMD160 7f8d3946f713c229dab5b716f21fe8f8955e729f SHA1 880730757a4e6c117f6ca644d55df617f7d6e81b SHA256 4361a03aa26f7b6190407d9b0bb71244b6dda5a6ac9c12107d101b6bd03e7341 +MISC ChangeLog 23799 RMD160 0cc300a7ffc25d480c53fbb2b6eac0502b477cb9 SHA1 3cc274671f5e0ba88f9b5a0641c45e93b54cbf30 SHA256 5f9f8ad2e076fb378f3e963679b67284a39ee2934ff9773c5624244064a0528d +MISC metadata.xml 252 RMD160 13550896f405ea2c00c68851097c455b13211ea8 SHA1 66fb63761a7800e71fa8d88244676f588c1e3490 SHA256 2bda98dae8fab414bb0fe138ac6cc256ad1bbdc031937ab18990674fc58f1e9e diff --git a/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.7.1-solaris.patch b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.7.1-solaris.patch new file mode 100644 index 0000000..f0db941 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.7.1-solaris.patch @@ -0,0 +1,16 @@ +* Don't include fcntl.h on Solaris, or you get compilation errors since + kernel views are enabled. We don't seem to need it, so this is the + easiest fix. + +--- gdb/defs.h ++++ gdb/defs.h +@@ -37,7 +37,9 @@ + #include + #endif + ++#ifndef __sun__ + #include ++#endif + + /* First include ansidecl.h so we can use the various macro definitions + here and in all subsequent file inclusions. */ diff --git a/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-solaris64.patch b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-solaris64.patch new file mode 100644 index 0000000..04abc54 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-solaris64.patch @@ -0,0 +1,40 @@ +* http://bugs.gentoo.org/show_bug.cgi?id=215902 + Patch by Fabrice Bacchella + +--- gdb/configure.host ++++ gdb/configure.host +@@ -99,6 +99,7 @@ + gdb_host=obsdaout ;; + i[34567]86-*-openbsd*) gdb_host=obsd ;; + i[34567]86-*-solaris2.1[0-9]*) gdb_host=sol2-64 ;; ++x86_64-*-solaris2.1[0-9]*) gdb_host=sol2-64 ;; + i[34567]86-*-solaris*) gdb_host=i386sol2 ;; + i[34567]86-*-cygwin*) gdb_host=cygwin ;; + +@@ -187,6 +188,11 @@ + gdb_host_double_format="&floatformat_ieee_double_little" + gdb_host_long_double_format="&floatformat_i387_ext" + ;; ++x86_64-*-*) ++ gdb_host_float_format="&floatformat_ieee_single_little" ++ gdb_host_double_format="&floatformat_ieee_double_little" ++ gdb_host_long_double_format="&floatformat_i387_ext" ++ ;; + hppa*-*-linux*) + gdb_host_float_format="&floatformat_ieee_single_big" + gdb_host_double_format="&floatformat_ieee_double_big" +--- gdb/configure.tgt ++++ gdb/configure.tgt +@@ -171,6 +171,12 @@ + i386-sol2-tdep.o sol2-tdep.o \ + corelow.o solib.o solib-svr4.o" + ;; ++x86_64-*-solaris2.1[0-9]*) ++ # Target: Solaris x86_64 ++ gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \ ++ i386-sol2-tdep.o sol2-tdep.o \ ++ corelow.o solib.o solib-svr4.o" ++ ;; + i[34567]86-*-solaris*) + # Target: Solaris x86 + gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \ diff --git a/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-tui-rlapi.patch b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-tui-rlapi.patch new file mode 100644 index 0000000..c5438a9 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/files/gdb-6.8-tui-rlapi.patch @@ -0,0 +1,66 @@ +--- gdb/tui/tui-io.c.orig 2008-08-11 16:26:36 +0200 ++++ gdb/tui/tui-io.c 2008-08-12 08:24:03 +0200 +@@ -379,7 +379,6 @@ + static int + get_y_or_n (void) + { +- extern int _rl_abort_internal (); + int c; + + for (;;) +@@ -390,11 +389,29 @@ + if (c == 'n' || c == 'N' || c == RUBOUT) + return (0); + if (c == ABORT_CHAR) +- _rl_abort_internal (); ++ rl_abort (0, 0); + beep (); + } + } + ++/* Stupid comparison routine for qsort () ing strings. */ ++static int ++_qsort_string_compare (s1, s2) ++ char **s1, **s2; ++{ ++#if defined (HAVE_STRCOLL) ++ return (strcoll (*s1, *s2)); ++#else ++ int result; ++ ++ result = **s1 - **s2; ++ if (result == 0) ++ result = strcmp (*s1, *s2); ++ ++ return result; ++#endif ++} ++ + /* A convenience function for displaying a list of strings in + columnar format on readline's output stream. MATCHES is the list + of strings, in argv format, LEN is the number of strings in MATCHES, +@@ -406,9 +423,8 @@ + tui_rl_display_match_list (char **matches, int len, int max) + { + typedef int QSFUNC (const void *, const void *); +- extern int _rl_qsort_string_compare (const void *, ++ extern int _qsort_string_compare (const void *, + const void *); +- extern int _rl_print_completions_horizontally; + + int count, limit, printed_len; + int i, j, k, l; +@@ -453,11 +469,11 @@ + /* Sort the items if they are not already sorted. */ + if (rl_ignore_completion_duplicates == 0) + qsort (matches + 1, len, sizeof (char *), +- (QSFUNC *)_rl_qsort_string_compare); ++ (QSFUNC *)_qsort_string_compare); + + tui_putc ('\n'); + +- if (_rl_print_completions_horizontally == 0) ++ if (strcmp(rl_variable_value("print-completions-horizontally"), "off")) + { + /* Print the sorted items, up-and-down alphabetically, like ls. */ + for (i = 1; i <= count; i++) diff --git a/cross-powerpc-unknown-linux-gnu/gdb/gdb-6.8-r2.ebuild b/cross-powerpc-unknown-linux-gnu/gdb/gdb-6.8-r2.ebuild new file mode 100644 index 0000000..23f4991 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/gdb-6.8-r2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.8-r2.ebuild,v 1.5 2009/10/10 21:34:30 vapier Exp $ + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +PATCH_VER="1.5" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2 + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma" + +LICENSE="GPL-2 LGPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="expat multitarget nls test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat )" +DEPEND="${RDEPEND} + || ( app-arch/xz-utils app-arch/lzma-utils ) + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + epatch "${FILESDIR}"/${PN}-6.7.1-solaris.patch + epatch "${FILESDIR}"/${P}-solaris64.patch + # avoid using internal readline symbols, they are not exported on aix. + # patch is platform independent, but might reduce performance. + [[ ${CHOST} == *-aix* ]] && epatch "${FILESDIR}"/${P}-tui-rlapi.patch + strip-linguas -u bfd/po opcodes/po +} + +src_compile() { + strip-unsupported-flags + econf \ + --disable-werror \ + $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + $(use_with expat) \ + || die + emake || die +} + +src_test() { + emake check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${ED}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* + rm -f "${ED}"/usr/share/locale/*/LC_MESSAGES/{annotate,bfd,configure,standards,opcodes}.mo +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${EROOT}"/etc/skel/.gdbinit +} diff --git a/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.50.20101117.4.15.ebuild b/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.50.20101117.4.15.ebuild new file mode 100644 index 0000000..b911530 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.50.20101117.4.15.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.2.50.20101117.4.15.ebuild,v 1.1 2010/12/31 21:06:28 vapier Exp $ + +EAPI="3" + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +if [[ ${PV} == *.*.*.*.*.* ]] ; then + inherit versionator rpm + # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm + gvcr() { get_version_component_range "$@"; } + MY_PV=$(gvcr 1-4) + RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" +else + MY_PV=${PV} + RPM= +fi + +PATCH_VER="" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +if [[ -n ${RPM} ]] ; then + SRC_URI="http://mirrors.kernel.org/fedora/development/source/SRPMS/${RPM}" +else + SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2" +fi +SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" + +LICENSE="GPL-2 LGPL-2" +is_cross \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="expat multitarget nls python test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat ) + python? ( =dev-lang/python-2* )" +DEPEND="${RDEPEND} + app-arch/xz-utils + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec + use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +gdb_branding() { + printf "Gentoo ${PV} " + if [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi +} + +src_configure() { + strip-unsupported-flags + econf \ + --with-pkgversion="$(gdb_branding)" \ + --with-bugurl='http://bugs.gentoo.org/' \ + --disable-werror \ + --enable-64-bit-bfd \ + $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ + $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \ + $(use_with expat) \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + $(use_with python python "${EPREFIX}/usr/bin/python2") +} + +src_test() { + emake check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${ED}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* + rm -f "${ED}"/usr/share/locale/*/LC_MESSAGES/{annotate,bfd,configure,standards,opcodes}.mo +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${EROOT}"/etc/skel/.gdbinit +} diff --git a/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.ebuild b/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.ebuild new file mode 100644 index 0000000..fc594c3 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/gdb-7.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.2.ebuild,v 1.7 2011/01/08 21:40:38 maekke Exp $ + +EAPI="3" + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +if [[ ${PV} == *.*.*.*.*.* ]] ; then + inherit versionator rpm + # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm + gvcr() { get_version_component_range "$@"; } + MY_PV=$(gvcr 1-4) + RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" +else + MY_PV=${PV} + RPM= +fi + +PATCH_VER="1" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +if [[ -n ${RPM} ]] ; then + SRC_URI="http://mirrors.kernel.org/fedora/development/source/SRPMS/${RPM}" +else + SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2" +fi +SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" + +LICENSE="GPL-2 LGPL-2" +is_cross \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="expat multitarget nls python test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat ) + python? ( =dev-lang/python-2* )" +DEPEND="${RDEPEND} + app-arch/xz-utils + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec + use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +gdb_branding() { + printf "Gentoo ${PV} " + if [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi +} + +src_configure() { + strip-unsupported-flags + econf \ + --with-pkgversion="$(gdb_branding)" \ + --with-bugurl='http://bugs.gentoo.org/' \ + --disable-werror \ + --enable-64-bit-bfd \ + $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ + $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \ + $(use_with expat) \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + $(use_with python python "${EPREFIX}/usr/bin/python2") +} + +src_test() { + emake check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${ED}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* + rm -f "${ED}"/usr/share/locale/*/LC_MESSAGES/{annotate,bfd,configure,standards,opcodes}.mo +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${EROOT}"/etc/skel/.gdbinit +} diff --git a/cross-powerpc-unknown-linux-gnu/gdb/metadata.xml b/cross-powerpc-unknown-linux-gnu/gdb/metadata.xml new file mode 100644 index 0000000..8908590 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/gdb/metadata.xml @@ -0,0 +1,8 @@ + + + +toolchain + + Support all known targets in one gdb binary + + diff --git a/cross-powerpc-unknown-linux-gnu/glibc/ChangeLog b/cross-powerpc-unknown-linux-gnu/glibc/ChangeLog new file mode 100644 index 0000000..acb8c95 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/ChangeLog @@ -0,0 +1,3145 @@ +# ChangeLog for sys-libs/glibc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.688 2010/06/16 01:43:37 zorry Exp $ + + 16 Jun 2010; Magnus Granberg files/eblits/common.eblit: + bug #293721 to support >=gcc 4.2 SSP support + + 12 Jun 2010; Joshua Kinard glibc-2.11-r1.ebuild: + ~mipsify glibc-2.11-r1. Runs OK on O2 so far... + +*glibc-2.11.2 (08 Jun 2010) + + 08 Jun 2010; Mike Frysinger +glibc-2.11.2.ebuild: + Version bump. + + 08 Jun 2010; Mike Frysinger + files/eblits/src_unpack.eblit: + Tweak src_unpack a bit more to handle snaps again #323009 by Maksim + Melnikau. + + 20 May 2010; Samuli Suominen glibc-2.5-r4.ebuild, + glibc-2.5.1.ebuild, glibc-2.6.1.ebuild, glibc-2.7-r2.ebuild, + glibc-2.8_p20080602-r1.ebuild, glibc-2.9_p20081201-r2.ebuild, + glibc-2.9_p20081201-r3.ebuild, glibc-2.10.1-r1.ebuild, + glibc-2.11-r1.ebuild, glibc-2.11.1.ebuild: + Change >=sys-apps/portage-2.1.2 DEPEND to ! glibc-2.10.1-r1.ebuild: + Stabilize for s390. + +*glibc-2.11.1 (25 Apr 2010) + + 25 Apr 2010; Mike Frysinger +glibc-2.11.1.ebuild, + files/eblits/src_unpack.eblit: + Version bump #315477. + + 19 Apr 2010; Raúl Porcel glibc-2.10.1-r1.ebuild: + sh stable + + 15 Feb 2010; Raúl Porcel + glibc-2.9_p20081201-r2.ebuild: + s390/sh stable + + 22 Jan 2010; Tom Gall glibc-2.10.1-r1.ebuild: + stable on ppc64, bug #289342 + + 21 Jan 2010; Raúl Porcel glibc-2.10.1-r1.ebuild: + sparc stable wrt #289342 + + 20 Jan 2010; Markus Meier glibc-2.10.1-r1.ebuild: + arm stable, bug #289342 + + 19 Jan 2010; nixnut glibc-2.10.1-r1.ebuild: + ppc stable #289342 + + 18 Jan 2010; Tobias Klausmann + glibc-2.10.1-r1.ebuild: + Stable on alpha, bug #289342 + + 15 Jan 2010; Mike Frysinger glibc-2.10.1-r1.ebuild: + Add ppc64 love #291287. + + 15 Jan 2010; Mike Frysinger glibc-2.10.1-r1.ebuild: + Mark ia64 stable #289342. + + 14 Jan 2010; Jeroen Roovers glibc-2.10.1-r1.ebuild: + Stable for HPPA (bug #289342). + + 10 Jan 2010; Christian Faulhammer + glibc-2.10.1-r1.ebuild: + x86 stable, bug 289342 + + 10 Jan 2010; Samuli Suominen + glibc-2.10.1-r1.ebuild: + amd64 stable wrt #289342 + + 05 Jan 2010; Mike Frysinger glibc-2.11-r1.ebuild: + Add ppc/ppc64 love #297452. + + 19 Dec 2009; Mike Frysinger + files/eblits/pkg_preinst.eblit, files/eblits/src_install.eblit: + Start pointing ldconfig files to ld.so.conf.d. + + 10 Dec 2009; Mike Frysinger glibc-2.3.5-r3.ebuild, + glibc-2.3.6-r4.ebuild, glibc-2.3.6-r5.ebuild, glibc-2.4-r4.ebuild, + glibc-2.5-r2.ebuild, glibc-2.5-r3.ebuild, glibc-2.5-r4.ebuild, + glibc-2.5.1.ebuild, glibc-2.6.ebuild, glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild, glibc-2.8_p20080602.ebuild, + glibc-2.8_p20080602-r1.ebuild, glibc-2.9_p20081201.ebuild, + glibc-2.9_p20081201-r1.ebuild, glibc-2.9_p20081201-r2.ebuild, + glibc-2.9_p20081201-r3.ebuild, glibc-2.10.1.ebuild, + glibc-2.10.1-r1.ebuild, glibc-2.11.ebuild, glibc-2.11-r1.ebuild: + Dont require cross-gcc when installing glibc-headers-only. + + 03 Dec 2009; Mike Frysinger glibc-2.11-r1.ebuild: + Add alpha/arm/sh love. + + 03 Dec 2009; Mike Frysinger glibc-2.11-r1.ebuild: + Update patchset to fix building on alpha. + +*glibc-2.11-r1 (02 Dec 2009) + + 02 Dec 2009; Mike Frysinger +glibc-2.11-r1.ebuild: + Push out some fixes and add the ports tarball. + + 01 Dec 2009; Mike Frysinger files/eblits/common.eblit: + Switch to common tc-has-tls function. + +*glibc-2.10.1-r1 (21 Nov 2009) + + 21 Nov 2009; Mike Frysinger +glibc-2.10.1-r1.ebuild: + Add a bunch of fixes from upstream for stabilization #289342. + + 19 Nov 2009; Jeroen Roovers glibc-2.10.1.ebuild: + Marked ~hppa (bug #291287). + + 18 Nov 2009; Raúl Porcel glibc-2.10.1.ebuild: + Add ~arm wrt #291287 + + 10 Nov 2009; Mike Frysinger glibc-2.10.1.ebuild, + glibc-2.11.ebuild: + Fix building on x86 with older linux headers missing __NR_fallocate + #274269 by Mikael Magnusson. + + 10 Nov 2009; Mike Frysinger glibc-2.10.1.ebuild: + Add sparc lovin #289615. + + 09 Nov 2009; Mike Frysinger glibc-2.11.ebuild, + +files/2.11/glibc-2.11-hardened-pie.patch: + Update hardened-pie patch by Magnus Granberg #292139. + + 09 Nov 2009; Mike Frysinger glibc-2.11.ebuild: + Pull in newer gcc for multilib on amd64 #292174. + + 08 Nov 2009; Mounir Lamouri glibc-2.10.1.ebuild: + Keywording for ppc, bug 291287 + + 06 Nov 2009; Mike Frysinger glibc-2.11.ebuild: + Add patch for ia64 build failure #292059 by Dennis Schridde. Force newer + binutils on x86_64 #292056 by DaggyStyle. Forcer newer gcc on x86 #292174 + by Andreas Proteus. + + 06 Nov 2009; Mike Frysinger glibc-2.11.ebuild: + Add sparc lovin #291287. + + 06 Nov 2009; Mike Frysinger glibc-2.10.1.ebuild: + Add alpha lovin #291287. + +*glibc-2.11 (06 Nov 2009) + + 06 Nov 2009; Mike Frysinger +glibc-2.11.ebuild: + Version bump. + + 05 Nov 2009; Mike Frysinger + glibc-2.9_p20081201-r3.ebuild: + Add binutils-2.20 detection patch to glibc-2.9. + + 30 Oct 2009; Mike Frysinger glibc-2.10.1.ebuild: + Import a bunch of alpha patches #289642 by Matt Turner. + + 19 Oct 2009; Mike Frysinger glibc-2.10.1.ebuild: + Mark s390 stable. + + 20 Sep 2009; Jory A. Pratt glibc-2.10.1.ebuild, + +files/2.10/glibc-2.10-gentoo-chk_fail.c: + rename broken glibc-2.6-gentoo_chk_fail.c to glibc-2.10-gentoo_chk_fail.c + and update ebuild. + + 20 Sep 2009; Jory A. Pratt glibc-2.10.1.ebuild, + +files/2.10/glibc-2.10-hardened-configure-picdefault.patch, + +files/2.10/glibc-2.10-hardened-inittls-nosysenter.patch, + +files/2.10/glibc-2.10-hardened-ssp-compat.patch: + add updated hardened patches bug #270274, please leave mask in place for + hardened profile. + + 18 Sep 2009; Diego E. Pettenò glibc-2.10.1.ebuild, + files/eblits/src_install.eblit: + Bump patcheset; add patch for bug #284393 (compatibility with binutils + 2.20 betas), and make nscd init script not use 'strings' at runtime (bug + #285308). + + 13 Sep 2009; Markus Meier + glibc-2.9_p20081201-r2.ebuild: + arm stable, bug #270243 + + 07 Sep 2009; Mike Frysinger + glibc-2.9_p20081201-r3.ebuild, glibc-2.10.1.ebuild: + Block sys-kernel/ps3-sources as it has custom patches which breaks glibc + #271367 by Jean-Francis Roy. + + 07 Sep 2009; Mike Frysinger glibc-2.10.1.ebuild: + Include glibc ports addon again #283239 by Raúl Porcel. + + 04 Sep 2009; Mike Frysinger + files/eblits/src_compile.eblit: + Force more compiler/assembler tests to true for cross headers. + + 04 Sep 2009; Mike Frysinger glibc-2.10.1.ebuild: + Add ~ia64 love. + + 30 Aug 2009; Tobias Klausmann + glibc-2.9_p20081201-r3.ebuild: + Stable on alpha, bug #283188 + +*glibc-2.9_p20081201-r3 (28 Aug 2009) + + 28 Aug 2009; Mark Loeser + +glibc-2.9_p20081201-r3.ebuild: + Bump for patchset with gcc-4.4 fix and alpha fixes + + 29 Aug 2009; Raúl Porcel + glibc-2.9_p20081201-r2.ebuild: + ia64/sparc stable wrt #270243 + + 27 Aug 2009; Mike Frysinger + files/eblits/src_compile.eblit: + Force all linker tests to true for cross headers #282442 by Jack Byer. + + 21 Aug 2009; Mike Frysinger + files/eblits/pkg_setup.eblit: + Add check for broken syscall() on x86 #279260 by Andrew Gaffney. + + 19 Jul 2009; nixnut glibc-2.9_p20081201-r2.ebuild: + ppc stable #270243 + + 04 Jul 2009; Brent Baude + glibc-2.9_p20081201-r2.ebuild: + Marking glibc-2.9_p20081201-r2 ppc64 for bug 270243 + + 28 Jun 2009; Markus Meier + glibc-2.9_p20081201-r2.ebuild: + amd64 stable, bug #270243 + + 28 Jun 2009; Tobias Klausmann + glibc-2.9_p20081201-r2.ebuild: + Stable on alpha, bug #270243 + + 26 Jun 2009; Christian Faulhammer + glibc-2.9_p20081201-r2.ebuild: + stable x86, bug 270243 + + 15 Jun 2009; Jeroen Roovers + glibc-2.9_p20081201-r2.ebuild: + Stable for HPPA (bug #270243). + +*glibc-2.10.1 (18 May 2009) + + 18 May 2009; Mike Frysinger +glibc-2.10.1.ebuild: + Version bump. + + 17 May 2009; Mike Frysinger + files/eblits/src_unpack.eblit: + Improve check_nptl_support output to include more info to help people + figure out their own mistakes. + + 02 May 2009; Mark Loeser + files/eblits/src_compile.eblit: + Disable selinux on crosscompile; bug #186780 + + 13 Apr 2009; Jeroen Roovers + glibc-2.8_p20080602-r1.ebuild: + Stable for HPPA (bug #247553). + + 01 Apr 2009; Mike Frysinger + glibc-2.8_p20080602-r1.ebuild, glibc-2.9_p20081201-r2.ebuild: + Disable ldconfig execution to avoid sandbox violations on ld.so.cache. + + 23 Mar 2009; Mike Frysinger + files/eblits/pkg_setup.eblit: + Tweak xen warning a bit #263434 by Jeremy Olexa. + + 20 Mar 2009; Mike Frysinger + glibc-2.8_p20080602-r1.ebuild: + Mark arm/sh stable. + + 19 Mar 2009; Guy Martin glibc-2.8_p20080602-r1.ebuild: + Added ~hppa to KEYWORDS + + 19 Mar 2009; Brent Baude + glibc-2.8_p20080602-r1.ebuild: + Marking glibc-2.8_p20080602-r1 ppc for bug 247553 + + 19 Mar 2009; Mike Frysinger + files/eblits/pkg_setup.eblit, glibc-2.7-r2.ebuild, + glibc-2.8_p20080602.ebuild, glibc-2.8_p20080602-r1.ebuild, + glibc-2.9_p20081201.ebuild, glibc-2.9_p20081201-r1.ebuild: + Abort install if people have a broken kernel running #262698. + + 08 Mar 2009; Mike Frysinger glibc-2.7-r2.ebuild, + glibc-2.8_p20080602.ebuild, glibc-2.8_p20080602-r1.ebuild, + glibc-2.9_p20081201.ebuild, glibc-2.9_p20081201-r1.ebuild, + glibc-2.9_p20081201-r2.ebuild: + Drop extraneous glibc-compat20 #198657. + + 07 Mar 2009; Markus Meier + glibc-2.8_p20080602-r1.ebuild: + x86 stable, bug #247553 + + 07 Mar 2009; Raúl Porcel + glibc-2.8_p20080602-r1.ebuild: + ia64/sparc stable wrt #247553 + + 01 Mar 2009; Mike Frysinger + +files/eblits/pkg_postinst.eblit, +files/eblits/pkg_preinst.eblit, + +files/eblits/pkg_setup.eblit, glibc-2.9_p20081201-r2.ebuild: + Add support for pkg_* funcs with eblits. + + 24 Feb 2009; Joshua Kinard + glibc-2.9_p20081201-r2.ebuild: + Add ~mips to KEYWORDS + + 21 Feb 2009; Mike Frysinger + glibc-2.9_p20081201-r2.ebuild: + Add fix from upstream for building with newer binutils #258072. + + 19 Feb 2009; Tom Gall glibc-2.8_p20080602-r1.ebuild: + stable on ppc64, bug #247553 + + 18 Feb 2009; Tobias Klausmann + glibc-2.8_p20080602-r1.ebuild: + Stable on alpha, bug #247553 + +*glibc-2.9_p20081201-r2 (16 Feb 2009) + + 16 Feb 2009; Mike Frysinger + +glibc-2.9_p20081201-r2.ebuild: + Add tweak for resolver issues #250468, a bunch of upstream fixes, a bunch + of SuperH fixes, and drop the deepbind patch #252302. + + 13 Feb 2009; Jeremy Olexa + glibc-2.8_p20080602-r1.ebuild: + amd64 stable, bug 247553 + + 28 Jan 2009; Mike Frysinger files/eblits/common.eblit: + Build glibc with -U_FORTIFY_SOURCE. + + 26 Jan 2009; Mike Frysinger glibc-2.3.2-r12.ebuild, + glibc-2.3.5-r3.ebuild: + Drop USE=pic usage. + + 14 Jan 2009; Mike Frysinger + glibc-2.8_p20080602-r1.ebuild: + Mark s390 stable. + + 31 Dec 2008; Mike Frysinger + glibc-2.9_p20081201-r1.ebuild: + Disable nss deepbind patch until we get it sorted out #252302. + + 29 Dec 2008; Mike Frysinger glibc-2.7-r2.ebuild, + glibc-2.8_p20080602.ebuild, glibc-2.8_p20080602-r1.ebuild, + glibc-2.9_p20081201.ebuild, glibc-2.9_p20081201-r1.ebuild: + Force LC_ALL=C until the iconvdata patch hits #252802 by Harald van Dijk. + + 29 Dec 2008; Mike Frysinger files/eblits/common.eblit, + files/eblits/src_install.eblit: + Stop removing locale vars from environment #252802 by Harald van Dijk. + +*glibc-2.9_p20081201-r1 (27 Dec 2008) + + 27 Dec 2008; Mike Frysinger + +glibc-2.9_p20081201-r1.ebuild: + Fix popen() issues and get more arches usable. + + 24 Dec 2008; Mike Frysinger + glibc-2.8_p20080602-r1.ebuild: + Add s390 utmp compat patch. + + 23 Dec 2008; Friedrich Oslage + files/eblits/common.eblit: + Add support to optimize for UltraSPARC T1 and T2 cpus + +*glibc-2.9_p20081201 (08 Dec 2008) + + 08 Dec 2008; Mike Frysinger + +glibc-2.9_p20081201.ebuild: + Version bump #237236. + + 08 Dec 2008; Mike Frysinger + files/eblits/src_unpack.eblit: + Force timestamp update of C-translit.h so we dont regen it all the time + #185476 #218003. + +*glibc-2.8_p20080602-r1 (08 Dec 2008) + + 08 Dec 2008; Mike Frysinger + +glibc-2.8_p20080602-r1.ebuild: + Import a bunch of random fixes from upstream, some of which cover #236770 + #237179 #245914. + + 29 Nov 2008; Mike Frysinger + files/eblits/src_compile.eblit: + Force compiler tests when building only headers #229391. + + 27 Oct 2008; Mike Frysinger + glibc-2.8_p20080602.ebuild: + Fix building for arm. + + 05 Sep 2008; Mike Frysinger glibc-2.3.5-r3.ebuild, + glibc-2.3.6-r4.ebuild, glibc-2.3.6-r5.ebuild, glibc-2.4-r4.ebuild, + glibc-2.5-r2.ebuild, glibc-2.5-r3.ebuild, glibc-2.5-r4.ebuild, + glibc-2.5.1.ebuild, glibc-2.6.ebuild, glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild, glibc-2.8_p20080602.ebuild: + Drop app-admin/eselect-compiler dependency to make Mr_Bones_ happy. + + 23 Aug 2008; Doug Goldstein metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 23 Jun 2008; Mike Frysinger + files/eblits/src_compile.eblit: + Check to see if ports is in $S rather than $PWD #229107. + + 23 Jun 2008; Mike Frysinger + files/eblits/src_compile.eblit, files/eblits/src_install.eblit, + files/eblits/src_install-2.6.eblit, glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild, glibc-2.8_p20080602.ebuild: + Short circuit header building in pkg testing and ABI recursion. + + 23 Jun 2008; Mike Frysinger glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild, glibc-2.8_p20080602.ebuild: + Add workaround for still broken #133327 / #228907. + + 22 Jun 2008; Friedrich Oslage + glibc-2.8_p20080602.ebuild: + Add ~sparc keyword + + 22 Jun 2008; Friedrich Oslage + files/eblits/common.eblit: + add support for 32bit userland with multilib on sparc + + 22 Jun 2008; Mike Frysinger glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild, glibc-2.8_p20080602.ebuild: + Change to / before running tests in case $PWD is weird #228809 by Kai + Krakow. + + 21 Jun 2008; Mike Frysinger + glibc-2.8_p20080602.ebuild: + Add ~alpha and ~ia64 love. + + 17 Jun 2008; Mike Frysinger + glibc-2.8_p20080602.ebuild: + Fix building for alpha #227275. + + 11 Jun 2008; Mike Frysinger glibc-2.6.1.ebuild, + glibc-2.7-r2.ebuild: + Declare LIBIDN_VER #225831 by Gerard Neil. + +*glibc-2.8_p20080602 (08 Jun 2008) + + 08 Jun 2008; Mike Frysinger + files/eblits/src_unpack.eblit, +glibc-2.8_p20080602.ebuild: + Version bump #225175 by Arfrever Frehtes Taifersar Arahesis. + + 12 May 2008; Markus Rothe glibc-2.7-r2.ebuild: + Stable on ppc64 + + 27 Mar 2008; Jeroen Roovers glibc-2.7-r2.ebuild: + Stable for HPPA. + + 24 Mar 2008; Mike Frysinger + +files/eblits/src_install-2.6.eblit, -files/eblits/src_install-2.7.eblit, + glibc-2.6.1.ebuild, glibc-2.7.ebuild, glibc-2.7-r1.ebuild: + Reversion things so old is old #191088. + +*glibc-2.7-r2 (23 Mar 2008) + + 23 Mar 2008; Mike Frysinger + files/eblits/src_install.eblit, files/eblits/src_test.eblit, + +glibc-2.7-r2.ebuild: + No need to generate multilib headers anymore with latest glibc #191088. Grab + some queue.h updates from FreeBSD #201979. Disable (for now) CFI stuff on + x86_64/x86 to workaround a bug in gcc #202055. Fix from upstream for + building with newer binutils #209629. Fix pthread_join on hppa #213829. Make + sure to force latest kernel headers on hppa and increase testing timeout + #214003. + + 10 Mar 2008; Mike Frysinger glibc-2.6.1.ebuild, + glibc-2.7.ebuild, glibc-2.7-r1.ebuild: + Only check for downgrades on the native glibc version ... let people screw + up any other system #212912. + + 16 Jan 2008; Mike Frysinger glibc-2.7-r1.ebuild: + Add some ~sparc love. + + 31 Dec 2007; Jeroen Roovers glibc-2.7-r1.ebuild: + Stable for HPPA. + + 29 Dec 2007; Mike Frysinger glibc-2.7-r1.ebuild: + Add patches to fix hppa. + + 24 Dec 2007; Mike Frysinger glibc-2.7-r1.ebuild: + Fix building with BSD awk by using a POSIX regex #202511 by Alexis Ballier. + + 11 Dec 2007; Mike Frysinger glibc-2.7-r1.ebuild: + Add patch to fix building on alpha #201910 by Jose Luis Rivero. + + 10 Dec 2007; Jeroen Roovers glibc-2.7-r1.ebuild: + Marked ~hppa too. + +*glibc-2.7-r1 (10 Dec 2007) + + 10 Dec 2007; Mike Frysinger + files/eblits/src_install.eblit, +glibc-2.7-r1.ebuild: + Add fixes for #196926 (build failure with USE=glibc-omitfp), #201646 (double + free on sscanf("", "%as")), #199479 (build failure for i586-* targets due to + duplicate _chk defs), #198949 (static link failure when using + pthread_cond_timedwait), #196933 (build failure on hppa), and #196031 (gdb + debugging errors with pthreads). + + 18 Nov 2007; Mike Frysinger + files/eblits/src_compile.eblit, glibc-2.6.1.ebuild, glibc-2.7.ebuild: + Build gd-based helper tools when USE=gd #198381. + + 11 Nov 2007; Mike Frysinger + +files/2.7/glibc-2.7-hardened-inittls-nosysenter.patch, + files/eblits/src_unpack.eblit, glibc-2.6.1.ebuild, glibc-2.7.ebuild: + Move hardened stuff back to each ebuild (since that is how we are tracking + it) and add support for pre/post eblit hooks. Also fixup hardened patch to + apply #198335. + + 10 Nov 2007; Mike Frysinger glibc-2.6.ebuild, + glibc-2.6.1.ebuild, glibc-2.7.ebuild: + Only stick glibc-compat20 into IUSE when linuxthreads is available #198657 + by Benjamin Schindler. + + 10 Nov 2007; Mike Frysinger + files/eblits/src_unpack.eblit, glibc-2.6.1.ebuild, glibc-2.7.ebuild: + Add support for USE=vanilla. + + 24 Oct 2007; Mike Frysinger glibc-2.7.ebuild: + Fix building on hppa #196868 and add patch for gcc-4.2 + noinlining #196245. + + 23 Oct 2007; Mike Frysinger glibc-2.7.ebuild: + Force >=sys-apps/sandbox-1.2.18.1-r2 so it recognizes the new cloexec flags + #196720. + +*glibc-2.7 (22 Oct 2007) + + 22 Oct 2007; Mike Frysinger +glibc-2.7.ebuild: + Version bump. + + 17 Oct 2007; Raúl Porcel glibc-2.6.1.ebuild: + alpha/ia64/sparc stable wrt #195427 + + 16 Oct 2007; Christoph Mende glibc-2.6.1.ebuild: + Stable on amd64 wrt bug #195427 + + 15 Oct 2007; Markus Rothe glibc-2.6.1.ebuild: + Stable on ppc64; bug #195427 + + 14 Oct 2007; Christian Faulhammer glibc-2.6.1.ebuild: + stable x86, bug 195427 + + 12 Oct 2007; Lars Weiler glibc-2.6.1.ebuild: + stable ppc, bug #195427 + + 10 Oct 2007; Mike Frysinger files/eblits/common.eblit: + Add default -march for x86 on amd64 builds based on CHOST #185404. + + 07 Oct 2007; Mike Frysinger + files/eblits/src_unpack.eblit: + Dont bother checking kernel headers when installing libc headers #190510. + + 04 Sep 2007; Joshua Kinard glibc-2.6.1.ebuild: + Update the patchset to 1.1 to pull in a patch for mips to enable support for + .gnu.hash capabilities, and mark unstable on mips. + + 06 Aug 2007; Mike Frysinger + +files/eblits/common.eblit, +files/eblits/src_compile.eblit, + +files/eblits/src_install.eblit, +files/eblits/src_test.eblit, + +files/eblits/src_unpack.eblit, glibc-2.6.1.ebuild: + Introduce eblits. + + 06 Aug 2007; Mike Frysinger + glibc-2.6.ebuild, glibc-2.6.1.ebuild: + Add default -march for x86 builds based on CHOST #185404. + +*glibc-2.6.1 (01 Aug 2007) +*glibc-2.5.1 (01 Aug 2007) + + 01 Aug 2007; Mike Frysinger +glibc-2.5.1.ebuild, + +glibc-2.6.1.ebuild: + Version bump. + + 24 Jul 2007; Samuli Suominen Manifest: + Fix Manifest. (yoswink) + + 24 Jul 2007; Jose Luis Rivero glibc-2.6.ebuild: + Keyworded ~alpha + + 20 Jul 2007; Gustavo Zacarias glibc-2.6.ebuild: + Keyworded ~sparc + + 15 Jul 2007; Christoph Mende glibc-2.5-r4.ebuild: + Stable on amd64 wrt security bug #183844 + + 10 Jul 2007; Tobias Scherbaum glibc-2.5-r4.ebuild: + ppc stable, bug #183844 + + 10 Jul 2007; Gustavo Zacarias glibc-2.5-r4.ebuild: + Stable on sparc wrt #183844 + + 09 Jul 2007; Jeroen Roovers glibc-2.5-r4.ebuild: + Stable for HPPA (bug #183844). + + 07 Jul 2007; Joshua Kinard glibc-2.5-r4.ebuild: + Stable on mips, per #183844. + + 07 Jul 2007; Raúl Porcel glibc-2.5-r4.ebuild: + alpha/ia64 stable wrt security #183844 + + 07 Jul 2007; Markus Rothe glibc-2.5-r4.ebuild: + Stable on ppc64; bug #183844 + + 05 Jul 2007; Piotr Jaroszyński glibc-2.5-r4.ebuild: + (QA) RESTRICT clean up. + + 03 Jul 2007; Christian Faulhammer glibc-2.5-r4.ebuild: + stable x86, security bug 183844 + +*glibc-2.5-r4 (03 Jul 2007) + + 03 Jul 2007; +glibc-2.5-r4.ebuild: + - bug 183844 + + 02 Jul 2007; Piotr Jaroszyński glibc-2.2.5-r10.ebuild, + glibc-2.3.2-r12.ebuild, glibc-2.3.5-r3.ebuild, glibc-2.3.6-r4.ebuild, + glibc-2.3.6-r5.ebuild, glibc-2.4-r4.ebuild, glibc-2.5-r2.ebuild, + glibc-2.5-r3.ebuild, glibc-2.6.ebuild: + (QA) RESTRICT clean up. + + 02 Jul 2007; Jose Luis Rivero glibc-2.5-r3.ebuild: + Stable on alpha wrt security bug #176712 + + 01 Jul 2007; Piotr Jaroszyński glibc-2.3.5-r3.ebuild, + glibc-2.3.6-r4.ebuild, glibc-2.3.6-r5.ebuild, glibc-2.4-r4.ebuild, + glibc-2.5-r2.ebuild, glibc-2.5-r3.ebuild, glibc-2.6.ebuild: + (QA) RESTRICT="multilib-pkg-force" -> EMULTILIB_PKG="true" + + 25 Jun 2007; Joshua Kinard glibc-2.5-r3.ebuild: + Stable on mips, per #176712. + + 05 Jun 2007; Raúl Porcel glibc-2.3.6-r5.ebuild: + alpha stable + + 02 Jun 2007; Matti Bickel glibc-2.5-r3.ebuild: + ppc stable + + 01 Jun 2007; Raúl Porcel glibc-2.5-r3.ebuild: + ia64 stable wrt security #176712 + + 01 Jun 2007; Stephen Bennett +glibc-2.3.6-r4.ebuild: + Re-add 2.3.6-r4 since it was latest 2.3 stable on alpha + + 31 May 2007; Daniel Gryniewicz glibc-2.5-r3.ebuild: + Marked stable on amd64 for bug #176712 + + 31 May 2007; Markus Rothe glibc-2.5-r3.ebuild: + Stable on ppc64; bug #176712 + + 30 May 2007; Raúl Porcel glibc-2.5-r3.ebuild: + x86 stable wrt security #176712 + + 29 May 2007; Gustavo Zacarias glibc-2.5-r3.ebuild: + Stable on sparc wrt security #176712 + + 28 May 2007; Jeroen Roovers glibc-2.5-r3.ebuild: + Stable for HPPA (bug #176712). + +*glibc-2.5-r3 (27 May 2007) + + 27 May 2007; Mike Frysinger +glibc-2.5-r3.ebuild: + Some more fixes from upstream (/etc/shell and printf()), fix tests when + profiling/debugging is enabled, and add patch from SuSE for more dynamic + /etc/resolv.conf handling. + + 24 May 2007; Joshua Kinard glibc-2.3.6-r5.ebuild: + Stable on mips. + +*glibc-2.6 (19 May 2007) + + 19 May 2007; Mike Frysinger +glibc-2.6.ebuild: + Version bump. + + 15 May 2007; Jeroen Roovers glibc-2.5-r2.ebuild: + Stable for HPPA (bug #168131). + + 14 May 2007; Mike Frysinger glibc-2.5-r2.ebuild: + Push out some alpha compile fixes. + + 11 May 2007; Joshua Kinard glibc-2.5-r2.ebuild: + Stable on mips, per #176712. + + 09 May 2007; Bryan Østergaard glibc-2.5-r2.ebuild: + Stable on Alpha, bug 176712. + + 05 May 2007; Daniel Gryniewicz glibc-2.5-r2.ebuild: + Marked stable on amd64 for bug #176712 + + 05 May 2007; Tobias Scherbaum glibc-2.5-r2.ebuild: + ppc stable, bug #176712 + + 05 May 2007; Mike Frysinger glibc-2.5-r2.ebuild: + Switch to cleaner STRIP_MASK with prepallstrip. + + 04 May 2007; Gustavo Zacarias glibc-2.5-r2.ebuild: + Stable on sparc wrt security #176712 + + 04 May 2007; Bryan Østergaard glibc-2.5-r2.ebuild: + Stable on IA64, bug 176712. + + 03 May 2007; Markus Rothe glibc-2.5-r2.ebuild: + Stable on ppc64; bug #176712 + + 03 May 2007; Andrej Kacian glibc-2.5-r2.ebuild: + Stable on x86, security bug #176712. + +*glibc-2.5-r2 (03 May 2007) + + 03 May 2007; Mike Frysinger +glibc-2.5-r2.ebuild: + Fix building with sanitized headers for various arches, fix from upstream + #176712 for printf overflow, fix building under hppa, and respect env + CPPFLAGS. + + 15 Mar 2007; Kevin F. Quinn + files/2.5/glibc-2.5-hardened-pie.patch, glibc-2.5-r1.ebuild: + Fix 2.5-hardened-pie.spec (bug #170731), and make 2.5-r1 robust against compiler variant. + +*glibc-2.5-r1 (13 Mar 2007) + + 13 Mar 2007; Mike Frysinger + +files/2.5/glibc-2.5-gentoo-stack_chk_fail.c, + +files/2.5/glibc-2.5-hardened-configure-picdefault.patch, + +files/2.5/glibc-2.5-hardened-inittls-nosysenter.patch, + +files/2.5/glibc-2.5-hardened-pie.patch, +glibc-2.5-r1.ebuild: + Push out misc fixes and include new hardened/hppa work. + + 25 Feb 2007; Joshua Kinard glibc-2.5.ebuild: + Add ~mips to glibc-2.5 for testing under the 2007.1-dev profile. + + 23 Feb 2007; Roy Marples files/nscd: + nscd init script no longer requires bash + + 17 Feb 2007; Mike Frysinger glibc-2.5.ebuild: + We no longer support i386-* hosts #165772. + + 13 Feb 2007; Gustavo Zacarias glibc-2.5.ebuild: + Stable on sparc for 2007.0 + + 12 Feb 2007; Bryan Østergaard glibc-2.5.ebuild: + Stable on IA64. + + 12 Feb 2007; Bryan Østergaard glibc-2.5.ebuild: + Stable on Alpha. + + 12 Feb 2007; Simon Stelling glibc-2.5.ebuild: + stable on amd64; bug 165085 + + 11 Feb 2007; Joseph Jezak glibc-2.5.ebuild: + Marked ppc stable for bug #165085. + + 08 Feb 2007; Bryan Østergaard glibc-2.5.ebuild: + Add ~alpha keyword. + + 06 Feb 2007; Christian Faulhammer glibc-2.5.ebuild: + stable x86; bug #165085 + + 27 Jan 2007; Mike Frysinger glibc-2.3.6-r4.ebuild, + glibc-2.3.6-r5.ebuild, glibc-2.4-r3.ebuild, glibc-2.4-r4.ebuild, + glibc-2.5.ebuild: + Fixup bash style in check_nptl_support so the checks actually work #164007 + by Andrew Gaffney. + + 16 Jan 2007; Gustavo Zacarias glibc-2.5.ebuild: + Give ~sparc keywords + + 06 Jan 2007; Tom Gall glibc-2.5.ebuild: + stable on ppc64. + + 25 Nov 2006; nixnut glibc-2.3.6-r5.ebuild, + glibc-2.4-r4.ebuild: + Stable on ppc wrt bug 154176 + + 25 Nov 2006; glibc-2.3.6-r5.ebuild: + stable on amd64 + + 20 Nov 2006; Guy Martin glibc-2.3.6-r5.ebuild: + Stable on hppa. + + 13 Nov 2006; Tom Gall glibc-2.4-r4.ebuild: + stable on ppc64 + + 09 Nov 2006; Gustavo Zacarias glibc-2.3.6-r5.ebuild: + Stable on sparc wrt #154176 + + 08 Nov 2006; Christian Faulhammer + glibc-2.3.6-r5.ebuild, glibc-2.4-r4.ebuild: + stable x86, bug #154176 + + 06 Nov 2006; Daniel Gryniewicz glibc-2.4-r4.ebuild: + Marked stable on amd64 for bug #154176 + + 19 Oct 2006; Markus Rothe glibc-2.3.6-r5.ebuild: + Stable on ppc64 (for binutils-2.17) + +*glibc-2.3.6-r5 (30 Sep 2006) + + 30 Sep 2006; Mike Frysinger +glibc-2.3.6-r5.ebuild: + Push out accumulated fixes. + +*glibc-2.5 (30 Sep 2006) + + 30 Sep 2006; Mike Frysinger +glibc-2.5.ebuild: + Version bump. + +*glibc-2.4-r4 (29 Sep 2006) + + 29 Sep 2006; Mike Frysinger +glibc-2.4-r4.ebuild: + Push out accumulated fixes. + + 19 Sep 2006; Jason Wever glibc-2.4-r3.ebuild: + Added ~sparc keyword to glibc-2.4, woohoo + + 14 Sep 2006; Danny van Dyk glibc-2.3.6-r3.ebuild: + Moved last hidden USE flag to USE_EXPAND flag. + + 30 Aug 2006; Chris Gianelloni glibc-2.4-r3.ebuild: + Stable on amd64 and x86. + + 14 Aug 2006; glibc-2.3.4.20041102-r2.ebuild, + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5-r2.ebuild, + glibc-2.3.5-r3.ebuild: + - switch default ordering of gcc-config and eselect-compiler to work around + portage bug + + 05 Aug 2006; Danny van Dyk glibc-2.3.6-r4.ebuild, + glibc-2.4-r3.ebuild: + Fixed bug #142832: wrapped crosscompile-fix in 'if is_crosscompile && ...'. + + 28 Jul 2006; glibc-2.3.5-r3.ebuild: + Stable on IA64; fix bug #141681. + + 22 Jul 2006; Bryan Østergaard glibc-2.3.6-r4.ebuild: + Stable on alpha. + + 09 Jul 2006; Joshua Kinard glibc-2.3.6-r4.ebuild: + Marked stable on mips. + + 08 Jul 2006; Lars Weiler glibc-2.3.6-r4.ebuild: + Stable on ppc; bug #137121. + + 04 Jul 2006; Mike Frysinger glibc-2.3.5-r2.ebuild, + glibc-2.3.5-r3.ebuild, glibc-2.3.6-r3.ebuild, glibc-2.3.6-r4.ebuild, + glibc-2.4-r3.ebuild: + Add back in sanity check to prevent people from downgrading their glibc. + + 28 Jun 2006; Markus Rothe glibc-2.3.6-r4.ebuild: + Stable on ppc64 + + 28 Jun 2006; Mike Frysinger glibc-2.3.6-r4.ebuild, + glibc-2.4-r3.ebuild: + Disable --with-__thread when USE=glibc-compat20 #138028 by je_fro. + + 27 Jun 2006; Luca Barbato glibc-2.4-r3.ebuild: + Marked stable on ppc + + 27 Jun 2006; Mike Frysinger glibc-2.3.6-r4.ebuild, + glibc-2.4-r3.ebuild: + Punt Fedora tarballs in favor of packaging c_stubs/glibc-compat ourselves + #138028 by je_fro. + + 25 Jun 2006; Guy Martin glibc-2.3.6-r4.ebuild: + Stable on hppa. + + 25 Jun 2006; Marcus D. Hanwell glibc-2.3.6-r4.ebuild: + Marked stable on amd64, bug 137121. + + 24 Jun 2006; Markus Rothe glibc-2.4-r3.ebuild: + Added ~ppc64 to get more user response for bugs + + 22 Jun 2006; Mike Frysinger glibc-2.3.6-r4.ebuild, + glibc-2.4-r3.ebuild: + Make locale-gen upgrade path a little smoother for people who want *all* + locales generated #137538. + + 21 Jun 2006; Gustavo Zacarias glibc-2.3.6-r4.ebuild: + Stable on sparc wrt #137121 + + 18 Jun 2006; Andrej Kacian glibc-2.3.6-r4.ebuild: + Stable on x86. Bug #137121. + + 15 Jun 2006; Joshua Kinard glibc-2.4-r3.ebuild: + Add ~mips to KEYWORDS for testing purposes. + + 30 May 2006; Jeremy Huddleston + glibc-2.3.4.20041102-r2.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5-r1.ebuild, glibc-2.3.5-r2.ebuild, + glibc-2.3.5-r3.ebuild, glibc-2.3.6.ebuild, glibc-2.3.6-r1.ebuild, + glibc-2.3.6-r2.ebuild, glibc-2.3.6-r3.ebuild, glibc-2.3.6-r4.ebuild, + glibc-2.4-r1.ebuild, glibc-2.4-r2.ebuild, glibc-2.4-r3.ebuild: + Let app-admin/eselect-compiler be used instead of sys-devel/gcc-config if + it's available. + + 30 May 2006; Luca Barbato glibc-2.4-r3.ebuild: + Marked ~ppc + + 26 May 2006; Guy Martin glibc-2.3.6-r4.ebuild: + Added ~hppa to KEYWORDS. + +*glibc-2.4-r3 (13 May 2006) + + 13 May 2006; Mike Frysinger +glibc-2.4-r3.ebuild: + Push out accumulated changes and post new amd64 string patch. + + 05 May 2006; Mike Frysinger glibc-2.3.6-r3.ebuild: + Just filter strings patch for hardened users #124682. + +*glibc-2.3.6-r4 (04 May 2006) + + 04 May 2006; Mike Frysinger +glibc-2.3.6-r4.ebuild: + Backport all the crazy changes from glibc-2.4 and include a ton of bugfixes. + + 04 May 2006; Joseph Jezak glibc-2.3.6-r3.ebuild: + Marked ppc stable for bug #132076. + + 02 May 2006; Daniel Gryniewicz glibc-2.3.6-r3.ebuild: + Marked stable on amd64 per bug# 131403 + + 30 Apr 2006; Joshua Kinard glibc-2.3.6-r3.ebuild: + Marked stable on mips. + + 30 Apr 2006; Simon Stelling glibc-2.3.5-r3.ebuild: + stable on amd64 + + 26 Apr 2006; Ilya A. Volynets-Evenbakh + glibc-2.3.6.ebuild, glibc-2.3.6-r1.ebuild, glibc-2.3.6-r2.ebuild, + glibc-2.3.6-r3.ebuild: + replace "portageq has_version" with "has_version" to make paludis with + root!=/ happy + + 25 Apr 2006; Gustavo Zacarias glibc-2.3.6-r3.ebuild: + Stable on sparc + + 25 Apr 2006; Mark Loeser glibc-2.3.6-r3.ebuild: + Stable on x86 + + 17 Apr 2006; Mike Frysinger glibc-2.4-r2.ebuild: + Kill USE=userlocales and replace with Debian locale-gen #22565. + + 14 Apr 2006; Bryan Østergaard glibc-2.4-r2.ebuild: + fix DEPEND so that we can use mips-headers with USE=nptl + +*glibc-2.4-r2 (01 Apr 2006) + + 01 Apr 2006; Mike Frysinger +glibc-2.4-r2.ebuild: + Cleaned up version bump. + + 29 Mar 2006; Chris Gianelloni glibc-2.3.5-r3.ebuild: + Marking stable on x86 wrt bug #127680. + + 29 Mar 2006; Mike Frysinger glibc-2.4-r1.ebuild: + Force gcc-4 for ppc targets #125797 and allow nptl for most targets #127358. + +*glibc-2.4-r1 (17 Mar 2006) + + 17 Mar 2006; Mike Frysinger +files/2.4/ssp_simple.c, + +glibc-2.4-r1.ebuild: + Cut some old mips patches, update the alpha xstat patch, fixup the ssp + compat patch #125909 and #125988, and fix the fnmatch patch #126164. + + 11 Mar 2006; Mike Frysinger + +files/2.4/glibc-gentoo-libdir.patch, glibc-2.4.ebuild: + Update non-multilib amd64 patch for glibc-2.4 #125793 by Jean Bréfort. + +*glibc-2.4 (10 Mar 2006) + + 10 Mar 2006; Mike Frysinger +glibc-2.4.ebuild: + Version bump. + + 03 Mar 2006; Simon Stelling + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102-r1.ebuild, + glibc-2.3.4.20041102-r2.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild: + remove the dependency on app-emulation/emul-linux-x86-glibc since 2004.3 has + been deprecated a while ago + + 27 Feb 2006; Gustavo Zacarias glibc-2.3.6-r3.ebuild: + Stick a ~sparc in + + 20 Feb 2006; Mike Frysinger glibc-2.3.5-r3.ebuild, + glibc-2.3.6-r3.ebuild: + Add some sparc fixes from upstream #123433 by Jason Weever. + + 20 Feb 2006; Joshua Kinard glibc-2.3.5-r3.ebuild: + Marked stable on mips. + +*glibc-2.3.6-r3 (12 Feb 2006) + + 12 Feb 2006; Martin Schlemmer +glibc-2.3.6-r3.ebuild: + Add amd64 string and math patches, bug #100289. Extra patches from + Simon Strandman's patchset for glibc-2.3.90 that I ported to 2.3.6. + + 29 Jan 2006; Mike Frysinger + -files/glibc-manpages-2.2.5.tar.bz2, -files/glibc-manpages-2.3.2.tar.bz2, + glibc-2.3.2-r12.ebuild: + Move glibc 2.3.2 manpages to mirrors #120700 by Simon Stelling. + + 25 Jan 2006; Daniel Ostrow + glibc-2.3.4.20041102-r2.ebuild: + Stable for stage building. + + 24 Jan 2006; Mike Frysinger glibc-2.3.5.ebuild, + glibc-2.3.5-r1.ebuild, glibc-2.3.5-r2.ebuild, glibc-2.3.5-r3.ebuild, + glibc-2.3.6.ebuild, glibc-2.3.6-r1.ebuild, glibc-2.3.6-r2.ebuild: + Define alt_build_headers for the --with-headers option and for checking for + nptl support #114923. + + 18 Jan 2006; Mark Loeser + files/2.3.5/glibc-2.3.5-propolice-guard-functions.patch, + +files/2.3.6/glibc-2.3.6-propolice-guard-functions.patch, + -glibc-2.3.5.20050421.ebuild, -glibc-2.3.5.20050722.ebuild, + glibc-2.3.6.ebuild, glibc-2.3.6-r1.ebuild, glibc-2.3.6-r2.ebuild: + Add check for SSP from glibc head. Remove old glibc-2.3.5 (glibc-2.4) + snapshots. + + 15 Jan 2006; Joseph Jezak glibc-2.3.5-r3.ebuild, + glibc-2.3.6-r2.ebuild: + Added PPC NPTL workaround and marked glibc-2.3.5-r3 ppc stable. + + 13 Jan 2006; Mike Frysinger glibc-2.3.5-r1.ebuild, + glibc-2.3.5-r2.ebuild, glibc-2.3.5-r3.ebuild, glibc-2.3.6.ebuild, + glibc-2.3.6-r1.ebuild, glibc-2.3.6-r2.ebuild: + Fix double stripping on multilib systems #118207. + + 07 Jan 2006; Markus Rothe glibc-2.3.6-r2.ebuild: + Added ~ppc64 + + 06 Jan 2006; Luis Medinas glibc-2.3.6-r2.ebuild: + Added ~amd64 keyword. + + 06 Jan 2006; Mark Loeser glibc-2.3.6-r2.ebuild: + Marking ~x86 + + 05 Jan 2006; Gustavo Zacarias glibc-2.3.5-r3.ebuild: + Stable on sparc + +*glibc-2.3.6-r2 (03 Jan 2006) + + 03 Jan 2006; Mark Loeser +glibc-2.3.6-r2.ebuild: + Bump to add a new patchset which fixes MIPs gcc-4 issues, bug #32429 and + #116086 + + 25 Dec 2005; Joshua Kinard glibc-2.3.6-r1.ebuild: + New patchset to fix mips build issues when using gcc-4.x. + + 23 Dec 2005; Michael Hanselmann glibc-2.3.6-r1.ebuild: + Added to ~ppc. + + 09 Dec 2005; Joshua Kinard glibc-2.3.6-r1.ebuild: + Added ~mips to KEYWORDS, excluded patch 6640_* + + 09 Dec 2005; Roy Marples files/nscd: + Tweak nscd initscript depend to use dns ldap net slapd. + + 30 Nov 2005; Bryan Østergaard glibc-2.3.5-r3.ebuild: + Stable on alpha. Fixes some longstanding threading issues. + + 18 Nov 2005; Mike Frysinger glibc-2.3.6-r1.ebuild: + Add support for just installing glibc headers when doing a cross-compile. + +*glibc-2.3.6-r1 (14 Nov 2005) + + 14 Nov 2005; Martin Schlemmer +glibc-2.3.6-r1.ebuild: + Fix building with newer binutils. Fix building on ppc with gcc-4.1. + + 12 Nov 2005; Martin Schlemmer glibc-2.3.6.ebuild: + Update DEPEND .. we need later binutils. Also update gcc and gcc-config + dependencies to be sure. + + 11 Nov 2005; Martin Schlemmer glibc-2.3.6.ebuild: + Fix pthread manpages not installing with nptl. + +*glibc-2.3.6 (10 Nov 2005) + + 10 Nov 2005; Martin Schlemmer +glibc-2.3.6.ebuild: + New release. + + 03 Nov 2005; Gustavo Zacarias glibc-2.3.5-r3.ebuild: + Give it some ~sparc keyword + + 27 Oct 2005; Michael Hanselmann glibc-2.3.5-r3.ebuild: + Added to ~ppc. + + 28 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r3.ebuild: + Cleaned up setup_env, and fixed the usage of CFLAGS_. + +*glibc-2.3.5-r3 (27 Oct 2005) + + 27 Oct 2005; Mike Frysinger +glibc-2.3.5-r3.ebuild: + Fix alpha defunct threads #100259, add support for binutils as-needed + #108976, and split timezone data off into another package #109556. + + 21 Oct 2005; Tom Gall + glibc-2.3.5-r1.ebuild, glibc-2.3.5-r2.ebuild: + going back to ~ppc64 in light of bug #109985 + + 19 Oct 2005; Jeremy Huddleston + glibc-2.3.4.20041102-r2.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5-r1.ebuild, glibc-2.3.5-r2.ebuild, + glibc-2.3.5.20050421.ebuild, glibc-2.3.5.20050722.ebuild: + Removing my devspace as a fallback URI so people stop blaming me about + missing distfiles when mirrors fail. + + 17 Oct 2005; Joseph Jezak glibc-2.3.5-r2.ebuild: + Marked ppc stable. + + 14 Oct 2005; Mike Frysinger glibc-2.3.5-r2.ebuild: + Filter CFLAGS and force default ABI when cross-compiling. + + 11 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild: + Set MULTILIB_ABIS to DEFAULT_ABI if ! use multilib. + + 08 Oct 2005; Chris PeBenito glibc-2.3.5-r1.ebuild, + glibc-2.3.5-r2.ebuild: + Enable SELinux support only on primary ABI on multilib systems. + + 08 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild: + Exclude 5005_all_enable-multilib-with-cross-compile.patch unless we're + building a mips64 crosscompiler as it breaks everything else. + + 07 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050722.ebuild: + Don't do get_libdir on crosscompiles except for mips64 since it breaks other + targets and only mildly fixes mips64. + + 07 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050421.ebuild, + glibc-2.3.5.20050722.ebuild: + Don't do the CC setting hack if you've got eselect-compiler as that sets + everything up correctly. + + 07 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050722.ebuild: + Avoid using CFLAGS_${ABI} for sparc64 as that is deprecated (and won't work + with the default eselect-compiler settings). + + 07 Oct 2005; Jeremy Huddleston + glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050722.ebuild: + Punted some multilib config stuff to multilib.eclass. + +*glibc-2.3.5-r2 (06 Oct 2005) + + 06 Oct 2005; Mike Frysinger +glibc-2.3.5-r2.ebuild: + Push out accumulated fixes and fix amd64 multilib error where + C{BUILD,TARGET}_OPT bled across compiles. + + 28 Sep 2005; Mike Frysinger glibc-2.3.5-r1.ebuild: + Add fix by Fredrik Tolf #86313. + + 21 Sep 2005; Mike Frysinger glibc-2.3.5-r1.ebuild: + Rework ABI handling for cross-compiles so mips n32/n64 works now with mips64 + targets. + + 21 Sep 2005; Stephen P. Becker + glibc-2.3.5.20050722.ebuild: + exclude patches 6640_mips_unistd_h-fixes.patch and + 6600_mips_librt-mips.patch since the first isn't required anymore, and + the second breaks the glibc compile--note a new, similar patch may be + needed to facilitate transition between old userlands with the GLIBC_2.0 + symbol in librt + + 18 Sep 2005; Michael Hanselmann glibc-2.3.5-r1.ebuild: + Added to ~ppc. + + 16 Sep 2005; Bryan Østergaard + glibc-2.3.4.20041102-r1.ebuild, glibc-2.3.4.20041102-r2.ebuild, + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5.ebuild, glibc-2.3.5-r1.ebuild, + glibc-2.3.5.20050421.ebuild, glibc-2.3.5.20050722.ebuild: + Enable nptl on alpha. + + 07 Sep 2005; Jeremy Huddleston + glibc-2.3.5-r1.ebuild: + Forcing -j1. Found -j3 making problems on my u2 =(... + + 06 Sep 2005; Markus Rothe glibc-2.3.5-r1.ebuild: + Stable on ppc64 + + 28 Aug 2005; Joshua Kinard glibc-2.3.5-r1.ebuild, + glibc-2.3.5.ebuild: + Bump 2.3.5 to stable, and 2.3.5-r1 to unstable on mips. + + 25 Aug 2005; Martin Schlemmer glibc-2.2.5-r10.ebuild: + Add localedef-fix-trampoline.patch, as we have the same issues with a + hardened kernel as with 2.3.x and gcc-[34].x. + + 21 Aug 2005; MATSUU Takuto glibc-2.3.5-r1.ebuild: + Stable on sh. + + 17 Aug 2005; Mike Frysinger glibc-2.3.5-r1.ebuild, + glibc-2.3.5.20050421.ebuild, glibc-2.3.5.20050722.ebuild: + Make sure we filter all -O flags before we lock down to -O2 #77264. + + 16 Aug 2005; Jeremy Huddleston + glibc-2.3.5-r1.ebuild: + Stable on amd64 and x86 to address issues which cropped up since 2.3.5 went + stable. This fixes bugs #52374, #85718, #100190. + + 10 Aug 2005; Jeremy Huddleston + glibc-2.3.5-r1.ebuild, glibc-2.3.5.20050421.ebuild, + glibc-2.3.5.20050722.ebuild: + Fixed USE=profile support... bug #100092. + + 04 Aug 2005; Martin Schlemmer + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5-r1.ebuild, + glibc-2.3.5.20050421.ebuild, glibc-2.3.5.20050722.ebuild: + Fix typo, bug #101374. + + 31 Jul 2005; MATSUU Takuto glibc-2.3.5-r1.ebuild: + Added ~sh to KEYWORDS. + + 29 Jul 2005; Mike Frysinger glibc-2.3.5-r1.ebuild: + Add patches for SuperH. + + 29 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild, + glibc-2.3.5-r1.ebuild, glibc-2.3.5.20050421.ebuild, + glibc-2.3.5.20050722.ebuild: + Fix cross-compilation RDEPENDs + + 29 Jul 2005; Guy Martin glibc-2.3.2-r12.ebuild, + glibc-2.3.3.20040420-r2.ebuild, glibc-2.3.4.20040619-r2.ebuild, + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102-r1.ebuild: + Fixed hppa no pie patch path. + + 29 Jul 2005; Mike Frysinger + +files/2.3.4/hppa-no-pie.patch, glibc-2.3.2-r12.ebuild, + glibc-2.3.3.20040420-r2.ebuild, glibc-2.3.4.20040619-r2.ebuild, + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102-r1.ebuild: + Add patch to disable building nscd as PIE on hppa since PIE support is + broken in glibc for parisc. + + 26 Jul 2005; Jeremy Huddleston + glibc-2.3.5-r1.ebuild: + Remove a nested function from iconvconfig to make it play nicer for hardened + users. Closes bug #85718. + + 24 Jul 2005; Martin Schlemmer glibc-2.3.5-r1.ebuild: + Add the stripping of the dynamic linker from the snapshot ebuilds, else we + cannot set breakpoints in shared libraries. Make sure we only move actual + files and not symlinks to the tmp directory. + +*glibc-2.3.5.20050722 (24 Jul 2005) + + 24 Jul 2005; Martin Schlemmer + +glibc-2.3.5.20050722.ebuild: + New snapshot release. + + 24 Jul 2005; Markus Rothe glibc-2.3.5-r1.ebuild: + added ~ppc64 + + 23 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild, + glibc-2.3.5-r1.ebuild: + Changed CHOST->CTARGET for 486/586 linuxthreads workaround. Set keywords in + 2.3.5-r1 to ~amd64 ~sparc ~x86 in prep to remove from package.mask. + + 22 Jul 2005; Jeremy Huddleston + glibc-2.3.5-r1.ebuild, glibc-2.3.5.20050421.ebuild: + Readded 1040_all_2.3.3-localedef-fix-trampoline.patch which got lost during + a glibc bump. Shoud address bug #85718. Also, let --with-__thread be + controlled by linuxthread-tls instead of !glibc-compat20. + + 17 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild, + glibc-2.3.5-r1.ebuild: + Workaround for bug #90236 in 2.3.5. Bump of infopages in 2.3.5-r1. + + 15 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild: + Stable on x86. This pushes fixes for the nslookup bug and bugs #74555, + #87671, #90825, and #98779 plus others into stable on x86. + + 15 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild, + glibc-2.3.5-r1.ebuild: + Removed the PDEPEND on emul-glibc for amd64 as this release (and all future + releases) are masked on 2004.3 for amd64. + +*glibc-2.3.5-r1 (15 Jul 2005) + + 15 Jul 2005; Jeremy Huddleston + +glibc-2.3.5-r1.ebuild, glibc-2.3.5.20050421: + Revision bump to address bugs #52374, #82424, and #95351. Adds support for + the 'profile' USE flag which causes profiling glibc libs to be build. The + glibc-omitfp USE flag is now used instead of the !debug flag and CFLAGS + checking to determine if we should pass --enable-omitfp to configure. The + glibc-compat20 USE flag has been introduced to enable the glibc-compat + addon and force the linuxthreads glibc to be compiled with + --without-__thread. This will allow better support for legacy (and in some + cases "broken") binaries to work with this glibc. If you aren't using such + binaries, you're better off not using this USE flag. See bug #95351. + + 14 Jul 2005; Jeremy Huddleston + -files/glibc-2.2.4-string2.h.diff, + -files/2.2.5/glibc-2.2.5-alpha-gcc3-fix.diff, + -files/2.2.5/glibc-2.2.5-alpha-pcdyn-fix.diff, + -files/2.2.5/glibc-2.2.5-arm-errlist-fix.diff, + -files/2.2.5/glibc-2.2.5-arm-sysdeps-fix.diff, + -files/2.2.5/glibc-2.2.5-divdi3.diff, + -files/2.2.5/glibc-2.2.5-dns-network-overflow.diff, + -files/2.2.5/glibc-2.2.5-gcc311.patch, + -files/2.2.5/glibc-2.2.5-getgrouplist.patch, + -files/2.2.5/glibc-2.2.5-ppc-semctl.diff, + -files/2.2.5/glibc-2.2.5-ppc-sqrtl.diff, + -files/2.2.5/glibc-2.2.5-sandbox.diff, + -files/2.2.5/glibc-2.2.5-sparc-mathinline.patch, + -files/2.2.5/glibc-2.2.5-sparc-misc.diff, + -files/2.2.5/glibc-2.2.5-sparc32-semctl.patch, + -files/2.2.5/glibc-2.2.5-sparc64-fixups.diff, + -files/2.2.5/glibc-2.2.5-sunrpc-overflow.diff, + -files/2.2.5/glibc-2.2.5-threadsig.diff, + -files/2.2.5/glibc-2.2.5.divbyzero.patch, + -files/2.2.5/glibc-2.2.5.restrict_arr.patch, + -files/2.3.1/glibc-2.3.1-elf-machine-rela-mips.patch, + -files/2.3.1/glibc-2.3.1-exit-syscall-mips.patch, + -files/2.3.1/glibc-2.3.1-inline-syscall-mips.patch, + -files/glibc-xdr_security.patch, -glibc-2.3.4.20041102.ebuild, + -glibc-2.3.4.20050125.ebuild: + Cleaning out some old cruft. + +*glibc-2.3.4.20041102-r2 (13 Jul 2005) + + 13 Jul 2005; Yuta SATOH + +glibc-2.3.4.20041102-r2.ebuild, glibc-2.3.5.ebuild, + glibc-2.3.5.20050421.ebuild: + added multilib support on ppc64, bug #97162 + + 12 Jul 2005; Jeremy Huddleston + glibc-2.3.4.20041102.ebuild, glibc-2.3.4.20041102-r1.ebuild, + glibc-2.3.4.20050125.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5.20050421.ebuild: + Changed DEPEND to use ~ instead of >= for glibc so we keep version sync + between the packages. + + 11 Jul 2005; Martin Schlemmer + glibc-2.3.4.20050125-r1.ebuild: + Update to support selinux USE flag. + + 11 Jul 2005; Martin Schlemmer + glibc-2.3.4.20041102-r1.ebuild, glibc-2.3.5.ebuild, + glibc-2.3.5.20050421.ebuild: + Update to support selinux USE flag (blame spb). + + 07 Jul 2005; Jeremy Huddleston glibc-2.3.5.ebuild: + Stable amd64. + + 26 Jun 2005; Luca Barbato glibc-2.3.5.ebuild: + ppc doesn't build correctly with -nptlonly + + 16 June 2005; Martin Schlemmer + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5.20050421.ebuild: + Do not backup symlinks for the 'do not strip thread/ld.so libs' action, as + it causes issues (basically the 'mv -f' followed the symlink instead of + moving it ...). + + 14 Jun 2005; Mike Frysinger files/nscd: + Add a permission check to nscd init.d #96108 by Paul Ortyl. + + 11 Jun 2005; Mike Frysinger + glibc-2.3.4.20041102.ebuild, glibc-2.3.4.20041102-r1.ebuild, + glibc-2.3.4.20050125.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5.20050421.ebuild: + Add missing popd by Sunil #95736. + + 07 Jun 2005; Mike Frysinger files/2.3.5/ssp.c, + +files/2.3.5/glibc-2.3.5-propolice-guard-functions.patch, + glibc-2.3.5.ebuild: + Make sure we dont build ssp.c with stack-protector and disable syslog() + until we have a better fix #94325. + + 05 Jun 2005; Mike Frysinger + +files/2.3.4/glibc234-alpha-xstat.patch, glibc-2.3.4.20041102.ebuild, + glibc-2.3.4.20041102-r1.ebuild: + Add xstat patch for alpha for kloeri. + + 27 May 2005; Bryan Østergaard + glibc-2.3.4.20041102-r1.ebuild: + Stable on alpha. + + 05 May 2005; Martin Schlemmer + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5.20050421.ebuild: + Do not strip ld.so to enable setting breakpoints in shared libraries (Fix by + Lonnie Princehouse). + + 03 May 2005; Mike Frysinger + glibc-2.3.4.20041102-r1.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5.20050421.ebuild: + Dont try the ld.so test on static binaries #90836 by Vasilii Alferov. + + 29 Apr 2005; Markus Rothe + glibc-2.3.4.20050125.ebuild, glibc-2.3.4.20050125-r1.ebuild, + glibc-2.3.5.ebuild, glibc-2.3.5.20050421.ebuild: + Filed in the values for CDEFINE on ppc64; bug #88749 + + 28 Apr 2005; Markus Rothe glibc-2.3.5.ebuild, + glibc-2.3.5.20050421.ebuild: + Added ~ppc64 to KEYWORDS + + 27 Apr 2005; Jeremy Huddleston glibc-2.3.5.ebuild, + glibc-2.3.5.20050421.ebuild: + Don't use --enable-omitfp on i[345]86. + + 24 Apr 2005; Joshua Kinard + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.5.ebuild: + We're a bit dated on mips. Bump 2.3.4.20050125-r1 to stable, and 2.3.5 to + unstable. + +*glibc-2.3.5.20050421 (23 Apr 2005) + + 23 Apr 2005; Martin Schlemmer + +glibc-2.3.5.20050421.ebuild: + CVS update for gcc-4.0.0 testing. Added 5090_all_stubs-rule-fix.patch + to patches to fix: + + http://sources.redhat.com/ml/libc-alpha/2005-04/msg00098.html + + 13 Apr 2005; Luca Barbato glibc-2.3.5.ebuild: + Marked ~ppc + +*glibc-2.3.5 (12 Apr 2005) + + 12 Apr 2005; Jeremy Huddleston + +glibc-2.3.5.ebuild: + Version bump. + + 07 Apr 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + Stop excluding the gcc4 patch. Put code in pkg_postinst to remove nptl + libpthread-*.so if we have linuxthreads glibc. Sometimes it doesn't get + emerged and can cause problems like bug #87671. + + 07 Apr 2005; Mike Frysinger + glibc-2.3.4.20050125-r1.ebuild: + Delete the glibc-compat dir since its useless to us #87739. + + 06 Apr 2005; Daniel Ostrow + glibc-2.3.4.20041102-r1.ebuild: + Drop to -j1 for hardened ppc64 + + 03 Apr 2005; Daniel Goller + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.4.20050125.ebuild: + marking 20050125 -ppc till breakage can be fixed see bug #87671 + + 01 Apr 2005; Joseph Jezak glibc-2.3.4.20050125.ebuild, + glibc-2.3.4.20050125-r1.ebuild: + Added ~ppc for bug #87452. + + 31 Mar 2005; Danny van Dyk + glibc-2.3.4.20050125-r1.ebuild: + Fixed gconvdir on multilib arches, BUG #86861. + + 23 Mar 2005; Martin Schlemmer + glibc-2.3.4.20041102-r1.ebuild, glibc-2.3.4.20050125-r1.ebuild: + Fixup copy operations to not replace symlinks with files. Add a fix ala + vapier for bug #85555 (more a abort if this glibc is going to kill / than a + fix). + + 21 Mar 2005; Aron Griffis + glibc-2.3.4.20041102-r1.ebuild: + Add ~alpha + + 15 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + Fix assert in _dl_next_tls_modid-assert (sysdeps/generic/dl-tls.c), bug + #52374. Fix building a crosscompiled glibc with nptl when no libc is + present. Use --no-archive when creating locales as some apps don't like + locale-archive, bug #82106. + +*glibc-2.3.4.20041102-r1 (15 Mar 2005) + + 15 Mar 2005; Martin Schlemmer + +glibc-2.3.4.20041102-r1.ebuild: + Fix assert in _dl_next_tls_modid-assert (sysdeps/generic/dl-tls.c), bug + #52374. Bump x86 stable. + + 15 Mar 2005; Martin Schlemmer + +files/2.3.4/glibc-2.3.4-fix-_dl_next_tls_modid-assert.patch, + glibc-2.3.4.20050125.ebuild: + Fix assert in _dl_next_tls_modid-assert (sysdeps/generic/dl-tls.c), bug #52374. + + 15 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + gcc-4 fix from bug #83403. Fixes for when CBUILD != CHOST. + + 07 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + Don't allow sys/kd.h to prevent linux/types.h from loading outside of its + context. This fixes a problem with glibc, linux-headers-2.6 and bigendian + archs. + + 05 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + Fixed crosscompile want_nptl. Fixed broken src_install logic which resulted + in only nptl version being installed. + + 05 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + Readded libidn addon missing in 2.3.4.20050125. Use configure option + --enable-omitfp if the user has -fomit-frame-pointer in their CFLAGS (before + we strip it out). + + 04 Mar 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild: + A few sparc and multilib fixes with the changing CHOST. Readded warning + about crosscompiled glibc needing to be installed first before one can be + emerged with nptl. Added some fedora updates (glibc-compat) and an updated + mips patch from Kumba. + + 19 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.4.20050125.ebuild: + Updated ssp.c in -r1 with patch from bug #65892 thanks to Kevin F. Quinn + + + 16 Feb 2005; Luca Barbato + glibc-2.3.4.20041102.ebuild: + Marked ppc + +*glibc-2.3.4.20050125-r1 (15 Feb 2005) + + 15 Feb 2005; Jeremy Huddleston + +glibc-2.3.4.20050125-r1.ebuild, glibc-2.3.4.20050125.ebuild: + package.mask'd version bump to fix bugs that cropped up after release. Added + hardened patch that got left out of the patch tarball. -r1 unconditionally + applies it, and also readds the libidn addon. + + 12 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Hack to allow USE=nptl when emerging a crosscompile glibc. More crosscompile + fixes for USE="nptl -nptlonly". Multilib fixes. Weworked sparc CHOST + setting logic to work better with crosscompiling. + + 12 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Readd the 'kill -lgcc_eh hack' for static gccs. Cleaned up crosscompiling + support to properly use CHOST and CBUILD, so tc-getCC works right. Fixed + crosscompiling to mips-* + + 12 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Added DEPEND for cross-compilation. + + 11 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Always grab/unpack the linuxthreads tarball so the infopages can install + right. See bug #81661. + + 10 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Added infopages. Fixed up cross-compilation for multilib CTARGETS. Don't + think we're multilib when crosscompiling for sparc-* or mips-*. Added + >=sys-devel/gcc-config-1.3.9 dependency for cross-compile multilib support. + Fixed some lib -> $(get_libdir) problems. This should be the final commit + before it can come out of package.mask. + + 06 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Updated patchset for mips. Removed a few old sed calls from src_unpack which + don't do anything any more or were fixed in another way upstream. Adding + tested archs: ~mips, ~sparc, ~x86. Still in package.mask. Added linuxthreads + manpages. + + 06 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20041102.ebuild: + Adding in a fix for people bit by the rsync bug #80591. + +*glibc-2.2.5-r10 (06 Feb 2005) + + 06 Feb 2005; Mike Frysinger +glibc-2.2.5-r10.ebuild: + Clean up ebuild and move manpages/patches to our mirrors. + + 05 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20050125.ebuild: + Multilibi/Cross-compile cleanups. Makde src_test the tests in both + linuxthreads and nptl builds. + +*glibc-2.3.4.20050125 (05 Feb 2005) + + 05 Feb 2005; Jeremy Huddleston + +glibc-2.3.4.20050125.ebuild: + Version bump to upstream's 2.3.4 final release. Now using a patch tarball + instead of ${FILESDIR}. package.mask for testing. Patchset is subject to + change while it is in package.mask, so if you test it out during that time, + you might want to re-emerge it once it goes into ~arch. + + 02 Feb 2005; Jeremy Huddleston + glibc-2.3.4.20041102.ebuild: + Stable amd64. + + 31 Jan 2005; glibc-2.3.4.20041102.ebuild: + Marking stable for the 2005.0 IA64 2005.0 profile to work. + + 12 Jan 2005; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + Just a few more changes that do nothing on current profiles... Changed + multilib-pkg to multilib-pkg-force. Added prep_ml_includes. Added inherit + multilib. + + 11 Jan 2005; Jeremy Huddleston + glibc-2.3.4.20040619-r2.ebuild, glibc-2.3.4.20040808-r1.ebuild, + glibc-2.3.4.20041102.ebuild: + Changed linux26-headers depend to accept linux-headers-2.6 as well. + + 11 Jan 2005; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + A few more multilib fixes and install_locales now uses -j1 as it died on me + because of a parallel-make problem. + + 11 Jan 2005; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + Fix bug #77476 for amd64 building x86 libc. + + 10 Jan 2005; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + Support MULTILIB_ABIS. Build for all of them by default so multilib archs + can have a multilib c++ compiler without usign ugly hacks. + + 04 Jan 2005; Mike Frysinger + +files/2.3.2/glibc-2.3.2-assert.patch, glibc-2.3.2-r12.ebuild: + Add patch from upstream to clean up assert.h. + + 03 Jan 2005; Mike Frysinger + +files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch, glibc-2.3.2-r12.ebuild: + Backport USE=userlocale support. Fix building on alpha with 2.6 headers with + patch from upstream #52764 by 0g. + + 23 Dec 2004; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + Added support for ${ABI} and if it's not set, we do sll ${MULTILIB_ABIS}. + This is restricted to the sparc64-multilib PROFILE_ARCH. + + 13 Dec 2004; Jeremy Huddleston + glibc-2.3.4.20040808-r1.ebuild, glibc-2.3.4.20041102.ebuild: + Added ~sparc to glibc-2.3.4.20040808-r1, but it is masked in the sparc32 and + sparc64 PROFILE_ARCHs. Older versions have v9a assembly code that doesn't + work with newer binutils. Glibc also isn't quite smart enough to realize + that it has v9a assembly, so if it uses the gcc default (v9), it will fail, + so we force v9a as flags. I also added the updated logic to 2.3.4.20041102, + but as I haven't tested it yet, it hasn't been marked. + + 05 Dec 2004; glibc-2.3.4.20041102.ebuild: + - q/a - missed glibc-2.3.4.20041102 in last fix + + 05 Dec 2004; glibc-2.3.4.20040808-r1.ebuild: + - q/a fix - hppa is the only arch with an upwords growing stack and thus can + not use ssp vs being the only arch that can use ssp + + 22 Nov 2004; Tom Gall glibc-2.3.4.20041102.ebuild: + stable on ppc64 + + 12 Nov 2004; Joshua Kinard + glibc-2.3.4.20040619-r2.ebuild: + Tricksy patchesess, mispellses thems we does. + + 11 Nov 2004; Joshua Kinard + glibc-2.3.4.20040619-r2.ebuild: + Forgot to rename a patch in the ebuild. + + 10 Nov 2004; Joshua Kinard glibc-2.3.4.20041102.ebuild: + Removed line referencing a uneeded patch for mips. + + 10 Nov 2004; Joshua Kinard + glibc-2.3.4.20040808-r1.ebuild: + Masking via keywords directly. 2.3.4.20041102 works for o32 mips, n32 is still + experimental and broken, but I don't think it can get much more broken than it + is already. Winging it. + + 10 Nov 2004; Joshua Kinard + +files/2.3.3/glibc-2.3.3-mips-addabi.diff, + +files/2.3.3/glibc-2.3.3-mips-nolib3264.diff, + +files/2.3.3/glibc-2.3.3-mips-semtimedop.diff, + +files/2.3.3/glibc-2.3.3-mips-syscall.h.diff, + +files/2.3.3/glibc-2.3.3-mips-sysify.diff, -files/2.3.3/mips-addabi.diff, + -files/2.3.3/mips-nolib3264.diff, -files/2.3.3/mips-syscall.h.diff, + -files/2.3.3/mips-sysify.diff, -files/2.3.3/semtimedop.diff, + +files/2.3.4/glibc-2.3.4-mips-add-missing-sgidefs_h.patch, + +files/2.3.4/glibc-2.3.4-mips-prot_grows-undefined.patch, + +files/2.3.4/glibc-2.3.4-mips-rtld_deepbind-undefined.patch, + +files/2.3.4/glibc-2.3.4-mips-sysdep-cancel.diff, + +files/2.3.4/glibc-2.3.4-mips-update-__throw.patch, + -files/2.3.4/mips-sysdep-cancel.diff, glibc-2.3.3.20040420-r2.ebuild, + glibc-2.3.4.20040619-r2.ebuild, glibc-2.3.4.20040808-r1.ebuild, + glibc-2.3.4.20041021.ebuild, glibc-2.3.4.20041102.ebuild: + Renamed a few patches to better identify them for mips, masked 2.3.4.20041021, + and added a series of patches to 2.3.4.20041102 from libc-alpha ML that allows + it to build and usable. Also re-added use of the librt patchs to fix a + run-time error. + + 05 Nov 2004; Travis Tilley glibc-2.3.4.20041102.ebuild: + keywording as ~amd64, ~ppc64, ~ia64, and ~x86. added ~ppc keyword thanks to + testing by morfic. hopefully this will be the last new revision for a bit. + + 05 Nov 2004; Travis Tilley glibc-2.3.4.20041021.ebuild, + glibc-2.3.4.20041102.ebuild: + made the ebuild die if nptlonly is in USE without nptl also being in USE + +*glibc-2.3.4.20041102 (04 Nov 2004) + + 04 Nov 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-features-header-fix.patch, + +files/2.3.4/glibc-2.3.4-fedora-branch-nomalloccheck.patch, + +files/2.3.4/glibc-2.3.4-mdns-resolver-20041102.diff, + +glibc-2.3.4.20041102.ebuild: + fedora-branch update. converted version checks to versionator.eclass. moved + all instances of CCHOST over to CTARGET. added the ability to disable the + malloc check at build-time with USE=nomalloccheck. remove + /$(get_libdir)/tls/ in preinst if migrating from nptl to nptlonly (bug + 69258) + + 31 Oct 2004; Tom Gall glibc-2.3.4.20041021.ebuild: + build fix for ppc64 + + 29 Oct 2004; Travis Tilley + -files/2.3.4/glibc-2.3.3-mdns-resolver.diff, + +files/2.3.4/glibc-2.3.3-mdns-resolver2.diff, +files/2.3.4/host.conf, + glibc-2.3.4.20041021.ebuild: + updated the multicast dns patch from suse and added an example host.conf that + disables it by default. see bug 67385 for more info + + 29 Oct 2004; Daniel Drake glibc-2.3.4.20041021.ebuild: + Add exit condition to prevent more people running into bug 69258 + + 27 Oct 2004; Travis Tilley -glibc-2.3.4.20041006.ebuild, + glibc-2.3.4.20041021.ebuild: + keyworded 2.3.4.10041021 as testing on amd64, x86, and ppc64. removed the 1006 + snapshot due to bug 67603, which 1021 fixes. + +*glibc-2.3.4.20041021 (26 Oct 2004) + + 26 Oct 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-fedora-branch-no-force-nontls.patch, + +files/2.3.4/glibc-2.3.4-fedora-branch-no-libnoversion.patch, + glibc-2.3.4.20041006.ebuild, +glibc-2.3.4.20041021.ebuild: + updated to the fedora-branch snap in fedora's 2.3.3-73 src rpm and removed the + glibc 2.0 compat (libNoVersion) changes + + 19 Oct 2004; Tom Gall glibc-2.3.4.20040808-r1.ebuild: + sane fix for problem mentioned below + + 16 Oct 2004; Tom Gall glibc-2.3.4.20040808-r1.ebuild: + emergancy fix, code from lv's change on 10/13 h0rked up ppc64 royally + and given this is the ppc64 stable version, I'm going to rush this in + to avoid the angry mob that's amassing outside my window + + 16 Oct 2004; Luca Barbato + glibc-2.3.4.20041006.ebuild: + Marked -ppc has proven to subtle flaw code, probably inline optimizations + + 14 Oct 2004; Guy Martin glibc-2.3.4.20041006.ebuild: + Updated hppa patches to 2004-09-30. Fixed unpacking (#67503). Marked -hppa + since it was never tested and problems where reported on the parisc mailing + list. + + 13 Oct 2004; Guy Martin glibc-2.3.4.20040808-r1.ebuild: + Moved Lv's latest patch into do_arch{ia64|amd64}_patches() to avoid breakage + for other arches. + + 13 Oct 2004; Guy Martin glibc-2.3.4.20040808-r1.ebuild: + Added unset of EPATCH_OPTS in do_arch_hppa_patches to fix patching at later + stage. + + 12 Oct 2004; Guy Martin glibc-2.3.4.20040808-r1.ebuild: + Stable on hppa. + + 13 Oct 2004; Travis Tilley glibc-2.3.4.20040808-r1.ebuild, + glibc-2.3.4.20041006.ebuild: + it seems the strange libpthread-not-installed bug was an ebuild quirk and not + a portage quirk. it should hopefully be fixed now. i've also added a safety + function to 2.3.4.20040808 and 2.3.4.20041006 that will prevent glibc from + installing if libpthread is missing, which will likely be expanded further in + the future. re-keyworded 2.3.4.20041006 ~amd64. + + 12 Oct 2004; Travis Tilley glibc-2.3.4.20041006.ebuild: + keyworded -amd64 for libpthread bug. + + 11 Oct 2004; glibc-2.3.4.20040808-r1.ebuild: + marked 20040808-r1 stable x86 for 2004.3 + + 11 Oct 2004; Travis Tilley glibc-2.3.4.20041006.ebuild: + re-keyword as testing for x86, amd64, hppa, ppc64, and ppc + + 10 Oct 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-res_init.patch, glibc-2.3.4.20040808-r1.ebuild: + added fix for a relocation error on at least amd64 and ia64. see + http://sources.redhat.com/ml/libc-alpha/2004-08/msg00076.html for more info. + closes bug 66396. + +*glibc-2.3.2-r12 (07 Oct 2004) + + 07 Oct 2004; Travis Tilley + +files/2.3.3/glibc-2.3.3-tempfile.patch, -glibc-2.3.2-r11.ebuild, + +glibc-2.3.2-r12.ebuild, -glibc-2.3.3.20040420-r1.ebuild, + +glibc-2.3.3.20040420-r2.ebuild, -glibc-2.3.4.20040619-r1.ebuild, + +glibc-2.3.4.20040619-r2.ebuild, +glibc-2.3.4.20040808-r1.ebuild, + -glibc-2.3.4.20040808.ebuild, glibc-2.3.4.20041006.ebuild: + added a patch to fix insecure tempfile handling, closes bug 66358 + +*glibc-2.3.4.20041006 (07 Oct 2004) + + 07 Oct 2004; Travis Tilley -glibc-2.3.4.20041002.ebuild, + +glibc-2.3.4.20041006.ebuild: + fixed a small bootstrap timezone bug and the group permissions bug (66392) + + 04 Oct 2004; Travis Tilley + +files/2.3.4/glibc-2.3.3-mdns-resolver.diff, glibc-2.3.4.20041002.ebuild: + added a patch from suse for multicast dns (rendezvous/howl) support, taken + from their glibc-2.3.3-63.src.rpm. closes bug 66295 + +*glibc-2.3.4.20041002 (04 Oct 2004) + + 04 Oct 2004; Travis Tilley -glibc-2.3.4.20040928.ebuild, + +glibc-2.3.4.20041002.ebuild: + updated to the latest fedora-branch snapshot. among other things, this fixes + the pthread_mutex_timedwait bug detailed at + http://sources.redhat.com/bugzilla/show_bug.cgi?id=417 + + 01 Oct 2004; Joshua Kinard glibc-2.3.4.20040808.ebuild: + Added ~mips to keywords. Only n32 users should see this upgrade, but ONLY if + using the newer cascading profiles. + + 01 Oct 2004; Joshua Kinard + +files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch, + glibc-2.3.4.20040808.ebuild: + Added patch for mips that properly generates bits/syscall.h when using 2.6.x + headers. Only enabled for n32 use currently. + + 01 Oct 2004; Luca Barbato + +files/2.3.4/glibc-2.3.4-getcontext.patch, glibc-2.3.4.20040808.ebuild: + Fixed getcontext behaviour, the 20040928 has that fixed already + + 29 Sep 2004; Mike Frysinger files/nscd, + glibc-2.2.5-r9.ebuild, glibc-2.3.2-r11.ebuild, + glibc-2.3.3.20040420-r1.ebuild, glibc-2.3.4.20040619-r1.ebuild, + glibc-2.3.4.20040808.ebuild, glibc-2.3.4.20040928.ebuild: + Install the nscd init.d script #43076 by Rui Malheiro. + +*glibc-2.3.4.20040928 (28 Sep 2004) + + 28 Sep 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-dl_execstack-PaX-support.patch, + +files/2.3.4/glibc-sec-hotfix-20040916.patch, +glibc-2.3.4.20040928.ebuild: + new snapshot, masked -*, with fedora-branch patches. made nptl-enabled glibc + behave like the glibc in most other distributions, with nptl libs in lib/tls + and a fallback linuxthreads version in lib. If the linuxthreads fallback isnt + needed/wanted, you can revert to the old behavior by adding nptlonly to USE to + save yourself some compile time. + + 21 Sep 2004; Travis Tilley glibc-2.3.4.20040808.ebuild: + stable on amd64 + + 21 Sep 2004; Travis Tilley + -files/2.3.4/glibc-2.3.4-fix-broken-ldd.patch, + +files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch, + glibc-2.3.4.20040808.ebuild, -glibc-2.3.4.20040918.ebuild: + removed 0918 snapshot, it will occasionally cause processes to not return. + fixes bug 64787. backported the necessary nptl pthread header fix from it to + 0808. + + 21 Sep 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-fix-broken-ldd.patch, glibc-2.3.4.20040918.ebuild: + added a fix for the new snapshot's broken ldd. fixes bug 64732. + + 19 Sep 2004; Joshua Kinard + glibc-2.3.4.20040619-r1.ebuild: + QA fix: Added n32/n64 to IUSE. + +*glibc-2.3.4.20040918 (19 Sep 2004) + + 18 Sep 2004; Travis Tilley -glibc-2.3.4.20040916.ebuild, + +glibc-2.3.4.20040918.ebuild: + new snapshot, fixes building with 2.4. go team upstream support. + + 17 Sep 2004; Travis Tilley glibc-2.3.4.20040916.ebuild: + removed keywords for archs that still use a 2.4 kernel, since recent nscd + changes require 2.6 headers + +*glibc-2.3.4.20040916 (16 Sep 2004) + + 16 Sep 2004; Travis Tilley + +files/glibc-sec-hotfix-20040916.patch, +glibc-2.3.4.20040916.ebuild: + new snapshot. among other things it fixes a bug with pthreads.h being unable + to be parsed by any version of GNU C++. + + 06 Sep 2004; Travis Tilley + +files/2.3.4/glibc-gentoo-libdir.patch, glibc-2.3.4.20040808.ebuild: + added $(get_libdir) support for amd64 and x86 and changed locale building + logic to build user-specified locales only if USE=userlocales. fixes bug 62081 + + 06 Sep 2004; files/glibc-sec-hotfix-20040804.patch, + glibc-2.3.3.20040420-r1.ebuild, glibc-2.3.4.20040619-r1.ebuild: + added LD_TRACE_PRELINKING to list of sysdeps/generic/unsecvars.h to avoid info + leaking with suid apps + + 06 Sep 2004; Ciaran McCreesh + glibc-2.3.4.20040619-r1.ebuild, glibc-2.3.4.20040808.ebuild: + Switch to use epause and ebeep, bug #62950 + + 31 Aug 2004; Gustavo Zacarias + glibc-2.3.3.20040420-r1.ebuild: + Stable on sparc + + 30 Aug 2004; Guy Martin glibc-2.3.4.20040808.ebuild: + Updated hppa patches to 2004-08-24. + + 27 Aug 2004; Travis Tilley -glibc-2.3.4.20040605.ebuild: + removed old ebuild + + 27 Aug 2004; Travis Tilley glibc-2.3.4.20040619-r1.ebuild, + glibc-2.3.4.20040808.ebuild: + removed broken downgrade check, removed unneeded hardened gcc fixes, added + glibc-2.3.4-ld.so-brk-fix.patch to glibc-2.3.4.20040619-r1 + + 26 Aug 2004; Tom Gall glibc-2.3.4.20040808.ebuild: + stable on ppc64 + + 26 Aug 2004; Luca Barbato glibc-2.3.4.20040808.ebuild: + Marked ~ppc + + 18 Aug 2004; Ferris McCormick + glibc-2.3.3.20040420-r1.ebuild: + Add 'hardened' to the IUSE list. The ebuild uses it on sparc as an indicator + that the compiler was built hardened, and so special care must be taken in the + build of the library to avoid SegFaults from the startup routines crt1.o & + friends. The main purpose for this change is to emphasize the point for anyone + building the library on sparc with hardened gcc; there is no change in + functionality. + + 17 Aug 2004; Luca Barbato + glibc-2.3.4.20040619-r1.ebuild: + Marked ~ppc + + 16 Aug 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch, glibc-2.3.4.20040808.ebuild: + added ld.so brk patch, which should fix the upstream bug detailed at + http://sources.redhat.com/bugzilla/show_bug.cgi?id=227 + + 15 Aug 2004; Travis Tilley -glibc-2.3.3_pre20040207.ebuild: + removed ebuild now that alpha and ia64 dont use it + + 15 Aug 2004; Aron Griffis + glibc-2.3.3_pre20040207.ebuild: + Remove ~alpha and ~ia64 from glibc-2.3.3_pre20040207. We'll stick with stable + on those arches until we get new livecds released. + + 15 Aug 2004; Travis Tilley -glibc-2.3.4.20040605-r1.ebuild, + -glibc-2.3.4.20040619.ebuild: + cleanup unneeded 2.3.4 ebuilds + + 15 Aug 2004; glibc-2.3.3.20040420.ebuild, + glibc-2.3.3_pre20040420.ebuild: + removed a few unneeded ebuilds + + 12 Aug 2004; Joshua Kinard + glibc-2.3.4.20040619-r1.ebuild: + Bumped glibc-2.3.4.20040619-r1 to stable for the hotfix (Bug #59526). + + 11 Aug 2004; Gustavo Zacarias + glibc-2.3.3.20040420-r1.ebuild: + Keyworded ~sparc + + 11 Aug 2004; Ilya A. Volynets-Evenbach + glibc-2.3.4.20040808.ebuild: + Latest GLIBC cvs has most of what is needed for N32/N64 + + 11 Aug 2004; Michael Hanselmann + glibc-2.3.3.20040420-r1.ebuild: + Stable on ppc. + + 11 Aug 2004; Bryan Østergaard glibc-2.3.2-r11.ebuild: + Stable on alpha, bug 59526. + + 09 Aug 2004; Guy Martin glibc-2.3.2-r11.ebuild: + Stable on hppa. + +*glibc-2.3.3.20040420-r1 (09 Aug 2004) + + 09 Aug 2004; Brandon Hale + +glibc-2.3.3.20040420-r1.ebuild: + Make a 20040420-r1 with the patch for x86 stableage. + + 09 Aug 2004; Gustavo Zacarias glibc-2.3.2-r11.ebuild: + Stable on sparc wrt #59526 + + 08 Aug 2004; Travis Tilley glibc-2.3.4.20040605-r1.ebuild, + glibc-2.3.4.20040619-r1.ebuild, glibc-2.3.4.20040619.ebuild, + glibc-2.3.4.20040808.ebuild: + makecheck fails with sandbox enabled, so i've made the ebuilds die right away + if makecheck is in USE and sandbox is in FEATURES. this cannot be fixed by + disabling the sandbox from within the ebuild, as the bug occurs if sandbox is + loaded at all. + + 08 Aug 2004; Travis Tilley glibc-2.3.4.20040808.ebuild: + made --enable-bind-now the default for all users instead of just hardened users + +*glibc-2.3.4.20040808 (08 Aug 2004) + + 08 Aug 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff, + +glibc-2.3.4.20040808.ebuild: + new snapshot. added function to fix lib64 symlinks on amd64 and moved to using + branch updates against 2.3.3 + + 07 Aug 2004; glibc-2.3.2-r11.ebuild: + stable on ia64 #59526 + + 08 Aug 2004; Luca Barbato + glibc-2.3.4.20040619-r1.ebuild: + Removed a patch + + 07 Aug 2004; glibc-2.3.4.20040619-r1.ebuild, + files/2.3.3/ssp.c: + added some misc #ifdef's to the ssp.c for use with other libcs + + 06 Aug 2004; glibc-2.3.4.20040619-r1.ebuild: + don't disable relro completly when not using hardened as it's still a valid + toolchain option + + 06 Aug 2004; Travis Tilley glibc-2.3.4.20040619-r1.ebuild: + stable on amd64 for security fix + + 05 Aug 2004; Tom Martin glibc-2.3.2-r11.ebuild: + Stable on amd64 for bug 59526. + +*glibc-2.3.2-r11 (05 Aug 2004) + + 05 Aug 2004; Mike Frysinger +glibc-2.3.2-r11.ebuild: + Add hotfix for security issue relating to LD_DEBUG and suid binaries #59526. + +*glibc-2.3.4.20040619-r1 (04 Aug 2004) + + 04 Aug 2004; Brandon Hale + +files/glibc-sec-hotfix-20040804.patch, +glibc-2.3.4.20040619-r1.ebuild: + Add hotfix for security issue relating to LD_DEBUG and suid binaries #59526. + + 03 Aug 2004; Michael Sterrett + glibc-2.3.4.20040605.ebuild: + fix use invocation + + 02 Aug 2004; Mike Frysinger glibc-2.2.5-r9.ebuild, + glibc-2.3.2-r10.ebuild, glibc-2.3.4.20040619.ebuild: + Dont strip libthread_db and libpthread since it breaks gdb debugging badly + #46186. + + 26 Jul 2004; Michael Sterrett + glibc-2.3.4.20040619.ebuild: + fix use invocation + + 22 Jul 2004; Guy Martin glibc-2.3.4.20040619.ebuild: + Added hardened stuff for hppa from pappy. + + 21 Jul 2004; Michael Sterrett + glibc-2.3.3.20040420.ebuild: + use fewer shells + + 21 Jul 2004; Guy Martin glibc-2.3.4.20040619: + Added patches for hppa. + + 20 Jul 2004; Alexander Gabert + glibc-2.3.3.20040420.ebuild: + added sparc fix for glibc PIC building + + 14 Jul 2004; Travis Tilley glibc-2.3.3.20040420.ebuild, + glibc-2.3.4.20040605-r1.ebuild, glibc-2.3.4.20040619.ebuild: + change pentium-m fix to use -mtune=pentium3 instead of -march=pentium4. that + should finally fix bug 55696, or at least work around it until upstream has a + proper fix + + 11 Jul 2004; Tom Gall glibc-2.3.4.20040619.ebuild, + glibc-2.3.4.20040605.ebuild: + let's try the right section and gussy it up a bit + + 11 Jul 2004; Tom Gall glibc-2.3.4.20040619.ebuild: + fix bug #56615, ld.so.1 prob on ppc64 + + 11 Jul 2004; Tom Gall glibc-2.3.4.20040605.ebuild, + glibc-2.3.4.20040619.ebuild: + fix bug #56615, ld.so.1 prob on ppc64 + + 11 Jul 2004; Joshua Kinard glibc-2.3.3.20040420.ebuild: + Commented out an epatch line referencing a (currently) non-existant patch. + + 09 Jul 2004; Travis Tilley glibc-2.3.4.20040605-r1.ebuild, + glibc-2.3.4.20040605.ebuild, glibc-2.3.4.20040619.ebuild: + changed sys-kernel/linux-headers dependency for nptl to linux26-headers + + 09 Jul 2004; Travis Tilley glibc-2.3.3.20040420.ebuild, + glibc-2.3.4.20040605-r1.ebuild, glibc-2.3.4.20040619.ebuild: + change -march=pentium-m to -march=pentium4 to work around bug 55696 until + upstream has a fix + + 08 Jul 2004; Travis Tilley glibc-2.3.1-r5.ebuild, + glibc-2.3.2-r10.ebuild, glibc-2.3.2-r2.ebuild, glibc-2.3.2-r9.ebuild, + glibc-2.3.3.20040420.ebuild, glibc-2.3.3_pre20040207.ebuild, + glibc-2.3.3_pre20040420.ebuild, glibc-2.3.4.20040605-r1.ebuild, + glibc-2.3.4.20040605.ebuild, glibc-2.3.4.20040619.ebuild: + unset LD_RUN_PATH to fix bug 19043 + + 08 Jul 2004; Travis Tilley -glibc-2.3.3_pre20031210.ebuild, + -glibc-2.3.3_pre20040117-r1.ebuild, -glibc-2.3.3_pre20040117.ebuild, + -glibc-2.3.3_pre20040529.ebuild: + removed old _pre ebuilds, except for 2.3.3_pre20040207 which is needed for + ~alpha and 2.3.3_pre20040420 which is needed for ~sparc. + + 07 Jul 2004; Joshua Kinard glibc-2.3.3.20040420.ebuild: + Marked stable on mips. + + 05 Jul 2004; Marius Mauch glibc-2.2.5-r9.ebuild, + glibc-2.3.1-r5.ebuild, glibc-2.3.2-r10.ebuild, glibc-2.3.2-r2.ebuild, + glibc-2.3.2-r9.ebuild, glibc-2.3.3.20040420.ebuild, + glibc-2.3.3_pre20031210.ebuild, glibc-2.3.3_pre20040117-r1.ebuild, + glibc-2.3.3_pre20040117.ebuild, glibc-2.3.3_pre20040207.ebuild, + glibc-2.3.3_pre20040420.ebuild, glibc-2.3.3_pre20040529.ebuild, + glibc-2.3.4.20040605-r1.ebuild, glibc-2.3.4.20040605.ebuild, + glibc-2.3.4.20040619.ebuild: + added a downgrade check to pkg_setup for bug #25230. + + 27 Jun 2004; Aron Griffis glibc-2.3.1-r5.ebuild, + glibc-2.3.2-r10.ebuild, glibc-2.3.2-r2.ebuild, glibc-2.3.2-r9.ebuild, + glibc-2.3.3.20040420.ebuild, glibc-2.3.3_pre20031210.ebuild, + glibc-2.3.3_pre20040117-r1.ebuild, glibc-2.3.3_pre20040117.ebuild, + glibc-2.3.3_pre20040207.ebuild, glibc-2.3.3_pre20040420.ebuild, + glibc-2.3.3_pre20040529.ebuild, glibc-2.3.4.20040605-r1.ebuild, + glibc-2.3.4.20040605.ebuild, glibc-2.3.4.20040619.ebuild: + QA - fix use invocation + + 22 Jun 2004; glibc-2.2.5-r9.ebuild, + glibc-2.3.1-r5.ebuild, glibc-2.3.2-r10.ebuild, glibc-2.3.2-r2.ebuild, + glibc-2.3.2-r9.ebuild, glibc-2.3.3.20040420.ebuild, + glibc-2.3.3_pre20031210.ebuild, glibc-2.3.3_pre20040117-r1.ebuild, + glibc-2.3.3_pre20040117.ebuild, glibc-2.3.3_pre20040207.ebuild, + glibc-2.3.3_pre20040420.ebuild, glibc-2.3.3_pre20040529.ebuild, + glibc-2.3.4.20040605-r1.ebuild, glibc-2.3.4.20040605.ebuild, + glibc-2.3.4.20040619.ebuild: + Added debug to IUSE for all glibc ebuilds, imported + pie-nptl-sysdep-shared.patch from bug 52254 #c13 + +*glibc-2.3.4.20040619 (20 Jun 2004) + + 20 Jun 2004; Martin Schlemmer + +glibc-2.3.4.20040619.ebuild: + Update snapshot to 20040619. Add BRANCH_UPDATE support back, as it appears + there will be again official releases, and the snapshot is much less to + download for future updates to 2.3.4 ... It should be noted that + non-branch-update support was not tested fully, so there might be bugs on next + stable upstream release. Also add back testing of linux-headers version, as + well as kernel version for NPTL support. Remove stale info pages, else we have + ~40 unused files installed. Generate updated manpages tarball, and move it to + mirrors rather. + + 19 Jun 2004; glibc-2.3.4.20040605.ebuild: + Mark stable for release on amd64. Complaints to lv@gentoo.org, he made me do it ;-) + + 17 Jun 2004; Luca Barbato + glibc-2.3.4.20040605-r1.ebuild: + Ported the fix to this ebuild + + 16 Jun 2004; Luca Barbato + +files/2.3.4/glibc-2.3.4-nptl-altivec.patch, glibc-2.3.4.20040605.ebuild: + Added a patch for ppc, pending some tests + + 13 Jun 2004; Travis Tilley + +files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch, + glibc-2.3.4.20040605-r1.ebuild: + added potential fix for building nptl with a hardened toolchain and did a few + more cleanups in the ebuild, like moving ssp-related patches into their own + function. + + 12 Jun 2004; Tom Gall glibc-2.3.4.20040605.ebuild + stable on ppc64 (yeah!) + + 12 Jun 2004; Joshua Kinard + glibc-2.3.4.20040605-r1.ebuild: + - Clean up the usage of paranthesis around groups + of use flag checks (unecessarily invokes a subshell) + - And allow a sed command that unconditionally disables + relro for ld.so to fire (it previously only fired if + use build == true or use build == false AND + use hardened == true) + - Apply one of the mips patches only if use n32 or + use n64 is true + - Add ~mips to KEYWORDS + + 11 Jun 2004; Joshua Kinard + glibc-2.3.4.20040605-r1.ebuild: + More cleanups: move strip-flags and friends into setup_flags where they belong. + + 11 Jun 2004; Joshua Kinard + glibc-2.3.4.20040605-r1.ebuild: + Fixup sparc bits in setup_flags. + +*glibc-2.3.4.20040605-r1 (11 Jun 2004) + + 11 Jun 2004; Joshua Kinard + +glibc-2.3.4.20040605-r1.ebuild: + MASSIVE cleanup to glibc's ebuild. Starting with 2.3.4.20040605, the following + changes were made: + - Moved PaX patches into its own function + - Moved all arch-specific patches into their own arch-specific + functions + - Archs that lack any patches have empty arch-specific functions + for later use + - Hardened/relro/nptl related tweaks moved into its own function + - Cleaned up 'if' conditionals and some spacing + - Added some missing tweaks that fixed an issue on non-hardened + toolchains w/ nptl where the build would segfault during the + sunrpc subsection of glibc + + 10 Jun 2004; Travis Tilley glibc-2.3.4.20040605.ebuild: + passes "make check" on ppc64, adding ~ppc64 keyword + + 10 Jun 2004; Stephen P. Becker + glibc-2.3.3_pre20040529.ebuild: + removed ~mips keyword + + 09 Jun 2004; Travis Tilley glibc-2.3.4.20040605.ebuild: + the 2.3.4 release needs pre-generated info pages to bootstrap without perl, + unlike previous releases that just needed pre-generated man pages. this + release is now usable from stage1. + + 08 Jun 2004; glibc-2.3.3.20040420.ebuild: + glibc-2.3.3.20040420 marked stable for upcoming release + + 07 Jun 2004; Travis Tilley glibc-2.3.4.20040605.ebuild: + glibc 2.3.4.20040605 should now pass all tests with USE="-nptl makecheck" on + at least amd64. nptl still fails. + + 06 Jun 2004; glibc-2.3.3.20040420.ebuild: + patch source was incorrect for branch update.. bug #53107 + + 06 Jun 2004; Brandon Hale glibc-2.3.3.20040420.ebuild: + Quick fix, epatch for the branch-update was still using the now incorrect PV. + + 06 Jun 2004; Brandon Hale -glibc-2.3.2-r11.ebuild, + -glibc-2.3.2-r3.ebuild, -glibc-2.3.3_pre20040420-r1.ebuild: + Cleanup obsoleted versions. + +*glibc-2.3.3.20040420 (06 Jun 2004) + + 06 Jun 2004; Brandon Hale +glibc-2.3.3.20040420.ebuild: + Update 20040420 snapshot to new naming scheme, add to ~x86. + + 05 Jun 2004; Joshua Kinard glibc-2.3.4.20040605.ebuild: + for sparc64 systems, export CCHOST as well as CHOST so glibc configures itself + properly. + +*glibc-2.3.4.20040605 (05 Jun 2004) + + 05 Jun 2004; Travis Tilley + +files/2.3.4/glibc-execstack-disable.patch, -glibc-2.3.4.20040602.ebuild, + +glibc-2.3.4.20040605.ebuild: + new snapshot. it seems i caught Ulrich Drepper in the middle of a commit with + my last snapshot, breaking nptl on x86 and possibly elsewhere. + +*glibc-2.3.2-r11 (05 Jun 2004) + + 05 Jun 2004; Brandon Hale + +files/2.3.2/glibc-2.3.2-frandom-detect.patch, + +files/2.3.2/glibc-2.3.2-got-fix.diff, + +files/2.3.2/glibc-2.3.2-owl-malloc-unlink-sanity-check.diff, + +files/2.3.2/glibc-2.3.2-propolice-guard-functions-v3.patch, + +files/2.3.2/glibc-2.3.2-pt_pax.diff, + +files/2.3.2/glibc-2.3.2-signal-ssp.diff, +files/2.3.2/ssp.c, + +glibc-2.3.2-r11.ebuild: + Create an -r11 (-*) with backported patches from 2.3.3_pre, namely owl-unlink + checking and updated SSP. + + 04 Jun 2004; Ilya A. Volynets-Evenbach + +files/2.3.4/mips-sysdep-cancel.diff, glibc-2.3.4.20040602.ebuild: + Finalize n32 fixes (n64 is yet to be tested, but should be + piece of cake now) + Add ALT_HEADERS variable, which will allows us to point glibc + to something other then /usr/lib. This will be needed for + x-compilation support. + + 04 Jun 2004; Travis Tilley glibc-2.3.3_pre20040529.ebuild: + stable on amd64 + + 04 Jun 2004; Ilya A. Volynets-Evenbach + glibc-2.3.3_pre20040420-r1.ebuild, glibc-2.3.4.20040602.ebuild: + glibc is not using n32/n64 use flags (yet) + + 04 Jun 2004; Ilya A. Volynets-Evenbach + glibc-2.3.4.20040602.ebuild: + Mark glibc-2.3.4 as ~mips + + 03 Jun 2004; Ilya A. Volynets-Evenbach + +files/2.3.3/mips-addabi.diff, +files/2.3.3/mips-syscall.h.diff, + +files/2.3.3/mips-sysify.diff, +files/2.3.3/semtimedop.diff, + glibc-2.3.3_pre20040420-r1.ebuild, glibc-2.3.3_pre20040529.ebuild, + glibc-2.3.4.20040602.ebuild: + Add n32/n64 patches. Some of them are not quite ready, but it + shouldn't make any matters worse - o32 should not be affected + in any way. + Also add ${CHOST} and ${CCHOST} to configure (--build/--host) + + 03 Jun 2004; Tom Gall glibc-2.3.3_pre20040529.ebuild: + stable on ppc64 + + 03 Jun 2004; Travis Tilley glibc-2.3.4.20040602.ebuild: + fixed the ebuild to install all locales if doing a make check and repaired the + tarball so that the info pages arent broken + + 03 Jun 2004; Jason Eric Huebel + glibc-2.3.3_pre20040529.ebuild: + fixed header dependency based on NPTL use flag + +*glibc-2.3.4.20040602 (03 Jun 2004) + + 03 Jun 2004; Travis Tilley -glibc-2.3.3.20040602.ebuild, + +glibc-2.3.4.20040602.ebuild: + added an ebuild with a proper version number. new features in this ebuild + include the makecheck USE flag for having glibc run tests on itself and the + ability to install only the locales that you want. a new configuration file + has been added for controlling this feature: /etc/locales.build. a default + should be installed when you emerge this version of glibc, please read the + comments for a description of this file's format. + + 02 Jun 2004; Pieter Van den Abeele glibc-2.3.3_pre20040420-r1.ebuild: + Mased stable on ppc + +*glibc-2.3.3.20040602 (02 Jun 2004) + + 02 Jun 2004; Travis Tilley +glibc-2.3.3.20040602.ebuild: + new cvs snapshot. this ebuild marks a move from using branch updates against + 2.3.2 to using actual cvs snapshot tarballs. it also marks a move in the + versioning scheme for glibc... since upstream has decided to let distributions + choose what they want to release instead of making releases themselves, the + pre has been dropped from the version. + + 02 Jun 2004; Joshua Kinard + glibc-2.3.3_pre20040529.ebuild: + Added ~mips to KEYWORDS. + + 30 May 2004; Travis Tilley glibc-2.3.3_pre20040529.ebuild: + adding ~amd64 and ~ppc64 to keywords + + 30 May 2004; Travis Tilley glibc-2.3.3_pre20040529.ebuild: + misc pax/grsec fixes from peter mazinger + +*glibc-2.3.3_pre20040529 (29 May 2004) + + 29 May 2004; Travis Tilley -glibc-2.3.3_pre20040527.ebuild, + +glibc-2.3.3_pre20040529.ebuild: + new snapshot. this one should build on ppc64 + +*glibc-2.3.3_pre20040527 (27 May 2004) + + 27 May 2004; Travis Tilley +glibc-2.3.3_pre20040527.ebuild: + update snapshot + + 27 May 2004; Travis Tilley + glibc-2.3.3_pre20040420-r1.ebuild: + adding ~amd64 keyword to satisfy gcc 3.4 dep + + 17 May 2004; Travis Tilley + +files/2.3.3/glibc-2.3.3-ssp-gcc34-after-frandom.patch, + glibc-2.3.3_pre20040420-r1.ebuild: + added fix for compiling SSP with gcc 3.4 + +*glibc-2.3.3_pre20040420-r1 (14 May 2004) + + 14 May 2004; glibc-2.3.3_pre20040420-r1.ebuild, + files/2.3.3/glibc-2.3.2-propolice-guard-functions-v3.patch, + files/2.3.3/glibc-2.3.3-frandom-detect.patch: + frandom/SSP implementation for glibc. Adds new 'erandom' flag to IUSE. (-* + masked for testing now) bug #50864 + + 12 May 2004; Alexander Gabert : + removing hardened-gcc vintage from some ebuilds + + 08 May 2004; Bryan Østergaard + glibc-2.3.3_pre20040420.ebuild: + Removed ~alpha, see bug #50301. + + 04 May 2004; Ilya A. Volynets-Evenbaks + +files/2.3.3/glibc-2.3.3_pre20040420-mips-dl-machine-calls.diff, + +files/2.3.3/glibc-2.3.3_pre20040420-mips-incl-sgidefs.diff, + glibc-2.3.3_pre20040420.ebuild: + - Remove unneeded patches + - Add patch by Thiemo Seufer to include into all + files that use _MIPS_SIM. This is required for use with + gcc-3.4. Original can be found at + http://lists.debian.org/debian-glibc/2003/debian-glibc-200312/msg00201.html + - Add compile fix to sysdeps/mips/dl-machine.h + - mark as ~mips + + 29 Apr 2004; Joshua Kinard + glibc-2.3.3_pre20040420.ebuild: + Masked on mips until some patches can be dug/cooked/found to fix some issues. + + 28 Apr 2004; glibc-2.3.3_pre20040420.ebuild, + files/2.3.3/glibc-2.3.3-localedef-fix-trampoline.patch: + localedef contains nested function trampolines, which trigger segfaults under + PaX while building. Adding patch that inlines functions in order to avoid + this. Debian Bug (#231438, #198099) + + 27 Apr 2004; Mike Frysinger + +files/2.3.2/glibc-2.3.2-arm-bus-defines.patch, + +files/2.3.2/glibc-2.3.2-armformat.patch, + +files/2.3.2/glibc-2.3.2-arm-doargs.patch, + +files/2.3.2/glibc-2.3.2-framestate-USING_SJLJ_EXCEPTIONS.patch, + glibc-2.3.2-r10.ebuild: + Add a few patches to make glibc compile cleanly on arm. + +*glibc-2.3.3_pre20040420 (25 Apr 2004) + + 25 Apr 2004; Martin Schlemmer + +glibc-2.3.3_pre20040420.ebuild: + Update snapshot. + + 24 Apr 2004; Joshua Kinard + +files/2.3.2/glibc-2.3.2-mips-fix-nested-entend-pairs.patch, + glibc-2.3.2-r10.ebuild, glibc-2.3.2-r3.ebuild: + Added a patch for mips which fixes a compile bug with newer binutils. Also + removed an RDEPEND for portage-1.9.0 which seems to be triggering a bug in + repoman. If this change affects anyone, yell at me. + + 24 Apr 2004; Joshua Kinard + +files/2.3.2/glibc-2.3.2-mips-fix-nested-entend-pairs.patch, + glibc-2.3.2-r10.ebuild, glibc-2.3.2-r3.ebuild: + Added a patch for mips which fixes a compile bug with newer binutils. Also + removed an RDEPEND for portage-1.9.0 which seems to be triggering a bug in + repoman. If this change affects anyone, yell at me. + +*glibc-2.3.2-r10 (18 Apr 2004) + + 18 Apr 2004; Michael McCabe + +files/2.3.2/glibc-2.3.2-s390-deprecated-ustat-fixup.patch, + +glibc-2.3.2-r10.ebuild: + Added s390 specific fixes to close bug #47415 + + 24 Mar 2004; Michael Sterrett glibc-2.3.2-r2.ebuild, + glibc-2.3.2-r3.ebuild, glibc-2.3.3_pre20031210.ebuild: + don't use deprecated ? : use syntax + + 18 Mar 2004; glibc-2.3.2-r9.ebuild: + adding filter-ldflags -pie to stable glibc + + 16 Mar 2004; glibc-2.3.3_pre20040207.ebuild: + glibc fails to link properly with global LDFLAGS=-pie so we filter it with new + flag-o-matic function called filter-ldflags + + 15 Mar 2004; Joshua Kinard glibc-2.3.2-r9.ebuild: + Marked stable on mips (it had ~mips, but someone removed the keyword and + didn't leave a Changelog entry on why). + + 09 Mar 2004; glibc-2.3.2-r9.ebuild: + stable on alpha and ia64 + + 02 Mar 2004; Brian Jackson glibc-2.3.2-r9.ebuild: + s390 keywords + + 01 Mar 2004; Tom Gall glibc-2.3.3_pre20031210.ebuild: + added in dependancy for ppc64 headers + + 26 Feb 2004; Sven Blumenstein glibc-2.3.2-r9.ebuild: + Stable on sparc (was about time). + + 25 Feb 2004; Luca Barbato + glibc-2.3.3_pre20040207.ebuild: + Marked ~ppc + + 24 Feb 2004; Alexander Gabert + glibc-2.3.3_pre20040207.ebuild: + added GOTOFF fix from previous glibc release + + 24 Feb 2004; Mike Frysinger : + Make the only headers info virtual/os-headers since hppa-headers PROVIDEs that. + + 23 Feb 2004; Martin Schlemmer glibc-2.3.2-r9.ebuild, + files/2.3.2/glibc-2.3.2-ipv6-bytestring-fix.patch: + Fix broken reverse resolving for IPv6 addresses, bug #42492. Research done by + Bernhard Schmidt . + + 12 Feb 2004; glibc-2.3.3_pre20040117-r1.ebuild, + files/2.3.3/glibc-2.3.3_pre20040117-got-fix.diff: + GOTOFF during linking seems to fail to recognize where main() is because it is + not visible in the object linked which might not be really legal C but it + apparently works anyway. This can be seen when trying to build bind9 as a + Position Independent Executable. ie CFLAGS=-fPIC,LDFLAGS=-pie. This patch + fixes that. Submitted by the PaX Team + +*glibc-2.3.3_pre20040207 (09 Feb 2004) +*glibc-2.3.3_pre20031210 (09 Feb 2004) + + 09 Feb 2004; Brad House + glibc-2.3.3_pre20031210.ebuild, glibc-2.3.3_pre20031222.ebuild, + glibc-2.3.3_pre20040117.ebuild, glibc-2.3.3_pre20040207.ebuild: + glibc 2.3.3_pre release for PPC64. This is the only version that works for + ppc64. Current VMX commits have caused later pulls to not work + +*glibc-2.3.3_pre20040207 (08 Feb 2004) + + 08 Feb 2004; Martin Schlemmer + glibc-2.3.3_pre20040207.ebuild, + files/2.3.2/glibc-2.3.2-rtld-assert-fix.patch: + Update snapshot to 20040207. Fix an assert when running libc.so from + commandline, bug #34733. Add ia64 to nptl arches. + + 19 Jan 2004; Mike Frysinger glibc-2.3.2-r9.ebuild : + Add back in nptl support since gcc-3.3.2-r5 is now stable. + +*glibc-2.3.3_pre20040117-r1 (26 Jan 2004) + + 26 Jan 2004; glibc-2.3.3_pre20040117-r1.ebuild, + files/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff, + files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff, + files/2.3.3/glibc-2.3.3_pre20040117-signal-ssp.diff: + added ptpax flags. cosmetic ssp patch and owl unlink sanity to testing + + 19 Jan 2004; Mike Frysinger glibc-2.3.2-r9.ebuild : + Remove nptl support since people dont understand nptl and this is now x86 stable. + See Bug #38622 for some good examples. This is OK because 2.3.3_preXXX has + nptl support and it's unstable and it covers all the archs 2.3.2-r9 does. + +*glibc-2.3.3_pre20040117 (18 Jan 2004) + + 18 Jan 2004; Martin Schlemmer + glibc-2.3.3_pre20040117.ebuild: + Update snapshot to 20040117. + + 18 Jan 2004; Martin Schlemmer glibc-2.3.2-r9.ebuild: + Mark stable for x86. + + 18 Jan 2004; Bartosch Pixa glibc-2.3.2-r9.ebuild: + PDEPEND on new linux-headers version on ppc + + 16 Jan 2004; Bartosch Pixa glibc-2.3.2-r9.ebuild: + set ppc in keywords + + 10 Jan 2004; Aron Griffis glibc-2.3.2-r9.ebuild: + stable on alpha for bug 37595... alpha really needs execstack-PaX-support.patch + + 09 Jan 2004; Luca Barbato glibc-2.3.2-r9.ebuild: + Marked ~ppc + +*glibc-2.3.3_pre20031222 (27 Dec 2003) + + 16 Jan 2004; Guy Martin glibc-2.3.3_pre20031222.ebuild : + Removed some patches which did not apply for hppa. + + 27 Dec 2003; Martin Schlemmer + glibc-2.3.3_pre20031222.ebuild: + Update snapshot to 20031222. Change code that searches for proper headers to + look first in /usr/include again. + +*glibc-2.3.3_pre20031212 (14 Dec 2003) + + 14 Dec 2003; Martin Schlemmer + glibc-2.3.3_pre20031212.ebuild, + files/2.3.3/glibc-2.3.3-dl_execstack-PaX-support.patch: + Update snapshot to 20031212, pre-release of 2.3.3. + + 29 Nov 2003; Brad House glibc-2.3.2-r9.ebuild: + mark stable on amd64 + + 23 Nov 2003; Tavis Ormandy glibc-2.3.2-r3.ebuild, + glibc-2.3.2-r8.ebuild, glibc-2.3.2-r9.ebuild: + glibc refuses to build with --relax in LDFLAGS. + + 20 Nov 2003; Aron Griffis glibc-2.3.2-r8.ebuild: + Mark stable on alpha + +*glibc-2.3.2-r9 (18 Nov 2003) + + 08 Dec 2003; Guy Martin glibc-2.3.2-r9.ebuild : + Marked stable on hppa. + + 19 Nov 2003; Guy Martin glibc-2.3.2-r9.ebuild : + Added clean hppa patches. Seems not to suffer of the -r8 problems. + + 18 Nov 2003; Guy Martin glibc-2.3.2-r9.ebuild : + Removed hppa stuff. New patching method should come shortly. + + 18 Nov 2003; Martin Schlemmer glibc-2.3.2-r9.ebuild: + - Update CVS branch to 20031115. + - With latest versions of glibc, a lot of apps failed on a PaX enabled + system with "cannot enable executable stack as shared object requires: + Permission denied". This is due to PaX 'exec-protecting' the stack, and + ld.so then trying to make the stack executable due to some libraries not + containing the PT_GNU_STACK section. Add dl_execstack-PaX-support.patch, + bug #32960. + - We do not want name_insert() in iconvconfig.c to be defined inside + write_output() as it causes issues with PaX. + +*glibc-2.3.1-r5 (16 Nov 2003) + + 16 Nov 2003; Martin Schlemmer glibc-2.2.5-r9.ebuild, + glibc-2.3.1-r5.ebuild, glibc-2.3.2-r2.ebuild, glibc-2.3.2-r3.ebuild, + files/2.2.5/glibc-2.2.5-getgrouplist.patch, + files/2.3.1/glibc-2.3.1-ftw.patch, + files/2.3.1/glibc-2.3.1-getgrouplist.patch, + files/2.3.2/glibc-2.3.2-dl_execstack-PaX-support.patch, + files/2.3.2/glibc-2.3.2-iconvconfig-name_insert.patch, + files/2.3.2/glibc-2.3.2-propolice-guard-functions-v2.patch, + files/2.3.2/glibc-2.3.2-propolice-guard-functions.patch: + - A bug in the getgrouplist function can cause a buffer overflow if the size + of the group list is too small to hold all the user's groups. More info can + be found at: https://rhn.redhat.com/errata/RHSA-2003-325.html + - Fix a memory leak in ftw_dir + - To circumvent problems with propolice when linking binaries statically among + things, __guard and __guard_setup__stack_smash_handler is now in libc.so. More + info at: http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml + Thanks for helping in developing these patchsets goes to "moid" from the + Openbsd team. + - We do not want name_insert() in iconvconfig.c to be defined inside + write_output() as it causes issues with PaX. + + 09 Nov 2003; Mike Frysinger : + Fix sscanf.c compilation. This tiny patch can be found in 2.3.2 already. + + 01 Nov 2003; Aron Griffis glibc-2.3.2-r8.ebuild, + files/2.3.2/glibc-2.3.2-alpha-crti.patch, + files/2.3.2/glibc-2.3.2-alpha-pwrite.patch: + Add crti and pwrite patches for alpha + + 28 Oct 2003; Guy Martin glibc-2.3.2-r8.ebuild : + Added depend to >=hppa-headers-2.4.21_p13 for succefull compilation. + + 27 Oct 2003; Guy Martin glibc-2.3.2-r8.ebuild : + Added patches for hppa. This glibc correct many bugs like the -static flag one. + + 27 Oct 2003; Martin Schlemmer files/nscd: + We need to pass '--pidfile' and not '--pid' to start-stop-daemon, thanks to + Markus Rippl for reporting. + + 26 Oct 2003; Martin Schlemmer glibc-2.3.2-r8.ebuild: + Remove the sysmacros.h hack, as it is no longer needed. + + 26 Oct 2003; Martin Schlemmer glibc-2.3.2-r3.ebuild, + glibc-2.3.2-r4.ebuild, glibc-2.3.2-r5.ebuild, glibc-2.3.2-r8.ebuild: + Add sparch to NPTL archs; Cleanup. + +*glibc-2.3.2-r8 (26 Oct 2003) + + 18 Nov 2003; Guy Martin glibc-2.3.2-r8.ebuild : + Marked -hppa and removed hppa stuff from it. + + 26 Oct 2003; Martin Schlemmer glibc-2.3.2-r8.ebuild: + Update snapshot. + + 18 Oct 2003; Brad House glibc-2.3.2-r6.ebuild: + add ~amd64 flag to glibc-2.3.2-r6, works with and without nptl enabled in use + flags + + 15 Oct 2003; Martin Schlemmer glibc-2.3.2-r1.ebuild, + glibc-2.3.2-r7.ebuild: + Sparc updates from Kumba : + + glibc-2.3.2-r1: Change ~sparc -> sparc in keywords + glibc-2.3.2-r7: Add ~sparc to keywords + Remove the following patch for mips to let + glibc compile: + ${P}-mips-fix-n32-n64-sysdep-headers.patch + + 15 Oct 2003; Martin Schlemmer glibc-2.3.2-r6.ebuild: + Mark as unstable for x86 - we should start wider testing sooner or later, and + except for an occasional break, current CVS snapshots looks good. + +*glibc-2.3.2-r7 (14 Oct 2003) + + 19 Nov 2003; Guy Martin glibc-2.3.2-r7.ebuild : + Added missing atomicity patch for hppa. + + 18 Nov 2003; Guy Martin glibc-2.3.2-r7.ebuild : + Readded for hppa only. Added hppa patches and depend to correct + hppa-headers. + + 14 Oct 2003; Martin Schlemmer glibc-2.3.2-r7.ebuild: + Update CVS snapshot. NPTL is now in official CVS. + + 13 Oct 2003; Tavis Ormandy glibc-2.3.2-r1.ebuild: + Downgrading glibc had some unintentional side effects, stable again. + + 10 Oct 2003; Alexander Gabert glibc-2.3.1-r4.ebuild, + glibc-2.3.2-r1.ebuild: + changed hardened-gcc build behaviour with CC + + 09 Oct 2003; Alexander Gabert glibc-2.3.1-r4.ebuild, + glibc-2.3.2-r1.ebuild: + added new hardened-gcc flags for hppa + + 09 Oct 2003; Alexander Gabert glibc-2.3.1-r4.ebuild, + glibc-2.3.2-r1.ebuild: + added new hardened-gcc building logic for ppc and sparc + + 07 Oct 2003; Aron Griffis glibc-2.3.2-r1.ebuild: + Demote 2.3.2-r1 from alpha to ~alpha since it doesn't build on alpha with + recent gcc. We really need the more recent glibc to become available for + alpha. + + 30 Sep 2003; Martin Schlemmer glibc-2.3.2-r6.ebuild, + files/2.3.2/sysmacros.h: + Quick fix for last changes to sysmacros.h that breaks a few things like + sys-libs/pwdb and xfree among others. + +*glibc-2.3.2-r6 (28 Sep 2003) + + 28 Sep 2003; Martin Schlemmer glibc-2.3.2-r5.ebuild, + glibc-2.3.2-r6.ebuild, files/2.3.2/glibc-2.3.2-ia64-LOAD_ARGS-fixup.patch, + files/2.3.2/glibc-2.3.2-mips-add-n32-n64-sysdep-cancel.patch, + files/2.3.2/glibc-2.3.2-mips-configure-for-n64-symver.patch, + files/2.3.2/glibc-2.3.2-mips-fix-n32-n64-sysdep-headers.patch, + files/2.3.2/glibc-2.3.2-mips-pread-linux2.5.patch: + Update snapshot to 20030927 and NPTL to 0.60. Add a few patches from Kumba + for mips. + +*glibc-2.3.2-r5 (20 Sep 2003) + + 20 Sep 2003; Martin Schlemmer glibc-2.3.2-r5.ebuild: + Update CVS snapshot to 20030919. Update NPTL to 0.59. + + 17 Sep 2003; Jon Portnoy glibc-2.3.2-r1.ebuild : + ia64 keywords. + + 14 Sep 2003; Martin Schlemmer glibc-2.3.2-r4.ebuild, + files/2.3.2/glibc-2.3.2-cispeed-cospeed-fix.patch: + Fix sparc build issues, patch from glibc-alpha, thanks to . + + 13 Sep 2003; Martin Schlemmer glibc-2.3.2-r1.ebuild, + glibc-2.3.2-r2.ebuild, glibc-2.3.2-r3.ebuild: + Add glibc-2.3.2-fix-omitted-operand-in-mathinline_h.patch to resolve bug + #28537. + + 08 Sep 2003; Martin Schlemmer glibc-2.3.2-r1.ebuild: + Fix gcc DEPEND to be '>=sys-devel/gcc-3.2', and not '=sys-devel/gcc-3.2*'. + +*glibc-2.3.2-r4 (07 Sep 2003) + + 07 Sep 2003; Martin Schlemmer glibc-2.3.2-r4.ebuild, + files/2.3.2/glibc-2.3.2-fix-omitted-operand-in-mathinline_h.patch: + Update cvs snapshot to 20030906. Update nptl to version 0.57. Add patch + for bug #27142. + + 12 Aug 2003; Alexander Gabert glibc-2.3.2-r1.ebuild: + hppa building fails, linuxthreads/sysdeps/hppa/pt-machine.h is missing proper + setup of pthread_descr + + 10 Aug 2003; Joshua Kinard glibc-2.3.2-r1.ebuild: + Moved to stable on mips. Been using it for ages w/ no problems. + + 10 Aug 2003; Martin Schlemmer glibc-2.3.2-r2.ebuild, + glibc-2.3.2-r3.ebuild, files/fix-sysctl_h.patch, files/test-sysctl_h.c: + Add test to detect broken headers in (user land) in 2.5.68 and later. + + 31 Jul 2003; glibc-2.3.2-r1.ebuild, glibc-2.3.2-r2.ebuild, + glibc-2.3.2-r3.ebuild: + Removed warning from 2.3.2 ebuilds regarding + sandbox and -fstack-protector. This was only + a problem with 2.3.1. + + 29 Jul 2003; Alex Veber glibc-2.3.2-r1.ebuild: + removed the winex block + + 28 Jul 2003; Martin Schlemmer glibc-2.3.2-r3.ebuild: + Do not install librt.so linker script anymore, as librt.so.1 breaks things + with librt.so as a script. + +*glibc-2.3.2-r3 (23 Jul 2003) + + 23 Jul 2003; Martin Schlemmer glibc-2.3.2-r3.ebuild: + Update CVS snapshot, as well as NPTL version to 0.55. Note that this + needs gcc-3.3-r1 and latest binutils (2.14.90.4+) to build with NPTL + support. + + 23 Jul 2003; Martin Schlemmer glibc-2.3.2-r1.ebuild, + glibc-2.3.2-r2.ebuild: + From Kumba : + + This is the patch to glibc-2.3.2-r1.ebuild which allows it to build + on sparc64. I modified it so sparc and sparc64 can use the -fcall-used-g6 + flag, while sparc64-only gets a few more checks added in. + + 18 Jul 2003; Olivier Crete glibc-2.3.2-r2.ebuild: + Removed all traces of multilib, 64bit libs are installed in lib/ + + 18 Jul 2003; Will Woods glibc-2.3.2-r1.ebuild: + Marked stable for alpha + + 17 Jul 2003; Alex Veber glibc-2.3.2-r1.ebuild: + set !app-emulation/winex-cvs + + 16 Jul 2003; Jay Pfeifer glibc-2.3.2-r1.ebuild: + set stable on x86 + set !app-emulation/winex + + 01 Jul 2003; Luca Barbato glibc-2.3.2-r1.ebuild: + set stable on ppc + + 14 Jun 2003; Tavis Ormandy glibc-2.3.2-r1.ebuild, + glibc-2.3.2-r2.ebuild, files/2.3.2/glibc-2.3.2-decc-compaq.patch: + fixing ccc compatability, minor patch only applied on alpha. + + 05 Jun 2003; Christian Birchinger glibc-2.3.1-r4.ebuild: + Replaced sparc64 CFLAGS hack with replace-sparc64-flags from flag-o-matic + + 02 Jun 2003; Joshua Kinard glibc-2.3.2-r1.ebuild: + Added ~mips to KEYWORDS + + 18 May 2003; Martin Schlemmer : + Fix LICENSE to be LGPL-2, bug #19074. Fix glibc-2.3* < 2.3.2-r2 to depend + on glibc-2.3.2-r1.ebuild, + glibc-2.3.2-gcc33-sscanf.patch : + Downgrade nptl to version 0.28 and add glibc-2.3.2-gcc33-sscanf.patch to + fix compile errors with gcc-3.3: + + http://sources.redhat.com/ml/libc-alpha/2003-03/msg00052.html + +*glibc-2.3.2-r2 (18 May 2003) + + 18 May 2003; Martin Schlemmer glibc-2.3.2-r2.ebuild : + New version. Update to cvs 20030517 to fix problems with gcc-3.3. Also + closes bug #18744 as it adds the en_US.utf8 locale. Also enable NPTL + support for i[45]86, ppc and mips, as it should in theory work now. + + 14 May 2003; Martin Schlemmer glibc-2.3.2-r{0,1}.ebuild : + + Some MIPS updates from Kumba : + A few patches only for the MIPS platform. Descriptions of what they + do can be found in the patch headers. + thx (11 Jan 2003) + remove tst-rndseek-mips & ulps-mips patches + + 06 Apr 2003; Martin Schlemmer : + Fix all 2.3 ebuild to install timezone data if 'build' in USE, bug #16530. + +*glibc-2.3.2-r1 (06 Apr 2003) + + 19 Apr 2003; Joshua Brindle glibc-2.3.1-r4.ebuild: + give error and die if both sandbox and -fstack-protector are enabled + + 06 Apr 2003; Martin Schlemmer glibc-2.3.2-r1.ebuild : + Fix calculation problems in allocate_static_tls that caused a TLS + enabled app that loads libGL.so to segfault. Thanks to Gareth Hughes + from NVidia for pointing me in the right direction. This patch is + from glibc CVS. + + 30 Mar 2003; Martin Schlemmer glibc-2.3.2.ebuild : + Update NPTL version to 0.29. As it is not used by many (or I cannot + imagine it), and with the errno problems, I will rather not bump the + revision. Note that latest version is 0.32, but that (as well as 0.30 + and up) needs glibc-2.3.3 snapshot. + +*glibc-2.3.1-r4 (21 Mar 2003) + + 14 Apr 2003; Joshua Brindle glibc-2.3.1-r4.ebuild: + give error and die if both sandbox and -fstack-protector are enabled + + 06 Apr 2003; Zach Welch glibc-2.3.1-r4.ebuild: + add arm keyword + + 06 Apr 2003; Christian Birchinger glibc-2.3.1-r4.ebuild: + Changed replace-flags for sparc + + 21 Mar 2003; Daniel Ahlberg glibc-2.3.1-r4.ebuild : + Security update. + +*glibc-2.2.5-r8 (21 Mar 2003) + + 06 Apr 2003; Christian Birchinger glibc-2.2.5-r8.ebuild: + Added replace-flags for sparc + + 21 Mar 2003; Daniel Ahlberg glibc-2.2.5-r8.ebuild : + Security update. + + 11 Mar 2003; Zach Welch + files/2.2.5/glibc-2.2.5-arm-sysdeps-fix.diff: + fix arm sysdep patch to not require autoconf + + 09 March 2003; Martin Schlemmer glibc-2.3.1*.ebuild : + Add patch glibc-2.3.1-typeo_dl-runtime_c.patch to fix issues with Oracle, + bug #16504, thanks to Tri D. Hoang for reporting. + +*glibc-2.3.2 (05 March 2003) + + 06 Apr 2003; Christian Birchinger glibc-2.3.2.ebuild: + Changed replace-flags for sparc + + 11 Mar 2003; Zach Welch glibc-2.2.5-r7.ebuild, + glibc-2.3.1-r2.ebuild, glibc-2.3.1-r3.ebuild, glibc-2.3.2.ebuild: + change sys-kernel/linux-headers to new virtual/os-headers + + 05 March 2003; Martin Schlemmer glibc-2.3.2.ebuild : + Update version. Thanks to Georg Müller for notifying + me. + +*glibc-2.3.2_pre1 (24 Feb 2003) + + 24 Feb 2003; Martin Schlemmer glibc-2.3.2_pre1.ebuild : + Update version to official pre1 of 2.3.2. Add NPTL support .. note that + this is extremely experimental and does not work with the nvidia drivers + among things. Many other tweak and updates. + + 20 Feb 2003; Zach Welch glibc-2.2.5-r7.ebuild : + Added patches for arm. See patches for description of each. + Added arm keyword. + + 09 Feb 2003; Guy Martin : + Added patches for hppa. See patches for description of each. + Added hppa to keywords. + + 29 Jan 2003; Jack Morganan glibc-2.3.1-r3.ebuild : + Changed ~sparc to sparc + + 23 Jan 2003; Jan Seidel glibc-2.3.1-r3.ebuild : + Add MIPS inline-syscall-mips patch + + 16 Jan 2003; Martin Schlemmer glibc-2.3.1-r3.ebuild : + + Sync patches. + + 15 Jan 2003; Martin Schlemmer glibc-2.3.1-r2.ebuild : + + Fix 'locale -a' not listing all locales. This to Stefan Jones + for this fix, bug #13240. + + Add MIPS patches, thanks to and . + + Reload init to fix fsck on reboot ... + + 28 Dec 2002; Martin Schlemmer glibc-2.3.1-r3.ebuild : + + Always add --with-headers=${ROOT}usr/include as option to ./configure, as + linux-headers are usually well tested, and in some cases we get weird + problems ... + + 16 Dec 2002; Martin Schlemmer glibc-2.3.1-r2.ebuild : + + Add -freorder-blocks for x86 (commented). Add Method's replace-flags for + sparc support. + + 13 Dec 2002; Mark Guertin glibc-2.3.1-r2.ebuild : + + Marked stable for ppc + + 10 Dec 2002; Martin Schlemmer glibc-2.3.1-r2.ebuild : + + Mark as stable for x86. + + 06 Dec 2002; Rodney Rees : + + Changed sparc ~sparc keywords + +*glibc-2.3.1-r2 (7 Nov 2002) + + 17 Nov 2002; Stefan Jones glibc-2.3.1-r2.ebuild : + + Small patch "prelinkfix" which fixes rare error with prelinking and + preloading some executables. Patch taken from glibc CVS. + http://sources.redhat.com/ml/libc-alpha/2002-11/msg00151.html + + 16 Nov 2002; Martin Schlemmer glibc-2.3.1-r2.ebuild : + + Fix type-o that caused manpages not installing (bug #10645). + Update to use epatch. + + 16 Nov 2002: Stefan Jones glibc-2.3.1-r2.ebuild : + Changed --with-header to --with-headers to fix fake configure option. + + 10 Nov 2002: Stefan Jones glibc-2.3.1-r2.ebuild : + + Made sparc64's always use the system linux headers instead of the kernel + headers. This fixes the 64bit sparc compile errors, see bug #10470. + + 7 Nov 2002; Martin Schlemmer glibc-2.3.1-r2.ebuild : + + Second try at ctype-compat.patch. Add stack_end-compat patch for missing + libc_stack_end symbold in linker. + + 30 Oct 2002; Martin Schlemmer glibc-2.3.1-r1.ebuild : + + One more compat issue which breaks sun-jdk-1.3.1. See bug #8766 for more + info, and also: + + http://sources.redhat.com/ml/libc-alpha/2002-04/msg00143.html + + Thanks to Jan Gutter for reporting it. Added + libc_wait-compat.patch as fix. + +*glibc-2.3.1-r1 (26 Oct 2002) + + 16 Nov 2002: Stefan Jones glibc-2.3.1-r1.ebuild : + Changed --with-header to --with-headers to fix fake configure option. + + 26 Oct 2002; Martin Schlemmer glibc-2.3.1-r1.ebuild : + + Add the ctype-compat.patch to fix unresolved symbols in old static binaries + and libraries. See bug #8766, #9586 and: + + http://lists.debian.org/debian-glibc/2002/debian-glibc-200210/msg00093.html + + We should think about remoing it in the future after things have settled. + +*glibc-2.2.5-r7 (13 Oct 2002) + + 16 Nov 2002: Stefan Jones glibc-2.2.5-r7.ebuild : + Changed --with-header to --with-headers to fix fake configure option. + + 14 Nov 2002; Mark Guertin glibc-2.2.5-r7.ebuild : + backed out semctl patches for ppc, they cause problems with mozilla builds + + 29 Oct 2002; Jon Nall glibc-2.2.5-r7.ebuild : + + Added sqrtl patch for ppc. This closes bug #9796. Also added semctl + patch for ppc. + + 29 Oct 2002; Seemant Kulleen glibc-2.2.5-r7.ebuild : + + Added semctl patch for sparc. Thanks to nall for + finding this at: + http://sources.redhat.com/ml/libc-hacker/2002-04/msg00071.html + + 13 Oct 2002; Martin Schlemmer glibc-2.2.5-r7.ebuild : + + Some cleanups. Tidy ebuild. Move all patches to ${FILESDIR}/${PV/. + Remove old patches. + + Add patches to fix warnings with gcc-3.2: + + http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2002/08/0228.html + + 13 Oct 2002; Martin Schlemmer glibc-2.2.5-r7.ebuild : + + Fix stupid depend screwup I made when I merged in fixes from glibc-2.3. + + 11 Oct 2002; Seemant Kulleen glibc-2.2.5-r7.ebuild + files/glibc-2.2.5-sparc-misc.diff files/glibc-2.2.5-sparc64-fixups.diff : + + Added patches from debian's patch set to fix miscellaneous issues on sparc + and sparc64. One indication of the hassle with sparc64 was the mozilla + compile failure. That _should_ be sorted out now. + + 09 Oct 2002; Martin Schlemmer glibc-2.2.5-r7.ebuild, + glibc-2.2.5-divdi3.diff : + + Add divdi3 patches for PPC, thanks to nall . + +*glibc-2.2.5-r8 (27 Sep 2002) + + 27 Sep 2002; Daniel Ahlberg : + Moved -r7 to -r8 to give room for updated -r6 release. + +*glibc-2.2.5-r7 (03 Aug 2002) + + 27 Sep 2002; Daniel Ahlberg : + Bumped -r6 to -r7 to include fix for sunrpc overflow. + + 03 Aug 2002; Martin Schlemmer glibc-2.2.5-r7.ebuild : + + Add the patch for fixing the segfaults in mutt, etc while sandbox is + running back in. Seems the relocation problems was also a cause of + the atexit() bug, and fixed in gcc-2.95.3-r7 and later. + + http://sources.redhat.com/ml/bug-glibc/2002-04/msg00025.html + http://bugs.gentoo.org/show_bug.cgi?id=501 + +*glibc-2.2.5-r6 (02 Aug 2002) + + 22 Sep 2002; Martin Schlemmer glibc-2.2.5-r6.ebuild : + + Fix pic support, thanks to Christopher Horler . + This closes bug #8178. + + 08 Sep 2002; Martin Schlemmer glibc-2.2.5-r6.ebuild : + + Add alpha related patches thanks to Bjoern Brauel . + + 02 Aug 2002; Daniel Ahlberg + Added patch for sunrpc overflow. + +*glibc-2.2.5-r5 (14 Jul 2002) + + 15 Jul 2002; Mark Guertin + Added ppc to keywords + + 14 Jul 2002; Martin Schlemmer glibc-2.2.5-r5.ebuild : + + A buffer overflow vulnerability exists in multiple implementations of DNS + resolver libraries. This affects glibc-2.2.5 and earlier. See bug #4923 + and: + + http://www.cert.org/advisories/CA-2002-19.html + + for details. + + Seems gcc-3.1.1 is even more strict than 3.1 .. patch glibc for gcc-3.1.1. + This is also correct for previous gcc versions. + +*glibc-2.2.5-r4 (5 June 2002) + + 5 June 2002; Bart Verwilst glibc-2.2.5-r4.ebuild : + + Added gcc3.1/binutils 2.12 patch, wich solves the nvidia-glx package, + amongst others... (__divdi3 stuff) + Update: Filtered -malign-double out of the ebuild as well now, because + it b0rks glibc. + + + 13 Apr 2002; M.Schlemmer glibc-2.2.5-r2.ebuild : + + Try to fix the pkg_postinst() and /etc/localtime issue sanely. It just + newking my /etc/localtime with a symlink was starting to get irritating. + +*glibc-2.2.5-r3 (03 Apr 2002) + + 03 Apr 2002; Geert Bevin glibc-2.2.5-r3.ebuild, + files/digest-glibc-2.2.5-r3, files/glibc-2.2.5-sandbox.diff : + + Added patch that fixes an ld.so.preload bug which made calls after freopen() + segfault. This now works correctly. This closes bug #501 + +*glibc-2.2.5-r1 (15 Feb 2002) + + 15 Feb 2002; Daniel Robbins : Added tweaked version of + Brandon Low's patch that ensures that library symlinks are installed *after* + (not before) the actual libraries are installed. This should fix glibc merge + deaths, but we need a generic solution to solve this problem. This should + close bug #695. Filing a new bug for adding this functionality to Portage. + +*glibc-2.2.5 (10 Feb 2002) + + 10 Feb 2002; Daniel Robbins : New glibc release for testing + only. Masked. + +*glibc-2.2.4-r9 (1 Feb 2002) + + 1 Feb 2002; G.Bevin ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/cross-powerpc-unknown-linux-gnu/glibc/Manifest b/cross-powerpc-unknown-linux-gnu/glibc/Manifest new file mode 100644 index 0000000..e83fb97 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/Manifest @@ -0,0 +1,29 @@ +AUX eblits/common.eblit 8715 RMD160 75fcaba9cba36e529292289fabe54bf40051b064 SHA1 f3460201e14b971073604eda203f10c9f9b9d196 SHA256 f1ecf6a2299474640606894a4e5743e563af9e18f6f410f516f4369623231fcb +AUX eblits/common.eblit~ 8723 RMD160 88a1f7f41998d8c5a5044e513007e582f90c0c1e SHA1 18af757d176d76e8a6e454c3a586a1eda9c044df SHA256 26ede0fed1d21afff282500cfeceff42b1015c0fb60266fd0227e66b5d11742f +AUX eblits/pkg_postinst.eblit 1159 RMD160 4b99846819bf0471d1104a8a17dd260796644f9d SHA1 4a2980fede3edebc7960d40db7cf935c7c854859 SHA256 76c403cf5c77a3a3bb7441566335f0c8da2584eaa21f05ab400e7bb00f9db810 +AUX eblits/pkg_preinst.eblit 3363 RMD160 5c5d0c1c8e0a1a5918ae54006c201f1c81e70589 SHA1 5515220d1cc8453c5ae9cec02f6e6b8c3f575d91 SHA256 5e9291a6096fcaed6102a3248e8804a726dcf80d68eedc4d4be70b25394de2e3 +AUX eblits/pkg_setup.eblit 2814 RMD160 8352c4b9cc460b7193e17be8bca227db5b6df5ba SHA1 8de7ea78e364521b55574b16036d57e7d35a596f SHA256 b803723f75571649e10e0707a6dbe8b459eabdc149ef155558792db736faa201 +AUX eblits/src_compile.eblit 5853 RMD160 ab8ab7c10991439a6167152320c2c65a0586025c SHA1 dbc4ade40446ea70331c2af7f1291e10207b59c9 SHA256 335cdfdb4c14f6e042aea25603cf5b3ebae6be1cf8379c8e7d51553aa1b09972 +AUX eblits/src_compile.eblit~ 5903 RMD160 b94c444acb43bceb6af209e9fa048daa4d8aea95 SHA1 141ce003838c2460de529befff1dd754672ea61e SHA256 1fe173dbc134f1e652717255e7f22290243c223e5173150d4e31fb2e87197a48 +AUX eblits/src_install.eblit 8111 RMD160 b7d4b732b357cfe24719f9d5640cb6aa78dc3426 SHA1 5c6e7137e94a1ffb9f18488c773d4cb36fb73499 SHA256 ec370820fc1706216606cd7fa797125e4a00a9404dd0a555fab918ac78726238 +AUX eblits/src_install.eblit~ 8096 RMD160 2c759d62334abf4ec30504497f2a64bb4efe4b9a SHA1 96d1ba8f7767cd43d36f4c10a0ccd591c713d8a0 SHA256 bca539217fc0971bbdd3ee42891bcdc96d239c795fcd2270701b53f3278a9b88 +AUX eblits/src_test.eblit 1162 RMD160 349db09c5f2c2e412a108b8c5371adf946e1a3f0 SHA1 357ef650e1dce62d5d688133426bc62b9085009d SHA256 bac1db2da478f6e6709275c36cc1f9a98fac7fcc2e80bd8831f2077207754962 +AUX eblits/src_unpack.eblit 5219 RMD160 3c63f22995dd13cafce46d519b28c4ede1ee0281 SHA1 b52d277a37232cc6d09666a55a8ee4f5d5d892b4 SHA256 d70a28c4f6662786822cb2852ea86836c92ff2f8059270022431e1d02da3a9e1 +AUX glibc-2.10-gentoo-chk_fail.c 9407 RMD160 230701dfacfe2481eb49e5384fe4ebb508bd3af2 SHA1 0e9330d57de714dd1ecd7040d3eabf4723cdee7c SHA256 7745c0f5d37b37959b43b41e39762fc35b877161bc5740d9d3e9a83021acbc0e +AUX glibc-2.10-hardened-configure-picdefault.patch 865 RMD160 744bdbfb73f1dbced4cb33cb5aa92f3b41d3b4fb SHA1 21e0f83598f5342032a794315f0e3dac07f647da SHA256 b50b29f85d88011555bbcbe6046e6600be9344f2d78412b14aebdea515420774 +AUX glibc-2.10-hardened-inittls-nosysenter.patch 8823 RMD160 163e53f0f4f0bd003ef1c50a4eaaa8f4a82695fe SHA1 df23c6756114e1451e6f120723af1b621037c28e SHA256 dcf78c6524c222dbee907200a8878aff727e29d43a4962b977a16d85752e5c10 +AUX glibc-2.10-hardened-ssp-compat.patch 4802 RMD160 02bd17455d64b6661ae5f44329357dc254cdf118 SHA1 b40cf1a8f17e448861746ba39aa20afd66a47b2d SHA256 bd6f0aa8eace0a935731749e101d5fe30210f9edb65f2f5ccd425cef581ddce4 +AUX glibc-2.11-hardened-pie.patch 1492 RMD160 dacf988364e3eeeaa2bd588420a19db373347678 SHA1 f44b4389d031bc618c83a2f196c4e2afa647a68a SHA256 74277f76ace9cb6b408ef7c1d43a3604ae0d6c1af539055aeaeb542d2bfa2a46 +AUX glibc-2.12-hardened-pie.patch 1542 RMD160 c42e6a8eef542506c440d58395a066129cd40dec SHA1 703b4c23a6701f41cd51b629eae362e129b60de3 SHA256 9d11da52900a4cfdaa9052476029cb1b4c8004dfaef3cf446f3b728035f75fbe +AUX glibc-2.6-gentoo-stack_chk_fail.c 9545 RMD160 9a21c9deb6ebca5d2245e3bb50b53ce035967a5f SHA1 11ad52117fa55bbe51b429043df49767c7f58de0 SHA256 1410ded812be80d452eada5f9d6b9bd7bdb504c14f01cc27dce3e36b6f92b92a +AUX index.html 2936 RMD160 822d2684f5774f42ff89924591972e5a816780e1 SHA1 700b2727de7d87a9f0a9b417a6b60562d6f749df SHA256 c0ba5fa720cb9cbbb92db002c5601ba0094f4fbce6b4aaef427228197f438168 +AUX pkg_postinst.eblit 1159 RMD160 4b99846819bf0471d1104a8a17dd260796644f9d SHA1 4a2980fede3edebc7960d40db7cf935c7c854859 SHA256 76c403cf5c77a3a3bb7441566335f0c8da2584eaa21f05ab400e7bb00f9db810 +DIST glibc-2.11.2-patches-1.tar.bz2 101742 RMD160 e8328ecad78eea79fc72ff9632954aea5e2765fa SHA1 819e7cc278c2fc39be0ba54738f0991eb44cb32c SHA256 87b0227a77a3155cd56197671937158fd55213ffcae17a75503659a67a0d14d2 +DIST glibc-2.11.2.tar.bz2 15675392 RMD160 15d14fb6b0b58ec3fb7781efa2f8a558fcb99a7e SHA1 23b477f4816a97e007be1e98abc1ffe2af13ba9e SHA256 c2ac76ee363eed31b2a377489fb2818139f4668b5505ad583009eb9b0e228713 +DIST glibc-2.12.1-patches-5.tar.bz2 92009 RMD160 f4ba107afe104a283b692d1046d63bfee7d9f225 SHA1 1bf8b7dd4335f13d801a9fbb9d598fd54d60f66f SHA256 2b34b95da5b76cd7edae2bb1f02df5a105cceab6a8b86288839d0fb23a012209 +DIST glibc-2.12.1.tar.bz2 15667516 RMD160 4a46745f4220f4253af0b882d0c2072499e17653 SHA1 ef5ca1e765719d3290bd24f94705f27534f3744b SHA256 759f115c52bc12c5bb453af559dcd456d32138250b7cc96e47804e3d0ec97407 +DIST glibc-ports-2.11.tar.bz2 599606 RMD160 e7262cb903b42d27bd0666fb170d2abb4c8b478f SHA1 76a0513c74b80e34f81abcaabbc538fa0f33b6a4 SHA256 38d212b1a22ed121c97f2827e7357e3e077084635ebc197246993d328b1b6589 +EBUILD glibc-2.11.2.ebuild 8266 RMD160 c026b8f495cb66e4f0e91b92b6404dd13b6c0bfe SHA1 0aa79145c53875a041eda9f35ecbda0620406d44 SHA256 dbece96f9486cd86409dd4369c4f5a442114ce4f72bf6b00e713af0a057b9045 +EBUILD glibc-2.12.1-r2.ebuild 8702 RMD160 1918dfd0e1f31ea8305f67d9d7581b8552b06e18 SHA1 46b3f18afb344e48b1bafcdc3b6c140e632f896c SHA256 23dc9cc9537848b1b8fb94f246d1f4ba8ae7740d90a9281e7e63c93b1f8acd1c +MISC ChangeLog 125883 RMD160 dd8017a7f07fc19f7d8fbebfd39a7cbb0fceb616 SHA1 1d6d2396330f1a1234d7bb6c2c384082653fdca8 SHA256 5b54ffb26af43e0123134daccc05a9761ed9b9ebbfbc9f666f7627ff116860e1 +MISC metadata.xml 539 RMD160 cf4d236b54a77b3cea382d53e4e61721bd14169b SHA1 b54ad589378da193ddc89676f8468c6d1b79521f SHA256 d7cb6dd119c81b5bf12c360af3705ca31a56ffa8bec999b44faa63c183719c31 diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/common.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/common.eblit new file mode 100644 index 0000000..1dce06c --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/common.eblit @@ -0,0 +1,287 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.11 2010/06/16 01:43:37 zorry Exp $ + +# We need to be able to set alternative headers for +# compiling for non-native platform +# Will also become useful for testing kernel-headers without screwing up +# the whole system. +# note: intentionally undocumented. +alt_headers() { + if [[ -z ${ALT_HEADERS} ]] ; then + if is_crosscompile ; then + ALT_HEADERS="/usr/${CTARGET}/usr/include" + else + ALT_HEADERS="/usr/include" + fi + fi + echo "${ALT_HEADERS}" +} +alt_build_headers() { + if [[ -z ${ALT_BUILD_HEADERS} ]] ; then + ALT_BUILD_HEADERS=${EPREFIX}/$(alt_headers) + if tc-is-cross-compiler ; then + ALT_BUILD_HEADERS=${ROOT}/$(alt_headers) + if [[ ! -e ${ALT_BUILD_HEADERS}/linux/version.h ]] ; then + local header_path=$(echo '#include ' | $(tc-getCPP ${CTARGET}) ${CFLAGS} 2>&1 | grep -o '[^"]*linux/version.h') + ALT_BUILD_HEADERS=${header_path%/linux/version.h} + fi + fi + fi + echo "${ALT_BUILD_HEADERS}" +} + +alt_usrlibdir() { + if is_crosscompile ; then + echo /usr/${CTARGET}/usr/$(get_libdir) + else + echo /usr/$(get_libdir) + fi +} + +setup_flags() { + # Make sure host make.conf doesn't pollute us + if is_crosscompile || tc-is-cross-compiler ; then + CHOST=${CTARGET} strip-unsupported-flags + fi + + # Store our CFLAGS because it's changed depending on which CTARGET + # we are building when pulling glibc on a multilib profile + CFLAGS_BASE=${CFLAGS_BASE-${CFLAGS}} + CFLAGS=${CFLAGS_BASE} + CXXFLAGS_BASE=${CXXFLAGS_BASE-${CXXFLAGS}} + CXXFLAGS=${CXXFLAGS_BASE} + ASFLAGS_BASE=${ASFLAGS_BASE-${ASFLAGS}} + ASFLAGS=${ASFLAGS_BASE} + + # Over-zealous CFLAGS can often cause problems. What may work for one + # person may not work for another. To avoid a large influx of bugs + # relating to failed builds, we strip most CFLAGS out to ensure as few + # problems as possible. + strip-flags + strip-unsupported-flags + filter-flags -m32 -m64 -mabi=* + + unset CBUILD_OPT CTARGET_OPT + if has_multilib_profile ; then + CTARGET_OPT=$(get_abi_CTARGET) + [[ -z ${CTARGET_OPT} ]] && CTARGET_OPT=$(get_abi_CHOST) + fi + + case $(tc-arch) in + x86) + # -march needed for #185404 + local t=${CTARGET_OPT:-${CTARGET}} + t=${t%%-*} + if ! echo "" | $(tc-getCC) ${CFLAGS} -E -dD - | grep -qs __${t}__ ; then + filter-flags '-march=*' + export CFLAGS="-march=${t} ${CFLAGS}" + fi + ;; + amd64) + # Punt this when amd64's 2004.3 is removed + CFLAGS_x86="-m32" + + # -march needed for #185404 + local t=${CTARGET_OPT:-${CTARGET}} + t=${t%%-*} + if ! echo "" | $(tc-getCC) ${CFLAGS} ${CFLAGS_x86} -m32 -E -dD - | grep -qs __${t}__ ; then + filter-flags '-march=*' + export CFLAGS_x86="${CFLAGS_x86} -march=${t}" + fi + ;; + ppc) + append-flags "-freorder-blocks" + ;; + sparc) + # Both sparc and sparc64 can use -fcall-used-g6. -g7 is bad, though. + filter-flags "-fcall-used-g7" + append-flags "-fcall-used-g6" + filter-flags "-mvis" + + GLIBCMAJOR=$(get_version_component_range 1 ${PV}) + GLIBCMINOR=$(get_version_component_range 2 ${PV}) + + # set CTARGET_OPT so glibc can use cpu-specific .S files for better performance + # - UltraSPARC T1 (niagara) support requires >= glibc 2.8 + # - UltraSPARC T2 (niagara2) support requires >= glibc 2.7 + + if is_crosscompile || [[ ${PROFILE_ARCH} == "sparc64" ]] || { has_multilib_profile && ! tc-is-cross-compiler; } ; then + case ${ABI} in + sparc64) + filter-flags -Wa,-xarch -Wa,-A + + if is-flagq "-mcpu=niagara2" && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.7 ]] ; then + CTARGET_OPT="sparc64v2-unknown-linux-gnu" + append-flags "-Wa,-xarch=v9b" + export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9b" + elif { is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2" ; } && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.6 ]] ; then + CTARGET_OPT="sparc64v-unknown-linux-gnu" + append-flags "-Wa,-xarch=v9b" + export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9b" + elif is-flagq "-mcpu=ultrasparc3" || is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2"; then + CTARGET_OPT="sparc64b-unknown-linux-gnu" + append-flags "-Wa,-xarch=v9b" + export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9b" + else + CTARGET_OPT="sparc64-unknown-linux-gnu" + append-flags "-Wa,-xarch=v9a" + export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9a" + fi + ;; + *) + if is-flagq "-mcpu=niagara2" && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.7 ]] ; then + CTARGET_OPT="sparcv9v2-unknown-linux-gnu" + elif { is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2" ; } && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.6 ]] ; then + CTARGET_OPT="sparcv9v-unknown-linux-gnu" + elif is-flagq "-mcpu=ultrasparc3" || is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2"; then + CTARGET_OPT="sparcv9b-unknown-linux-gnu" + else + CTARGET_OPT="sparcv9-unknown-linux-gnu" + fi + ;; + esac + else + if is-flagq "-mcpu=niagara2" && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.7 ]] ; then + CTARGET_OPT="sparcv9v2-unknown-linux-gnu" + elif { is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2" ; } && [[ ${GLIBCMAJOR}.${GLIBCMINOR} > 2.6 ]] ; then + CTARGET_OPT="sparcv9v-unknown-linux-gnu" + elif is-flagq "-mcpu=ultrasparc3" || is-flagq "-mcpu=niagara" || is-flagq "-mcpu=niagara2"; then + CTARGET_OPT="sparcv9b-unknown-linux-gnu" + elif { is_crosscompile && want_nptl; } || is-flagq "-mcpu=ultrasparc2" || is-flagq "-mcpu=ultrasparc"; then + CTARGET_OPT="sparcv9-unknown-linux-gnu" + fi + fi + ;; + esac + + if [[ -n ${CTARGET_OPT} && ${CBUILD} == ${CHOST} ]] && ! is_crosscompile; then + CBUILD_OPT=${CTARGET_OPT} + fi + + # Lock glibc at -O2 -- linuxthreads needs it and we want to be + # conservative here. -fno-strict-aliasing is to work around #155906 + filter-flags -O? + append-flags -O2 -fno-strict-aliasing + + # Cant build glibc itself with fortify code + append-cppflags -U_FORTIFY_SOURCE + + # building glibc with SSP is fraught with difficulty, especially + # due to __stack_chk_fail_local which would mean significant changes + # to the glibc build process. See bug #94325 #293721 + use hardened && gcc-specs-ssp && append-cflags $(test-flags-CC -fno-stack-protector) + + if use hardened && gcc-specs-pie ; then + # Force PIC macro definition for all compilations since they're all + # either -fPIC or -fPIE with the default-PIE compiler. + append-cppflags -DPIC + else + # Don't build -fPIE without the default-PIE compiler and the + # hardened-pie patch + filter-flags -fPIE + fi +} + +want_nptl() { + [[ -z ${LT_VER} ]] && return 0 + want_tls || return 1 + use nptl || return 1 + + # Only list the arches that cannot do NPTL + case $(tc-arch) in + m68k) return 1;; + sparc) + # >= v9 is needed for nptl. + [[ ${PROFILE_ARCH} == "sparc" ]] && return 1 + ;; + esac + + return 0 +} + +want_linuxthreads() { + [[ -z ${LT_VER} ]] && return 1 + ! use nptlonly && return 0 + want_nptl || return 0 + return 1 +} + +want_tls() { + # Archs that can use TLS (Thread Local Storage) + case $(tc-arch) in + sparc) + # 2.3.6 should have tls support on sparc64 + # when using newer binutils + case ${CTARGET/-*} in + sparc64*) return 1 ;; + *) return 0 ;; + esac + ;; + x86) + # requires i486 or better #106556 + [[ ${CTARGET} == i[4567]86* ]] && return 0 + return 1 + ;; + esac + + return 0 +} + +want__thread() { + want_tls || return 1 + + # For some reason --with-tls --with__thread is causing segfaults on sparc32. + [[ ${PROFILE_ARCH} == "sparc" ]] && return 1 + + [[ -n ${WANT__THREAD} ]] && return ${WANT__THREAD} + + # only test gcc -- cant test linking yet + tc-has-tls -c ${CTARGET} + WANT__THREAD=$? + + return ${WANT__THREAD} +} + +use_multilib() { + case ${CTARGET} in + sparc*|mips64*|x86_64*|powerpc64*|s390x*) + has_multilib_profile || use multilib ;; + *) false ;; + esac +} + +# Setup toolchain variables that would be defined in the profiles for these archs. +setup_env() { + # silly users + unset LD_RUN_PATH + + if is_crosscompile || tc-is-cross-compiler ; then + multilib_env ${CTARGET} + if ! use multilib ; then + MULTILIB_ABIS=${DEFAULT_ABI} + else + MULTILIB_ABIS=${MULTILIB_ABIS:-${DEFAULT_ABI}} + fi + + # If the user has CFLAGS_ in their make.conf, use that, + # and fall back on CFLAGS. + local VAR=CFLAGS_${CTARGET//[-.]/_} + CFLAGS=${!VAR-${CFLAGS}} + fi + + setup_flags + + export ABI=${ABI:-${DEFAULT_ABI:-default}} + + if is_crosscompile || tc-is-cross-compiler ; then + local VAR=CFLAGS_${ABI} + # We need to export CFLAGS with abi information in them because + # glibc's configure script checks CFLAGS for some targets (like mips) + export CFLAGS="${!VAR} ${CFLAGS}" + fi +} + +just_headers() { + is_crosscompile && use crosscompile_opts_headers-only +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_postinst.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_postinst.eblit new file mode 100644 index 0000000..2566eed --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_postinst.eblit @@ -0,0 +1,29 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_postinst.eblit,v 1.1 2009/03/01 21:06:22 vapier Exp $ + +eblit-glibc-pkg_postinst() { + # nothing to do if just installing headers + just_headers && return + + if ! tc-is-cross-compiler && [[ -x ${ROOT}/usr/sbin/iconvconfig ]] ; then + # Generate fastloading iconv module configuration file. + "${ROOT}"/usr/sbin/iconvconfig --prefix="${ROOT}" + fi + + if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then + # Reload init ... if in a chroot or a diff init package, ignore + # errors from this step #253697 + /sbin/telinit U 2>/dev/null + + # if the host locales.gen contains no entries, we'll install everything + local locale_list="${ROOT}etc/locale.gen" + if [[ -z $(locale-gen --list --config "${locale_list}") ]] ; then + ewarn "Generating all locales; edit /etc/locale.gen to save time/space" + locale_list="${ROOT}usr/share/i18n/SUPPORTED" + fi + local x jobs + for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done + locale-gen -j ${jobs:-1} --config "${locale_list}" + fi +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_preinst.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_preinst.eblit new file mode 100644 index 0000000..c161640 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_preinst.eblit @@ -0,0 +1,83 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit,v 1.2 2009/12/19 23:44:54 vapier Exp $ + +fix_lib64_symlinks() { + # the original Gentoo/AMD64 devs decided that since 64bit is the native + # bitdepth for AMD64, lib should be used for 64bit libraries. however, + # this ignores the FHS and breaks multilib horribly... especially + # since it wont even work without a lib64 symlink anyways. *rolls eyes* + # see bug 59710 for more information. + # Travis Tilley (08 Aug 2004) + if [ -L ${ROOT}/lib64 ] ; then + ewarn "removing /lib64 symlink and moving lib to lib64..." + ewarn "dont hit ctrl-c until this is done" + rm ${ROOT}/lib64 + # now that lib64 is gone, nothing will run without calling ld.so + # directly. luckily the window of brokenness is almost non-existant + use amd64 && /lib/ld-linux-x86-64.so.2 /bin/mv ${ROOT}/lib ${ROOT}/lib64 + use ppc64 && /lib/ld64.so.1 /bin/mv ${ROOT}/lib ${ROOT}/lib64 + # all better :) + ldconfig + ln -s lib64 ${ROOT}/lib + einfo "done! :-)" + einfo "fixed broken lib64/lib symlink in ${ROOT}" + fi + if [ -L ${ROOT}/usr/lib64 ] ; then + rm ${ROOT}/usr/lib64 + mv ${ROOT}/usr/lib ${ROOT}/usr/lib64 + ln -s lib64 ${ROOT}/usr/lib + einfo "fixed broken lib64/lib symlink in ${ROOT}/usr" + fi + if [ -L ${ROOT}/usr/X11R6/lib64 ] ; then + rm ${ROOT}/usr/X11R6/lib64 + mv ${ROOT}/usr/X11R6/lib ${ROOT}/usr/X11R6/lib64 + ln -s lib64 ${ROOT}/usr/X11R6/lib + einfo "fixed broken lib64/lib symlink in ${ROOT}/usr/X11R6" + fi +} + +eblit-glibc-pkg_preinst() { + # nothing to do if just installing headers + just_headers && return + + # PPC64+others may want to eventually be added to this logic if they + # decide to be multilib compatible and FHS compliant. note that this + # chunk of FHS compliance only applies to 64bit archs where 32bit + # compatibility is a major concern (not IA64, for example). + + # amd64's 2005.0 is the first amd64 profile to not need this code. + # 2005.0 is setup properly, and this is executed as part of the + # 2004.3 -> 2005.0 upgrade script. + # It can be removed after 2004.3 has been purged from portage. + { use amd64 || use ppc64; } && [ "$(get_libdir)" == "lib64" ] && ! has_multilib_profile && fix_lib64_symlinks + + # it appears that /lib/tls is sometimes not removed. See bug + # 69258 for more info. + if [[ -d ${ROOT}/$(alt_libdir)/tls ]] && [[ ! -d ${D}/$(alt_libdir)/tls ]] ; then + ewarn "nptlonly or -nptl in USE, removing /${ROOT}$(alt_libdir)/tls..." + rm -r "${ROOT}"/$(alt_libdir)/tls || die + fi + + # prepare /etc/ld.so.conf.d/ for files + mkdir -p "${ROOT}"/etc/ld.so.conf.d + + # simple test to make sure our new glibc isnt completely broken. + # make sure we don't test with statically built binaries since + # they will fail. also, skip if this glibc is a cross compiler. + [[ ${ROOT} != "/" ]] && return 0 + [[ -d ${D}/$(get_libdir) ]] || return 0 + cd / #228809 + local x striptest + for x in date env ls true uname ; do + x=$(type -p ${x}) + [[ -z ${x} ]] && continue + striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) + [[ -z ${striptest} ]] && continue + [[ ${striptest} == *"statically linked"* ]] && continue + "${D}"/$(get_libdir)/ld-*.so \ + --library-path "${D}"/$(get_libdir) \ + ${x} > /dev/null \ + || die "simple run test (${x}) failed" + done +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_setup.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_setup.eblit new file mode 100644 index 0000000..04445a5 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/pkg_setup.eblit @@ -0,0 +1,67 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit,v 1.4 2009/08/21 05:46:04 vapier Exp $ + +eblit-glibc-pkg_setup() { + # prevent native builds from downgrading ... maybe update to allow people + # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) + if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then + if has_version '>'${CATEGORY}/${PF} ; then + eerror "Sanity check to keep you from breaking your system:" + eerror " Downgrading glibc is not supported and a sure way to destruction" + die "aborting to save your system" + fi + + # Check for broken kernels #262698 + cd "${T}" + printf '#include \nint main(){return getpwuid(0)==0;}\n' > kern-clo-test.c + emake kern-clo-test || die + if ! ./kern-clo-test ; then + eerror "Your patched vendor kernel is broken. You need to get an" + eerror "update from whoever is providing the kernel to you." + eerror "http://sourceware.org/bugzilla/show_bug.cgi?id=5227" + die "keeping your system alive, say thank you" + fi + + # Check for broken kernels #279260 + cd "${T}" + printf '#include \n#include \nint main(){return syscall(1000)!=-1;}\n' > kern-enosys-test.c + emake kern-enosys-test || die + if ! ./kern-enosys-test ; then + eerror "Your old kernel is broken. You need to update it to" + eerror "a newer version as syscall() will break." + eerror "http://bugs.gentoo.org/279260" + die "keeping your system alive, say thank you" + fi + fi + + # users have had a chance to phase themselves, time to give em the boot + if [[ -e ${ROOT}/etc/locale.gen ]] && [[ -e ${ROOT}/etc/locales.build ]] ; then + eerror "You still haven't deleted ${ROOT}/etc/locales.build." + eerror "Do so now after making sure ${ROOT}/etc/locale.gen is kosher." + die "lazy upgrader detected" + fi + + if [[ ${CTARGET} == i386-* ]] ; then + eerror "i386 CHOSTs are no longer supported." + eerror "Chances are you don't actually want/need i386." + eerror "Please read http://www.gentoo.org/doc/en/change-chost.xml" + die "please fix your CHOST" + fi + + if [[ -n ${LT_VER} ]] ; then + if use nptlonly && ! use nptl ; then + eerror "If you want nptlonly, add nptl to your USE too ;p" + die "nptlonly without nptl" + fi + fi + + if [[ -e /proc/xen ]] && [[ $(tc-arch) == "x86" ]] && ! is-flag -mno-tls-direct-seg-refs ; then + ewarn "You are using Xen but don't have -mno-tls-direct-seg-refs in your CFLAGS." + ewarn "This will result in a 50% performance penalty when running with a 32bit" + ewarn "hypervisor, which is probably not what you want." + fi + + use hardened && ! gcc-specs-pie && \ + ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_compile.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_compile.eblit new file mode 100644 index 0000000..cc33eb3 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_compile.eblit @@ -0,0 +1,208 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.10 2009/11/06 00:33:03 vapier Exp $ + +glibc_do_configure() { + local myconf + + # set addons + pushd "${S}" > /dev/null + local ADDONS=$(echo */configure | sed \ + -e 's:/configure::g' \ + -e 's:\(linuxthreads\|nptl\|rtkaio\|glibc-compat\)\( \|$\)::g' \ + -e 's: \+$::' \ + -e 's! !,!g' \ + -e 's!^!,!' \ + -e '/^,\*$/d') + [[ -d ports ]] && ADDONS="${ADDONS},ports" + popd > /dev/null + + use nls || myconf="${myconf} --disable-nls" + myconf="${myconf} $(use_enable hardened stackguard-randomization)" + if [[ $(<"${T}"/.ssp.compat) == "yes" ]] ; then + myconf="${myconf} --enable-old-ssp-compat" + else + myconf="${myconf} --disable-old-ssp-compat" + fi + + use glibc-omitfp && myconf="${myconf} --enable-omitfp" + + [[ ${CTARGET//_/-} == *-softfloat-* ]] && myconf="${myconf} --without-fp" + + if [[ $1 == "linuxthreads" ]] ; then + if want_tls ; then + myconf="${myconf} --with-tls" + + if ! want__thread || use glibc-compat20 || [[ ${LT_KER_VER} == 2.[02].* ]] ; then + myconf="${myconf} --without-__thread" + else + myconf="${myconf} --with-__thread" + fi + else + myconf="${myconf} --without-tls --without-__thread" + fi + + myconf="${myconf} --disable-sanity-checks" + myconf="${myconf} --enable-add-ons=linuxthreads${ADDONS}" + myconf="${myconf} --enable-kernel=${LT_KER_VER}" + elif [[ $1 == "nptl" ]] ; then + myconf="${myconf} --enable-add-ons=nptl${ADDONS}" + myconf="${myconf} --enable-kernel=${NPTL_KERN_VER}" + else + die "invalid pthread option" + fi + + # Since SELinux support is only required for nscd, only enable it if: + # 1. USE selinux + # 2. only for the primary ABI on multilib systems + # 3. Not a crosscompile + if ! is_crosscompile && use selinux ; then + if use multilib || has_multilib_profile ; then + if is_final_abi ; then + myconf="${myconf} --with-selinux" + else + myconf="${myconf} --without-selinux" + fi + else + myconf="${myconf} --with-selinux" + fi + else + myconf="${myconf} --without-selinux" + fi + + myconf="${myconf} + --without-cvs + --enable-bind-now + --build=${CBUILD_OPT:-${CBUILD}} + --host=${CTARGET_OPT:-${CTARGET}} + $(use_enable profile) + $(use_with gd) + --with-headers=$(alt_build_headers) + --prefix=/usr + --libdir=/usr/$(get_libdir) + --mandir=/usr/share/man + --infodir=/usr/share/info + --libexecdir=/usr/$(get_libdir)/misc/glibc + ${EXTRA_ECONF}" + + # There is no configure option for this and we need to export it + # since the glibc build will re-run configure on itself + export libc_cv_slibdir=/$(get_libdir) + + has_version app-admin/eselect-compiler || export CC=$(tc-getCC ${CTARGET}) + + local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1 + mkdir -p "${GBUILDDIR}" + cd "${GBUILDDIR}" + einfo "Configuring GLIBC for $1 with: ${myconf// /\n\t\t}" + "${S}"/configure ${myconf} || die "failed to configure glibc" + + # since we'll be punting them for cross-compilers, and they can cause + # problems (ia64+static), we'll just skip building altogether + is_crosscompile && sed -i '1ibuild-programs = no' config.make +} + +toolchain-glibc_src_compile() { + echo + local v + for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do + einfo " $(printf '%15s' ${v}:) ${!v}" + done + echo + + if want_linuxthreads ; then + glibc_do_configure linuxthreads + einfo "Building GLIBC with linuxthreads..." + make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" + fi + if want_nptl ; then + # ... and then do the optional nptl build + unset LD_ASSUME_KERNEL + glibc_do_configure nptl + einfo "Building GLIBC with NPTL..." + make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" + fi +} + +toolchain-glibc_headers_compile() { + local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-headers + mkdir -p "${GBUILDDIR}" + cd "${GBUILDDIR}" + + # if we don't have a compiler yet, we cant really test it now ... + # hopefully they don't affect header geneation, so let's hope for + # the best here ... + export \ + libc_cv_386_tls=yes \ + libc_cv_asm_cfi_directives=yes \ + libc_cv_broken_visibility_attribute=no \ + libc_cv_gcc___thread=yes \ + libc_cv_mlong_double_128=yes \ + libc_cv_mlong_double_128ibm=yes \ + libc_cv_ppc_machine=yes \ + libc_cv_visibility_attribute=yes \ + libc_cv_z_combreloc=yes \ + libc_cv_z_execstack=yes \ + libc_cv_z_initfirst=yes \ + libc_cv_z_nodelete=yes \ + libc_cv_z_nodlopen=yes \ + libc_cv_z_relro=yes + + # Pick out the correct location for build headers + local ports="" myconf="--disable-sanity-checks --enable-hacker-mode" + [[ -d ${S}/ports ]] && ports=",ports" + myconf="${myconf} + --enable-add-ons=nptl${ports} + --without-cvs + --enable-bind-now + --build=${CBUILD_OPT:-${CBUILD}} + --host=${CTARGET_OPT:-${CTARGET}} + --with-headers=$(alt_build_headers) + --prefix=${EPREFIX}/usr + ${EXTRA_ECONF}" + + # Nothing is compiled here which would affect the headers for the target. + # so forcing CC/CFLAGS is sane. unless you dont have `gcc`. then i + # dont care :p. + einfo "Configuring GLIBC headers with: ${myconf// /\n\t\t}" + CC=gcc \ + CFLAGS="-O1 -pipe" \ + "${S}"/configure ${myconf} || die "failed to configure glibc" +} + +eblit-glibc-src_compile() { + if is_crosscompile ; then + export \ + libc_cv_c_cleanup=yes \ + libc_cv_forced_unwind=yes + fi + + if just_headers ; then + toolchain-glibc_headers_compile + return + fi + + setup_env + + if [[ -z ${OABI} ]] ; then + local abilist="" + if has_multilib_profile ; then + abilist=$(get_install_abis) + einfo "Building multilib glibc for ABIs: ${abilist}" + elif is_crosscompile || tc-is-cross-compiler ; then + abilist=${DEFAULT_ABI} + fi + if [[ -n ${abilist} ]] ; then + OABI=${ABI} + for ABI in ${abilist} ; do + export ABI + src_compile + done + ABI=${OABI} + unset OABI + return 0 + fi + fi + + toolchain-glibc_src_compile +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_install.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_install.eblit new file mode 100644 index 0000000..fb55907 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_install.eblit @@ -0,0 +1,252 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.9 2009/12/19 23:44:54 vapier Exp $ + +toolchain-glibc_src_install() { + local GBUILDDIR + if want_linuxthreads ; then + GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-linuxthreads + else + GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-nptl + fi + + local install_root=${ED} + is_crosscompile && install_root="${install_root}/usr/${CTARGET}" + if want_linuxthreads ; then + cd "${WORKDIR}"/build-${ABI}-${CTARGET}-linuxthreads + einfo "Installing GLIBC ${ABI} with linuxthreads ..." + else # nptlonly + cd "${WORKDIR}"/build-${ABI}-${CTARGET}-nptl + einfo "Installing GLIBC ${ABI} with NPTL ..." + fi + make PARALLELMFLAGS="${MAKEOPTS}" \ + install_root="${install_root}" \ + install || die + + if is_crosscompile ; then + # punt all the junk not needed by a cross-compiler + cd "${ED}"/usr/${CTARGET} || die + rm -rf ./{,usr/}{bin,etc,sbin,share} ./{,usr/}*/{gconv,misc} + fi + + if want_linuxthreads && want_nptl ; then + einfo "Installing NPTL to $(alt_libdir)/tls/..." + cd "${WORKDIR}"/build-${ABI}-${CTARGET}-nptl + dodir $(alt_libdir)/tls $(alt_usrlibdir)/nptl + + local l src_lib + for l in libc libm librt libpthread libthread_db ; do + # take care of shared lib first ... + l=${l}.so + if [[ -e ${l} ]] ; then + src_lib=${l} + else + src_lib=$(eval echo */${l}) + fi + cp -a ${src_lib} "${ED}"$(alt_libdir)/tls/${l} || die "copying nptl ${l}" + fperms a+rx $(alt_libdir)/tls/${l} + dosym ${l} $(alt_libdir)/tls/$(scanelf -qSF'%S#F' ${src_lib}) + + # then grab the linker script or the symlink ... + if [[ -L ${ED}$(alt_usrlibdir)/${l} ]] ; then + dosym $(alt_libdir)/tls/${l} $(alt_usrlibdir)/nptl/${l} + else + sed \ + -e "s:/${l}:/tls/${l}:g" \ + -e "s:/${l/%.so/_nonshared.a}:/nptl/${l/%.so/_nonshared.a}:g" \ + "${ED}"$(alt_usrlibdir)/${l} > "${ED}"$(alt_usrlibdir)/nptl/${l} + fi + + # then grab the static lib ... + src_lib=${src_lib/%.so/.a} + [[ ! -e ${src_lib} ]] && src_lib=${src_lib/%.a/_pic.a} + cp -a ${src_lib} "${ED}"$(alt_usrlibdir)/nptl/ || die "copying nptl ${src_lib}" + src_lib=${src_lib/%.a/_nonshared.a} + if [[ -e ${src_lib} ]] ; then + cp -a ${src_lib} "${ED}"$(alt_usrlibdir)/nptl/ || die "copying nptl ${src_lib}" + fi + done + + # use the nptl linker instead of the linuxthreads one as the linuxthreads + # one may lack TLS support and that can be really bad for business + cp -a elf/ld.so "${ED}"$(alt_libdir)/$(scanelf -qSF'%S#F' elf/ld.so) || die "copying nptl interp" + fi + + # We'll take care of the cache ourselves + rm -f "${ED}"/etc/ld.so.cache + + # Some things want this, notably ash. + dosym libbsd-compat.a $(alt_usrlibdir)/libbsd.a + + # Handle includes for different ABIs if glibc itself doesn't do it + # XXX: curr glibc should finally handle all of them correctly + #case $(tc-arch) in + # amd64|mips|ppc|s390) ;; + # *) prep_ml_includes $(alt_headers) ;; + #esac + + # When cross-compiling for a non-multilib setup, make sure we have + # lib and a proper symlink setup + if is_crosscompile && ! use multilib && ! has_multilib_profile && [[ $(get_libdir) != "lib" ]] ; then + cd "${ED}"$(alt_libdir)/.. + mv $(get_libdir) lib || die + ln -s lib $(get_libdir) || die + cd "${ED}"$(alt_usrlibdir)/.. + mv $(get_libdir) lib || die + ln -s lib $(get_libdir) || die + fi + + ################################################################# + # EVERYTHING AFTER THIS POINT IS FOR NATIVE GLIBC INSTALLS ONLY # + # Make sure we install some symlink hacks so that when we build + # a 2nd stage cross-compiler, gcc finds the target system + # headers correctly. See gcc/doc/gccinstall.info + if is_crosscompile ; then + dosym usr/include usr/${CTARGET}/sys-include + return 0 + fi + + # Everything past this point just needs to be done once ... + is_final_abi || return 0 + + # Make sure the non-native interp can be found on multilib systems + if has_multilib_profile ; then + case $(tc-arch) in + amd64) + [[ ! -e ${ED}/lib ]] && dosym $(get_abi_LIBDIR amd64) /lib + dosym ../$(get_abi_LIBDIR x86)/ld-linux.so.2 /lib/ld-linux.so.2 + ;; + ppc64) + [[ ! -e ${ED}/lib ]] && dosym $(get_abi_LIBDIR ppc64) /lib + dosym ../$(get_abi_LIBDIR ppc)/ld.so.1 /lib/ld.so.1 + ;; + esac + fi + + # Files for Debian-style locale updating + dodir /usr/share/i18n + sed \ + -e "/^#/d" \ + -e "/SUPPORTED-LOCALES=/d" \ + -e "s: \\\\::g" -e "s:/: :g" \ + "${S}"/localedata/SUPPORTED > "${ED}"/usr/share/i18n/SUPPORTED \ + || die "generating /usr/share/i18n/SUPPORTED failed" + cd "${WORKDIR}"/extra/locale + dosbin locale-gen || die + doman *.[0-8] + insinto /etc + doins locale.gen || die + + # Make sure all the ABI's can find the locales and so we only + # have to generate one set + local a + keepdir /usr/$(get_libdir)/locale + for a in $(get_install_abis) ; do + if [[ ! -e ${ED}/usr/$(get_abi_LIBDIR ${a})/locale ]] ; then + dosym /usr/$(get_libdir)/locale /usr/$(get_abi_LIBDIR ${a})/locale + fi + done + + if ! has noinfo ${FEATURES} && [[ -n ${INFOPAGE_VER} ]] ; then + einfo "Installing info pages..." + + make \ + -C "${GBUILDDIR}" \ + PARALLELMFLAGS="${MAKEOPTS}" \ + install_root="${install_root}" \ + info -i || die + fi + + if [[ -n ${MANPAGE_VER} ]] ; then + einfo "Installing man pages..." + + # Install linuxthreads man pages even if nptl is enabled + cd "${WORKDIR}"/man + doman *.3thr + fi + + cd "${S}" + + # Install misc network config files + insinto /etc + doins nscd/nscd.conf posix/gai.conf nss/nsswitch.conf || die + doins "${WORKDIR}"/extra/etc/*.conf || die + doinitd "${WORKDIR}"/extra/etc/nscd || die + + sed -i -e "s:@PIDFILE@:$(strings "${ED}"/usr/sbin/nscd | grep nscd.pid):" "${ED}"/etc/init.d/nscd + + echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00glibc + doenvd "${T}"/00glibc || die + + dodoc BUGS ChangeLog* CONFORMANCE FAQ NEWS NOTES PROJECTS README* + + # Prevent overwriting of the /etc/localtime symlink. We'll handle the + # creation of the "factory" symlink in pkg_postinst(). + rm -f "${ED}"/etc/localtime +} + +toolchain-glibc_headers_install() { + local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-headers + cd "${GBUILDDIR}" + make install_root="${ED}/usr/${CTARGET}" install-headers || die "install-headers failed" + # Copy over headers that are not part of install-headers ... these + # are pretty much taken verbatim from crosstool, see it for more details + insinto $(alt_headers)/bits + doins misc/syscall-list.h bits/stdio_lim.h || die "doins include bits" + insinto $(alt_headers)/gnu + doins "${S}"/include/gnu/stubs.h || die "doins include gnu" + # Make sure we install the sys-include symlink so that when + # we build a 2nd stage cross-compiler, gcc finds the target + # system headers correctly. See gcc/doc/gccinstall.info + dosym usr/include /usr/${CTARGET}/sys-include +} + +src_strip() { + # gdb is lame and requires some debugging information to remain in + # libpthread, so we need to strip it by hand. libthread_db makes no + # sense stripped as it is only used when debugging. + local pthread=$(hasq splitdebug ${FEATURES} && echo "libthread_db" || echo "lib{pthread,thread_db}") + env \ + -uRESTRICT \ + CHOST=${CTARGET} \ + STRIP_MASK="/*/{,tls/}${pthread}*" \ + prepallstrip + # if user has stripping enabled and does not have split debug turned on, + # then leave the debugging sections in libpthread. + if ! hasq nostrip ${FEATURES} && ! hasq splitdebug ${FEATURES} ; then + ${STRIP:-${CTARGET}-strip} --strip-debug "${ED}"/*/libpthread-*.so + fi +} + +eblit-glibc-src_install() { + if just_headers ; then + toolchain-glibc_headers_install + return + fi + + setup_env + + if [[ -z ${OABI} ]] ; then + local abilist="" + if has_multilib_profile ; then + abilist=$(get_install_abis) + einfo "Installing multilib glibc for ABIs: ${abilist}" + elif is_crosscompile || tc-is-cross-compiler ; then + abilist=${DEFAULT_ABI} + fi + if [[ -n ${abilist} ]] ; then + OABI=${ABI} + for ABI in ${abilist} ; do + export ABI + eblit-glibc-src_install + done + ABI=${OABI} + unset OABI + src_strip + return 0 + fi + fi + + toolchain-glibc_src_install + [[ -z ${OABI} ]] && src_strip +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_test.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_test.eblit new file mode 100644 index 0000000..0d733a3 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_test.eblit @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_test.eblit,v 1.3 2008/03/23 18:06:18 vapier Exp $ + +toolchain-glibc_src_test() { + cd "${WORKDIR}"/build-${ABI}-${CTARGET}-$1 || die "cd build-${ABI}-${CTARGET}-$1" + unset LD_ASSUME_KERNEL + make check && return 0 + einfo "make check failed - re-running with --keep-going to get the rest of the results" + make -k check + ewarn "make check failed for ${ABI}-${CTARGET}-$1" + return 1 +} + +eblit-glibc-src_test() { + local ret=0 + + setup_env + + # give tests more time to complete + export TIMEOUTFACTOR=5 + + if [[ -z ${OABI} ]] && has_multilib_profile ; then + OABI=${ABI} + einfo "Testing multilib glibc for ABIs: $(get_install_abis)" + for ABI in $(get_install_abis) ; do + export ABI + einfo " Testing ${ABI} glibc" + src_test + ((ret+=$?)) + done + ABI=${OABI} + unset OABI + [[ ${ret} -ne 0 ]] \ + && die "tests failed" \ + || return 0 + fi + + want_linuxthreads && toolchain-glibc_src_test linuxthreads ; ((ret+=$?)) + want_nptl && toolchain-glibc_src_test nptl ; ((ret+=$?)) + return ${ret} +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_unpack.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_unpack.eblit new file mode 100644 index 0000000..d99dc56 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/eblits/src_unpack.eblit @@ -0,0 +1,178 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.11 2010/06/08 04:59:56 vapier Exp $ + +int_to_KV() { + local version=$1 major minor micro + major=$((version / 65536)) + minor=$(((version % 65536) / 256)) + micro=$((version % 256)) + echo ${major}.${minor}.${micro} +} + +eend_KV() { + [[ $(KV_to_int $1) -ge $(KV_to_int $2) ]] + eend $? +} + +get_kheader_version() { + printf '#include \nLINUX_VERSION_CODE\n' | \ + $(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" | \ + tail -n 1 +} + +check_nptl_support() { + # don't care about the compiler here as we arent using it + just_headers && return + + local run_kv build_kv want_kv + run_kv=$(int_to_KV $(get_KV)) + build_kv=$(int_to_KV $(get_kheader_version)) + want_kv=${NPTL_KERN_VER} + + ebegin "Checking gcc for __thread support" + if ! eend $(want__thread ; echo $?) ; then + echo + eerror "Could not find a gcc that supports the __thread directive!" + eerror "Please update your binutils/gcc and try again." + die "No __thread support in gcc!" + fi + + if ! is_crosscompile && ! tc-is-cross-compiler ; then + # Building fails on an non-supporting kernel + ebegin "Checking kernel version (${run_kv} >= ${want_kv})" + if ! eend_KV ${run_kv} ${want_kv} ; then + echo + eerror "You need a kernel of at least ${want_kv} for NPTL support!" + die "Kernel version too low!" + fi + fi + + ebegin "Checking linux-headers version (${build_kv} >= ${want_kv})" + if ! eend_KV ${build_kv} ${want_kv} ; then + echo + eerror "You need linux-headers of at least ${want_kv} for NPTL support!" + die "linux-headers version too low!" + fi +} + +unpack_pkg() { + local a=${PN} + [[ -n ${SNAP_VER} ]] && a="${a}-${RELEASE_VER}" + [[ -n $1 ]] && a="${a}-$1" + if [[ -n ${SNAP_VER} ]] ; then + a="${a}-${SNAP_VER}" + else + if [[ -n $2 ]] ; then + a="${a}-$2" + else + a="${a}-${RELEASE_VER}" + fi + fi + unpack ${a}.tar.bz2 + [[ -n $1 ]] && mv ${a} $1 +} + +toolchain-glibc_src_unpack() { + # Check NPTL support _before_ we unpack things to save some time + want_nptl && check_nptl_support + + unpack_pkg + + cd "${S}" + touch locale/C-translit.h #185476 #218003 + [[ -n ${LT_VER} ]] && unpack_pkg linuxthreads ${LT_VER} + [[ -n ${PORTS_VER} ]] && unpack_pkg ports ${PORTS_VER} + [[ -n ${LIBIDN_VER} ]] && unpack_pkg libidn + + if [[ -n ${PATCH_VER} ]] ; then + cd "${WORKDIR}" + unpack glibc-${RELEASE_VER}-patches-${PATCH_VER}.tar.bz2 + # pull out all the addons + local d + for d in extra/*/configure ; do + d=${d%/configure} + [[ -d ${S}/${d} ]] && die "${d} already exists in \${S}" + mv "${d}" "${S}" || die "moving ${d} failed" + done + fi + + # XXX: We should do the branchupdate, before extracting the manpages and + # infopages else it does not help much (mtimes change if there is a change + # to them with branchupdate) + if [[ -n ${BRANCH_UPDATE} ]] ; then + cd "${S}" + epatch "${DISTDIR}"/glibc-${RELEASE_VER}-branch-update-${BRANCH_UPDATE}.patch.bz2 + + # Snapshot date patch + einfo "Patching version to display snapshot date ..." + sed -i -e "s:\(#define RELEASE\).*:\1 \"${BRANCH_UPDATE}\":" version.h + fi + + if [[ -n ${MANPAGE_VER} ]] ; then + cd "${WORKDIR}" + unpack glibc-manpages-${MANPAGE_VER}.tar.bz2 + fi + + if [[ -n ${INFOPAGE_VER} ]] ; then + cd "${S}" + unpack glibc-infopages-${INFOPAGE_VER}.tar.bz2 + fi + + # tag, glibc is it + cd "${S}" + [[ -e csu/Banner ]] && die "need new banner location" + [[ -n ${SNAP_VER} ]] && echo "Gentoo snapshot ${SNAP_VER}" >> csu/Banner + [[ -n ${BRANCH_UPDATE} ]] && echo "Gentoo branch ${BRANCH_UPDATE}" >> csu/Banner + if [[ -n ${PATCH_VER} ]] && ! use vanilla ; then + cd "${S}" + EPATCH_MULTI_MSG="Applying Gentoo Glibc Patchset ${RELEASE_VER}-${PATCH_VER} ..." \ + EPATCH_EXCLUDE=${GLIBC_PATCH_EXCLUDE} \ + EPATCH_SUFFIX="patch" \ + ARCH=$(tc-arch) \ + epatch "${WORKDIR}"/patches + echo "Gentoo patchset ${PATCH_VER}" >> csu/Banner + fi + + epatch_user + + gnuconfig_update +} + +eblit-glibc-src_unpack() { + setup_env + + toolchain-glibc_src_unpack + + # Backwards SSP support + cd "${S}" +# For now, we force everyone to have the extra symbols +# einfon "Scanning system for __guard to see if we need SSP compat ... " +# if [[ -n $(scanelf -qyls__guard -F'#s%F' | grep -v '^/lib.*/libc-2.*.so$') ]] ; then + echo "yes" > "${T}"/.ssp.compat +# else +# # ok, a quick scan didnt find it, so lets do a deep scan ... +# if [[ -n $(scanelf -qyRlps__guard -F'#s%F' | grep -v '^/lib.*/libc-2.*.so$') ]] ; then +# echo "yes" > "${T}"/.ssp.compat +# else +# echo "no" > "${T}"/.ssp.compat +# fi +# fi +# cat "${T}"/.ssp.compat + + # Glibc is stupid sometimes, and doesn't realize that with a + # static C-Only gcc, -lgcc_eh doesn't exist. + # http://sources.redhat.com/ml/libc-alpha/2003-09/msg00100.html + # http://sourceware.org/ml/libc-alpha/2005-02/msg00042.html + echo 'int main(){}' > "${T}"/gcc_eh_test.c + if ! $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2>/dev/null ; then + sed -i -e 's:-lgcc_eh::' Makeconfig || die "sed gcc_eh" + fi + + cd "${WORKDIR}" + find . -type f '(' -size 0 -o -name "*.orig" ')' -exec rm -f {} \; + find . -name configure -exec touch {} \; + + # Fix permissions on some of the scripts + chmod u+x "${S}"/scripts/*.sh +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-gentoo-chk_fail.c b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-gentoo-chk_fail.c new file mode 100644 index 0000000..37711e8 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-gentoo-chk_fail.c @@ -0,0 +1,315 @@ +/* Copyright (C) 2004, 2005 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +/* Copyright (C) 2006-2008 Gentoo Foundation Inc. + * License terms as above. + * + * Hardened Gentoo SSP and FORTIFY handler + * + * An SSP failure handler that does not use functions from the rest of + * glibc; it uses the INTERNAL_SYSCALL methods directly. This ensures + * no possibility of recursion into the handler. + * + * Direct all bug reports to http://bugs.gentoo.org/ + * + * Re-written from the glibc-2.3 Hardened Gentoo SSP handler + * by Kevin F. Quinn - + * + * The following people contributed to the glibc-2.3 Hardened + * Gentoo SSP and FORTIFY handler, from which this implementation draws much: + * + * Ned Ludd - + * Alexander Gabert - + * The PaX Team - + * Peter S. Mazinger - + * Yoann Vandoorselaere - + * Robert Connolly - + * Cory Visi + * Mike Frysinger + * Magnus Granberg + */ + +#include +#include +#include +#include +#include + +#include + +#include +#include +#include + +#include + +#include +/* from sysdeps */ +#include +/* for the stuff in bits/socket.h */ +#include +#include + +/* Sanity check on SYSCALL macro names - force compilation + * failure if the names used here do not exist + */ +#if !defined __NR_socketcall && !defined __NR_socket +# error Cannot do syscall socket or socketcall +#endif +#if !defined __NR_socketcall && !defined __NR_connect +# error Cannot do syscall connect or socketcall +#endif +#ifndef __NR_write +# error Cannot do syscall write +#endif +#ifndef __NR_close +# error Cannot do syscall close +#endif +#ifndef __NR_getpid +# error Cannot do syscall getpid +#endif +#ifndef __NR_kill +# error Cannot do syscall kill +#endif +#ifndef __NR_exit +# error Cannot do syscall exit +#endif +#ifdef SSP_SMASH_DUMPS_CORE +# define ENABLE_SSP_SMASH_DUMPS_CORE 1 +# if !defined _KERNEL_NSIG && !defined _NSIG +# error No _NSIG or _KERNEL_NSIG for rt_sigaction +# endif +# if !defined __NR_sigaction && !defined __NR_rt_sigaction +# error Cannot do syscall sigaction or rt_sigaction +# endif +/* Although rt_sigaction expects sizeof(sigset_t) - it expects the size + * of the _kernel_ sigset_t which is not the same as the user sigset_t. + * Most arches have this as _NSIG bits - mips has _KERNEL_NSIG bits for + * some reason. + */ +# ifdef _KERNEL_NSIG +# define _SSP_NSIG _KERNEL_NSIG +# else +# define _SSP_NSIG _NSIG +# endif +#else +# define _SSP_NSIG 0 +# define ENABLE_SSP_SMASH_DUMPS_CORE 0 +#endif + +/* Define DO_SIGACTION - default to newer rt signal interface but + * fallback to old as needed. + */ +#ifdef __NR_rt_sigaction +# define DO_SIGACTION(signum, act, oldact) \ + INLINE_SYSCALL(rt_sigaction, 4, signum, act, oldact, _SSP_NSIG/8) +#else +# define DO_SIGACTION(signum, act, oldact) \ + INLINE_SYSCALL(sigaction, 3, signum, act, oldact) +#endif + +/* Define DO_SOCKET/DO_CONNECT functions to deal with socketcall vs socket/connect */ +#if defined(__NR_socket) && defined(__NR_connect) +# define USE_OLD_SOCKETCALL 0 +#else +# define USE_OLD_SOCKETCALL 1 +#endif + +/* stub out the __NR_'s so we can let gcc optimize away dead code */ +#ifndef __NR_socketcall +# define __NR_socketcall 0 +#endif +#ifndef __NR_socket +# define __NR_socket 0 +#endif +#ifndef __NR_connect +# define __NR_connect 0 +#endif +#define DO_SOCKET(result, domain, type, protocol) \ + do { \ + if (USE_OLD_SOCKETCALL) { \ + socketargs[0] = domain; \ + socketargs[1] = type; \ + socketargs[2] = protocol; \ + socketargs[3] = 0; \ + result = INLINE_SYSCALL(socketcall, 2, SOCKOP_socket, socketargs); \ + } else \ + result = INLINE_SYSCALL(socket, 3, domain, type, protocol); \ + } while (0) +#define DO_CONNECT(result, sockfd, serv_addr, addrlen) \ + do { \ + if (USE_OLD_SOCKETCALL) { \ + socketargs[0] = sockfd; \ + socketargs[1] = (unsigned long int)serv_addr; \ + socketargs[2] = addrlen; \ + socketargs[3] = 0; \ + result = INLINE_SYSCALL(socketcall, 2, SOCKOP_connect, socketargs); \ + } else \ + result = INLINE_SYSCALL(connect, 3, sockfd, serv_addr, addrlen); \ + } while (0) + +#ifndef _PATH_LOG +# define _PATH_LOG "/dev/log" +#endif + +static const char path_log[] = _PATH_LOG; + +/* For building glibc with SSP switched on, define __progname to a + * constant if building for the run-time loader, to avoid pulling + * in more of libc.so into ld.so + */ +#ifdef IS_IN_rtld +static char *__progname = ""; +#else +extern char *__progname; +#endif + +/* Common handler code, used by chk_fail + * Inlined to ensure no self-references to the handler within itself. + * Data static to avoid putting more than necessary on the stack, + * to aid core debugging. + */ +__attribute__ ((__noreturn__ , __always_inline__)) +static inline void +__hardened_gentoo_chk_fail(char func[], int damaged) +{ +#define MESSAGE_BUFSIZ 256 + static pid_t pid; + static int plen, i; + static char message[MESSAGE_BUFSIZ]; + static const char msg_ssa[] = ": buffer overflow attack"; + static const char msg_inf[] = " in function "; + static const char msg_ssd[] = "*** buffer overflow detected ***: "; + static const char msg_terminated[] = " - terminated\n"; + static const char msg_report[] = "Report to http://bugs.gentoo.org/\n"; + static const char msg_unknown[] = ""; + static int log_socket, connect_result; + static struct sockaddr_un sock; + static unsigned long int socketargs[4]; + + /* Build socket address + */ + sock.sun_family = AF_UNIX; + i = 0; + while ((path_log[i] != '\0') && (i<(sizeof(sock.sun_path)-1))) { + sock.sun_path[i] = path_log[i]; + i++; + } + sock.sun_path[i] = '\0'; + + /* Try SOCK_DGRAM connection to syslog */ + connect_result = -1; + DO_SOCKET(log_socket, AF_UNIX, SOCK_DGRAM, 0); + if (log_socket != -1) + DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock)); + if (connect_result == -1) { + if (log_socket != -1) + INLINE_SYSCALL(close, 1, log_socket); + /* Try SOCK_STREAM connection to syslog */ + DO_SOCKET(log_socket, AF_UNIX, SOCK_STREAM, 0); + if (log_socket != -1) + DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock)); + } + + /* Build message. Messages are generated both in the old style and new style, + * so that log watchers that are configured for the old-style message continue + * to work. + */ +#define strconcat(str) \ + {i=0; while ((str[i] != '\0') && ((i+plen)<(MESSAGE_BUFSIZ-1))) \ + {\ + message[plen+i]=str[i];\ + i++;\ + }\ + plen+=i;} + + /* R.Henderson post-gcc-4 style message */ + plen = 0; + strconcat(msg_ssd); + if (__progname != (char *)0) + strconcat(__progname) + else + strconcat(msg_unknown); + strconcat(msg_terminated); + + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + /* Dr. Etoh pre-gcc-4 style message */ + plen = 0; + if (__progname != (char *)0) + strconcat(__progname) + else + strconcat(msg_unknown); + strconcat(msg_ssa); + strconcat(msg_inf); + if (func != NULL) + strconcat(func) + else + strconcat(msg_unknown); + strconcat(msg_terminated); + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + /* Direct reports to bugs.gentoo.org */ + plen=0; + strconcat(msg_report); + message[plen++]='\0'; + + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + if (log_socket != -1) + INLINE_SYSCALL(close, 1, log_socket); + + /* Suicide */ + pid = INLINE_SYSCALL(getpid, 0); + + if (ENABLE_SSP_SMASH_DUMPS_CORE) { + static struct sigaction default_abort_act; + /* Remove any user-supplied handler for SIGABRT, before using it */ + default_abort_act.sa_handler = SIG_DFL; + default_abort_act.sa_sigaction = NULL; + __sigfillset(&default_abort_act.sa_mask); + default_abort_act.sa_flags = 0; + if (DO_SIGACTION(SIGABRT, &default_abort_act, NULL) == 0) + INLINE_SYSCALL(kill, 2, pid, SIGABRT); + } + + /* Note; actions cannot be added to SIGKILL */ + INLINE_SYSCALL(kill, 2, pid, SIGKILL); + + /* In case the kill didn't work, exit anyway + * The loop prevents gcc thinking this routine returns + */ + while (1) + INLINE_SYSCALL(exit, 0); +} + +__attribute__ ((__noreturn__)) +void __chk_fail(void) +{ + __hardened_gentoo_chk_fail(NULL, 0); +} + diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-configure-picdefault.patch b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-configure-picdefault.patch new file mode 100644 index 0000000..e75ccc7 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-configure-picdefault.patch @@ -0,0 +1,30 @@ +Prevent default-fPIE from confusing configure into thinking +PIC code is default. This causes glibc to build both PIC and +non-PIC code as normal, which on the hardened compiler generates +PIC and PIE. + +Patch by Kevin F. Quinn +Fixed for glibc 2.10 by Magnus Granberg + +--- configure.in ++++ configure.in +@@ -2145,7 +2145,7 @@ + # error PIC is default. + #endif + EOF +-if eval "${CC-cc} -S conftest.c 2>&AS_MESSAGE_LOG_FD 1>&AS_MESSAGE_LOG_FD"; then ++if eval "${CC-cc} -fno-PIE -S conftest.c 2>&AS_MESSAGE_LOG_FD 1>&AS_MESSAGE_LOG_FD"; then + libc_cv_pic_default=no + fi + rm -f conftest.*]) +--- configure ++++ configure +@@ -7698,7 +7698,7 @@ + # error PIC is default. + #endif + EOF +-if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then ++if eval "${CC-cc} -fno-PIE -S conftest.c 2>&5 1>&5"; then + libc_cv_pic_default=no + fi + rm -f conftest.* diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-inittls-nosysenter.patch b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-inittls-nosysenter.patch new file mode 100644 index 0000000..cb6d8e3 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-inittls-nosysenter.patch @@ -0,0 +1,274 @@ +When building glibc PIE (which is not something upstream support), +several modifications are necessary to the glibc build process. + +First, any syscalls in PIEs must be of the PIC variant, otherwise +textrels ensue. Then, any syscalls made before the initialisation +of the TLS will fail on i386, as the sysenter variant on i386 uses +the TLS, giving rise to a chicken-and-egg situation. This patch +defines a PIC syscall variant that doesn't use sysenter, even when the sysenter +version is normally used, and uses the non-sysenter version for the brk +syscall that is performed by the TLS initialisation. Further, the TLS +initialisation is moved in this case prior to the initialisation of +dl_osversion, as that requires further syscalls. + +csu/libc-start.c: Move initial TLS initialization to before the +initialisation of dl_osversion, when INTERNAL_SYSCALL_NOSYSENTER is defined + +csu/libc-tls.c: Use the no-sysenter version of sbrk when +INTERNAL_SYSCALL_NOSYSENTER is defined. + +misc/sbrk.c: Define a no-sysenter version of sbrk, using the no-sysenter +version of brk - if INTERNAL_SYSCALL_NOSYSENTER is defined. + +misc/brk.c: Define a no-sysenter version of brk if +INTERNAL_SYSCALL_NOSYSENTER is defined. + +sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NOSYSENTER +Make INTERNAL_SYSCALL always use the PIC variant, even if not SHARED. + +Patch by Kevin F. Quinn +Fixed for 2.10 by Magnus Granberg + +--- csu/libc-start.c ++++ csu/libc-start.c +@@ -28,6 +28,7 @@ + extern int __libc_multiple_libcs; + + #include ++#include + #ifndef SHARED + # include + extern void __pthread_initialize_minimal (void); +@@ -129,6 +130,11 @@ + # endif + _dl_aux_init (auxvec); + # endif ++# ifdef INTERNAL_SYSCALL_NOSYSENTER ++ /* Do the initial TLS initialization before _dl_osversion, ++ since the latter uses the uname syscall. */ ++ __pthread_initialize_minimal (); ++# endif + # ifdef DL_SYSDEP_OSCHECK + if (!__libc_multiple_libcs) + { +@@ -138,10 +144,12 @@ + } + # endif + ++# ifndef INTERNAL_SYSCALL_NOSYSENTER + /* Initialize the thread library at least a bit since the libgcc + functions are using thread functions if these are available and + we need to setup errno. */ + __pthread_initialize_minimal (); ++# endif + + /* Set up the stack checker's canary. */ + uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (); +--- csu/libc-tls.c ++++ csu/libc-tls.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + + #ifdef SHARED +@@ -29,6 +30,9 @@ + #error makefile bug, this file is for static only + #endif + ++#ifdef INTERNAL_SYSCALL_NOSYSENTER ++extern void *__sbrk_nosysenter (intptr_t __delta); ++#endif + extern ElfW(Phdr) *_dl_phdr; + extern size_t _dl_phnum; + +@@ -141,14 +145,26 @@ + + The initialized value of _dl_tls_static_size is provided by dl-open.c + to request some surplus that permits dynamic loading of modules with +- IE-model TLS. */ ++ IE-model TLS. ++ ++ Where the normal sbrk would use a syscall that needs the TLS (i386) ++ use the special non-sysenter version instead. */ + #if TLS_TCB_AT_TP + tcb_offset = roundup (memsz + GL(dl_tls_static_size), tcbalign); ++# ifdef INTERNAL_SYSCALL_NOSYSENTER ++ tlsblock = __sbrk_nosysenter (tcb_offset + tcbsize + max_align); ++# else + tlsblock = __sbrk (tcb_offset + tcbsize + max_align); ++# endif + #elif TLS_DTV_AT_TP + tcb_offset = roundup (tcbsize, align ?: 1); ++# ifdef INTERNAL_SYSCALL_NOSYSENTER ++ tlsblock = __sbrk_nosysenter (tcb_offset + memsz + max_align ++ + TLS_PRE_TCB_SIZE + GL(dl_tls_static_size)); ++# else + tlsblock = __sbrk (tcb_offset + memsz + max_align + + TLS_PRE_TCB_SIZE + GL(dl_tls_static_size)); ++# endif + tlsblock += TLS_PRE_TCB_SIZE; + #else + /* In case a model with a different layout for the TCB and DTV +--- misc/sbrk.c ++++ misc/sbrk.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + /* Defined in brk.c. */ + extern void *__curbrk; +@@ -29,6 +30,35 @@ + /* Extend the process's data space by INCREMENT. + If INCREMENT is negative, shrink data space by - INCREMENT. + Return start of new space allocated, or -1 for errors. */ ++#ifdef INTERNAL_SYSCALL_NOSYSENTER ++/* This version is used by csu/libc-tls.c whem initialising the TLS ++ if the SYSENTER version requires the TLS (which it does on i386). ++ Obviously using the TLS before it is initialised is broken. */ ++extern int __brk_nosysenter (void *addr); ++void * ++__sbrk_nosysenter (intptr_t increment) ++{ ++ void *oldbrk; ++ ++ /* If this is not part of the dynamic library or the library is used ++ via dynamic loading in a statically linked program update ++ __curbrk from the kernel's brk value. That way two separate ++ instances of __brk and __sbrk can share the heap, returning ++ interleaved pieces of it. */ ++ if (__curbrk == NULL || __libc_multiple_libcs) ++ if (__brk_nosysenter (0) < 0) /* Initialize the break. */ ++ return (void *) -1; ++ ++ if (increment == 0) ++ return __curbrk; ++ ++ oldbrk = __curbrk; ++ if (__brk_nosysenter (oldbrk + increment) < 0) ++ return (void *) -1; ++ ++ return oldbrk; ++} ++#endif + void * + __sbrk (intptr_t increment) + { +--- sysdeps/unix/sysv/linux/i386/brk.c ++++ sysdeps/unix/sysv/linux/i386/brk.c +@@ -31,6 +31,30 @@ + linker. */ + weak_alias (__curbrk, ___brk_addr) + ++#ifdef INTERNAL_SYSCALL_NOSYSENTER ++/* This version is used by csu/libc-tls.c whem initialising the TLS ++ * if the SYSENTER version requires the TLS (which it does on i386). ++ * Obviously using the TLS before it is initialised is broken. */ ++int ++__brk_nosysenter (void *addr) ++{ ++ void *__unbounded newbrk; ++ ++ INTERNAL_SYSCALL_DECL (err); ++ newbrk = (void *__unbounded) INTERNAL_SYSCALL_NOSYSENTER (brk, err, 1, ++ __ptrvalue (addr)); ++ ++ __curbrk = newbrk; ++ ++ if (newbrk < addr) ++ { ++ __set_errno (ENOMEM); ++ return -1; ++ } ++ ++ return 0; ++} ++#endif + int + __brk (void *addr) + { +--- sysdeps/unix/sysv/linux/i386/sysdep.h ++++ sysdeps/unix/sysv/linux/i386/sysdep.h +@@ -187,7 +187,7 @@ + /* The original calling convention for system calls on Linux/i386 is + to use int $0x80. */ + #ifdef I386_USE_SYSENTER +-# ifdef SHARED ++# if defined SHARED || defined __PIC__ + # define ENTER_KERNEL call *%gs:SYSINFO_OFFSET + # else + # define ENTER_KERNEL call *_dl_sysinfo +@@ -358,7 +358,7 @@ + possible to use more than four parameters. */ + #undef INTERNAL_SYSCALL + #ifdef I386_USE_SYSENTER +-# ifdef SHARED ++# if defined SHARED || defined __PIC__ + # define INTERNAL_SYSCALL(name, err, nr, args...) \ + ({ \ + register unsigned int resultvar; \ +@@ -384,6 +384,18 @@ + : "0" (name), "i" (offsetof (tcbhead_t, sysinfo)) \ + ASMFMT_##nr(args) : "memory", "cc"); \ + (int) resultvar; }) ++# define INTERNAL_SYSCALL_NOSYSENTER(name, err, nr, args...) \ ++ ({ \ ++ register unsigned int resultvar; \ ++ EXTRAVAR_##nr \ ++ asm volatile ( \ ++ LOADARGS_NOSYSENTER_##nr \ ++ "movl %1, %%eax\n\t" \ ++ "int $0x80\n\t" \ ++ RESTOREARGS_NOSYSENTER_##nr \ ++ : "=a" (resultvar) \ ++ : "i" (__NR_##name) ASMFMT_##nr(args) : "memory", "cc"); \ ++ (int) resultvar; }) + # else + # define INTERNAL_SYSCALL(name, err, nr, args...) \ + ({ \ +@@ -447,12 +459,20 @@ + + #define LOADARGS_0 + #ifdef __PIC__ +-# if defined I386_USE_SYSENTER && defined SHARED ++# if defined I386_USE_SYSENTER && ( defined SHARED || defined __PIC__ ) + # define LOADARGS_1 \ + "bpushl .L__X'%k3, %k3\n\t" + # define LOADARGS_5 \ + "movl %%ebx, %4\n\t" \ + "movl %3, %%ebx\n\t" ++# define LOADARGS_NOSYSENTER_1 \ ++ "bpushl .L__X'%k2, %k2\n\t" ++# define LOADARGS_NOSYSENTER_2 LOADARGS_NOSYSENTER_1 ++# define LOADARGS_NOSYSENTER_3 LOADARGS_3 ++# define LOADARGS_NOSYSENTER_4 LOADARGS_3 ++# define LOADARGS_NOSYSENTER_5 \ ++ "movl %%ebx, %3\n\t" \ ++ "movl %2, %%ebx\n\t" + # else + # define LOADARGS_1 \ + "bpushl .L__X'%k2, %k2\n\t" +@@ -474,11 +495,18 @@ + + #define RESTOREARGS_0 + #ifdef __PIC__ +-# if defined I386_USE_SYSENTER && defined SHARED ++# if defined I386_USE_SYSENTER && ( defined SHARED || defined __PIC__ ) + # define RESTOREARGS_1 \ + "bpopl .L__X'%k3, %k3\n\t" + # define RESTOREARGS_5 \ + "movl %4, %%ebx" ++# define RESTOREARGS_NOSYSENTER_1 \ ++ "bpopl .L__X'%k2, %k2\n\t" ++# define RESTOREARGS_NOSYSENTER_2 RESTOREARGS_NOSYSENTER_1 ++# define RESTOREARGS_NOSYSENTER_3 RESTOREARGS_3 ++# define RESTOREARGS_NOSYSENTER_4 RESTOREARGS_3 ++# define RESTOREARGS_NOSYSENTER_5 \ ++ "movl %3, %%ebx" + # else + # define RESTOREARGS_1 \ + "bpopl .L__X'%k2, %k2\n\t" diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-ssp-compat.patch b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-ssp-compat.patch new file mode 100644 index 0000000..a1c9eef --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.10-hardened-ssp-compat.patch @@ -0,0 +1,168 @@ +Add backwards compat support for gcc-3.x ssp ... older ssp versions +used __guard and __stack_smash_handler symbols while gcc-4.1 and newer +uses __stack_chk_guard and __stack_chk_fail. + +--- config.h.in ++++ config.h.in +@@ -42,6 +42,9 @@ + assembler instructions per line. Default is `;' */ + #undef ASM_LINE_SEP + ++/* Define if we want to enable support for old ssp symbols */ ++#undef ENABLE_OLD_SSP_COMPAT ++ + /* Define if not using ELF, but `.init' and `.fini' sections are available. */ + #undef HAVE_INITFINI + +--- configure ++++ configure +@@ -1378,6 +1378,9 @@ Optional Features: + --enable-kernel=VERSION compile for compatibility with kernel not older than + VERSION + --enable-all-warnings enable all useful warnings gcc can issue ++ --disable-old-ssp-compat ++ enable support for older ssp symbols ++ [default=no] + --enable-multi-arch enable single DSO with optimizations for multiple + architectures + --enable-experimental-malloc +@@ -6462,6 +6465,20 @@ fi + $as_echo "$libc_cv_ssp" >&6; } + + ++# Check whether --enable-old-ssp-compat or --disable-old-ssp-compat was given. ++if test "${enable_old_ssp_compat+set}" = set; then ++ enableval="$enable_old_ssp_compat" ++ enable_old_ssp_compat=$enableval ++else ++ enable_old_ssp_compat=no ++fi; ++if test "x$enable_old_ssp_compat" = "xyes"; then ++ cat >>confdefs.h <<\_ACEOF ++#define ENABLE_OLD_SSP_COMPAT 1 ++_ACEOF ++ ++fi ++ + { $as_echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5 + $as_echo_n "checking for -fgnu89-inline... " >&6; } + if test "${libc_cv_gnu89_inline+set}" = set; then +--- configure.in ++++ configure.in +@@ -1641,6 +1641,15 @@ fi + rm -f conftest*]) + AC_SUBST(libc_cv_ssp) + ++AC_ARG_ENABLE([old-ssp-compat], ++ AC_HELP_STRING([--enable-old-ssp-compat], ++ [enable support for older ssp symbols @<:@default=no@:>@]), ++ [enable_old_ssp_compat=$enableval], ++ [enable_old_ssp_compat=no]) ++if test "x$enable_old_ssp_compat" = "xyes"; then ++ AC_DEFINE(ENABLE_OLD_SSP_COMPAT) ++fi ++ + AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl + cat > conftest.c < + + * Makeconfig (+link): Set to +link-pie. + (+link-static): Change $(static-start-installed-name) to + S$(static-start-installed-name). + (+prector): Set to +prectorS. + (+postctor): Set to +postctorS. + +--- libc/Makeconfig ++++ libc/Makeconfig +@@ -447,11 +447,12 @@ + $(common-objpfx)libc% $(+postinit),$^) \ + $(link-extra-libs) $(link-libc) $(+postctorS) $(+postinit) + endif +++link = $(+link-pie) + # Command for statically linking programs with the C library. + ifndef +link-static + +link-static = $(CC) -nostdlib -nostartfiles -static -o $@ \ + $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ +- $(addprefix $(csu-objpfx),$(static-start-installed-name)) \ ++ $(addprefix $(csu-objpfx),S$(static-start-installed-name)) \ + $(+preinit) $(+prector) \ + $(filter-out $(addprefix $(csu-objpfx),start.o \ + $(start-installed-name))\ +@@ -549,11 +550,10 @@ + ifeq ($(elf),yes) + +preinit = $(addprefix $(csu-objpfx),crti.o) + +postinit = $(addprefix $(csu-objpfx),crtn.o) +-+prector = `$(CC) --print-file-name=crtbegin.o` +-+postctor = `$(CC) --print-file-name=crtend.o` +-# Variants of the two previous definitions for linking PIE programs. + +prectorS = `$(CC) --print-file-name=crtbeginS.o` + +postctorS = `$(CC) --print-file-name=crtendS.o` +++prector = $(+prectorS) +++postctor = $(+postctorS) + +interp = $(addprefix $(elf-objpfx),interp.os) + endif + csu-objpfx = $(common-objpfx)csu/ diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.12-hardened-pie.patch b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.12-hardened-pie.patch new file mode 100644 index 0000000..3315171 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.12-hardened-pie.patch @@ -0,0 +1,39 @@ +2010-08-11 Magnus Granberg + + #332331 + * Makeconfig (+link): Set to +link-pie. + (+link-static): Change $(static-start-installed-name) to + S$(static-start-installed-name). + (+prector): Set to +prectorS. + (+postctor): Set to +postctorS. + +--- libc/Makeconfig ++++ libc/Makeconfig +@@ -447,11 +447,12 @@ + $(common-objpfx)libc% $(+postinit),$^) \ + $(link-extra-libs) $(link-libc) $(+postctorS) $(+postinit) + endif +++link = $(+link-pie) + # Command for statically linking programs with the C library. + ifndef +link-static + +link-static = $(CC) -nostdlib -nostartfiles -static -o $@ \ + $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ +- $(addprefix $(csu-objpfx),$(static-start-installed-name)) \ ++ $(addprefix $(csu-objpfx),S$(static-start-installed-name)) \ + $(+preinit) $(+prector) \ + $(filter-out $(addprefix $(csu-objpfx),start.o \ + $(start-installed-name))\ +@@ -549,11 +550,10 @@ + ifeq ($(elf),yes) + +preinit = $(addprefix $(csu-objpfx),crti.o) + +postinit = $(addprefix $(csu-objpfx),crtn.o) +-+prector = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbegin.o` +-+postctor = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o` +-# Variants of the two previous definitions for linking PIE programs. + +prectorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginS.o` + +postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o` +++prector = $(+prectorS) +++postctor = $(+postctorS) + +interp = $(addprefix $(elf-objpfx),interp.os) + endif + csu-objpfx = $(common-objpfx)csu/ diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.6-gentoo-stack_chk_fail.c b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.6-gentoo-stack_chk_fail.c new file mode 100644 index 0000000..217bf1a --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/glibc-2.6-gentoo-stack_chk_fail.c @@ -0,0 +1,321 @@ +/* Copyright (C) 2005 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +/* Copyright (C) 2006-2007 Gentoo Foundation Inc. + * License terms as above. + * + * Hardened Gentoo SSP handler + * + * An SSP failure handler that does not use functions from the rest of + * glibc; it uses the INTERNAL_SYSCALL methods directly. This ensures + * no possibility of recursion into the handler. + * + * Direct all bug reports to http://bugs.gentoo.org/ + * + * Re-written from the glibc-2.3 Hardened Gentoo SSP handler + * by Kevin F. Quinn - + * + * The following people contributed to the glibc-2.3 Hardened + * Gentoo SSP handler, from which this implementation draws much: + * + * Ned Ludd - + * Alexander Gabert - + * The PaX Team - + * Peter S. Mazinger - + * Yoann Vandoorselaere - + * Robert Connolly - + * Cory Visi + * Mike Frysinger + */ + +#include +#include +#include +#include + +#include + +#include +#include +#include + +#include + +#include +/* from sysdeps */ +#include +/* for the stuff in bits/socket.h */ +#include +#include + + +/* Sanity check on SYSCALL macro names - force compilation + * failure if the names used here do not exist + */ +#if !defined __NR_socketcall && !defined __NR_socket +# error Cannot do syscall socket or socketcall +#endif +#if !defined __NR_socketcall && !defined __NR_connect +# error Cannot do syscall connect or socketcall +#endif +#ifndef __NR_write +# error Cannot do syscall write +#endif +#ifndef __NR_close +# error Cannot do syscall close +#endif +#ifndef __NR_getpid +# error Cannot do syscall getpid +#endif +#ifndef __NR_kill +# error Cannot do syscall kill +#endif +#ifndef __NR_exit +# error Cannot do syscall exit +#endif +#ifdef SSP_SMASH_DUMPS_CORE +# define ENABLE_SSP_SMASH_DUMPS_CORE 1 +# if !defined _KERNEL_NSIG && !defined _NSIG +# error No _NSIG or _KERNEL_NSIG for rt_sigaction +# endif +# if !defined __NR_sigaction && !defined __NR_rt_sigaction +# error Cannot do syscall sigaction or rt_sigaction +# endif +/* Although rt_sigaction expects sizeof(sigset_t) - it expects the size + * of the _kernel_ sigset_t which is not the same as the user sigset_t. + * Most arches have this as _NSIG bits - mips has _KERNEL_NSIG bits for + * some reason. + */ +# ifdef _KERNEL_NSIG +# define _SSP_NSIG _KERNEL_NSIG +# else +# define _SSP_NSIG _NSIG +# endif +#else +# define _SSP_NSIG 0 +# define ENABLE_SSP_SMASH_DUMPS_CORE 0 +#endif + +/* Define DO_SIGACTION - default to newer rt signal interface but + * fallback to old as needed. + */ +#ifdef __NR_rt_sigaction +# define DO_SIGACTION(signum, act, oldact) \ + INLINE_SYSCALL(rt_sigaction, 4, signum, act, oldact, _SSP_NSIG/8) +#else +# define DO_SIGACTION(signum, act, oldact) \ + INLINE_SYSCALL(sigaction, 3, signum, act, oldact) +#endif + +/* Define DO_SOCKET/DO_CONNECT functions to deal with socketcall vs socket/connect */ +#if defined(__NR_socket) && defined(__NR_connect) +# define USE_OLD_SOCKETCALL 0 +#else +# define USE_OLD_SOCKETCALL 1 +#endif +/* stub out the __NR_'s so we can let gcc optimize away dead code */ +#ifndef __NR_socketcall +# define __NR_socketcall 0 +#endif +#ifndef __NR_socket +# define __NR_socket 0 +#endif +#ifndef __NR_connect +# define __NR_connect 0 +#endif +#define DO_SOCKET(result, domain, type, protocol) \ + do { \ + if (USE_OLD_SOCKETCALL) { \ + socketargs[0] = domain; \ + socketargs[1] = type; \ + socketargs[2] = protocol; \ + socketargs[3] = 0; \ + result = INLINE_SYSCALL(socketcall, 2, SOCKOP_socket, socketargs); \ + } else \ + result = INLINE_SYSCALL(socket, 3, domain, type, protocol); \ + } while (0) +#define DO_CONNECT(result, sockfd, serv_addr, addrlen) \ + do { \ + if (USE_OLD_SOCKETCALL) { \ + socketargs[0] = sockfd; \ + socketargs[1] = (unsigned long int)serv_addr; \ + socketargs[2] = addrlen; \ + socketargs[3] = 0; \ + result = INLINE_SYSCALL(socketcall, 2, SOCKOP_connect, socketargs); \ + } else \ + result = INLINE_SYSCALL(connect, 3, sockfd, serv_addr, addrlen); \ + } while (0) + +#ifndef _PATH_LOG +# define _PATH_LOG "/dev/log" +#endif + +static const char path_log[] = _PATH_LOG; + +/* For building glibc with SSP switched on, define __progname to a + * constant if building for the run-time loader, to avoid pulling + * in more of libc.so into ld.so + */ +#ifdef IS_IN_rtld +static char *__progname = ""; +#else +extern char *__progname; +#endif + + +/* Common handler code, used by stack_chk_fail and __stack_smash_handler + * Inlined to ensure no self-references to the handler within itself. + * Data static to avoid putting more than necessary on the stack, + * to aid core debugging. + */ +__attribute__ ((__noreturn__ , __always_inline__)) +static inline void +__hardened_gentoo_stack_chk_fail(char func[], int damaged) +{ +#define MESSAGE_BUFSIZ 256 + static pid_t pid; + static int plen, i; + static char message[MESSAGE_BUFSIZ]; + static const char msg_ssa[] = ": stack smashing attack"; + static const char msg_inf[] = " in function "; + static const char msg_ssd[] = "*** stack smashing detected ***: "; + static const char msg_terminated[] = " - terminated\n"; + static const char msg_report[] = "Report to http://bugs.gentoo.org/\n"; + static const char msg_unknown[] = ""; + static int log_socket, connect_result; + static struct sockaddr_un sock; + static unsigned long int socketargs[4]; + + /* Build socket address + */ + sock.sun_family = AF_UNIX; + i = 0; + while ((path_log[i] != '\0') && (i<(sizeof(sock.sun_path)-1))) { + sock.sun_path[i] = path_log[i]; + i++; + } + sock.sun_path[i] = '\0'; + + /* Try SOCK_DGRAM connection to syslog */ + connect_result = -1; + DO_SOCKET(log_socket, AF_UNIX, SOCK_DGRAM, 0); + if (log_socket != -1) + DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock)); + if (connect_result == -1) { + if (log_socket != -1) + INLINE_SYSCALL(close, 1, log_socket); + /* Try SOCK_STREAM connection to syslog */ + DO_SOCKET(log_socket, AF_UNIX, SOCK_STREAM, 0); + if (log_socket != -1) + DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock)); + } + + /* Build message. Messages are generated both in the old style and new style, + * so that log watchers that are configured for the old-style message continue + * to work. + */ +#define strconcat(str) \ + {i=0; while ((str[i] != '\0') && ((i+plen)<(MESSAGE_BUFSIZ-1))) \ + {\ + message[plen+i]=str[i];\ + i++;\ + }\ + plen+=i;} + + /* R.Henderson post-gcc-4 style message */ + plen = 0; + strconcat(msg_ssd); + if (__progname != (char *)0) + strconcat(__progname) + else + strconcat(msg_unknown); + strconcat(msg_terminated); + + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + /* Dr. Etoh pre-gcc-4 style message */ + plen = 0; + if (__progname != (char *)0) + strconcat(__progname) + else + strconcat(msg_unknown); + strconcat(msg_ssa); + strconcat(msg_inf); + if (func != NULL) + strconcat(func) + else + strconcat(msg_unknown); + strconcat(msg_terminated); + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + /* Direct reports to bugs.gentoo.org */ + plen=0; + strconcat(msg_report); + message[plen++]='\0'; + + /* Write out error message to STDERR, to syslog if open */ + INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen); + if (connect_result != -1) + INLINE_SYSCALL(write, 3, log_socket, message, plen); + + if (log_socket != -1) + INLINE_SYSCALL(close, 1, log_socket); + + /* Suicide */ + pid = INLINE_SYSCALL(getpid, 0); + + if (ENABLE_SSP_SMASH_DUMPS_CORE) { + static struct sigaction default_abort_act; + /* Remove any user-supplied handler for SIGABRT, before using it */ + default_abort_act.sa_handler = SIG_DFL; + default_abort_act.sa_sigaction = NULL; + __sigfillset(&default_abort_act.sa_mask); + default_abort_act.sa_flags = 0; + if (DO_SIGACTION(SIGABRT, &default_abort_act, NULL) == 0) + INLINE_SYSCALL(kill, 2, pid, SIGABRT); + } + + /* Note; actions cannot be added to SIGKILL */ + INLINE_SYSCALL(kill, 2, pid, SIGKILL); + + /* In case the kill didn't work, exit anyway + * The loop prevents gcc thinking this routine returns + */ + while (1) + INLINE_SYSCALL(exit, 0); +} + +__attribute__ ((__noreturn__)) +void __stack_chk_fail(void) +{ + __hardened_gentoo_stack_chk_fail(NULL, 0); +} + +#ifdef ENABLE_OLD_SSP_COMPAT +__attribute__ ((__noreturn__)) +void __stack_smash_handler(char func[], int damaged) +{ + __hardened_gentoo_stack_chk_fail(func, damaged); +} +#endif diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/index.html b/cross-powerpc-unknown-linux-gnu/glibc/files/index.html new file mode 100644 index 0000000..c979287 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/index.html @@ -0,0 +1,42 @@ + + + + +Index of /portage/sys-libs/glibc/files/eblits/ + + + +

Index of /portage/sys-libs/glibc/files/eblits/

+
+ + + + + + + + + + + + + + +
NameLast ModifiedSizeType
Parent Directory/ -  Directory
common.eblit2010-Jun-16 02:12:138.5Ktext/plain
pkg_postinst.eblit2009-Mar-01 21:06:221.1Ktext/plain
pkg_preinst.eblit2009-Dec-20 00:06:453.2Ktext/plain
pkg_setup.eblit2009-Aug-21 06:07:412.7Ktext/plain
src_compile.eblit2009-Nov-06 00:40:315.7Ktext/plain
src_install-2.6.eblit2008-Jun-29 17:07:417.7Ktext/plain
src_install.eblit2009-Dec-20 00:06:457.9Ktext/plain
src_test.eblit2008-Mar-23 18:07:021.1Ktext/plain
src_unpack.eblit2010-Jun-08 05:07:045.0Ktext/plain
+
+
lighttpd/1.4.25
+ + diff --git a/cross-powerpc-unknown-linux-gnu/glibc/files/pkg_postinst.eblit b/cross-powerpc-unknown-linux-gnu/glibc/files/pkg_postinst.eblit new file mode 100644 index 0000000..2566eed --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/files/pkg_postinst.eblit @@ -0,0 +1,29 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_postinst.eblit,v 1.1 2009/03/01 21:06:22 vapier Exp $ + +eblit-glibc-pkg_postinst() { + # nothing to do if just installing headers + just_headers && return + + if ! tc-is-cross-compiler && [[ -x ${ROOT}/usr/sbin/iconvconfig ]] ; then + # Generate fastloading iconv module configuration file. + "${ROOT}"/usr/sbin/iconvconfig --prefix="${ROOT}" + fi + + if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then + # Reload init ... if in a chroot or a diff init package, ignore + # errors from this step #253697 + /sbin/telinit U 2>/dev/null + + # if the host locales.gen contains no entries, we'll install everything + local locale_list="${ROOT}etc/locale.gen" + if [[ -z $(locale-gen --list --config "${locale_list}") ]] ; then + ewarn "Generating all locales; edit /etc/locale.gen to save time/space" + locale_list="${ROOT}usr/share/i18n/SUPPORTED" + fi + local x jobs + for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done + locale-gen -j ${jobs:-1} --config "${locale_list}" + fi +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.11.2.ebuild b/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.11.2.ebuild new file mode 100644 index 0000000..df785e8 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.11.2.ebuild @@ -0,0 +1,241 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.11.2.ebuild,v 1.1 2010/06/08 05:00:41 vapier Exp $ + +inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib + +DESCRIPTION="GNU libc6 (also called glibc2) C library" +HOMEPAGE="http://www.gnu.org/software/libc/libc.html" + +LICENSE="LGPL-2" +KEYWORDS="~x86-linux" +RESTRICT="strip" # strip ourself #46186 +EMULTILIB_PKG="true" + +# Configuration variables +if [[ ${PV} == *_p* ]] ; then +RELEASE_VER=${PV%_p*} +BRANCH_UPDATE="" +SNAP_VER=${PV#*_p} +else +RELEASE_VER=${PV} +BRANCH_UPDATE="" +SNAP_VER="" +fi +MANPAGE_VER="" # pregenerated manpages +INFOPAGE_VER="" # pregenerated infopages +LIBIDN_VER="" # it's integrated into the main tarball now +PATCH_VER="1" # Gentoo patchset +PORTS_VER=${RELEASE_VER%.?} # version of glibc ports addon +LT_VER="" # version of linuxthreads addon +NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.9"} # min kernel version nptl requires +#LT_KERN_VER=${LT_KERN_VER:-"2.4.1"} # min kernel version linuxthreads requires + +IUSE="debug gd glibc-omitfp hardened multilib nls selinux profile vanilla crosscompile_opts_headers-only ${LT_VER:+glibc-compat20 nptl nptlonly}" +S=${WORKDIR}/glibc-${RELEASE_VER}${SNAP_VER:+-${SNAP_VER}} + +# Here's how the cross-compile logic breaks down ... +# CTARGET - machine that will target the binaries +# CHOST - machine that will host the binaries +# CBUILD - machine that will build the binaries +# If CTARGET != CHOST, it means you want a libc for cross-compiling. +# If CHOST != CBUILD, it means you want to cross-compile the libc. +# CBUILD = CHOST = CTARGET - native build/install +# CBUILD != (CHOST = CTARGET) - cross-compile a native build +# (CBUILD = CHOST) != CTARGET - libc for cross-compiler +# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler +# For install paths: +# CHOST = CTARGET - install into / +# CHOST != CTARGET - install into /usr/CTARGET/ + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +[[ ${CTARGET} == hppa* ]] && NPTL_KERN_VER=${NPTL_KERN_VER/2.6.9/2.6.20} + +is_crosscompile() { + [[ ${CHOST} != ${CTARGET} ]] +} +alt_libdir() { + if is_crosscompile ; then + echo /usr/${CTARGET}/$(get_libdir) + else + echo /$(get_libdir) + fi +} + +if is_crosscompile ; then + SLOT="${CTARGET}-2.2" +else + # Why SLOT 2.2 you ask yourself while sippin your tea ? + # Everyone knows 2.2 > 0, duh. + SLOT="2.2" + PROVIDE="virtual/libc" +fi + +# General: We need a new-enough binutils for as-needed +# arch: we need to make sure our binutils/gcc supports TLS +DEPEND=">=sys-devel/gcc-3.4.4 + arm? ( >=sys-devel/binutils-2.16.90 >=sys-devel/gcc-4.1.0 ) + x86? ( >=sys-devel/gcc-4.3 ) + amd64? ( >=sys-devel/binutils-2.19 multilib? ( >=sys-devel/gcc-4.3 ) ) + ppc? ( >=sys-devel/gcc-4.1.0 ) + ppc64? ( >=sys-devel/gcc-4.1.0 ) + >=sys-devel/binutils-2.15.94 + ${LT_VER:+nptl? (} >=sys-kernel/linux-headers-${NPTL_KERN_VER} ${LT_VER:+)} + >=sys-devel/gcc-config-1.3.12 + >=app-misc/pax-utils-0.1.10 + virtual/os-headers + nls? ( sys-devel/gettext ) + >=sys-apps/sandbox-1.2.18.1-r2 + ! [version] +eblit-include() { + local skipable=false + [[ $1 == "--skip" ]] && skipable=true && shift + [[ $1 == pkg_* ]] && skipable=true + + local e v func=$1 ver=$2 + [[ -z ${func} ]] && die "Usage: eblit-include [version]" + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e="${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + source "${e}" + return 0 + fi + done + ${skipable} && return 0 + die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# run the specified function if it is defined +eblit-run-maybe() { + [[ $(type -t "$@") == "function" ]] && "$@" +} + +# eblit-run [version] +# aka: src_unpack() { eblit-run src_unpack ; } +eblit-run() { + eblit-include --skip common "${*:2}" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +src_unpack() { eblit-run src_unpack ; } +src_compile() { eblit-run src_compile ; } +src_test() { eblit-run src_test ; } +src_install() { eblit-run src_install ; } + +# FILESDIR might not be available during binpkg install +for x in setup {pre,post}inst ; do + e="${FILESDIR}/eblits/pkg_${x}.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + eval "pkg_${x}() { eblit-run pkg_${x} ; }" + fi +done + +eblit-src_unpack-post() { + if use hardened ; then + cd "${S}" + einfo "Patching to get working PIE binaries on PIE (hardened) platforms" + gcc-specs-pie && epatch "${FILESDIR}"/2.11/glibc-2.11-hardened-pie.patch + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-configure-picdefault.patch + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-inittls-nosysenter.patch + + einfo "Patching Glibc to support older SSP __guard" + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-ssp-compat.patch + + einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler" + cp -f "${FILESDIR}"/2.6/glibc-2.6-gentoo-stack_chk_fail.c \ + debug/stack_chk_fail.c || die + cp -f "${FILESDIR}"/2.10/glibc-2.10-gentoo-chk_fail.c \ + debug/chk_fail.c || die + + if use debug ; then + # When using Hardened Gentoo stack handler, have smashes dump core for + # analysis - debug only, as core could be an information leak + # (paranoia). + sed -i \ + -e '/^CFLAGS-backtrace.c/ iCFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ + debug/Makefile \ + || die "Failed to modify debug/Makefile for debug stack handler" + sed -i \ + -e '/^CFLAGS-backtrace.c/ iCFLAGS-chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ + debug/Makefile \ + || die "Failed to modify debug/Makefile for debug fortify handler" + fi + + # Build nscd with ssp-all + sed -i \ + -e 's:-fstack-protector$:-fstack-protector-all:' \ + nscd/Makefile \ + || die "Failed to ensure nscd builds with ssp-all" + fi +} + +maint_pkg_create() { + local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}" + cd ${base} + local stamp=$(date +%Y%m%d) + local d + for d in libc ports ; do + #(cd ${d} && cvs up) + case ${d} in + libc) tarball="${P}";; + ports) tarball="${PN}-ports-${PV}";; + esac + rm -f ${tarball}* + ln -sf ${d} ${tarball} + tar hcf - ${tarball} --exclude-vcs | lzma > "${T}"/${tarball}.tar.lzma + du -b "${T}"/${tarball}.tar.lzma + done +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.12.1-r2.ebuild b/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.12.1-r2.ebuild new file mode 100644 index 0000000..e487831 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/glibc-2.12.1-r2.ebuild @@ -0,0 +1,257 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.12.1-r2.ebuild,v 1.1 2010/10/26 15:05:19 vapier Exp $ + +inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib + +DESCRIPTION="GNU libc6 (also called glibc2) C library" +HOMEPAGE="http://www.gnu.org/software/libc/libc.html" + +LICENSE="LGPL-2" +KEYWORDS="~x86-linux" +RESTRICT="strip" # strip ourself #46186 +EMULTILIB_PKG="true" + +# Configuration variables +if [[ ${PV} == *_p* ]] ; then +RELEASE_VER=${PV%_p*} +BRANCH_UPDATE="" +SNAP_VER=${PV#*_p} +else +RELEASE_VER=${PV} +BRANCH_UPDATE="" +SNAP_VER="" +fi +MANPAGE_VER="" # pregenerated manpages +INFOPAGE_VER="" # pregenerated infopages +LIBIDN_VER="" # it's integrated into the main tarball now +PATCH_VER="5" # Gentoo patchset +PORTS_VER= #${RELEASE_VER%.?} # version of glibc ports addon +LT_VER="" # version of linuxthreads addon +NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.9"} # min kernel version nptl requires +#LT_KERN_VER=${LT_KERN_VER:-"2.4.1"} # min kernel version linuxthreads requires + +IUSE="debug gd glibc-omitfp hardened multilib nls selinux profile vanilla crosscompile_opts_headers-only ${LT_VER:+glibc-compat20 nptl nptlonly}" +S=${WORKDIR}/glibc-${RELEASE_VER}${SNAP_VER:+-${SNAP_VER}} + +# Here's how the cross-compile logic breaks down ... +# CTARGET - machine that will target the binaries +# CHOST - machine that will host the binaries +# CBUILD - machine that will build the binaries +# If CTARGET != CHOST, it means you want a libc for cross-compiling. +# If CHOST != CBUILD, it means you want to cross-compile the libc. +# CBUILD = CHOST = CTARGET - native build/install +# CBUILD != (CHOST = CTARGET) - cross-compile a native build +# (CBUILD = CHOST) != CTARGET - libc for cross-compiler +# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler +# For install paths: +# CHOST = CTARGET - install into / +# CHOST != CTARGET - install into /usr/CTARGET/ + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +[[ ${CTARGET} == hppa* ]] && NPTL_KERN_VER=${NPTL_KERN_VER/2.6.9/2.6.20} + +is_crosscompile() { + [[ ${CHOST} != ${CTARGET} ]] +} +alt_libdir() { + if is_crosscompile ; then + echo /usr/${CTARGET}/$(get_libdir) + else + echo /$(get_libdir) + fi +} + +if is_crosscompile ; then + SLOT="${CTARGET}-2.2" +else + # Why SLOT 2.2 you ask yourself while sippin your tea ? + # Everyone knows 2.2 > 0, duh. + SLOT="2.2" + PROVIDE="virtual/libc" +fi + +# General: We need a new-enough binutils for as-needed +# arch: we need to make sure our binutils/gcc supports TLS +DEPEND=">=sys-devel/gcc-3.4.4 + arm? ( >=sys-devel/binutils-2.16.90 >=sys-devel/gcc-4.1.0 ) + x86? ( >=sys-devel/gcc-4.3 ) + amd64? ( >=sys-devel/binutils-2.19 >=sys-devel/gcc-4.3 ) + ppc? ( >=sys-devel/gcc-4.1.0 ) + ppc64? ( >=sys-devel/gcc-4.1.0 ) + >=sys-devel/binutils-2.15.94 + ${LT_VER:+nptl? (} >=sys-kernel/linux-headers-${NPTL_KERN_VER} ${LT_VER:+)} + >=sys-devel/gcc-config-1.3.12 + >=app-misc/pax-utils-0.1.10 + virtual/os-headers + nls? ( sys-devel/gettext ) + >=sys-apps/sandbox-1.2.18.1-r2 + ! [version] +eblit-include() { + local skipable=false + [[ $1 == "--skip" ]] && skipable=true && shift + [[ $1 == pkg_* ]] && skipable=true + + local e v func=$1 ver=$2 + [[ -z ${func} ]] && die "Usage: eblit-include [version]" + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e="${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + source "${e}" + return 0 + fi + done + ${skipable} && return 0 + die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# run the specified function if it is defined +eblit-run-maybe() { + [[ $(type -t "$@") == "function" ]] && "$@" +} + +# eblit-run [version] +# aka: src_unpack() { eblit-run src_unpack ; } +eblit-run() { + eblit-include --skip common "${*:2}" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +src_unpack() { eblit-run src_unpack ; } +src_compile() { eblit-run src_compile ; } +src_test() { eblit-run src_test ; } +src_install() { eblit-run src_install ; } + +# FILESDIR might not be available during binpkg install +for x in setup {pre,post}inst ; do + e="${FILESDIR}/eblits/pkg_${x}.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + eval "pkg_${x}() { eblit-run pkg_${x} ; }" + fi +done + +pkg_setup() { + eblit-run pkg_setup + + # Static binary sanity check #332927 + if [[ ${EROOT} == "/" ]] && \ + has_version "<${CATEGORY}/${P}" && \ + built_with_use sys-apps/coreutils static + then + eerror "Please rebuild coreutils with USE=-static, then install" + eerror "glibc, then you may rebuild coreutils with USE=static." + die "Avoiding system meltdown #332927" + fi +} + +eblit-src_unpack-post() { + if use hardened ; then + cd "${S}" + einfo "Patching to get working PIE binaries on PIE (hardened) platforms" + gcc-specs-pie && epatch "${FILESDIR}"/2.12/glibc-2.12-hardened-pie.patch + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-configure-picdefault.patch + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-inittls-nosysenter.patch + + einfo "Patching Glibc to support older SSP __guard" + epatch "${FILESDIR}"/2.10/glibc-2.10-hardened-ssp-compat.patch + + einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler" + cp -f "${FILESDIR}"/2.6/glibc-2.6-gentoo-stack_chk_fail.c \ + debug/stack_chk_fail.c || die + cp -f "${FILESDIR}"/2.10/glibc-2.10-gentoo-chk_fail.c \ + debug/chk_fail.c || die + + if use debug ; then + # When using Hardened Gentoo stack handler, have smashes dump core for + # analysis - debug only, as core could be an information leak + # (paranoia). + sed -i \ + -e '/^CFLAGS-backtrace.c/ iCFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ + debug/Makefile \ + || die "Failed to modify debug/Makefile for debug stack handler" + sed -i \ + -e '/^CFLAGS-backtrace.c/ iCFLAGS-chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ + debug/Makefile \ + || die "Failed to modify debug/Makefile for debug fortify handler" + fi + + # Build nscd with ssp-all + sed -i \ + -e 's:-fstack-protector$:-fstack-protector-all:' \ + nscd/Makefile \ + || die "Failed to ensure nscd builds with ssp-all" + fi +} + +maint_pkg_create() { + local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}" + cd ${base} + local stamp=$(date +%Y%m%d) + local d + for d in libc ports ; do + #(cd ${d} && cvs up) + case ${d} in + libc) tarball="${P}";; + ports) tarball="${PN}-ports-${PV}";; + esac + rm -f ${tarball}* + ln -sf ${d} ${tarball} + tar hcf - ${tarball} --exclude-vcs | lzma > "${T}"/${tarball}.tar.lzma + du -b "${T}"/${tarball}.tar.lzma + done +} diff --git a/cross-powerpc-unknown-linux-gnu/glibc/metadata.xml b/cross-powerpc-unknown-linux-gnu/glibc/metadata.xml new file mode 100644 index 0000000..350b4d8 --- /dev/null +++ b/cross-powerpc-unknown-linux-gnu/glibc/metadata.xml @@ -0,0 +1,13 @@ + + + +toolchain + + Enable the glibc-compat addon + Configure glibc with --enable-omitfp which lets + the build system determine when it is safe to use + -fomit-frame-pointer + Disables building the linuxthreads fallback in glibc + ebuilds that support building both linuxthread and nptl + + diff --git a/dev-python/pypy/ChangeLog b/dev-python/pypy/ChangeLog new file mode 100644 index 0000000..e6de16a --- /dev/null +++ b/dev-python/pypy/ChangeLog @@ -0,0 +1,99 @@ +# ChangeLog for dev-python/pypy +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.20 2012/06/08 16:52:09 djc Exp $ + +*pypy-1.9 (08 Jun 2012) + + 08 Jun 2012; Dirkjan Ochtman + +files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.p + atch, +files/1.9-scripts-location.patch, +pypy-1.9.ebuild, + +files/1.9-no-bytecode-4151f9c406b6.patch, + +files/1.9-distutils-fix_handling_of_executables_and_flags.patch: + Version bump to 1.9. + + 08 Jun 2012; Dirkjan Ochtman metadata.xml: + Remove unused USE flag. + + 08 Jun 2012; Dirkjan Ochtman -files/1.7-patches.patch, + -pypy-1.7-r2.ebuild, -pypy-1.8.ebuild: + Remove old versions. + + 28 Feb 2012; Mike Gilbert pypy-1.7-r2.ebuild, + pypy-1.8-r1.ebuild: + Apply patch from Arfrever for bug 406129. Tested by Ian Delaney. + + 16 Feb 2012; Dirkjan Ochtman pypy-1.8-r1.ebuild: + Add fake xml useflag for dependencies (suggested by Arfrever). + +*pypy-1.8-r1 (16 Feb 2012) + + 16 Feb 2012; Dirkjan Ochtman +pypy-1.8-r1.ebuild, + +files/1.8-sext-instructions-02dc2f6160ee.patch, + +files/1.8-elf-metadata-26a8d3fc57a7.patch: + Made xml mandatory, stackless is built by default, split patches. + + 14 Feb 2012; Mike Gilbert pypy-1.7-r2.ebuild, + pypy-1.8.ebuild: + Adjust memory requirements. + + 12 Feb 2012; Mike Gilbert -pypy-1.7.ebuild, + pypy-1.7-r2.ebuild, pypy-1.8.ebuild: + Rename 1.7 tarball as well. Override src_unpack to avoid having to hardcode S. + Drop old version. + + 12 Feb 2012; Mike Gilbert pypy-1.8.ebuild: + Rename source tarball. + +*pypy-1.8 (12 Feb 2012) + + 12 Feb 2012; Dirkjan Ochtman +pypy-1.8.ebuild, metadata.xml: + Version bump to 1.8. Some test failures, but seems to be okay. + + 02 Feb 2012; Mike Gilbert pypy-1.7-r2.ebuild: + Add sqlite USE flag, patch by Arfrever. Make several variables local. + +*pypy-1.7-r2 (01 Feb 2012) + + 01 Feb 2012; Mike Gilbert +pypy-1.7-r2.ebuild, + -pypy-1.7-r1.ebuild, + files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch: + Updated patch from Arfrever. + +*pypy-1.7-r1 (30 Jan 2012) + + 30 Jan 2012; Mike Gilbert + +files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch, +files/ + pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patc + h, +pypy-1.7-r1.ebuild: + Apply patches from Arfrever to resolve bug 397523. + + 15 Jan 2012; Markos Chandras pypy-1.7.ebuild: + Don't call use() in global scope. Patch by Arfrever. + + 13 Dec 2011; Nirbheek Chauhan pypy-1.7.ebuild, + metadata.xml: + Remove USE=stackless, which is not optional any longer. Add the ~x86 keyword. + Add myself as co-maintainer. + + 30 Nov 2011; Dirkjan Ochtman pypy-1.7.ebuild: + Fix problems resulting from earlier failing ${S}. + + 30 Nov 2011; Dirkjan Ochtman -files/1.5-patches.patch, + -pypy-1.5.ebuild: + Remove old version. + +*pypy-1.7 (30 Nov 2011) + + 30 Nov 2011; Dirkjan Ochtman +files/1.7-patches.patch, + +files/1.7-scripts-location.patch, +pypy-1.7.ebuild: + Version bump to 1.7 (bugs fixed: 379791, 383063, 373487). + + 24 Jun 2011; Dirkjan Ochtman pypy-1.5.ebuild: + Fix bug 372641, bug 372639, bug 372517. + +*pypy-1.5 (06 Jun 2011) + + 06 Jun 2011; Dirkjan Ochtman +files/1.5-patches.patch, + +pypy-1.5.ebuild, +metadata.xml: + Initial version of pypy (bug 300301). + diff --git a/dev-python/pypy/Manifest b/dev-python/pypy/Manifest new file mode 100644 index 0000000..5653a8d --- /dev/null +++ b/dev-python/pypy/Manifest @@ -0,0 +1,16 @@ +AUX 1.7-scripts-location.patch 412 RMD160 811c3cc38370f97274f8ec5cc36f34b3e79dae56 SHA1 c03fa9679443ed9461829745f5bb00cfecd3eb22 SHA256 abc39fbbf69d1d6b478a4a16626950e8e0b607fb05c6e1e1c10618c59fccdda9 +AUX 1.8-elf-metadata-26a8d3fc57a7.patch 569 RMD160 de5a440cb41ab0249141304c12f9a35af1565c87 SHA1 57daa224b13ec3e6cf7f23d02d896527137dca6b SHA256 8c695811ca9eae7d3b81674e8de255dc84e242972041ca54093a3d96f40fe34b +AUX 1.8-sext-instructions-02dc2f6160ee.patch 1100 RMD160 c1f83411a70af07c0987ac51c81806de70a5d991 SHA1 8430932adfaadf903a1ad5a4635644157e04ee78 SHA256 599af03fb41902cb00b6c1768febd921276efbdc7b550d010676cc210f7564bb +AUX 1.9-distutils-fix_handling_of_executables_and_flags.patch 17956 RMD160 a9185e456eaa9a810d4f7b73a78feae944982bf7 SHA1 ffd5eef4f49cbffa3c383f1d06799017ee9f79db SHA256 4ed9800fc851377a45ebf72c759322ebb005dd87100e2ebf634c11b418a56acf +AUX 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch 551 RMD160 cb5ae5aca4c645c5c913dedf55ca267e02735976 SHA1 2c9011788abaa65ec1679ecb0ffd4c269b4cd12d SHA256 dc17421bd12e4df5fed2fb1d113c9a8ca691b127631c48350aea1801c52360f1 +AUX 1.9-no-bytecode-4151f9c406b6.patch 1114 RMD160 254806e80944589cc76caac92fb6b67ae3ebf5f3 SHA1 8d9c0ca17a242894e3347232bdf7995e5ab50536 SHA256 6c76b9456ef1e8460b80a55f82c688704de73fe0ab027a127fae634a7b087880 +AUX 1.9-scripts-location.patch 394 RMD160 e0324dd7cbdf0508c12cd63c2620f9d001e81ef6 SHA1 98b0e6e9182e38020fa9f95445bf27358c7f0356 SHA256 d02ef738b6c82a7a671b50bdc5dc623887e97c3cb033c11ea997b88e6ccb8bdc +AUX pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch 18064 RMD160 8e86cff09340448f3e49ccc626efa40e9463273a SHA1 533cad04bc8d96e2ba1a09e8249a3efd97e46b1d SHA256 43cbabdf5f7b094eb969c754bb6513fa324b1fadb40b37d78bd1ad47194d787a +AUX pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch 569 RMD160 540aa0881ea1fef56cea3734fa09f5c3366d5bb0 SHA1 5f4939129a9a56c9f9da0e82851f675fd7c73209 SHA256 55ea809a5f3e264b1905b06aa3af78aae149451e7d74a98d11e87629ab69493e +AUX pypy-1.9-no-static-hack.patch 845 RMD160 300a5233e66815826c0b1ebbfedd51db2dee8c55 SHA1 099402f0602f09bfa263be5619cd791718e48a64 SHA256 cc96fe665c689ab079fa317e5d059c07e96884e47affe5279faea239ec349d7e +DIST pypy-1.8.tar.bz2 14927806 RMD160 70fe569b466357ee64685c8ce15278d24862c711 SHA1 4ff684619671d6076879eff88343184d7656c699 SHA256 ac98ad6d884207f8325ff4c783104ebea57a3fcddfef32abcdf97fd4307b6287 +DIST pypy-1.9.tar.bz2 13466551 RMD160 8ac2f53330ae450650f05753985bdbb42e07b526 SHA1 36a05432bbcee5d92a320fa27a627aeb281086b4 SHA256 9fd599acade49ef98017bbce4f179f19cf2680489ff15235d3bad5b20bde0d68 +EBUILD pypy-1.8-r1.ebuild 3156 RMD160 41bba9d37e47db4788bb3901c04c6cc5f210bdbd SHA1 2aef475bdd408dcd042f2c0fb865750a665963e2 SHA256 b97521f03d18b5a9fb5584dad78bf246e50a8712768b8684b2b8c1b9ba54ac80 +EBUILD pypy-1.9.ebuild 3151 RMD160 4301f974a0d9b069866b186b36b1d63c6733de06 SHA1 0b49a9700e8d17e85e80c56091008f8e7496b529 SHA256 713386b32b5e392e996e4704bfd993df901b2a01d82f9c2d79038007225de903 +MISC ChangeLog 3670 RMD160 c06ae32b25e359d73ca5e966fd537bffa24e8259 SHA1 7fbc1e9320a69894ca70af639a0e30a9c022fc5f SHA256 0a1bbeb70bf3b0e3482120a5fe98568a32a2d1a7ee1eb99dc4fa62680d8791be +MISC metadata.xml 434 RMD160 3c90cc70db73e1645c0a82a093084551e80ad311 SHA1 8942b6dc54c073f17f49afac40b6bad056692571 SHA256 2af0a575ae6cb4c00383bdb8a22774b3d5bc988c7f48cbcdddef781234fc54e5 diff --git a/dev-python/pypy/files/1.7-scripts-location.patch b/dev-python/pypy/files/1.7-scripts-location.patch new file mode 100644 index 0000000..91b5ced --- /dev/null +++ b/dev-python/pypy/files/1.7-scripts-location.patch @@ -0,0 +1,11 @@ +--- pypy-pypy-release-1.7/lib-python/modified-2.7/distutils/command/install.py ++++ pypy-pypy-release-1.7/lib-python/modified-2.7/distutils/command/install.py +@@ -87,7 +87,7 @@ + 'purelib': '$base/site-packages', + 'platlib': '$base/site-packages', + 'headers': '$base/include', +- 'scripts': '$base/bin', ++ 'scripts': '/usr/bin', + 'data' : '$base', + }, + } diff --git a/dev-python/pypy/files/1.8-elf-metadata-26a8d3fc57a7.patch b/dev-python/pypy/files/1.8-elf-metadata-26a8d3fc57a7.patch new file mode 100644 index 0000000..d581373 --- /dev/null +++ b/dev-python/pypy/files/1.8-elf-metadata-26a8d3fc57a7.patch @@ -0,0 +1,10 @@ +--- pypy-pypy-release-1.7/pypy/translator/c/gcc/trackgcroot.py.bak 2011-11-29 14:22:29.000000000 +0100 ++++ pypy-pypy-release-1.7/pypy/translator/c/gcc/trackgcroot.py 2011-11-29 14:22:55.000000000 +0100 +@@ -1694,6 +1694,7 @@ + } + """ + elif self.format in ('elf64', 'darwin64'): ++ print >> output, "\t.section .note.GNU-stack,\"\",%progbits" + print >> output, "\t.text" + print >> output, "\t.globl %s" % _globalname('pypy_asm_stackwalk') + _variant(elf64='.type pypy_asm_stackwalk, @function', diff --git a/dev-python/pypy/files/1.8-sext-instructions-02dc2f6160ee.patch b/dev-python/pypy/files/1.8-sext-instructions-02dc2f6160ee.patch new file mode 100644 index 0000000..6528479 --- /dev/null +++ b/dev-python/pypy/files/1.8-sext-instructions-02dc2f6160ee.patch @@ -0,0 +1,22 @@ +--- pypy/translator/c/gcc/trackgcroot.py.old 2012-02-15 14:11:38.551479431 -0800 ++++ pypy/translator/c/gcc/trackgcroot.py 2012-02-15 00:55:20.082136135 -0800 +@@ -471,8 +471,8 @@ + return [] + + IGNORE_OPS_WITH_PREFIXES = dict.fromkeys([ +- 'cmp', 'test', 'set', 'sahf', 'lahf', 'cltd', 'cld', 'std', +- 'rep', 'movs', 'lods', 'stos', 'scas', 'cwtl', 'cwde', 'prefetch', ++ 'cmp', 'test', 'set', 'sahf', 'lahf', 'cld', 'std', ++ 'rep', 'movs', 'lods', 'stos', 'scas', 'cwde', 'prefetch', + # floating-point operations cannot produce GC pointers + 'f', + 'cvt', 'ucomi', 'comi', 'subs', 'subp' , 'adds', 'addp', 'xorp', +@@ -485,6 +485,8 @@ + 'bswap', 'bt', 'rdtsc', + 'punpck', 'pshufd', 'pcmp', 'pand', 'psllw', 'pslld', 'psllq', + 'paddq', 'pinsr', ++ # sign-extending moves should not produce GC pointers ++ 'cbtw', 'cwtl', 'cwtd', 'cltd', 'cltq', 'cqto', + # zero-extending moves should not produce GC pointers + 'movz', + # locked operations should not move GC pointers, at least so far diff --git a/dev-python/pypy/files/1.9-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy/files/1.9-distutils-fix_handling_of_executables_and_flags.patch new file mode 100644 index 0000000..4a35ea8 --- /dev/null +++ b/dev-python/pypy/files/1.9-distutils-fix_handling_of_executables_and_flags.patch @@ -0,0 +1,391 @@ +--- lib-python/2.7/distutils/ccompiler.py ++++ lib-python/2.7/distutils/ccompiler.py +@@ -27,10 +27,16 @@ + varies across Unices and is stored in Python's Makefile. + """ + if compiler.compiler_type == "unix": +- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ +- _sysconfig.get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', +- 'CCSHARED', 'LDSHARED', 'SO', 'AR', +- 'ARFLAGS') ++ cc = ' '.join(compiler.compiler) ++ cxx = ' '.join(compiler.compiler_cxx) ++ ldshared = ' '.join(compiler.linker_so) ++ ldcxxshared = ' '.join(compiler.linker_so_cxx) ++ ar = compiler.archiver[0] ++ ++ cflags = '' ++ cxxflags = '' ++ ccshared = '-fPIC' ++ ar_flags = compiler.archiver[1] + + if 'CC' in os.environ: + cc = os.environ['CC'] +@@ -38,19 +44,27 @@ + cxx = os.environ['CXX'] + if 'LDSHARED' in os.environ: + ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] + if 'CPP' in os.environ: + cpp = os.environ['CPP'] + else: + cpp = cc + " -E" # not always + if 'LDFLAGS' in os.environ: + ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] + if 'CFLAGS' in os.environ: +- cflags = opt + ' ' + os.environ['CFLAGS'] ++ cflags = os.environ['CFLAGS'] + ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] + if 'CPPFLAGS' in os.environ: + cpp = cpp + ' ' + os.environ['CPPFLAGS'] + cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] + ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] + if 'AR' in os.environ: + ar = os.environ['AR'] + if 'ARFLAGS' in os.environ: +@@ -59,17 +73,19 @@ + archiver = ar + ' ' + ar_flags + + cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags + compiler.set_executables( + preprocessor=cpp, + compiler=cc_cmd, + compiler_so=cc_cmd + ' ' + ccshared, +- compiler_cxx=cxx, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, + linker_so=ldshared, + linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx, + archiver=archiver) + +- compiler.shared_lib_extension = so_ext +- + class CCompiler: + """Abstract base class to define the interface that must be implemented + by real compiler classes. Also has some utility methods used by +--- lib-python/2.7/distutils/cygwinccompiler.py ++++ lib-python/2.7/distutils/cygwinccompiler.py +@@ -135,9 +135,13 @@ + self.set_executables(compiler='gcc -mcygwin -O -Wall', + compiler_so='gcc -mcygwin -mdll -O -Wall', + compiler_cxx='g++ -mcygwin -O -Wall', ++ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', + linker_exe='gcc -mcygwin', + linker_so=('%s -mcygwin %s' % +- (self.linker_dll, shared_option))) ++ (self.linker_dll, shared_option)), ++ linker_exe_cxx='g++ -mcygwin', ++ linker_so_cxx=('%s -mcygwin %s' % ++ (self.linker_dll, shared_option))) + + # cygwin and mingw32 need different sets of libraries + if self.gcc_version == "2.91.57": +@@ -163,8 +167,12 @@ + raise CompileError, msg + else: # for other files use the C-compiler + try: +- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +@@ -325,10 +333,15 @@ + self.set_executables(compiler='gcc -mno-cygwin -O -Wall', + compiler_so='gcc -mno-cygwin -mdll -O -Wall', + compiler_cxx='g++ -mno-cygwin -O -Wall', ++ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', + linker_exe='gcc -mno-cygwin', + linker_so='%s -mno-cygwin %s %s' + % (self.linker_dll, shared_option, +- entry_point)) ++ entry_point), ++ linker_exe_cxx='g++ -mno-cygwin', ++ linker_so_cxx='%s -mno-cygwin %s %s' ++ % (self.linker_dll, shared_option, ++ entry_point)) + # Maybe we should also append -mthreads, but then the finished + # dlls need another dll (mingwm10.dll see Mingw32 docs) + # (-mthreads: Support thread-safe exception handling on `Mingw32') +--- lib-python/2.7/distutils/emxccompiler.py ++++ lib-python/2.7/distutils/emxccompiler.py +@@ -65,8 +65,12 @@ + # XXX optimization, warnings etc. should be customizable. + self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', + compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', ++ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', ++ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', + linker_exe='gcc -Zomf -Zmt -Zcrtdll', +- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') ++ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', ++ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', ++ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') + + # want the gcc library statically linked (so that we don't have + # to distribute a version dependent on the compiler we have) +@@ -83,8 +87,12 @@ + raise CompileError, msg + else: # for other files use the C-compiler + try: +- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +--- lib-python/2.7/distutils/sysconfig_cpython.py ++++ lib-python/2.7/distutils/sysconfig_cpython.py +@@ -149,9 +149,12 @@ + varies across Unices and is stored in Python's Makefile. + """ + if compiler.compiler_type == "unix": +- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext) = \ +- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', +- 'CCSHARED', 'LDSHARED', 'SO') ++ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext) = \ ++ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', ++ 'LDCXXSHARED', 'SO') ++ ++ cflags = '' ++ cxxflags = '' + + if 'CC' in os.environ: + cc = os.environ['CC'] +@@ -159,28 +162,40 @@ + cxx = os.environ['CXX'] + if 'LDSHARED' in os.environ: + ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] + if 'CPP' in os.environ: + cpp = os.environ['CPP'] + else: + cpp = cc + " -E" # not always + if 'LDFLAGS' in os.environ: + ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] + if 'CFLAGS' in os.environ: +- cflags = opt + ' ' + os.environ['CFLAGS'] ++ cflags = os.environ['CFLAGS'] + ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] + if 'CPPFLAGS' in os.environ: + cpp = cpp + ' ' + os.environ['CPPFLAGS'] + cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] + ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] + + cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags + compiler.set_executables( + preprocessor=cpp, + compiler=cc_cmd, + compiler_so=cc_cmd + ' ' + ccshared, +- compiler_cxx=cxx, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, + linker_so=ldshared, +- linker_exe=cc) ++ linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx) + + compiler.shared_lib_extension = so_ext + +@@ -506,7 +521,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + flags = _config_vars[key] + flags = re.sub('-arch\s+\w+\s', ' ', flags) + flags = re.sub('-isysroot [^ \t]*', ' ', flags) +@@ -525,7 +540,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + + flags = _config_vars[key] + flags = re.sub('-arch\s+\w+\s', ' ', flags) +@@ -549,7 +564,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + + flags = _config_vars[key] + flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) +--- lib-python/2.7/distutils/sysconfig_pypy.py ++++ lib-python/2.7/distutils/sysconfig_pypy.py +@@ -114,13 +114,56 @@ + optional C speedup components. + """ + if compiler.compiler_type == "unix": +- compiler.compiler_so.extend(['-fPIC', '-Wimplicit']) ++ cc = ' '.join(compiler.compiler) ++ cxx = ' '.join(compiler.compiler_cxx) ++ ldshared = ' '.join(compiler.linker_so) ++ ldcxxshared = ' '.join(compiler.linker_so_cxx) ++ ++ cflags = '' ++ cxxflags = '' ++ ccshared = '-fPIC' ++ ++ if 'CC' in os.environ: ++ cc = os.environ['CC'] ++ if 'CXX' in os.environ: ++ cxx = os.environ['CXX'] ++ if 'LDSHARED' in os.environ: ++ ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] ++ if 'CPP' in os.environ: ++ cpp = os.environ['CPP'] ++ else: ++ cpp = cc + " -E" # not always ++ if 'LDFLAGS' in os.environ: ++ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] ++ if 'CFLAGS' in os.environ: ++ cflags = os.environ['CFLAGS'] ++ ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] ++ if 'CPPFLAGS' in os.environ: ++ cpp = cpp + ' ' + os.environ['CPPFLAGS'] ++ cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] ++ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] ++ ++ cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags ++ compiler.set_executables( ++ preprocessor=cpp, ++ compiler=cc_cmd, ++ compiler_so=cc_cmd + ' ' + ccshared, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, ++ linker_so=ldshared, ++ linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx) + compiler.shared_lib_extension = get_config_var('SO') +- if "CFLAGS" in os.environ: +- cflags = os.environ["CFLAGS"] +- compiler.compiler.append(cflags) +- compiler.compiler_so.append(cflags) +- compiler.linker_so.append(cflags) + + + from sysconfig_cpython import ( +--- lib-python/2.7/distutils/unixccompiler.py ++++ lib-python/2.7/distutils/unixccompiler.py +@@ -114,14 +114,17 @@ + # are pretty generic; they will probably have to be set by an outsider + # (eg. using information discovered by the sysconfig about building + # Python extensions). +- executables = {'preprocessor' : None, +- 'compiler' : ["cc"], +- 'compiler_so' : ["cc"], +- 'compiler_cxx' : ["cc"], +- 'linker_so' : ["cc", "-shared"], +- 'linker_exe' : ["cc"], +- 'archiver' : ["ar", "-cr"], +- 'ranlib' : None, ++ executables = {'preprocessor' : None, ++ 'compiler' : ["cc"], ++ 'compiler_so' : ["cc"], ++ 'compiler_cxx' : ["c++"], ++ 'compiler_so_cxx' : ["c++"], ++ 'linker_so' : ["cc", "-shared"], ++ 'linker_exe' : ["cc"], ++ 'linker_so_cxx' : ["c++", "-shared"], ++ 'linker_exe_cxx' : ["c++"], ++ 'archiver' : ["ar", "-cr"], ++ 'ranlib' : None, + } + + if sys.platform[:6] == "darwin": +@@ -186,11 +189,18 @@ + + def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): + compiler_so = self.compiler_so ++ compiler_so_cxx = self.compiler_so_cxx + if sys.platform == 'darwin': + compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) ++ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + ++ extra_postargs) + try: +- self.spawn(compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +@@ -247,23 +257,16 @@ + ld_args.extend(extra_postargs) + self.mkpath(os.path.dirname(output_filename)) + try: +- if target_desc == CCompiler.EXECUTABLE: +- linker = self.linker_exe[:] ++ if target_lang == "c++": ++ if target_desc == CCompiler.EXECUTABLE: ++ linker = self.linker_exe_cxx[:] ++ else: ++ linker = self.linker_so_cxx[:] + else: +- linker = self.linker_so[:] +- if target_lang == "c++" and self.compiler_cxx: +- # skip over environment variable settings if /usr/bin/env +- # is used to set up the linker's environment. +- # This is needed on OSX. Note: this assumes that the +- # normal and C++ compiler have the same environment +- # settings. +- i = 0 +- if os.path.basename(linker[0]) == "env": +- i = 1 +- while '=' in linker[i]: +- i = i + 1 +- +- linker[i] = self.compiler_cxx[i] ++ if target_desc == CCompiler.EXECUTABLE: ++ linker = self.linker_exe[:] ++ else: ++ linker = self.linker_so[:] + + if sys.platform == 'darwin': + linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch b/dev-python/pypy/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch new file mode 100644 index 0000000..b3d5235 --- /dev/null +++ b/dev-python/pypy/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch @@ -0,0 +1,11 @@ +--- lib-python/2.7/distutils/unixccompiler.py ++++ lib-python/2.7/distutils/unixccompiler.py +@@ -297,7 +297,7 @@ + # this time, there's no way to determine this information from + # the configuration data stored in the Python installation, so + # we use this hack. +- compiler = os.path.basename(sysconfig.get_config_var("CC")) ++ compiler = os.path.basename(self.compiler[0]) + if sys.platform[:6] == "darwin": + # MacOSX's linker doesn't understand the -R flag at all + return "-L" + dir diff --git a/dev-python/pypy/files/1.9-no-bytecode-4151f9c406b6.patch b/dev-python/pypy/files/1.9-no-bytecode-4151f9c406b6.patch new file mode 100644 index 0000000..5fab3a5 --- /dev/null +++ b/dev-python/pypy/files/1.9-no-bytecode-4151f9c406b6.patch @@ -0,0 +1,27 @@ +# HG changeset patch +# User Armin Rigo +# Date 1339165065 -7200 +# Node ID 4151f9c406b62f6c4a1fdd669389eb46eb90f9cb +# Parent 68f8d7152a45fa7856a2a013799874614fcd9c33 +issue1043 3rd issue fixed + +diff -r 68f8d7152a45fa7856a2a013799874614fcd9c33 -r 4151f9c406b62f6c4a1fdd669389eb46eb90f9cb pypy/translator/goal/app_main.py +--- a/pypy/translator/goal/app_main.py Fri Jun 08 16:06:33 2012 +0200 ++++ b/pypy/translator/goal/app_main.py Fri Jun 08 16:17:45 2012 +0200 +@@ -457,13 +457,13 @@ + + if PYTHON26 and not options["ignore_environment"]: + if os.getenv('PYTHONNOUSERSITE'): +- options["no_user_site"] = True ++ options["no_user_site"] = 1 + if os.getenv('PYTHONDONTWRITEBYTECODE'): +- options["dont_write_bytecode"] = True ++ options["dont_write_bytecode"] = 1 + + if (options["interactive"] or + (not options["ignore_environment"] and os.getenv('PYTHONINSPECT'))): +- options["inspect"] = True ++ options["inspect"] = 1 + + if PYTHON26 and we_are_translated(): + flags = [options[flag] for flag in sys_flags] diff --git a/dev-python/pypy/files/1.9-scripts-location.patch b/dev-python/pypy/files/1.9-scripts-location.patch new file mode 100644 index 0000000..5f0190d --- /dev/null +++ b/dev-python/pypy/files/1.9-scripts-location.patch @@ -0,0 +1,11 @@ +--- pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py ++++ pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py +@@ -87,7 +87,7 @@ + 'purelib': '$base/site-packages', + 'platlib': '$base/site-packages', + 'headers': '$base/include', +- 'scripts': '$base/bin', ++ 'scripts': '/usr/bin', + 'data' : '$base', + }, + } diff --git a/dev-python/pypy/files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy/files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch new file mode 100644 index 0000000..1252d27 --- /dev/null +++ b/dev-python/pypy/files/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch @@ -0,0 +1,391 @@ +--- lib-python/modified-2.7/distutils/ccompiler.py ++++ lib-python/modified-2.7/distutils/ccompiler.py +@@ -27,10 +27,16 @@ + varies across Unices and is stored in Python's Makefile. + """ + if compiler.compiler_type == "unix": +- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ +- _sysconfig.get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', +- 'CCSHARED', 'LDSHARED', 'SO', 'AR', +- 'ARFLAGS') ++ cc = ' '.join(compiler.compiler) ++ cxx = ' '.join(compiler.compiler_cxx) ++ ldshared = ' '.join(compiler.linker_so) ++ ldcxxshared = ' '.join(compiler.linker_so_cxx) ++ ar = compiler.archiver[0] ++ ++ cflags = '' ++ cxxflags = '' ++ ccshared = '-fPIC' ++ ar_flags = compiler.archiver[1] + + if 'CC' in os.environ: + cc = os.environ['CC'] +@@ -38,19 +44,27 @@ + cxx = os.environ['CXX'] + if 'LDSHARED' in os.environ: + ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] + if 'CPP' in os.environ: + cpp = os.environ['CPP'] + else: + cpp = cc + " -E" # not always + if 'LDFLAGS' in os.environ: + ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] + if 'CFLAGS' in os.environ: +- cflags = opt + ' ' + os.environ['CFLAGS'] ++ cflags = os.environ['CFLAGS'] + ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] + if 'CPPFLAGS' in os.environ: + cpp = cpp + ' ' + os.environ['CPPFLAGS'] + cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] + ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] + if 'AR' in os.environ: + ar = os.environ['AR'] + if 'ARFLAGS' in os.environ: +@@ -59,17 +73,19 @@ + archiver = ar + ' ' + ar_flags + + cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags + compiler.set_executables( + preprocessor=cpp, + compiler=cc_cmd, + compiler_so=cc_cmd + ' ' + ccshared, +- compiler_cxx=cxx, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, + linker_so=ldshared, + linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx, + archiver=archiver) + +- compiler.shared_lib_extension = so_ext +- + class CCompiler: + """Abstract base class to define the interface that must be implemented + by real compiler classes. Also has some utility methods used by +--- lib-python/modified-2.7/distutils/cygwinccompiler.py ++++ lib-python/modified-2.7/distutils/cygwinccompiler.py +@@ -135,9 +135,13 @@ + self.set_executables(compiler='gcc -mcygwin -O -Wall', + compiler_so='gcc -mcygwin -mdll -O -Wall', + compiler_cxx='g++ -mcygwin -O -Wall', ++ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', + linker_exe='gcc -mcygwin', + linker_so=('%s -mcygwin %s' % +- (self.linker_dll, shared_option))) ++ (self.linker_dll, shared_option)), ++ linker_exe_cxx='g++ -mcygwin', ++ linker_so_cxx=('%s -mcygwin %s' % ++ (self.linker_dll, shared_option))) + + # cygwin and mingw32 need different sets of libraries + if self.gcc_version == "2.91.57": +@@ -163,8 +167,12 @@ + raise CompileError, msg + else: # for other files use the C-compiler + try: +- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +@@ -325,10 +333,15 @@ + self.set_executables(compiler='gcc -mno-cygwin -O -Wall', + compiler_so='gcc -mno-cygwin -mdll -O -Wall', + compiler_cxx='g++ -mno-cygwin -O -Wall', ++ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', + linker_exe='gcc -mno-cygwin', + linker_so='%s -mno-cygwin %s %s' + % (self.linker_dll, shared_option, +- entry_point)) ++ entry_point), ++ linker_exe_cxx='g++ -mno-cygwin', ++ linker_so_cxx='%s -mno-cygwin %s %s' ++ % (self.linker_dll, shared_option, ++ entry_point)) + # Maybe we should also append -mthreads, but then the finished + # dlls need another dll (mingwm10.dll see Mingw32 docs) + # (-mthreads: Support thread-safe exception handling on `Mingw32') +--- lib-python/modified-2.7/distutils/emxccompiler.py ++++ lib-python/modified-2.7/distutils/emxccompiler.py +@@ -65,8 +65,12 @@ + # XXX optimization, warnings etc. should be customizable. + self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', + compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', ++ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', ++ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', + linker_exe='gcc -Zomf -Zmt -Zcrtdll', +- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') ++ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', ++ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', ++ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') + + # want the gcc library statically linked (so that we don't have + # to distribute a version dependent on the compiler we have) +@@ -83,8 +87,12 @@ + raise CompileError, msg + else: # for other files use the C-compiler + try: +- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +--- lib-python/modified-2.7/distutils/sysconfig_cpython.py ++++ lib-python/modified-2.7/distutils/sysconfig_cpython.py +@@ -149,9 +149,12 @@ + varies across Unices and is stored in Python's Makefile. + """ + if compiler.compiler_type == "unix": +- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext) = \ +- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', +- 'CCSHARED', 'LDSHARED', 'SO') ++ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext) = \ ++ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', ++ 'LDCXXSHARED', 'SO') ++ ++ cflags = '' ++ cxxflags = '' + + if 'CC' in os.environ: + cc = os.environ['CC'] +@@ -159,28 +162,40 @@ + cxx = os.environ['CXX'] + if 'LDSHARED' in os.environ: + ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] + if 'CPP' in os.environ: + cpp = os.environ['CPP'] + else: + cpp = cc + " -E" # not always + if 'LDFLAGS' in os.environ: + ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] + if 'CFLAGS' in os.environ: +- cflags = opt + ' ' + os.environ['CFLAGS'] ++ cflags = os.environ['CFLAGS'] + ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] + if 'CPPFLAGS' in os.environ: + cpp = cpp + ' ' + os.environ['CPPFLAGS'] + cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] + ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] + + cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags + compiler.set_executables( + preprocessor=cpp, + compiler=cc_cmd, + compiler_so=cc_cmd + ' ' + ccshared, +- compiler_cxx=cxx, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, + linker_so=ldshared, +- linker_exe=cc) ++ linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx) + + compiler.shared_lib_extension = so_ext + +@@ -506,7 +521,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + flags = _config_vars[key] + flags = re.sub('-arch\s+\w+\s', ' ', flags) + flags = re.sub('-isysroot [^ \t]*', ' ', flags) +@@ -525,7 +540,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + + flags = _config_vars[key] + flags = re.sub('-arch\s+\w+\s', ' ', flags) +@@ -549,7 +564,7 @@ + for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', + # a number of derived variables. These need to be + # patched up as well. +- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): ++ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): + + flags = _config_vars[key] + flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) +--- lib-python/modified-2.7/distutils/sysconfig_pypy.py ++++ lib-python/modified-2.7/distutils/sysconfig_pypy.py +@@ -114,13 +114,56 @@ + optional C speedup components. + """ + if compiler.compiler_type == "unix": +- compiler.compiler_so.extend(['-fPIC', '-Wimplicit']) ++ cc = ' '.join(compiler.compiler) ++ cxx = ' '.join(compiler.compiler_cxx) ++ ldshared = ' '.join(compiler.linker_so) ++ ldcxxshared = ' '.join(compiler.linker_so_cxx) ++ ++ cflags = '' ++ cxxflags = '' ++ ccshared = '-fPIC' ++ ++ if 'CC' in os.environ: ++ cc = os.environ['CC'] ++ if 'CXX' in os.environ: ++ cxx = os.environ['CXX'] ++ if 'LDSHARED' in os.environ: ++ ldshared = os.environ['LDSHARED'] ++ if 'LDCXXSHARED' in os.environ: ++ ldcxxshared = os.environ['LDCXXSHARED'] ++ if 'CPP' in os.environ: ++ cpp = os.environ['CPP'] ++ else: ++ cpp = cc + " -E" # not always ++ if 'LDFLAGS' in os.environ: ++ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] ++ if 'CFLAGS' in os.environ: ++ cflags = os.environ['CFLAGS'] ++ ldshared = ldshared + ' ' + os.environ['CFLAGS'] ++ if 'CXXFLAGS' in os.environ: ++ cxxflags = os.environ['CXXFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] ++ if 'CPPFLAGS' in os.environ: ++ cpp = cpp + ' ' + os.environ['CPPFLAGS'] ++ cflags = cflags + ' ' + os.environ['CPPFLAGS'] ++ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] ++ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] ++ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] ++ ++ cc_cmd = cc + ' ' + cflags ++ cxx_cmd = cxx + ' ' + cxxflags ++ compiler.set_executables( ++ preprocessor=cpp, ++ compiler=cc_cmd, ++ compiler_so=cc_cmd + ' ' + ccshared, ++ compiler_cxx=cxx_cmd, ++ compiler_so_cxx=cxx_cmd + ' ' + ccshared, ++ linker_so=ldshared, ++ linker_exe=cc, ++ linker_so_cxx=ldcxxshared, ++ linker_exe_cxx=cxx) + compiler.shared_lib_extension = get_config_var('SO') +- if "CFLAGS" in os.environ: +- cflags = os.environ["CFLAGS"] +- compiler.compiler.append(cflags) +- compiler.compiler_so.append(cflags) +- compiler.linker_so.append(cflags) + + + from sysconfig_cpython import ( +--- lib-python/modified-2.7/distutils/unixccompiler.py ++++ lib-python/modified-2.7/distutils/unixccompiler.py +@@ -114,14 +114,17 @@ + # are pretty generic; they will probably have to be set by an outsider + # (eg. using information discovered by the sysconfig about building + # Python extensions). +- executables = {'preprocessor' : None, +- 'compiler' : ["cc"], +- 'compiler_so' : ["cc"], +- 'compiler_cxx' : ["cc"], +- 'linker_so' : ["cc", "-shared"], +- 'linker_exe' : ["cc"], +- 'archiver' : ["ar", "-cr"], +- 'ranlib' : None, ++ executables = {'preprocessor' : None, ++ 'compiler' : ["cc"], ++ 'compiler_so' : ["cc"], ++ 'compiler_cxx' : ["c++"], ++ 'compiler_so_cxx' : ["c++"], ++ 'linker_so' : ["cc", "-shared"], ++ 'linker_exe' : ["cc"], ++ 'linker_so_cxx' : ["c++", "-shared"], ++ 'linker_exe_cxx' : ["c++"], ++ 'archiver' : ["ar", "-cr"], ++ 'ranlib' : None, + } + + if sys.platform[:6] == "darwin": +@@ -186,11 +189,18 @@ + + def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): + compiler_so = self.compiler_so ++ compiler_so_cxx = self.compiler_so_cxx + if sys.platform == 'darwin': + compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) ++ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + ++ extra_postargs) + try: +- self.spawn(compiler_so + cc_args + [src, '-o', obj] + +- extra_postargs) ++ if self.detect_language(src) == 'c++': ++ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + ++ extra_postargs) ++ else: ++ self.spawn(compiler_so + cc_args + [src, '-o', obj] + ++ extra_postargs) + except DistutilsExecError, msg: + raise CompileError, msg + +@@ -247,23 +257,16 @@ + ld_args.extend(extra_postargs) + self.mkpath(os.path.dirname(output_filename)) + try: +- if target_desc == CCompiler.EXECUTABLE: +- linker = self.linker_exe[:] ++ if target_lang == "c++": ++ if target_desc == CCompiler.EXECUTABLE: ++ linker = self.linker_exe_cxx[:] ++ else: ++ linker = self.linker_so_cxx[:] + else: +- linker = self.linker_so[:] +- if target_lang == "c++" and self.compiler_cxx: +- # skip over environment variable settings if /usr/bin/env +- # is used to set up the linker's environment. +- # This is needed on OSX. Note: this assumes that the +- # normal and C++ compiler have the same environment +- # settings. +- i = 0 +- if os.path.basename(linker[0]) == "env": +- i = 1 +- while '=' in linker[i]: +- i = i + 1 +- +- linker[i] = self.compiler_cxx[i] ++ if target_desc == CCompiler.EXECUTABLE: ++ linker = self.linker_exe[:] ++ else: ++ linker = self.linker_so[:] + + if sys.platform == 'darwin': + linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy/files/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch b/dev-python/pypy/files/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch new file mode 100644 index 0000000..4422824 --- /dev/null +++ b/dev-python/pypy/files/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch @@ -0,0 +1,11 @@ +--- lib-python/modified-2.7/distutils/unixccompiler.py ++++ lib-python/modified-2.7/distutils/unixccompiler.py +@@ -297,7 +297,7 @@ + # this time, there's no way to determine this information from + # the configuration data stored in the Python installation, so + # we use this hack. +- compiler = os.path.basename(sysconfig.get_config_var("CC")) ++ compiler = os.path.basename(self.compiler[0]) + if sys.platform[:6] == "darwin": + # MacOSX's linker doesn't understand the -R flag at all + return "-L" + dir diff --git a/dev-python/pypy/files/pypy-1.9-no-static-hack.patch b/dev-python/pypy/files/pypy-1.9-no-static-hack.patch new file mode 100644 index 0000000..08cb42f --- /dev/null +++ b/dev-python/pypy/files/pypy-1.9-no-static-hack.patch @@ -0,0 +1,22 @@ +--- pypy/rlib/ropenssl.py 2012-06-07 21:24:48.000000000 +0900 ++++ pypy/rlib/ropenssl.py.new 2012-06-10 17:28:29.000000000 +0900 +@@ -19,18 +19,8 @@ if sys.platform == 'win32' and platform. + # so that openssl/ssl.h can repair this nonsense. + 'wincrypt.h'] + else: +- libraries = ['z'] ++ libraries = ['z', 'ssl', 'crypto'] + includes = [] +- if (sys.platform.startswith('linux') and +- os.path.exists('/usr/lib/libssl.a') and +- os.path.exists('/usr/lib/libcrypto.a')): +- # use static linking to avoid the infinite +- # amount of troubles due to symbol versions +- # and 0.9.8/1.0.0 +- link_files += ['/usr/lib/libssl.a', '/usr/lib/libcrypto.a'] +- testonly_libraries += ['ssl', 'crypto'] +- else: +- libraries += ['ssl', 'crypto'] + + includes += [ + 'openssl/ssl.h', diff --git a/dev-python/pypy/metadata.xml b/dev-python/pypy/metadata.xml new file mode 100644 index 0000000..3bc8fe3 --- /dev/null +++ b/dev-python/pypy/metadata.xml @@ -0,0 +1,15 @@ + + + python + + djc@gentoo.org + + + nirbheek@gentoo.org + + + Enable the JIT compiler + Enable sandboxing functionality + Use a shadow stack for finding GC roots + + diff --git a/dev-python/pypy/pypy-1.8-r1.ebuild b/dev-python/pypy/pypy-1.8-r1.ebuild new file mode 100644 index 0000000..d998d17 --- /dev/null +++ b/dev-python/pypy/pypy-1.8-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-1.8-r1.ebuild,v 1.3 2012/02/28 19:24:00 floppym Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs check-reqs python versionator + +DESCRIPTION="PyPy is a fast, compliant alternative implementation of the Python language" +HOMEPAGE="http://pypy.org/" +SRC_URI="https://bitbucket.org/pypy/pypy/get/release-${PV}.tar.bz2 -> ${P}.tar.bz2" +SLOTVER=$(get_version_component_range 1-2 ${PV}) + +LICENSE="MIT" +SLOT="${SLOTVER}" +PYTHON_ABI="2.7-pypy-${SLOTVER}" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 doc examples +jit ncurses sandbox shadowstack sqlite ssl +xml" + +RDEPEND=">=sys-libs/zlib-1.1.3 + virtual/libffi + virtual/libintl + dev-libs/expat + bzip2? ( app-arch/bzip2 ) + ncurses? ( sys-libs/ncurses ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND}" +PDEPEND="app-admin/python-updater" + +DOC="README LICENSE" + +pkg_pretend() { + CHECKREQS_MEMORY="2G" + use amd64 && CHECKREQS_MEMORY="4G" + check-reqs_pkg_pretend +} + +src_unpack() { + default + mv pypy-pypy-* "${S}" || die +} + +src_prepare() { + epatch "${FILESDIR}/${PV}-elf-metadata-26a8d3fc57a7.patch" + epatch "${FILESDIR}/${PV}-sext-instructions-02dc2f6160ee.patch" + epatch "${FILESDIR}/1.7-scripts-location.patch" + epatch "${FILESDIR}/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" + epatch "${FILESDIR}/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch" +} + +src_compile() { + local conf + if use jit; then + conf="-Ojit" + else + conf="-O2" + fi + if use shadowstack; then + conf+=" --gcrootfinder=shadowstack" + fi + if use sandbox; then + conf+=" --sandbox" + fi + + conf+=" ./pypy/translator/goal/targetpypystandalone.py" + # Avoid linking against libraries disabled by use flags + local optional_use=("bzip2" "ncurses" "ssl") + local optional_mod=("bz2" "_minimal_curses" "_ssl") + for ((i = 0; i < ${#optional_use[*]}; i++)); do + if use ${optional_use[$i]}; then + conf+=" --withmod-${optional_mod[$i]}" + else + conf+=" --withoutmod-${optional_mod[$i]}" + fi + done + + local translate_cmd="$(PYTHON -2) ./pypy/translator/goal/translate.py --batch $conf" + echo ${_BOLD}"${translate_cmd}"${_NORMAL} + ${translate_cmd} || die "compile error" +} + +src_install() { + local INSPATH="/usr/$(get_libdir)/pypy${SLOT}" + insinto ${INSPATH} + doins -r include lib_pypy lib-python pypy-c + fperms a+x ${INSPATH}/pypy-c + dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT} + + if ! use sqlite; then + rm -fr "${ED}${INSPATH}/lib-python/2.7/sqlite3" + rm -fr "${ED}${INSPATH}/lib-python/modified-2.7/sqlite3" + rm -f "${ED}${INSPATH}/lib_pypy/_sqlite3.py" + fi + + # Generate Grammar and PatternGrammar pickles. + PYTHONPATH="${ED}${INSPATH}/lib_pypy/__extensions__:${ED}${INSPATH}/lib_pypy:${ED}${INSPATH}/lib-python/modified-2.7:${ED}${INSPATH}/lib-python/2.7" "${ED}${INSPATH}/pypy-c" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" || die "Generation of Grammar and PatternGrammar pickles failed" +} + +src_test() { + $(PYTHON -2) ./pypy/test_all.py --pypy=./pypy-c lib-python +} diff --git a/dev-python/pypy/pypy-1.9.ebuild b/dev-python/pypy/pypy-1.9.ebuild new file mode 100644 index 0000000..e79e0e3 --- /dev/null +++ b/dev-python/pypy/pypy-1.9.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-1.9.ebuild,v 1.1 2012/06/08 16:52:09 djc Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs check-reqs python versionator + +DESCRIPTION="PyPy is a fast, compliant alternative implementation of the Python language" +HOMEPAGE="http://pypy.org/" +SRC_URI="https://bitbucket.org/pypy/pypy/get/release-${PV}.tar.bz2 -> ${P}.tar.bz2" +SLOTVER=$(get_version_component_range 1-2 ${PV}) + +LICENSE="MIT" +SLOT="${SLOTVER}" +PYTHON_ABI="2.7-pypy-${SLOTVER}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 doc examples +jit ncurses sandbox shadowstack sqlite ssl +xml" + +RDEPEND=">=sys-libs/zlib-1.1.3 + virtual/libffi + virtual/libintl + dev-libs/expat + bzip2? ( app-arch/bzip2 ) + ncurses? ( sys-libs/ncurses ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND}" +PDEPEND="app-admin/python-updater" + +DOC="README LICENSE" + +pkg_pretend() { + CHECKREQS_MEMORY="2G" + use amd64 && CHECKREQS_MEMORY="4G" + check-reqs_pkg_pretend +} + +src_unpack() { + default + mv pypy-pypy-* "${S}" || die +} + +src_prepare() { + epatch "${FILESDIR}/${PV}-no-bytecode-4151f9c406b6.patch" + epatch "${FILESDIR}/${PV}-scripts-location.patch" + epatch "${FILESDIR}/${PV}-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" + epatch "${FILESDIR}/${PV}-distutils-fix_handling_of_executables_and_flags.patch" + epatch "${FILESDIR}/${P}-no-static-hack.patch" +} + +src_compile() { + local conf + if use jit; then + conf="-Ojit" + else + conf="-O2" + fi + if use shadowstack; then + conf+=" --gcrootfinder=shadowstack" + fi + if use sandbox; then + conf+=" --sandbox" + fi + + conf+=" ./pypy/translator/goal/targetpypystandalone.py" + # Avoid linking against libraries disabled by use flags + local optional_use=("bzip2" "ncurses" "ssl") + local optional_mod=("bz2" "_minimal_curses" "_ssl") + for ((i = 0; i < ${#optional_use[*]}; i++)); do + if use ${optional_use[$i]}; then + conf+=" --withmod-${optional_mod[$i]}" + else + conf+=" --withoutmod-${optional_mod[$i]}" + fi + done + + local translate_cmd="$(PYTHON -2) ./pypy/translator/goal/translate.py --batch $conf" + echo ${_BOLD}"${translate_cmd}"${_NORMAL} + ${translate_cmd} || die "compile error" +} + +src_install() { + local INSPATH="/usr/$(get_libdir)/pypy${SLOT}" + insinto ${INSPATH} + doins -r include lib_pypy lib-python pypy-c + fperms a+x ${INSPATH}/pypy-c + dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT} + + if ! use sqlite; then + rm -fr "${ED}${INSPATH}/lib-python/2.7/sqlite3" + rm -fr "${ED}${INSPATH}/lib-python/modified-2.7/sqlite3" + rm -f "${ED}${INSPATH}/lib_pypy/_sqlite3.py" + fi + + # Generate Grammar and PatternGrammar pickles. + PYTHONPATH="${ED}${INSPATH}/lib_pypy/__extensions__:${ED}${INSPATH}/lib_pypy:${ED}${INSPATH}/lib-python/modified-2.7:${ED}${INSPATH}/lib-python/2.7" "${ED}${INSPATH}/pypy-c" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" || die "Generation of Grammar and PatternGrammar pickles failed" +} + +src_test() { + $(PYTHON -2) ./pypy/test_all.py --pypy=./pypy-c lib-python +} diff --git a/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch new file mode 100644 index 0000000..57f26b3 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch @@ -0,0 +1,20 @@ +Use /tmp for cache files since the user won't have +write permissions on ${DOCDIR}. + +diff -Naurp docs-orig/viewdocs.py docs/viewdocs.py +--- docs-orig/viewdocs.py 2008-09-28 15:59:16.000000000 -0600 ++++ docs/viewdocs.py 2009-01-18 00:16:27.000000000 -0600 +@@ -16,11 +16,11 @@ if not basePath: + + + # test for write access +-if os.access(basePath, os.W_OK): ++if os.access('/tmp', os.W_OK): + + # setup the args + args = ['', +- '--cache='+basePath, ++ '--cache=/tmp', + os.path.join(basePath, 'wx.zip'), + ] + diff --git a/dev-python/wxpython/files/wxpython-2.8-drop-editra.patch b/dev-python/wxpython/files/wxpython-2.8-drop-editra.patch new file mode 100644 index 0000000..bd1705c --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-drop-editra.patch @@ -0,0 +1,49 @@ +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/setup.py wxPython-src-2.8.9.2/wxPython/setup.py +--- wxPython-src-2.8.9.2-orig/wxPython/setup.py 2009-02-21 13:13:31.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/setup.py 2009-02-21 13:14:12.000000000 -0600 +@@ -878,12 +878,6 @@ WX_PKGLIST = [ 'wx', + 'wx.tools', + 'wx.tools.XRCed', + 'wx.tools.XRCed.plugins', +- 'wx.tools.Editra', +- 'wx.tools.Editra.src', +- 'wx.tools.Editra.src.autocomp', +- 'wx.tools.Editra.src.eclib', +- 'wx.tools.Editra.src.extern', +- 'wx.tools.Editra.src.syntax', + ] + + if not EGGing: +@@ -910,7 +904,6 @@ else: + opj('scripts/pywrap'), + opj('scripts/pywxrc'), + opj('scripts/xrced'), +- opj('scripts/editra'), + ] + + +@@ -922,16 +915,6 @@ DATA_FILES += find_data_files('wx/tools/ + DATA_FILES += find_data_files('wx/tools/XRCed/plugins', '*.crx') + DATA_FILES += find_data_files('wx/tools/XRCed/plugins/bitmaps', '*.png') + +-DATA_FILES += find_data_files('wx/tools/Editra/docs', '*.txt') +-DATA_FILES += find_data_files('wx/tools/Editra/locale', '*.mo') +-DATA_FILES += find_data_files('wx/tools/Editra/pixmaps', +- '*.png', '*.icns', '*.ico', 'README', 'AUTHORS', 'COPYING') +-DATA_FILES += find_data_files('wx/tools/Editra/plugins', '*.egg') +-DATA_FILES += find_data_files('wx/tools/Editra/src', 'README') +-DATA_FILES += find_data_files('wx/tools/Editra/styles', '*.ess') +-DATA_FILES += find_data_files('wx/tools/Editra/tests/syntax', '*') +-DATA_FILES += find_data_files('wx/tools/Editra', '[A-Z]*', recursive=False) +- + + ## import pprint + ## pprint.pprint(DATA_FILES) +@@ -981,7 +964,6 @@ if EGGing: + 'pyshell = wx.py.PyShell:main', + 'pywrap = wx.py.PyWrap:main', + 'helpviewer = wx.tools.helpviewer:main', +- 'editra = wx.tools.Editra.launcher:main', + 'xrced = wx.tools.XRCed.xrced:main', + ], + }, diff --git a/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch b/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch new file mode 100644 index 0000000..9782919 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch @@ -0,0 +1,10 @@ +--- demo/demo.org 2005-04-28 03:00:13.431583384 +0000 ++++ demo/demo.py 2005-04-28 03:00:31.886777768 +0000 +@@ -1,4 +1,7 @@ + #!/usr/bin/env python + ++import wxversion ++wxversion.select("2.8") ++ + import Main + Main.main() diff --git a/dev-python/wxpython/files/wxpython-2.8.12-drop-editra.patch b/dev-python/wxpython/files/wxpython-2.8.12-drop-editra.patch new file mode 100644 index 0000000..4b49f30 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8.12-drop-editra.patch @@ -0,0 +1,55 @@ +--- a/wxPython/setup.py ++++ b/wxPython/setup.py +@@ -887,20 +887,6 @@ WX_PKGLIST = [ 'wx', + 'wx.tools', + 'wx.tools.XRCed', + 'wx.tools.XRCed.plugins', +- 'wx.tools.Editra', +- 'wx.tools.Editra.src', +- 'wx.tools.Editra.src.autocomp', +- 'wx.tools.Editra.src.eclib', +- 'wx.tools.Editra.src.ebmlib', +- 'wx.tools.Editra.src.extern', +- 'wx.tools.Editra.src.extern.aui', +- 'wx.tools.Editra.src.extern.dexml', +- 'wx.tools.Editra.src.extern.pygments', +- 'wx.tools.Editra.src.extern.pygments.filters', +- 'wx.tools.Editra.src.extern.pygments.formatters', +- 'wx.tools.Editra.src.extern.pygments.lexers', +- 'wx.tools.Editra.src.extern.pygments.styles', +- 'wx.tools.Editra.src.syntax', + ] + + if not EGGing: +@@ -927,7 +913,6 @@ else: + opj('scripts/pywrap'), + opj('scripts/pywxrc'), + opj('scripts/xrced'), +- opj('scripts/editra'), + ] + if os.name == 'nt': + SCRIPTS.append( opj('scripts/genaxmodule') ) +@@ -941,15 +926,6 @@ DATA_FILES += find_data_files('wx/tools/XRCed', '*.txt', '*.xrc', '*.htb') + DATA_FILES += find_data_files('wx/tools/XRCed/plugins', '*.crx') + DATA_FILES += find_data_files('wx/tools/XRCed/plugins/bitmaps', '*.png') + +-DATA_FILES += find_data_files('wx/tools/Editra/docs', '*.txt') +-DATA_FILES += find_data_files('wx/tools/Editra/locale', '*.mo') +-DATA_FILES += find_data_files('wx/tools/Editra/pixmaps', +- '*.png', '*.icns', '*.ico', 'README', 'AUTHORS', 'COPYING') +-DATA_FILES += find_data_files('wx/tools/Editra/plugins', '*.egg') +-DATA_FILES += find_data_files('wx/tools/Editra/src', 'README') +-DATA_FILES += find_data_files('wx/tools/Editra/styles', '*.ess') +-DATA_FILES += find_data_files('wx/tools/Editra/tests/syntax', '*') +-DATA_FILES += find_data_files('wx/tools/Editra', '[A-Z]*', recursive=False) + + + ## import pprint +@@ -1000,7 +976,6 @@ if EGGing: + 'pyshell = wx.py.PyShell:main', + 'pywrap = wx.py.PyWrap:main', + 'helpviewer = wx.tools.helpviewer:main', +- 'editra = wx.tools.Editra.launcher:main', + 'xrced = wx.tools.XRCed.xrced:main', + ], + }, diff --git a/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch b/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch new file mode 100644 index 0000000..6a45678 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch @@ -0,0 +1,191 @@ +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyAlaMode.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyAlaMode.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyAlaMode.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyAlaMode.desktop 2009-02-21 15:04:55.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyAlaMode ++Name=PyAlaMode (2.8) + Comment=GUI Python Shell with Filling and editor windows +-Exec=pyalamode +-Icon=PyCrust.png ++Exec=pyalamode-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyCrust.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyCrust.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyCrust.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyCrust.desktop 2009-02-21 15:06:42.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyCrust ++Name=PyCrust (2.8) + Comment=GUI Python Shell with Filling +-Exec=pycrust +-Icon=PyCrust.png ++Exec=pycrust-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyShell.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyShell.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyShell.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyShell.desktop 2009-02-21 15:08:19.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyShell ++Name=PyShell (2.8) + Comment=GUI Python Shell +-Exec=pyshell +-Icon=PyCrust.png ++Exec=pyshell-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/XRCed.desktop wxPython-src-2.8.9.2/wxPython/distrib/XRCed.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/XRCed.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/XRCed.desktop 2009-02-21 15:09:22.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=XRCed ++Name=XRCed (2.8) + Comment=wxPython XRC resource editor +-Exec=xrced +-Icon=XRCed.png ++Exec=xrced-2.8 ++Icon=/usr/share/pixmaps/XRCed.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/editra wxPython-src-2.8.9.2/wxPython/scripts/editra +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/editra 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/editra 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.Editra.launcher import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/genaxmodule wxPython-src-2.8.9.2/wxPython/scripts/genaxmodule +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/genaxmodule 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/genaxmodule 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.genaxmodule import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/helpviewer wxPython-src-2.8.9.2/wxPython/scripts/helpviewer +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/helpviewer 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/helpviewer 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.helpviewer import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2png wxPython-src-2.8.9.2/wxPython/scripts/img2png +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2png 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2png 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2png import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2py wxPython-src-2.8.9.2/wxPython/scripts/img2py +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2py 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2py 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2py import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2xpm wxPython-src-2.8.9.2/wxPython/scripts/img2xpm +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2xpm 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2xpm 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2xpm import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalacarte wxPython-src-2.8.9.2/wxPython/scripts/pyalacarte +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalacarte 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyalacarte 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyAlaCarte import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalamode wxPython-src-2.8.9.2/wxPython/scripts/pyalamode +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalamode 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyalamode 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyAlaMode import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pycrust wxPython-src-2.8.9.2/wxPython/scripts/pycrust +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pycrust 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pycrust 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyCrust import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyshell wxPython-src-2.8.9.2/wxPython/scripts/pyshell +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyshell 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyshell 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyShell import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pywrap wxPython-src-2.8.9.2/wxPython/scripts/pywrap +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pywrap 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pywrap 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyWrap import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pywxrc wxPython-src-2.8.9.2/wxPython/scripts/pywxrc +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pywxrc 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pywxrc 2009-02-21 15:09:58.000000000 -0600 +@@ -1,5 +1,7 @@ + #!/usr/bin/env python + ++import wxversion ++wxversion.select("2.8") + from wx.tools.pywxrc import main + main() + +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/xrced wxPython-src-2.8.9.2/wxPython/scripts/xrced +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/xrced 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/xrced 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.XRCed.xrced import main + main() diff --git a/dev-python/wxpython/wxpython-2.8.10.1.ebuild b/dev-python/wxpython/wxpython-2.8.10.1.ebuild new file mode 100644 index 0000000..b6d7e75 --- /dev/null +++ b/dev-python/wxpython/wxpython-2.8.10.1.ebuild @@ -0,0 +1,193 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.10.1.ebuild,v 1.17 2010/12/12 07:30:02 dirtyepic Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +WX_GTK_VER="2.8" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives eutils fdo-mime flag-o-matic multilib python wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 + doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-newdocs-2.8.9.2.tar.bz2 ) + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="2.8" +KEYWORDS="~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="aqua cairo doc examples opengl" + +RDEPEND=" + dev-python/setuptools + aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,aqua=] ) + !aqua? ( >=x11-libs/wxGTK-${PV}:2.8[X,opengl?] ) + >=x11-libs/gtk+-2.4[aqua=] + >=x11-libs/pango-1.2 + >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg + media-libs/tiff + cairo? ( >=dev-python/pycairo-1.8.4 ) + opengl? ( >=dev-python/pyopengl-2.0.0.44 ) + aqua? ( >=dev-lang/python-2.6[aqua?] )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + epatch "${FILESDIR}"/${PN}-2.8.9-wxversion-scripts.patch + # drop editra - we have it as a separate package now + epatch "${FILESDIR}"/${PN}-${SLOT}-drop-editra.patch + + if use doc; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-cache-writable.patch + fi + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + python_copy_sources +} + +src_configure() { + need-wxwidgets unicode + + append-flags -fno-strict-aliasing + + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" +} + +src_compile() { + building() { + "$(PYTHON)" setup.py ${mypyconf} build + } + python_execute_function -s building +} + +src_install() { + local mypyconf + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" + + installation() { + "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib "${EPREFIX}"$(python_get_sitedir) + } + python_execute_function -s installation + + # Collision protection. + for file in "${ED}"/usr/bin/*; do + mv "${file}" "${file}-${SLOT}" + done + rename_files() { + for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } + python_execute_function -q rename_files + + dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + insinto /usr/share/applications + doins "${S}"/distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop + insinto /usr/share/pixmaps + newins "${S}"/wx/py/PyCrust_32.png PyCrust.png + newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed.png + + if use doc; then + dodir /usr/share/doc/${PF}/docs + cp -R "${DOC_S}"/docs/* "${ED}"usr/share/doc/${PF}/docs/ + # For some reason 2.8.10.1 api docs are not available, so use 2.8.9.2's + cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${ED}"usr/share/doc/${PF}/docs/ + fi + + if use examples; then + dodir /usr/share/doc/${PF}/demo + dodir /usr/share/doc/${PF}/samples + cp -R "${DOC_S}"/demo/* "${ED}"/usr/share/doc/${PF}/demo/ + cp -R "${DOC_S}"/samples/* "${ED}"/usr/share/doc/${PF}/samples/ + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + python_mod_optimize wx-${SLOT}-gtk2-unicode wxversion.py + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "2.6 or 2.8 with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + elog + if use doc; then + elog "To access the general wxWidgets documentation, run" + elog "/usr/share/doc/${PF}/docs/viewdocs.py" + elog + elog "wxPython documentation is available by pointing a browser" + elog "at /usr/share/doc/${PF}/docs/api/index.html" + elog + fi + if use examples; then + elog "The demo.py app which contains hundreds of demo modules" + elog "with documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + elog + elog "Many more example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + fi + echo + ewarn "Editra is no longer packaged with wxpython in Gentoo." + ewarn "You can find it in the tree as app-editors/editra" + echo +} + +pkg_postrm() { + python_mod_cleanup wx-${SLOT}-gtk2-unicode wxversion.py + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} diff --git a/dev-python/wxpython/wxpython-2.8.11.0.ebuild b/dev-python/wxpython/wxpython-2.8.11.0.ebuild new file mode 100644 index 0000000..61d62dc --- /dev/null +++ b/dev-python/wxpython/wxpython-2.8.11.0.ebuild @@ -0,0 +1,193 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.11.0.ebuild,v 1.3 2010/12/12 07:30:02 dirtyepic Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +WX_GTK_VER="2.8" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives eutils fdo-mime flag-o-matic multilib python wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 + doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-newdocs-2.8.9.2.tar.bz2 ) + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="2.8" +KEYWORDS="~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="aqua cairo doc examples opengl" + +RDEPEND=" + dev-python/setuptools + aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,aqua=] ) + !aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,X] ) + >=x11-libs/gtk+-2.4[aqua=] + >=x11-libs/pango-1.2 + >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg + media-libs/tiff + cairo? ( >=dev-python/pycairo-1.8.4 ) + opengl? ( >=dev-python/pyopengl-2.0.0.44 ) + aqua? ( >=dev-lang/python-2.6[aqua?] )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + epatch "${FILESDIR}"/${PN}-2.8.9-wxversion-scripts.patch + # drop editra - we have it as a separate package now + epatch "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch + + if use doc; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-cache-writable.patch + fi + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + python_copy_sources +} + +src_configure() { + need-wxwidgets unicode + + append-flags -fno-strict-aliasing + + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" +} + +src_compile() { + building() { + "$(PYTHON)" setup.py ${mypyconf} build + } + python_execute_function -s building +} + +src_install() { + local mypyconf + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" + + installation() { + "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib "${EPREFIX}"$(python_get_sitedir) + } + python_execute_function -s installation + + # Collision protection. + for file in "${ED}"/usr/bin/*; do + mv "${file}" "${file}-${SLOT}" + done + rename_files() { + for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } + python_execute_function -q rename_files + + dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + insinto /usr/share/applications + doins "${S}"/distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop + insinto /usr/share/pixmaps + newins "${S}"/wx/py/PyCrust_32.png PyCrust.png + newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed.png + + if use doc; then + dodir /usr/share/doc/${PF}/docs + cp -R "${DOC_S}"/docs/* "${ED}"usr/share/doc/${PF}/docs/ + # For some reason newer API docs aren't available so use 2.8.9.2's + cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${ED}"usr/share/doc/${PF}/docs/ + fi + + if use examples; then + dodir /usr/share/doc/${PF}/demo + dodir /usr/share/doc/${PF}/samples + cp -R "${DOC_S}"/demo/* "${ED}"/usr/share/doc/${PF}/demo/ + cp -R "${DOC_S}"/samples/* "${ED}"/usr/share/doc/${PF}/samples/ + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + python_mod_optimize wx-${SLOT}-gtk2-unicode wxversion.py + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "2.6 or 2.8 with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + elog + if use doc; then + elog "To access the general wxWidgets documentation, run" + elog "/usr/share/doc/${PF}/docs/viewdocs.py" + elog + elog "wxPython documentation is available by pointing a browser" + elog "at /usr/share/doc/${PF}/docs/api/index.html" + elog + fi + if use examples; then + elog "The demo.py app which contains hundreds of demo modules" + elog "with documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + elog + elog "Many more example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + fi + echo + ewarn "Editra is no longer packaged with wxpython in Gentoo." + ewarn "You can find it in the tree as app-editors/editra" + echo +} + +pkg_postrm() { + python_mod_cleanup wx-${SLOT}-gtk2-unicode wxversion.py + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} diff --git a/dev-python/wxpython/wxpython-2.8.12.1.ebuild b/dev-python/wxpython/wxpython-2.8.12.1.ebuild new file mode 100644 index 0000000..8526b3e --- /dev/null +++ b/dev-python/wxpython/wxpython-2.8.12.1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.12.1.ebuild,v 1.15 2012/05/29 14:46:19 aballier Exp $ + +EAPI="4" +PYTHON_DEPEND="2" +WX_GTK_VER="2.8" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" + +inherit alternatives distutils eutils fdo-mime wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 + doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-newdocs-2.8.9.2.tar.bz2 ) + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="2.8" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="aqua cairo doc examples opengl" + +RDEPEND=" + aqua? ( >=dev-lang/python-2.6[aqua] + >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,aqua] ) + !aqua? ( >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X] ) + dev-libs/glib:2 + dev-python/setuptools + media-libs/libpng:0 + media-libs/tiff:0 + virtual/jpeg + x11-libs/gtk+:2[aqua=] + x11-libs/pango[X] + cairo? ( >=dev-python/pycairo-1.8.4 ) + opengl? ( dev-python/pyopengl )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") +PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") + +PYTHON_MODNAME="wx-${SLOT}-gtk2-unicode wxversion.py" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + epatch "${FILESDIR}"/${PN}-2.8.9-wxversion-scripts.patch + # drop editra - we have it as a separate package now + epatch "${FILESDIR}"/${PN}-2.8.12-drop-editra.patch + + if use doc; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-cache-writable.patch + [[ -e samples/embedded/embedded ]] && rm -f samples/embedded/embedded + fi + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + python_copy_sources +} + +src_configure() { + need-wxwidgets unicode + + DISTUTILS_GLOBAL_OPTIONS=( + "* WX_CONFIG=${WX_CONFIG}" + "* WXPORT=$(use aqua && echo mac || echo gtk2)" + "* UNICODE=1" + "* BUILD_GLCANVAS=$(use opengl && echo 1 || echo 0)" + ) +} + +distutils_src_install_post_hook() { + # Collision protection. + local file + for file in "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/bin/"*; do + mv "${file}" "${file}-${SLOT}" + done +} + +src_install() { + local docdir file + + distutils_src_install + + # Collision protection. + rename_files() { + for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } + python_execute_function -q rename_files + + dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + insinto /usr/share/applications + doins distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop + insinto /usr/share/pixmaps + newins wx/py/PyCrust_32.png PyCrust.png + newins wx/tools/XRCed/XRCed_32.png XRCed.png + + if use doc; then + dodoc -r "${DOC_S}"/docs + # For some reason newer API docs aren't available so use 2.8.9.2's + dodoc -r "${WORKDIR}"/wxPython-2.8.9.2/docs + fi + + if use examples; then + dodoc -r "${DOC_S}"/demo + dodoc -r "${DOC_S}"/samples + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + distutils_pkg_postinst + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "2.6 or 2.8 with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + echo + if use doc; then + elog "To access the general wxWidgets documentation, run" + elog "/usr/share/doc/${PF}/docs/viewdocs.py" + elog + elog "wxPython documentation is available by pointing a browser" + elog "at /usr/share/doc/${PF}/docs/api/index.html" + fi + if use examples; then + elog + elog "The demo.py app which contains hundreds of demo modules" + elog "with documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + elog + elog "Many more example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + echo + fi + elog "Editra is not packaged with wxpython in Gentoo." + elog "You can find it in the tree as app-editors/editra" + echo +} + +pkg_postrm() { + distutils_pkg_postrm + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} diff --git a/dev-python/wxpython/wxpython-2.9.1.1.ebuild b/dev-python/wxpython/wxpython-2.9.1.1.ebuild new file mode 100644 index 0000000..77d584d --- /dev/null +++ b/dev-python/wxpython/wxpython-2.9.1.1.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.9.1.1.ebuild,v 1.1 2011/01/23 01:12:36 dirtyepic Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +WX_GTK_VER="2.9" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives eutils fdo-mime flag-o-matic multilib python wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="2.9" +KEYWORDS="~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="aqua cairo examples opengl" + +RDEPEND=" + dev-python/setuptools + aqua? ( >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,aqua=] ) + !aqua? ( >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X] ) + >=x11-libs/gtk+-2.4[aqua=] + >=x11-libs/pango-1.2 + >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg + media-libs/tiff + cairo? ( >=dev-python/pycairo-1.8.4 ) + opengl? ( >=dev-python/pyopengl-2.0.0.44 ) + aqua? ( >=dev-lang/python-2.6[aqua?] )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-scripts.patch + # drop editra - we have it as a separate package now + epatch "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + python_copy_sources +} + +src_configure() { + need-wxwidgets unicode + + append-flags -fno-strict-aliasing + + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" +} + +src_compile() { + building() { + "$(PYTHON)" setup.py ${mypyconf} build + } + python_execute_function -s building +} + +src_install() { + local mypyconf + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} UNICODE=1" + + use aqua \ + && mypyconf="${mypyconf} WXPORT=mac" \ + || mypyconf="${mypyconf} WXPORT=gtk2" + + installation() { + "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib "${EPREFIX}"$(python_get_sitedir) + } + python_execute_function -s installation + + # this should be temporary + dobin "${S}"/scripts/pyslices || die + dobin "${S}"/scripts/pysliceshell || die + + # Collision protection. + for file in "${ED}"/usr/bin/*; do + mv "${file}" "${file}-${SLOT}" || die + done + rename_files() { + for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } + python_execute_function -q rename_files + + dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + insinto /usr/share/applications + for x in {Py{AlaMode,Crust,Shell,Slices{,Shell}},XRCed}; do + newins "${S}"/distrib/${x}.desktop ${x}-${SLOT}.desktop || die + done + insinto /usr/share/pixmaps + newins "${S}"/wx/py/PyCrust_32.png PyCrust-${SLOT}.png || die + newins "${S}"/wx/py/PySlices_32.png PySlices-${SLOT}.png || die + newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed-${SLOT}.png || die + + if use examples; then + dodir /usr/share/doc/${PF}/demo || die + dodir /usr/share/doc/${PF}/samples || die + cp -R "${DOC_S}"/demo/* "${ED}"/usr/share/doc/${PF}/demo/ || die + cp -R "${DOC_S}"/samples/* "${ED}"/usr/share/doc/${PF}/samples/ || die + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + python_mod_optimize wx-2.9.1-gtk2 wxversion.py + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "2.6 or 2.8 with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + elog + if use examples; then + elog "The demo.py app which contains hundreds of demo modules" + elog "with documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + elog + elog "Many more example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + fi + echo + elog "Editra is no longer packaged with wxpython in Gentoo." + elog "You can find it in the tree as app-editors/editra" + echo +} + +pkg_postrm() { + python_mod_cleanup wx-2.9.1-gtk2 wxversion.py + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} diff --git a/dev-python/wxpython/wxpython.patch b/dev-python/wxpython/wxpython.patch new file mode 100644 index 0000000..bb73259 --- /dev/null +++ b/dev-python/wxpython/wxpython.patch @@ -0,0 +1,120 @@ +--- wxpython-2.8.11.0.ebuild.old 2012-05-07 02:31:12.000000000 +0900 ++++ wxpython-2.8.11.0.ebuild 2012-06-08 21:10:18.396556742 +0900 +@@ -1,6 +1,6 @@ +-# Copyright 1999-2012 Gentoo Foundation ++# Copyright 1999-2010 Gentoo Foundation + # Distributed under the terms of the GNU General Public License v2 +-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.11.0.ebuild,v 1.16 2012/05/06 17:14:35 jlec Exp $ ++# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.11.0.ebuild,v 1.3 2010/12/12 07:30:02 dirtyepic Exp $ + + EAPI="2" + PYTHON_DEPEND="2" +@@ -20,25 +20,27 @@ SRC_URI="mirror://sourceforge/wxpython/$ + + LICENSE="wxWinLL-3" + SLOT="2.8" +-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" +-IUSE="cairo doc examples opengl" ++KEYWORDS="~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" ++IUSE="aqua cairo doc examples opengl" + + RDEPEND=" + dev-python/setuptools +- >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,X] +- >=x11-libs/gtk+-2.4:2 ++ aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,aqua=] ) ++ !aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,X] ) ++ >=x11-libs/gtk+-2.4[aqua=] + >=x11-libs/pango-1.2 +- dev-libs/glib:2 ++ >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg + media-libs/tiff + cairo? ( >=dev-python/pycairo-1.8.4 ) +- opengl? ( >=dev-python/pyopengl-2.0.0.44 )" ++ opengl? ( >=dev-python/pyopengl-2.0.0.44 ) ++ aqua? ( >=dev-lang/python-2.6[aqua?] )" + + DEPEND="${RDEPEND} +- virtual/pkgconfig" ++ dev-util/pkgconfig" + +-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" ++RESTRICT_PYTHON_ABIS="3.*" + + S="${WORKDIR}/${MY_P}/wxPython" + DOC_S="${WORKDIR}/wxPython-${PV}" +@@ -61,9 +63,6 @@ src_prepare() { + fi + + python_copy_sources +- +- # Workaround, buildsystem uses CFLAGS as CXXFLAGS +- export CFLAGS="${CXXFLAGS}" + } + + src_configure() { +@@ -76,7 +75,11 @@ src_configure() { + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" +- mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" ++ mypyconf="${mypyconf} UNICODE=1" ++ ++ use aqua \ ++ && mypyconf="${mypyconf} WXPORT=mac" \ ++ || mypyconf="${mypyconf} WXPORT=gtk2" + } + + src_compile() { +@@ -94,19 +97,23 @@ src_install() { + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + +- mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" ++ mypyconf="${mypyconf} UNICODE=1" ++ ++ use aqua \ ++ && mypyconf="${mypyconf} WXPORT=mac" \ ++ || mypyconf="${mypyconf} WXPORT=gtk2" + + installation() { +- "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib $(python_get_sitedir) ++ "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib "${EPREFIX}"$(python_get_sitedir) + } + python_execute_function -s installation + + # Collision protection. +- for file in "${D}"/usr/bin/*; do ++ for file in "${ED}"/usr/bin/*; do + mv "${file}" "${file}-${SLOT}" + done + rename_files() { +- for file in "${D}$(python_get_sitedir)/"wx{version.*,.pth}; do ++ for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } +@@ -122,17 +129,16 @@ src_install() { + + if use doc; then + dodir /usr/share/doc/${PF}/docs +- cp -R "${DOC_S}"/docs/* "${D}"usr/share/doc/${PF}/docs/ ++ cp -R "${DOC_S}"/docs/* "${ED}"usr/share/doc/${PF}/docs/ + # For some reason newer API docs aren't available so use 2.8.9.2's +- cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${D}"usr/share/doc/${PF}/docs/ ++ cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${ED}"usr/share/doc/${PF}/docs/ + fi + + if use examples; then + dodir /usr/share/doc/${PF}/demo + dodir /usr/share/doc/${PF}/samples +- cp -R "${DOC_S}"/demo/* "${D}"/usr/share/doc/${PF}/demo/ +- cp -R "${DOC_S}"/samples/* "${D}"/usr/share/doc/${PF}/samples/ +- rm -f "${D}"usr/share/doc/${PF}/samples/embedded/embedded ++ cp -R "${DOC_S}"/demo/* "${ED}"/usr/share/doc/${PF}/demo/ ++ cp -R "${DOC_S}"/samples/* "${ED}"/usr/share/doc/${PF}/samples/ + fi + } + diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest new file mode 100644 index 0000000..0b1a7fd --- /dev/null +++ b/media-libs/mesa/Manifest @@ -0,0 +1,5 @@ +AUX eselect-mesa.conf.7.11 1670 RMD160 74d85b0481f36a8e2b2e09245d49d09671500946 SHA1 5c5f468feaae946e5901698d1c0ffe8fc480b783 SHA256 448d08e97e931563aa2e33f22feeaf911caf9a2eb9fd7b446485311d1dcc1225 +AUX glx_ro_text_segm.patch 731 RMD160 6d2bd85591d6349fa45a5ee16c724859c640e902 SHA1 3015aa2bd139bcdf2c3fae61f460f0c5aaeb1df7 SHA256 e36af5b530fdbe2b0e62a035bf4bf4baef267c3dc56133d1a58e56899ebffc5c +AUX mesa-glibc-2.3.5-initstate_r.patch 851 RMD160 7719973b9e528aad9be5db555d083a5c50af58dc SHA1 6df8b389f1a70b14f4a4582be6582e07d2799c25 SHA256 b5598436ea525e339d837f740300c35f232967384cad8bb81e7a2ec4990ee734 +DIST MesaLib-7.11.1.tar.bz2 6255382 RMD160 4d63a0485eaa26d61f08249b209245eed16b11bb SHA1 226ce14d3adf8fe5a6d98f785bb5f63d2a8656da SHA256 229a8b38502147fbbb99665ed9b892d194ebcb5f5875a1701a54acea94a9c8c9 +EBUILD mesa-7.11.1.ebuild 10057 RMD160 28bdb30ef5d7468a08af1e5edb9e86f61400972d SHA1 c61fed5bf32845a690f22a5599f22dc266ddeba6 SHA256 8591c63ed4ed9b43c459b73b88a21d7a8ac42f8bc1c93067d38cc88f39d1456d diff --git a/media-libs/mesa/files/eselect-mesa.conf.7.11 b/media-libs/mesa/files/eselect-mesa.conf.7.11 new file mode 100644 index 0000000..3a1b196 --- /dev/null +++ b/media-libs/mesa/files/eselect-mesa.conf.7.11 @@ -0,0 +1,39 @@ +# mesa classic/gallium implementations in this release + +# Syntax description: +# * MESA_IMPLEMENTATIONS contains a space-delimited list of switchable +# classic/gallium implementations. +# * MESA_DRIVERS is an associative array, for each member "foo" of +# MESA_IMPLEMENTATIONS it contains the following elements: +# foo,description - Human-readable description of the driver +# foo,classicdriver - Filename of the classic driver +# foo,galliumdriver - Filename of the gallium driver +# foo,default - which of classic or gallium is chosen by default + +MESA_IMPLEMENTATIONS="i915 i965 r300 r600 sw" +declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not associative." + +MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)" +MESA_DRIVERS[i915,classicdriver]="i915_dri.so" +MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so" +MESA_DRIVERS[i915,default]="classic" + +MESA_DRIVERS[i965,description]="i965 (Intel 965, G/Q3x, G/Q4x)" +MESA_DRIVERS[i965,classicdriver]="i965_dri.so" +MESA_DRIVERS[i965,galliumdriver]="i965g_dri.so" +MESA_DRIVERS[i965,default]="classic" + +MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)" +MESA_DRIVERS[r300,classicdriver]="r300_dri.so" +MESA_DRIVERS[r300,galliumdriver]="r300g_dri.so" +MESA_DRIVERS[r300,default]="gallium" + +MESA_DRIVERS[r600,description]="r600 (Radeon R600-R700, Evergreen, Northern Islands)" +MESA_DRIVERS[r600,classicdriver]="r600_dri.so" +MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so" +MESA_DRIVERS[r600,default]="gallium" + +MESA_DRIVERS[sw,description]="sw (Software renderer)" +MESA_DRIVERS[sw,classicdriver]="swrast_dri.so" +MESA_DRIVERS[sw,galliumdriver]="swrastg_dri.so" +MESA_DRIVERS[sw,default]="gallium" diff --git a/media-libs/mesa/files/glx_ro_text_segm.patch b/media-libs/mesa/files/glx_ro_text_segm.patch new file mode 100644 index 0000000..495b7dc --- /dev/null +++ b/media-libs/mesa/files/glx_ro_text_segm.patch @@ -0,0 +1,28 @@ +2011-02-09 Jeremy Huddleston @])], ++ [enable_glx_rts="$enableval"], ++ [enable_glx_rts=no]) ++if test "x$enable_glx_rts" = xyes; then ++ DEFINES="$DEFINES -DGLX_X86_READONLY_TEXT" ++else ++ enable_glx_rts=no ++fi ++ ++ + dnl + dnl libGL configuration per driver + dnl diff --git a/media-libs/mesa/files/mesa-glibc-2.3.5-initstate_r.patch b/media-libs/mesa/files/mesa-glibc-2.3.5-initstate_r.patch new file mode 100644 index 0000000..1252965 --- /dev/null +++ b/media-libs/mesa/files/mesa-glibc-2.3.5-initstate_r.patch @@ -0,0 +1,25 @@ +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323811 +--- src/glx/glxhash.c.old 2011-11-29 23:51:43.000000000 +0900 ++++ src/glx/glxhash.c 2011-11-29 23:52:23.000000000 +0900 +@@ -88,21 +88,10 @@ + + #define HASH_ALLOC malloc + #define HASH_FREE free +-#ifndef __GLIBC__ + #define HASH_RANDOM_DECL char *ps, rs[256] + #define HASH_RANDOM_INIT(seed) ps = initstate(seed, rs, sizeof(rs)) + #define HASH_RANDOM random() + #define HASH_RANDOM_DESTROY setstate(ps) +-#else +-#define HASH_RANDOM_DECL struct random_data rd; int32_t rv; char rs[256] +-#define HASH_RANDOM_INIT(seed) \ +- do { \ +- (void) memset(&rd, 0, sizeof(rd)); \ +- (void) initstate_r(seed, rs, sizeof(rs), &rd); \ +- } while(0) +-#define HASH_RANDOM ((void) random_r(&rd, &rv), rv) +-#define HASH_RANDOM_DESTROY +-#endif + + typedef struct __glxHashBucket + { diff --git a/media-libs/mesa/mesa-7.11.1.ebuild b/media-libs/mesa/mesa-7.11.1.ebuild new file mode 100644 index 0000000..7446587 --- /dev/null +++ b/media-libs/mesa/mesa-7.11.1.ebuild @@ -0,0 +1,370 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.11.1.ebuild,v 1.1 2011/11/18 16:16:49 chithanh Exp $ + +EAPI=3 + +EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-2" + EXPERIMENTAL="true" +fi + +inherit base autotools multilib flag-o-matic python toolchain-funcs ${GIT_ECLASS} + +OPENGL_DIR="xorg-x11" + +MY_PN="${PN/m/M}" +MY_P="${MY_PN}-${PV/_/-}" +MY_SRC_P="${MY_PN}Lib-${PV/_/-}" + +FOLDER="${PV/_rc*/}" + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="http://mesa3d.sourceforge.net/" + +#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2" +if [[ $PV = 9999* ]]; then + SRC_URI="${SRC_PATCHES}" +else + SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2 + ${SRC_PATCHES}" +fi + +LICENSE="MIT LGPL-3 SGI-B-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + +INTEL_CARDS="intel" +RADEON_CARDS="radeon" +VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} mach64 mga nouveau r128 savage sis vmware tdfx via" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + bindist +classic debug +egl +gallium gbm gles +llvm motif +nptl openvg osmesa pic pax_kernel selinux shared-dricore +shared-glapi kernel_FreeBSD" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.24" +# not a runtime dependency of this package, but dependency of packages which +# depend on this package, bug #342393 +EXTERNAL_DEPEND=" + >=x11-proto/dri2proto-2.2 + >=x11-proto/glproto-1.4.11 +" +# keep correct libdrm and dri2proto dep +# keep blocks in rdepend for binpkg +RDEPEND="${EXTERNAL_DEPEND} + !=x11-libs/libX11-1.3.99.901 + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXxf86vm + motif? ( x11-libs/openmotif ) + gallium? ( + llvm? ( >=sys-devel/llvm-2.8 ) + ) + ${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?] +" +for card in ${INTEL_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + " +done + +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done + +DEPEND="${RDEPEND} + =dev-lang/python-2* + dev-libs/libxml2[python] + dev-util/pkgconfig + sys-devel/bison + sys-devel/flex + x11-misc/makedepend + x11-proto/inputproto + >=x11-proto/xextproto-7.0.99.1 + x11-proto/xf86driproto + x11-proto/xf86vidmodeproto +" + +S="${WORKDIR}/${MY_P}" + +# It is slow without texrels, if someone wants slow +# mesa without texrels +pic use is worth the shot +QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*" +QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*" + +# Think about: ggi, fbcon, no-X configs + +pkg_setup() { + # gcc 4.2 has buggy ivopts + if [[ $(gcc-version) = "4.2" ]]; then + append-flags -fno-ivopts + fi + + # recommended by upstream + append-flags -ffast-math + # workaround toc-issue wrt #386545 + use ppc64 && append-flags -mminimal-toc + + python_set_active_version 2 + python_pkg_setup +} + +src_unpack() { + default + [[ $PV = 9999* ]] && git-2_src_unpack +} + +src_prepare() { + # apply patches + if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then + EPATCH_FORCE="yes" \ + EPATCH_SOURCE="${WORKDIR}/patches" \ + EPATCH_SUFFIX="patch" \ + epatch + fi + # fix for hardened pax_kernel, bug 240956 + [[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch + [[ -n ${GLIBC2dot3} ]] && epatch "${FILESDIR}"/mesa-glibc-2.3.5-initstate_r.patch + + # FreeBSD 6.* doesn't have posix_memalign(). + if [[ ${CHOST} == *-freebsd6.* ]]; then + sed -i \ + -e "s/-DHAVE_POSIX_MEMALIGN//" \ + configure.ac || die + fi + # Solaris needs some recent POSIX stuff in our case + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die + sed -i -e 's/uint/unsigned int/g' src/egl/drivers/glx/egl_glx.c || die + fi + + # In order for mesa to complete it's build process we need to use a tool + # that it compiles. When we cross compile this clearly does not work + # so we require mesa to be built on the host system first. -solar + if tc-is-cross-compiler; then + sed -i -e "s#^GLSL_CL = .*\$#GLSL_CL = glsl_compiler#g" \ + "${S}"/src/mesa/shader/slang/library/Makefile || die + fi + + base_src_prepare + + eautoreconf +} + +src_configure() { + local myconf + + if use classic; then + # Configurable DRI drivers + driver_enable swrast + driver_enable video_cards_intel i810 i915 i965 + driver_enable video_cards_nouveau nouveau + driver_enable video_cards_mach64 mach64 + driver_enable video_cards_mga mga + driver_enable video_cards_r128 r128 + driver_enable video_cards_radeon radeon r200 r300 r600 + driver_enable video_cards_savage savage + driver_enable video_cards_sis sis + driver_enable video_cards_tdfx tdfx + driver_enable video_cards_via unichrome + fi + + myconf+=" + $(use_enable !bindist texture-float) + $(use_enable gles gles1) + $(use_enable gles gles2) + $(use_enable egl) + " + if use egl; then + use shared-glapi || die "egl needs shared-glapi. Please either enable shared-glapi or disable the egl use flag ." + myconf+=" + --with-egl-platforms=x11$(use gbm && echo ",drm") + $(use_enable gallium gallium-egl) + " + fi + + if use !gallium && use !classic; then + ewarn "You enabled neither classic nor gallium USE flags. No hardware" + ewarn "drivers will be built." + fi + if use gallium; then + myconf+=" + --with-state-trackers=glx,dri$(use egl && echo ",egl")$(use openvg && echo ",vega") + $(use_enable llvm gallium-llvm) + $(use_enable openvg) + " + gallium_enable swrast + gallium_enable video_cards_vmware svga + gallium_enable video_cards_nouveau nouveau + gallium_enable video_cards_intel i915 i965 + gallium_enable video_cards_radeon r300 r600 + fi + + # x86 hardened pax_kernel needs glx-rts, bug 240956 + if use pax_kernel; then + myconf+=" + $(use_enable x86 glx-rts) + " + fi + + # --with-driver=dri|xlib|osmesa || do we need osmesa? + econf \ + --disable-option-checking \ + --with-driver=dri \ + --disable-glut \ + --without-demos \ + --enable-xcb \ + $(use_enable debug) \ + $(use_enable gbm) \ + $(use_enable motif glw) \ + $(use_enable motif) \ + $(use_enable nptl glx-tls) \ + $(use_enable osmesa) \ + $(use_enable !pic asm) \ + $(use_enable shared-dricore) \ + $(use_enable shared-glapi) \ + --with-dri-drivers=${DRI_DRIVERS} \ + --with-gallium-drivers=${GALLIUM_DRIVERS} \ + ${myconf} +} + +src_install() { + base_src_install + + # Save the glsl-compiler for later use + if ! tc-is-cross-compiler; then + dobin "${S}"/src/glsl/glsl_compiler || die + fi + # Remove redundant headers + # GLUT thing + rm -f "${ED}"/usr/include/GL/glut*.h || die "Removing glut include failed." + # Glew includes + rm -f "${ED}"/usr/include/GL/{glew,glxew,wglew}.h \ + || die "Removing glew includes failed." + + # Install config file for eselect mesa + insinto /usr/share/mesa + newins "${FILESDIR}/eselect-mesa.conf.7.11" eselect-mesa.conf || die + + # Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib + # because user can eselect desired GL provider. + ebegin "Moving libGL and friends for dynamic switching" + dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include} + local x + for x in "${ED}"/usr/$(get_libdir)/libGL.{la,a,so*}; do + if [ -f ${x} -o -L ${x} ]; then + mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \ + || die "Failed to move ${x}" + fi + done + for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do + if [ -f ${x} -o -L ${x} ]; then + mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \ + || die "Failed to move ${x}" + fi + done + eend $? + + if use classic || use gallium; then + ebegin "Moving DRI/Gallium drivers for dynamic switching" + local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so ) + keepdir /usr/$(get_libdir)/dri + dodir /usr/$(get_libdir)/mesa + for x in ${gallium_drivers[@]}; do + if [ -f "${S}/$(get_libdir)/gallium/${x}" ]; then + mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \ + || die "Failed to move ${x}" + insinto "/usr/$(get_libdir)/dri/" + if [ -f "${S}/$(get_libdir)/${x}" ]; then + insopts -m0755 + doins "${S}/$(get_libdir)/${x}" || die "failed to install ${x}" + fi + fi + done + for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do + if [ -f ${x} -o -L ${x} ]; then + mv -f "${x}" "${x/dri/mesa}" \ + || die "Failed to move ${x}" + fi + done + pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed" + ln -s ../mesa/*.so . || die "Creating symlink failed" + # remove symlinks to drivers known to eselect + for x in ${gallium_drivers[@]}; do + if [ -f ${x} -o -L ${x} ]; then + rm "${x}" || die "Failed to remove ${x}" + fi + done + popd + eend $? + fi +} + +pkg_postinst() { + # Switch to the xorg implementation. + echo + eselect opengl set --use-old ${OPENGL_DIR} + # Select classic/gallium drivers + if use classic || use gallium; then + eselect mesa set --auto + fi + + # warn about patent encumbered texture-float + if use !bindist; then + elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" + elog "enabled." + fi +} + +# $1 - VIDEO_CARDS flag +# other args - names of DRI drivers to enable +# TODO: avoid code duplication for a more elegant implementation +driver_enable() { + case $# in + # for enabling unconditionally + 1) + DRI_DRIVERS+=",$1" + ;; + *) + if use $1; then + shift + for i in $@; do + DRI_DRIVERS+=",${i}" + done + fi + ;; + esac +} + +gallium_enable() { + case $# in + # for enabling unconditionally + 1) + GALLIUM_DRIVERS+=",$1" + ;; + *) + if use $1; then + shift + for i in $@; do + GALLIUM_DRIVERS+=",${i}" + done + fi + ;; + esac +} diff --git a/media-video/libav/ChangeLog b/media-video/libav/ChangeLog new file mode 100644 index 0000000..a82b813 --- /dev/null +++ b/media-video/libav/ChangeLog @@ -0,0 +1,411 @@ +# ChangeLog for media-video/libav +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/ChangeLog,v 1.96 2012/06/23 08:43:36 ago Exp $ + + 23 Jun 2012; Agostino Sarubbo libav-0.8.3.ebuild: + amd64 really stable + + 23 Jun 2012; Jeroen Roovers libav-0.8.3.ebuild: + Stable for HPPA (bug #422537). + + 20 Jun 2012; Tomáš Chvátal libav-0.8.2.ebuild: + 0.8.2 works on ppc64 stable too, so stabilise. + +*libav-0.8.3 (20 Jun 2012) + + 20 Jun 2012; Tomáš Chvátal +libav-0.8.3.ebuild: + Version bump to latest release. + + 08 Jun 2012; Brent Baude libav-0.8.2.ebuild: + Marking libav-0.8.2 ppc for bug 408555 + + 22 May 2012; Diego E. Pettenò libav-0.8.2-r2.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + Drop PDEPEND over libpostproc, since the packages using it should depend on it + directly. + + 18 May 2012; Samuli Suominen libav-0.8.2-r2.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + Move libpostproc RDEPEND from virtual/ffmpeg to here as PDEPEND to resolve + circular dependencies wrt #416411 + + 17 May 2012; Samuli Suominen libav-0.8.2.ebuild: + Block media-libs/libpostproc wrt #416421 + + 17 May 2012; Tomáš Chvátal libav-0.8.2-r2.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + Postproc is no longer here. + + 15 May 2012; Tomáš Chvátal libav-9999.ebuild: + Tests needs bc. + + 15 May 2012; Tomáš Chvátal libav-9999.ebuild: + Sort IUSE to not contain dupes. Expand tools with all the available binaries. + Restrict test on live due to fate req rather than providing ewarn. Sort deps + alphabetically. Drop dirac that is no longer in configure. Drop sse test that + is handled by configure. Quote configure params. + +*libav-0.8.2-r2 (15 May 2012) + + 15 May 2012; Luca Barbato -libav-0.8.2-r1.ebuild, + +libav-0.8.2-r2.ebuild, libav-0.8.9999.ebuild, libav-9999.ebuild, + metadata.xml: + Cleanup ebuilds, enable fate for 0.8 + + 14 May 2012; Tomáš Chvátal libav-0.8.2-r1.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + Actually ffmpeg has openal, libav does not. My overlook. + + 14 May 2012; Tomáš Chvátal libav-0.8.9999.ebuild, + libav-9999.ebuild: + Drop code that is commented since ever. + + 14 May 2012; Tomáš Chvátal libav-0.8.2-r1.ebuild, + libav-0.8.9999.ebuild: + Fix the cosmetic also on 0.8 branch as requested. + + 14 May 2012; Tomáš Chvátal libav-0.8.2-r1.ebuild, + libav-0.8.9999.ebuild: + Unmask tests as they pass. + + 14 May 2012; Tomáš Chvátal libav-9999.ebuild: + Fix typo. + + 14 May 2012; Tomáš Chvátal libav-0.8.2-r1.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + use the same use expand for tools like ffmpeg does so we are more inline with + each other. + +*libav-0.8.2-r1 (14 May 2012) + + 14 May 2012; Tomáš Chvátal +libav-0.8.2-r1.ebuild, + libav-0.8.9999.ebuild: + Sync and update 0.8 branch with configure switches. + + 14 May 2012; Tomáš Chvátal libav-9999.ebuild: + Remove redundant check for sse3 handled by configure. + + 13 May 2012; Tomáš Chvátal libav-9999.ebuild, + metadata.xml: + Update live ebuild, cleanup various parts. Line up some changes from ffmpeg. + + 13 May 2012; Tomáš Chvátal -libav-0.8.1.ebuild: + Delete security affected version. + + 12 May 2012; Raúl Porcel libav-0.8.2.ebuild: + ia64/sparc stable wrt #408555 + + 12 May 2012; Tobias Klausmann libav-0.8.2.ebuild: + Stable on alpha, bug 408555 + + 12 May 2012; Markus Meier libav-0.8.2.ebuild: + arm stable, bug #408555 + + 10 May 2012; Jeroen Roovers libav-0.8.2.ebuild: + Stable for HPPA (bug #408555). + + 07 May 2012; Markos Chandras libav-0.8.2.ebuild: + Stable on amd64 wrt bug #408555 + + 06 May 2012; Andreas Schuerch libav-0.8.2.ebuild: + x86 stable, see bug 408555 + +*libav-0.8.2 (05 May 2012) + + 05 May 2012; Tomáš Chvátal +libav-0.8.2.ebuild, + -libav-0.7.5.ebuild, -libav-0.7.9999.ebuild: + Version bump to latest version. Punt older with security issues. + + 05 May 2012; Markus Meier libav-0.8.1.ebuild: + x86 stable, bug #408555 + + 05 May 2012; Jeff Horelick libav-0.7.5.ebuild, + libav-0.7.9999.ebuild, libav-0.8.1.ebuild, libav-0.8.9999.ebuild, + libav-9999.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + +*libav-0.7.5 (16 Apr 2012) + + 16 Apr 2012; Tomáš Chvátal +libav-0.7.5.ebuild, + -libav-0.6.5.ebuild, -libav-0.7.4.ebuild, -libav-0.8.ebuild: + Version bump 0.7 series to latest. Drop all security affected ebuilds, + effectively loosing stable on amd64 and hppa again. + + 22 Mar 2012; Diego E. Pettenò libav-0.6.5.ebuild, + libav-0.7.4.ebuild, libav-0.8.1.ebuild, libav-0.8.ebuild: + Rename the variable on all ebuilds, since it could never have worked before + anyway. + + 22 Mar 2012; Diego E. Pettenò libav-0.7.4.ebuild, + libav-0.7.9999.ebuild, libav-0.8.1.ebuild, libav-0.8.9999.ebuild, + libav-0.8.ebuild, libav-9999.ebuild: + Complete rename on live ebuilds, and fix overwriting of the variable on all. + + 22 Mar 2012; Luca Barbato libav-9999.ebuild: + Use EXTRA_LIBAV_CONF instead of EXTRA_FFMPEG_CONF + + 20 Mar 2012; Luca Barbato libav-0.7.4.ebuild, + libav-0.7.9999.ebuild, libav-0.8.ebuild, libav-0.8.1.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild, metadata.xml: + Small update, mark proper license and introduce tools useflag in the + live ebuild + +*libav-0.8.1 (16 Mar 2012) + + 16 Mar 2012; Luca Barbato libav-0.8.ebuild, + +libav-0.8.1.ebuild, libav-0.8.9999.ebuild, libav-9999.ebuild: + Introduce libav 0.8.1 and minor updates + + 13 Mar 2012; Luca Barbato libav-9999.ebuild: + iwmmxt removed upstream + + 07 Mar 2012; Luca Barbato libav-0.8.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + Make sure librtmp requires network enabled + + 04 Mar 2012; Luca Barbato libav-9999.ebuild: + libpostproc spun off + + 29 Feb 2012; Luca Barbato libav-0.8.ebuild, + libav-0.8.9999.ebuild, libav-9999.ebuild: + vdpau is not nvidia only now, thanks to Nikoli for testing and the patch + provided in bug #406269 + + 09 Feb 2012; Diego E. Pettenò libav-0.8.9999.ebuild, + libav-0.8.ebuild, libav-9999.ebuild: + Do not create symlink for utilities that weren't built. + + 09 Feb 2012; Jeroen Roovers libav-0.6.5.ebuild: + Stable for HPPA (bug #401017). + + 08 Feb 2012; Diego E. Pettenò libav-0.7.9999.ebuild, + libav-0.8.9999.ebuild, libav-0.8.ebuild, libav-9999.ebuild: + Add missing GPL requirement over x264. Ack by Luca. + + 07 Feb 2012; Agostino Sarubbo libav-0.6.5.ebuild: + Stable for AMD64, wrt bug #401017 + + 27 Jan 2012; Tomáš Chvátal metadata.xml: + Whitespace. + +*libav-0.8.9999 (27 Jan 2012) + + 27 Jan 2012; Tomáš Chvátal +libav-0.8.9999.ebuild: + Add 0.8 live branch ebuild. + + 27 Jan 2012; Tomáš Chvátal libav-0.8.ebuild, + libav-9999.ebuild: + Fix repoman warning. + +*libav-0.7.4 (27 Jan 2012) +*libav-0.6.5 (27 Jan 2012) + + 27 Jan 2012; Tomáš Chvátal + -files/0.6.2-fix_enable_hardcoded_tables.patch, + -libav-0.8_pre20110818.ebuild, -files/0.6.2-float_arrays.patch, + -libav-0.6.2.ebuild, +libav-0.6.5.ebuild, -libav-0.6.9999.ebuild, + -libav-0.7.2.ebuild, +libav-0.7.4.ebuild, -libav-0.8_beta1.ebuild, + -libav-0.8_pre20111116.ebuild, -libav-0.8_pre20111222.ebuild, + libav-0.8.ebuild, libav-9999.ebuild: + Version bump to latest versions. Remove overshadowed ebuilds. Remove 0.6 + series live as nobody would use it nowdays. Update x264 dep on 0.8 series and + later. + +*libav-0.8 (25 Jan 2012) + + 25 Jan 2012; Luca Barbato +libav-0.8.ebuild: + New version + + 04 Jan 2012; Luca Barbato libav-0.8_beta1.ebuild, + libav-9999.ebuild: + Fix dodoc when html docs aren't being generated + + 04 Jan 2012; Luca Barbato libav-0.8_beta1.ebuild, + libav-9999.ebuild: + Fix dodoc invocation + +*libav-0.8_beta1 (02 Jan 2012) + + 02 Jan 2012; Luca Barbato +libav-0.8_beta1.ebuild: + New beta version + + 02 Jan 2012; Samuli Suominen metadata.xml: + USE description for flag "neon" is in use.desc now. + +*libav-0.8_pre20111222 (22 Dec 2011) + + 22 Dec 2011; Tomáš Chvátal + +libav-0.8_pre20111222.ebuild: + Add new snapshot to build mplayer1 and provide something for ffmpeg-0.9 + virtual. + + 02 Dec 2011; Steve Dibb libav-0.6.2.ebuild, + libav-0.6.9999.ebuild, libav-0.7.2.ebuild, libav-0.7.9999.ebuild, + libav-0.8_pre20110818.ebuild, libav-0.8_pre20111116.ebuild, + libav-9999.ebuild: + Build qt-faststart by default + + 27 Nov 2011; Luca Barbato libav-0.8_pre20111116.ebuild: + Fix dependency, as reported in bug #391255 + +*libav-0.8_pre20111116 (16 Nov 2011) + + 16 Nov 2011; Luca Barbato +libav-0.8_pre20111116.ebuild: + New snapshot + + 15 Nov 2011; Luca Barbato libav-9999.ebuild: + Make neon sure we enable and build neon code on use neon + + 13 Nov 2011; Luca Barbato libav-9999.ebuild, + metadata.xml: + Update useflags to expose new features + + 12 Nov 2011; Luca Barbato libav-9999.ebuild: + Remove typo + + 08 Nov 2011; Luca Barbato libav-9999.ebuild: + Add support for drawtext + + 01 Nov 2011; Samuli Suominen libav-0.6.2.ebuild, + libav-0.6.9999.ebuild, libav-0.7.2.ebuild, libav-0.7.9999.ebuild, + libav-0.8_pre20110818.ebuild, libav-9999.ebuild: + Rename USE="v4l2" to USE="v4l" while removing support for video4linux 1.x wrt + #385241 + + 07 Oct 2011; Tomáš Chvátal + -libav-0.7_pre20110327.ebuild, -libav-0.7.ebuild, -libav-0.7.1.ebuild: + Drop quite few overshadowed versions. + + 03 Oct 2011; Luca Barbato libav-0.7.2.ebuild: + Fix wrong option bump, 0.7.2 doesn't introduce avtools + +*libav-0.7.2 (30 Sep 2011) + + 30 Sep 2011; Luca Barbato +libav-0.7.2.ebuild: + New version + + 22 Sep 2011; Luca Barbato libav-9999.ebuild: + Update vaapi logic, thanks to Tobias Jakobi for the notice + + 18 Aug 2011; Luca Barbato libav-0.8_pre20110818.ebuild, + libav-9999.ebuild: + disable tests and let faac and voaacenc built together + + 18 Aug 2011; Luca Barbato libav-0.8_pre20110818.ebuild: + Switch to local permanent url + +*libav-0.8_pre20110818 (18 Aug 2011) + + 18 Aug 2011; Luca Barbato +libav-0.8_pre20110818.ebuild: + New snapshot + + 18 Aug 2011; Luca Barbato libav-9999.ebuild: + Fix eprefix usage, dosym already adds it + + 10 Aug 2011; Luca Barbato libav-9999.ebuild: + Update the ebuild to follow the program name changes + +*libav-0.7.1 (23 Jul 2011) + + 23 Jul 2011; Luca Barbato +libav-0.7.1.ebuild: + Version Bump + + 21 Jul 2011; Matt Turner libav-0.7.9999.ebuild, + libav-9999.ebuild: + Add ~mips to 7.9999 and 9999 ebuilds so that the keyword doesn't get lost + again. + + 12 Jul 2011; Matt Turner libav-0.7.ebuild: + Added ~mips, bug 154882 + +*libav-0.7.9999 (21 Jun 2011) +*libav-0.7 (21 Jun 2011) + + 21 Jun 2011; Tomáš Chvátal -libav-0.7_rc1.ebuild, + +libav-0.7.ebuild, +libav-0.7.9999.ebuild: + Version bump to final 0.7 release. Remove older RC. Add 0.7 branch live + ebuild. + +*libav-0.7_rc1 (15 Jun 2011) + + 15 Jun 2011; Tomáš Chvátal -libav-0.7_beta2.ebuild, + +libav-0.7_rc1.ebuild: + Version bump to rc1, drop older beta. + + 24 May 2011; Tomáš Chvátal libav-9999.ebuild: + Bump dependency over x264. + +*libav-0.7_beta2 (13 May 2011) + + 13 May 2011; Tomáš Chvátal -libav-0.7_beta1.ebuild, + +libav-0.7_beta2.ebuild, libav-9999.ebuild: + Version bump to beta2 drop beta1. + + 20 Apr 2011; Tomáš Chvátal libav-0.6.9999.ebuild, + libav-9999.ebuild: + Migrate to git-2 eclass. + +*libav-0.7_beta1 (19 Apr 2011) + + 19 Apr 2011; Luca Barbato +libav-0.7_beta1.ebuild: + Prerelease + + 12 Apr 2011; Tomáš Chvátal libav-9999.ebuild, + metadata.xml: + Try to split up gpl code so user can compile just LGPL version. + + 12 Apr 2011; Tomáš Chvátal libav-9999.ebuild: + Update deps to match latest reality. + + 11 Apr 2011; Luca Barbato metadata.xml, + libav-9999.ebuild: + Add support for the Google/VisualOn encoders for aac and amrwb + + 01 Apr 2011; Tomáš Chvátal libav-0.6.2.ebuild, + libav-0.6.9999.ebuild: + Drop frei0r option that is availible only in trunk. + + 30 Mar 2011; Luca Barbato libav-9999.ebuild: + Drop removed configure option + + 28 Mar 2011; Luca Barbato libav-0.6.2.ebuild, + libav-0.6.9999.ebuild, libav-0.7_pre20110327.ebuild, libav-9999.ebuild: + Add Gentoo Prefix support + + 27 Mar 2011; Tomáš Chvátal libav-0.6.9999.ebuild, + libav-0.7_pre20110327.ebuild, libav-9999.ebuild: + Fixup version settings in snapshot. Remove useless quoting. Handle branching + magically. + +*libav-0.7_pre20110327 (27 Mar 2011) + + 27 Mar 2011; Luca Barbato + -libav-0.6_p20110327.ebuild, +libav-0.7_pre20110327.ebuild: + Rename + +*libav-0.6_p20110327 (27 Mar 2011) + + 27 Mar 2011; Luca Barbato + +libav-0.6_p20110327.ebuild, libav-0.6.9999.ebuild, libav-9999.ebuild: + New snapshot + + 25 Mar 2011; Luca Barbato libav-0.6.2.ebuild, + libav-0.6.9999.ebuild, libav-9999.ebuild: + Typo fix + + 22 Mar 2011; Tomáš Chvátal metadata.xml: + Fix whitespace in metadata.xml to be nicer. Drop unused flag (result of copy + from ffmpeg). + +*libav-9999 (22 Mar 2011) +*libav-0.6.9999 (22 Mar 2011) +*libav-0.6.2 (22 Mar 2011) + + 22 Mar 2011; Tomáš Chvátal + +files/0.6.2-fix_enable_hardcoded_tables.patch, +libav-9999.ebuild, + +files/0.6.2-float_arrays.patch, +libav-0.6.2.ebuild, +libav-0.6.9999.ebuild, + +metadata.xml: + Initial commit for ffmpeg fork/alternative. Ebuild adjusted from ffmpeg ones. + Thanks for lu_zero for help with testing it. Virtual pkg and dependency + testing on current ffmpeg deps still needs to be done. + diff --git a/media-video/libav/Manifest b/media-video/libav/Manifest new file mode 100644 index 0000000..e2f5814 --- /dev/null +++ b/media-video/libav/Manifest @@ -0,0 +1,11 @@ +AUX libav-0.8.3-frei0r-ldl.patch 727 RMD160 d0e4447528bf8828a18ee7db3a1bbb749777c4e9 SHA1 19ca4e2077fe6ff6b89fe894417c15e89c84a913 SHA256 b4bc37377c4efc8673862887c479419082de0a1216be87b548032a0291348fa5 +DIST fate-0.8.2.tar.xz 443503168 RMD160 24fd9c0d30a8a6c20bfcc1a5402208cf8c64fec2 SHA1 49e54a76180a4343bb66442cf57dfd8017ba412c SHA256 4c16212e4d99194e670227ccf93d54c9bb4b6f27c515626a536b87deb610d850 +DIST libav-0.8.2.tar.xz 3807340 RMD160 599d8c385bf0ca25a053188fed4488508b501e50 SHA1 99e10a7132636652cf45ee3fc85ce36ff5818ce5 SHA256 96df20327396937add9df2693bba8ec109ef3eda7251065ddcaa86a8d9f3a7df +DIST libav-0.8.3.tar.xz 3798260 RMD160 6b57d6d693876b16559ebbb8907298e799fa9bdb SHA1 6af9fc0094de6190f5328cfc8405dd92f73cfc50 SHA256 37a9fc8bb5e56dcb0487afbb013f745a14addff61cea08a6009e2fd01251f080 +EBUILD libav-0.8.2-r2.ebuild 8983 RMD160 f6efa9092ba682602dabd5c644f398247c2fbb05 SHA1 8db29cf124405aa6b331d80fcdcaa556f3320a0e SHA256 f9f492b6de3efd5097ce64828a91fe771a5264de03a3d7da1dcec0710d7e3665 +EBUILD libav-0.8.2.ebuild 8984 RMD160 c9aa0b69a33d88dca270b567ce498545a486e73a SHA1 e6a2d316a568571abe0caf7b4d4c96d67e8b27d8 SHA256 88bd7e5abcf25fa6c6e3269f764d27aa64fba8c5c8291ee03583b2656e8206c5 +EBUILD libav-0.8.3.ebuild 9020 RMD160 cf1442ad05539f2db3f5b87990696cb827679431 SHA1 71b10cb92c2a421a1074cc923ad2c68a7712b1c1 SHA256 e73a1480d885319dc78bc5650ec53bfb5d6f86635214ee64f0829a13290ee32f +EBUILD libav-0.8.9999.ebuild 8984 RMD160 73120c97cb9bf958f22f422e3bdcc4d3b3b2b78a SHA1 178237b4e2b1b781dffa88126b75aaeb6f0e4232 SHA256 3eb7ace30ce59a697addde65ea3b5fdc914db9601404713205eb5efb447c1bcb +EBUILD libav-9999.ebuild 8910 RMD160 d78f9d41b4dfaeb990cdb018bf44503a586c0816 SHA1 a8feb13a3a00a509215be2bc0b2c20e6c3f8d8f1 SHA256 196a1efcedc144dfcd2d82bc13a5a3bb8dcf49aaf59e2d85ff03743be9cd3ab2 +MISC ChangeLog 15150 RMD160 056b548598636a97e8659797784f4590ed60dff6 SHA1 15855aeebfafd3f6b8cff4dba0004fac57789a0f SHA256 f13d234f90085ae7cba1dd848c7f84711c7db7932e387734fa1492f961e9d202 +MISC metadata.xml 2956 RMD160 b0091da3f452f2fd28859ce2e54ce0800269d154 SHA1 7392af83e5480254d3bc33026fac0b8cf2cbd00b SHA256 c7b04d7524f77f7116e95a33c7cb58e898defc88458d62b44d8975af61974675 diff --git a/media-video/libav/files/libav-0.8.3-frei0r-ldl.patch b/media-video/libav/files/libav-0.8.3-frei0r-ldl.patch new file mode 100644 index 0000000..37cd2d6 --- /dev/null +++ b/media-video/libav/files/libav-0.8.3-frei0r-ldl.patch @@ -0,0 +1,17 @@ +backported from git +X-Git-Url: http://git.libav.org/?p=libav.git;a=blobdiff_plain;f=configure;h=e207ed82fed35a5cde35547c210995a17cf76feb;hp=4606b236e334319456ebbd08132a7a9610e84f06;hb=cfec77aaf8186f556e1201be13ce487b99b3b831;hpb=6b81da2fd030dbc03d36b38558b58e8f0f667501 + +diff --git a/configure b/configure +index 4606b23..e207ed8 100755 +--- a/configure ++++ b/configure +@@ -1526,7 +1526,9 @@ cropdetect_filter_deps="gpl" + delogo_filter_deps="gpl" + drawtext_filter_deps="libfreetype" + frei0r_filter_deps="frei0r dlopen strtok_r" ++frei0r_filter_extralibs='$ldl' + frei0r_src_filter_deps="frei0r dlopen strtok_r" ++frei0r_src_filter_extralibs='$ldl' + hqdn3d_filter_deps="gpl" + ocv_filter_deps="libopencv" + scale_filter_deps="swscale" diff --git a/media-video/libav/libav-0.8.2-r2.ebuild b/media-video/libav/libav-0.8.2-r2.ebuild new file mode 100644 index 0000000..3116c7b --- /dev/null +++ b/media-video/libav/libav-0.8.2-r2.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-0.8.2-r2.ebuild,v 1.4 2012/05/22 16:52:18 flameeyes Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-2" + EGIT_REPO_URI="git://git.libav.org/libav.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} + +DESCRIPTION="Complete solution to record, convert and stream audio and video." +HOMEPAGE="http://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" +else # Official release + SRC_URI="http://${PN}.org/releases/${P}.tar.xz" +fi + +SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-${PV}.tar.xz )" + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0" +[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 +~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos +~x64-solaris ~x86-solaris" +IUSE="+3dnow +3dnowext aac alsa altivec amr bindist +bzip2 cdio cpudetection + custom-cflags debug dirac doc +encode faac truetype frei0r +gpl gsm + +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network openssl + oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl +ssse3 + static-libs test theora threads v4l vaapi vdpau vorbis vpx X x264 xvid + +zlib" + +CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 +neon ssse3 vis" + +for i in ${CPU_FEATURES}; do + IUSE+=" ${i%:*}" +done + +RDEPEND=" + !media-video/ffmpeg + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + dirac? ( media-video/dirac ) + encode? ( + aac? ( media-libs/vo-aacenc ) + amr? ( media-libs/vo-amrwbenc ) + faac? ( media-libs/faac ) + mp3? ( >=media-sound/lame-3.98.3 ) + theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) + vorbis? ( media-libs/libvorbis media-libs/libogg ) + x264? ( >=media-libs/x264-0.0.20111017 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + ) + truetype? ( media-libs/freetype:2 ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.12-r1 ) + ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) + pulseaudio? ( media-sound/pulseaudio ) + rtmp? ( >=media-video/rtmpdump-2.2f ) + ssl? ( openssl? ( dev-libs/openssl ) + !openssl? ( net-libs/gnutls ) ) + sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) + schroedinger? ( media-libs/schroedinger ) + speex? ( >=media-libs/speex-1.2_beta3 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( >=media-libs/libvpx-0.9.6 ) + X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) + zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + dirac? ( virtual/pkgconfig ) + doc? ( app-text/texi2html ) + mmx? ( dev-lang/yasm ) + rtmp? ( virtual/pkgconfig ) + schroedinger? ( virtual/pkgconfig ) + truetype? ( virtual/pkgconfig ) + test? ( net-misc/wget ) + v4l? ( sys-kernel/linux-headers ) +" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE="bindist? ( !faac !openssl ) + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) + test? ( encode )" + +src_prepare() { + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi +} + +src_configure() { + local myconf="${EXTRA_LIBAV_CONF}" + local uses i + + myconf+=" + $(use_enable gpl) + $(use_enable gpl version3) + --enable-avfilter + " + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bzip2 || myconf+=" --disable-bzlib" + use sdl || myconf+=" --disable-avplay" + + if use ssl; then + use openssl && myconf+=" --enable-openssl --enable-nonfree" \ + || myconf+=" --enable-gnutls" + fi + + use custom-cflags && myconf+=" --disable-optimizations" + use cpudetection && myconf+=" --enable-runtime-cpudetect" + + #for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do + # use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}" + # use vdpau || myconf="${myconf} --disable-decoder=${i}" + #done + use vdpau || myconf+=" --disable-vdpau" + + use vaapi && myconf+=" --enable-vaapi" + + # Encoders + if use encode; then + use mp3 && myconf+=" --enable-libmp3lame" + use amr && myconf+=" --enable-libvo-amrwbenc" + use faac && myconf+=" --enable-libfaac --enable-nonfree" + use aac && myconf+=" --enable-libvo-aacenc" + uses="theora vorbis x264 xvid" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + else + myconf+=" --disable-encoders" + fi + + # libavdevice options + use cdio && myconf+=" --enable-libcdio" + use ieee1394 && myconf+=" --enable-libdc1394" + use pulseaudio && myconf+=" --enable-libpulse" + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=" --disable-indev=v4l" + use v4l || myconf+=" --disable-indev=v4l2" + for i in alsa oss jack; do + use ${i} || myconf+=" --disable-indev=${i}" + done + use X && myconf+=" --enable-x11grab" + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=" --disable-outdev=${i}" + done + # libavfilter options + use frei0r && myconf+=" --enable-frei0r" + use truetype && myconf+=" --enable-libfreetype" + + # Threads; we only support pthread for now but ffmpeg supports more + use threads && myconf+=" --enable-pthreads" + + # Decoders + use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb" + uses="gsm dirac rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + use jpeg2k && myconf+=" --enable-libopenjpeg" + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=" --disable-${i#*:}" + done + + # pass the right -mfpu as extra + use neon && myconf+=" --extra-cflags=-mfpu=neon" + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && use x86 ; then + myconf+=" --disable-mmx --disable-mmx2" + fi + + # Option to force building pic + use pic && myconf+=" --enable-pic" + + # Try to get cpu type based on CFLAGS. + # Bug #172723 + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [ "${i}" = "native" ] && i="host" # bug #273421 + [[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968 + myconf+=" --cpu=${i}" + break + done + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf+=" --target-os=freebsd" + ;; + mingw32*) + myconf+=" --target-os=mingw32" + ;; + *linux*) + myconf+=" --target-os=linux" + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=" --enable-hardcoded-tables" + + # Specific workarounds for too-few-registers arch... + if [[ $(tc-arch) == "x86" ]]; then + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + cd "${S}" + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + $(use_enable static-libs static) \ + ${myconf} || die +} + +src_compile() { + emake + + if use qt-faststart; then + tc-export CC + emake tools/qt-faststart + fi +} + +src_install() { + emake DESTDIR="${D}" install install-man + + dodoc Changelog README INSTALL + dodoc doc/*.txt + use doc && dodoc doc/*.html + + if use qt-faststart; then + dobin tools/qt-faststart + fi + + for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do + dosym ${i} /usr/bin/${i/av/ff} + done +} + +pkg_postinst() { + elog "Please note that the programs formerly known as ffplay, ffserver" + elog "and ffprobe are now called avplay, avserver and avprobe." + elog + elog "ffmpeg had been replaced by the feature incompatible avconv thus" + elog "the legacy ffmpeg is provided for compatibility with older scripts" +} + +src_test() { + LD_LIBRARY_PATH="${S}/libavcore:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake fate SAMPLES="${WORKDIR}/fate" +} diff --git a/media-video/libav/libav-0.8.2.ebuild b/media-video/libav/libav-0.8.2.ebuild new file mode 100644 index 0000000..a7140c2 --- /dev/null +++ b/media-video/libav/libav-0.8.2.ebuild @@ -0,0 +1,307 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-0.8.2.ebuild,v 1.10 2012/06/20 11:10:40 scarabeus Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-2" + EGIT_REPO_URI="git://git.libav.org/libav.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} + +DESCRIPTION="Complete solution to record, convert and stream audio and video." +HOMEPAGE="http://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" +else # Official release + SRC_URI="http://${PN}.org/releases/${P}.tar.xz" +fi + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0" +[[ ${PV} == *9999 ]] || \ +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="+3dnow +3dnowext aac alsa altivec amr bindist +bzip2 cdio cpudetection + custom-cflags debug dirac doc +encode faac truetype frei0r +gpl gsm + +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network openssl + oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl +ssse3 + static-libs test theora threads v4l vaapi vdpau vorbis vpx X x264 xvid + +zlib" + +CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 ssse3 vis neon iwmmxt" + +for i in ${CPU_FEATURES}; do + IUSE="${IUSE} ${i%:*}" +done + +RDEPEND=" + !media-libs/libpostproc + !media-video/ffmpeg + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + dirac? ( media-video/dirac ) + encode? ( + aac? ( media-libs/vo-aacenc ) + amr? ( media-libs/vo-amrwbenc ) + faac? ( media-libs/faac ) + mp3? ( >=media-sound/lame-3.98.3 ) + theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) + vorbis? ( media-libs/libvorbis media-libs/libogg ) + x264? ( >=media-libs/x264-0.0.20111017 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + ) + truetype? ( media-libs/freetype ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.12-r1 ) + ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) + rtmp? ( >=media-video/rtmpdump-2.2f ) + ssl? ( openssl? ( dev-libs/openssl ) + !openssl? ( net-libs/gnutls ) ) + sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) + schroedinger? ( media-libs/schroedinger ) + speex? ( >=media-libs/speex-1.2_beta3 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( >=media-libs/libvpx-0.9.6 ) + X? ( x11-libs/libX11 x11-libs/libXext ) + zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + dirac? ( virtual/pkgconfig ) + doc? ( app-text/texi2html ) + mmx? ( dev-lang/yasm ) + rtmp? ( virtual/pkgconfig ) + schroedinger? ( virtual/pkgconfig ) + test? ( net-misc/wget ) + v4l? ( sys-kernel/linux-headers ) +" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE="bindist? ( !faac !openssl ) + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl )" + +RESTRICT="test" + +src_prepare() { + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi +} + +src_configure() { + local myconf="${EXTRA_LIBAV_CONF}" + local uses i + + myconf+=" + $(use_enable gpl) + $(use_enable gpl version3) + --enable-postproc + --enable-avfilter + " + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bzip2 || myconf+=" --disable-bzlib" + use sdl || myconf+=" --disable-avplay" + + if use ssl; then + use openssl && myconf+=" --enable-openssl --enable-nonfree" \ + || myconf+=" --enable-gnutls" + fi + + use custom-cflags && myconf+=" --disable-optimizations" + use cpudetection && myconf+=" --enable-runtime-cpudetect" + + #for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do + # use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}" + # use vdpau || myconf="${myconf} --disable-decoder=${i}" + #done + use vdpau || myconf+=" --disable-vdpau" + + use vaapi && myconf+=" --enable-vaapi" + + # Encoders + if use encode; then + use mp3 && myconf+=" --enable-libmp3lame" + use amr && myconf+=" --enable-libvo-amrwbenc" + use faac && myconf+=" --enable-libfaac --enable-nonfree" + use aac && myconf+=" --enable-libvo-aacenc" + uses="theora vorbis x264 xvid" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + else + myconf+=" --disable-encoders" + fi + + # libavdevice options + use cdio && myconf+=" --enable-libcdio" + use ieee1394 && myconf+=" --enable-libdc1394" + use pulseaudio && myconf+=" --enable-libpulse" + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=" --disable-indev=v4l" + use v4l || myconf+=" --disable-indev=v4l2" + for i in alsa oss jack; do + use ${i} || myconf+=" --disable-indev=${i}" + done + use X && myconf+=" --enable-x11grab" + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=" --disable-outdev=${i}" + done + # libavfilter options + use frei0r && myconf+=" --enable-frei0r" + use truetype && myconf+=" --enable-libfreetype" + + # Threads; we only support pthread for now but ffmpeg supports more + use threads && myconf+=" --enable-pthreads" + + # Decoders + use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb" + uses="gsm dirac rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + use jpeg2k && myconf+=" --enable-libopenjpeg" + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=" --disable-${i#*:}" + done + + # pass the right -mfpu as extra + use neon && myconf+=" --extra-cflags=-mfpu=neon" + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && use x86 ; then + myconf+=" --disable-mmx --disable-mmx2" + fi + + # Option to force building pic + use pic && myconf+=" --enable-pic" + + # Try to get cpu type based on CFLAGS. + # Bug #172723 + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [ "${i}" = "native" ] && i="host" # bug #273421 + [[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968 + myconf+=" --cpu=${i}" + break + done + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf+=" --target-os=freebsd" + ;; + mingw32*) + myconf+=" --target-os=mingw32" + ;; + *linux*) + myconf+=" --target-os=linux" + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=" --enable-hardcoded-tables" + + # Specific workarounds for too-few-registers arch... + if [[ $(tc-arch) == "x86" ]]; then + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + cd "${S}" + ./configure \ + --prefix="$EPREFIX"/usr \ + --libdir="$EPREFIX"/usr/$(get_libdir) \ + --shlibdir="$EPREFIX"/usr/$(get_libdir) \ + --mandir="$EPREFIX"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + $(use_enable static-libs static) \ + ${myconf} || die +} + +src_compile() { + emake + + if use qt-faststart; then + tc-export CC + emake tools/qt-faststart + fi +} + +src_install() { + emake DESTDIR="${D}" install install-man + + dodoc Changelog README INSTALL + dodoc doc/*.txt + use doc && dodoc doc/*.html + + if use qt-faststart; then + dobin tools/qt-faststart + fi + + for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do + dosym ${i} /usr/bin/${i/av/ff} + done +} + +pkg_postinst() { + elog "Please note that the programs formerly known as ffplay, ffserver" + elog "and ffprobe are now called avplay, avserver and avprobe." + elog + elog "ffmpeg had been replaced by the feature incompatible avconv thus" + elog "the legacy ffmpeg is provided for compatibility with older scripts" +} + +src_test() { + local i tests + if use encode; then + tests="codectest lavftest seektest" + for i in ${tests}; do + LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake ${i} + done + else + ewarn "Tests fail without USE=encode, skipping" + fi +} diff --git a/media-video/libav/libav-0.8.3.ebuild b/media-video/libav/libav-0.8.3.ebuild new file mode 100644 index 0000000..6dc2b06 --- /dev/null +++ b/media-video/libav/libav-0.8.3.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-0.8.3.ebuild,v 1.3 2012/06/23 08:43:36 ago Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-2" + EGIT_REPO_URI="git://git.libav.org/libav.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} + +DESCRIPTION="Complete solution to record, convert and stream audio and video." +HOMEPAGE="http://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" +else # Official release + SRC_URI="http://${PN}.org/releases/${P}.tar.xz" +fi + +SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-0.8.2.tar.xz )" + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0" +[[ ${PV} == *9999 ]] || \ +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="+3dnow +3dnowext aac alsa altivec amr bindist +bzip2 cdio cpudetection + custom-cflags debug dirac doc +encode faac truetype frei0r +gpl gsm + +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network openssl + oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl +ssse3 + static-libs test theora threads v4l vaapi vdpau vorbis vpx X x264 xvid + +zlib" + +CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 +neon ssse3 vis" + +for i in ${CPU_FEATURES}; do + IUSE+=" ${i%:*}" +done + +RDEPEND=" + !media-video/ffmpeg + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + dirac? ( media-video/dirac ) + encode? ( + aac? ( media-libs/vo-aacenc ) + amr? ( media-libs/vo-amrwbenc ) + faac? ( media-libs/faac ) + mp3? ( >=media-sound/lame-3.98.3 ) + theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) + vorbis? ( media-libs/libvorbis media-libs/libogg ) + x264? ( >=media-libs/x264-0.0.20111017 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + ) + truetype? ( media-libs/freetype:2 ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.12-r1 ) + ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) + pulseaudio? ( media-sound/pulseaudio ) + rtmp? ( >=media-video/rtmpdump-2.2f ) + ssl? ( openssl? ( dev-libs/openssl ) + !openssl? ( net-libs/gnutls ) ) + sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) + schroedinger? ( media-libs/schroedinger ) + speex? ( >=media-libs/speex-1.2_beta3 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( >=media-libs/libvpx-0.9.6 ) + X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) + zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + dirac? ( virtual/pkgconfig ) + doc? ( app-text/texi2html ) + mmx? ( dev-lang/yasm ) + rtmp? ( virtual/pkgconfig ) + schroedinger? ( virtual/pkgconfig ) + truetype? ( virtual/pkgconfig ) + test? ( net-misc/wget ) + v4l? ( sys-kernel/linux-headers ) +" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE="bindist? ( !faac !openssl ) + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) + test? ( encode )" + +src_prepare() { + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi + epatch "${FILESDIR}"/"${P}"-frei0r-ldl.patch +} + +src_configure() { + local myconf="${EXTRA_LIBAV_CONF}" + local uses i + + myconf+=" + $(use_enable gpl) + $(use_enable gpl version3) + --enable-avfilter + " + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bzip2 || myconf+=" --disable-bzlib" + use sdl || myconf+=" --disable-avplay" + + if use ssl; then + use openssl && myconf+=" --enable-openssl --enable-nonfree" \ + || myconf+=" --enable-gnutls" + fi + + use custom-cflags && myconf+=" --disable-optimizations" + use cpudetection && myconf+=" --enable-runtime-cpudetect" + + #for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do + # use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}" + # use vdpau || myconf="${myconf} --disable-decoder=${i}" + #done + use vdpau || myconf+=" --disable-vdpau" + + use vaapi && myconf+=" --enable-vaapi" + + # Encoders + if use encode; then + use mp3 && myconf+=" --enable-libmp3lame" + use amr && myconf+=" --enable-libvo-amrwbenc" + use faac && myconf+=" --enable-libfaac --enable-nonfree" + use aac && myconf+=" --enable-libvo-aacenc" + uses="theora vorbis x264 xvid" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + else + myconf+=" --disable-encoders" + fi + + # libavdevice options + use cdio && myconf+=" --enable-libcdio" + use ieee1394 && myconf+=" --enable-libdc1394" + use pulseaudio && myconf+=" --enable-libpulse" + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=" --disable-indev=v4l" + use v4l || myconf+=" --disable-indev=v4l2" + for i in alsa oss jack; do + use ${i} || myconf+=" --disable-indev=${i}" + done + use X && myconf+=" --enable-x11grab" + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=" --disable-outdev=${i}" + done + # libavfilter options + use frei0r && myconf+=" --enable-frei0r" + use truetype && myconf+=" --enable-libfreetype" + + # Threads; we only support pthread for now but ffmpeg supports more + use threads && myconf+=" --enable-pthreads" + + # Decoders + use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb" + uses="gsm dirac rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + use jpeg2k && myconf+=" --enable-libopenjpeg" + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=" --disable-${i#*:}" + done + + # pass the right -mfpu as extra + use neon && myconf+=" --extra-cflags=-mfpu=neon" + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && use x86 ; then + myconf+=" --disable-mmx --disable-mmx2" + fi + + # Option to force building pic + use pic && myconf+=" --enable-pic" + + # Try to get cpu type based on CFLAGS. + # Bug #172723 + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [ "${i}" = "native" ] && i="host" # bug #273421 + [[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968 + myconf+=" --cpu=${i}" + break + done + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf+=" --target-os=freebsd" + ;; + mingw32*) + myconf+=" --target-os=mingw32" + ;; + *linux*) + myconf+=" --target-os=linux" + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=" --enable-hardcoded-tables" + + # Specific workarounds for too-few-registers arch... + if [[ $(tc-arch) == "x86" ]]; then + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + cd "${S}" + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + $(use_enable static-libs static) \ + ${myconf} || die +} + +src_compile() { + emake + + if use qt-faststart; then + tc-export CC + emake tools/qt-faststart + fi +} + +src_install() { + emake DESTDIR="${D}" install install-man + + dodoc Changelog README INSTALL + dodoc doc/*.txt + use doc && dodoc doc/*.html + + if use qt-faststart; then + dobin tools/qt-faststart + fi + + for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do + dosym ${i} /usr/bin/${i/av/ff} + done +} + +pkg_postinst() { + elog "Please note that the programs formerly known as ffplay, ffserver" + elog "and ffprobe are now called avplay, avserver and avprobe." + elog + elog "ffmpeg had been replaced by the feature incompatible avconv thus" + elog "the legacy ffmpeg is provided for compatibility with older scripts" +} + +src_test() { + LD_LIBRARY_PATH="${S}/libavcore:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake fate SAMPLES="${WORKDIR}/fate" +} diff --git a/media-video/libav/libav-0.8.9999.ebuild b/media-video/libav/libav-0.8.9999.ebuild new file mode 100644 index 0000000..46056c0 --- /dev/null +++ b/media-video/libav/libav-0.8.9999.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-0.8.9999.ebuild,v 1.19 2012/05/22 16:52:18 flameeyes Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-2" + EGIT_REPO_URI="git://git.libav.org/libav.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} + +DESCRIPTION="Complete solution to record, convert and stream audio and video." +HOMEPAGE="http://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" +else # Official release + SRC_URI="http://${PN}.org/releases/${P}.tar.xz" +fi + +SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-0.8.2.tar.xz )" + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0" +[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 +~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos +~x64-solaris ~x86-solaris" +IUSE="+3dnow +3dnowext aac alsa altivec amr bindist +bzip2 cdio cpudetection + custom-cflags debug dirac doc +encode faac truetype frei0r +gpl gsm + +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network openssl + oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl +ssse3 + static-libs test theora threads v4l vaapi vdpau vorbis vpx X x264 xvid + +zlib" + +CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 +neon ssse3 vis" + +for i in ${CPU_FEATURES}; do + IUSE+=" ${i%:*}" +done + +RDEPEND=" + !media-video/ffmpeg + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + dirac? ( media-video/dirac ) + encode? ( + aac? ( media-libs/vo-aacenc ) + amr? ( media-libs/vo-amrwbenc ) + faac? ( media-libs/faac ) + mp3? ( >=media-sound/lame-3.98.3 ) + theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) + vorbis? ( media-libs/libvorbis media-libs/libogg ) + x264? ( >=media-libs/x264-0.0.20111017 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + ) + truetype? ( media-libs/freetype:2 ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.12-r1 ) + ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) + pulseaudio? ( media-sound/pulseaudio ) + rtmp? ( >=media-video/rtmpdump-2.2f ) + ssl? ( openssl? ( dev-libs/openssl ) + !openssl? ( net-libs/gnutls ) ) + sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) + schroedinger? ( media-libs/schroedinger ) + speex? ( >=media-libs/speex-1.2_beta3 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( >=media-libs/libvpx-0.9.6 ) + X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) + zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + dirac? ( virtual/pkgconfig ) + doc? ( app-text/texi2html ) + mmx? ( dev-lang/yasm ) + rtmp? ( virtual/pkgconfig ) + schroedinger? ( virtual/pkgconfig ) + truetype? ( virtual/pkgconfig ) + test? ( net-misc/wget ) + v4l? ( sys-kernel/linux-headers ) +" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE="bindist? ( !faac !openssl ) + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) + test? ( encode )" + +src_prepare() { + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi +} + +src_configure() { + local myconf="${EXTRA_LIBAV_CONF}" + local uses i + + myconf+=" + $(use_enable gpl) + $(use_enable gpl version3) + --enable-avfilter + " + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bzip2 || myconf+=" --disable-bzlib" + use sdl || myconf+=" --disable-avplay" + + if use ssl; then + use openssl && myconf+=" --enable-openssl --enable-nonfree" \ + || myconf+=" --enable-gnutls" + fi + + use custom-cflags && myconf+=" --disable-optimizations" + use cpudetection && myconf+=" --enable-runtime-cpudetect" + + #for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do + # use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}" + # use vdpau || myconf="${myconf} --disable-decoder=${i}" + #done + use vdpau || myconf+=" --disable-vdpau" + + use vaapi && myconf+=" --enable-vaapi" + + # Encoders + if use encode; then + use mp3 && myconf+=" --enable-libmp3lame" + use amr && myconf+=" --enable-libvo-amrwbenc" + use faac && myconf+=" --enable-libfaac --enable-nonfree" + use aac && myconf+=" --enable-libvo-aacenc" + uses="theora vorbis x264 xvid" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + else + myconf+=" --disable-encoders" + fi + + # libavdevice options + use cdio && myconf+=" --enable-libcdio" + use ieee1394 && myconf+=" --enable-libdc1394" + use pulseaudio && myconf+=" --enable-libpulse" + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=" --disable-indev=v4l" + use v4l || myconf+=" --disable-indev=v4l2" + for i in alsa oss jack; do + use ${i} || myconf+=" --disable-indev=${i}" + done + use X && myconf+=" --enable-x11grab" + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=" --disable-outdev=${i}" + done + # libavfilter options + use frei0r && myconf+=" --enable-frei0r" + use truetype && myconf+=" --enable-libfreetype" + + # Threads; we only support pthread for now but ffmpeg supports more + use threads && myconf+=" --enable-pthreads" + + # Decoders + use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb" + uses="gsm dirac rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + use jpeg2k && myconf+=" --enable-libopenjpeg" + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=" --disable-${i#*:}" + done + + # pass the right -mfpu as extra + use neon && myconf+=" --extra-cflags=-mfpu=neon" + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && use x86 ; then + myconf+=" --disable-mmx --disable-mmx2" + fi + + # Option to force building pic + use pic && myconf+=" --enable-pic" + + # Try to get cpu type based on CFLAGS. + # Bug #172723 + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [ "${i}" = "native" ] && i="host" # bug #273421 + [[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968 + myconf+=" --cpu=${i}" + break + done + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf+=" --target-os=freebsd" + ;; + mingw32*) + myconf+=" --target-os=mingw32" + ;; + *linux*) + myconf+=" --target-os=linux" + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=" --enable-hardcoded-tables" + + # Specific workarounds for too-few-registers arch... + if [[ $(tc-arch) == "x86" ]]; then + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + cd "${S}" + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + $(use_enable static-libs static) \ + ${myconf} || die +} + +src_compile() { + emake + + if use qt-faststart; then + tc-export CC + emake tools/qt-faststart + fi +} + +src_install() { + emake DESTDIR="${D}" install install-man + + dodoc Changelog README INSTALL + dodoc doc/*.txt + use doc && dodoc doc/*.html + + if use qt-faststart; then + dobin tools/qt-faststart + fi + + for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do + dosym ${i} /usr/bin/${i/av/ff} + done +} + +pkg_postinst() { + elog "Please note that the programs formerly known as ffplay, ffserver" + elog "and ffprobe are now called avplay, avserver and avprobe." + elog + elog "ffmpeg had been replaced by the feature incompatible avconv thus" + elog "the legacy ffmpeg is provided for compatibility with older scripts" +} + +src_test() { + LD_LIBRARY_PATH="${S}/libavcore:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake fate SAMPLES="${WORKDIR}/fate" +} diff --git a/media-video/libav/libav-9999.ebuild b/media-video/libav/libav-9999.ebuild new file mode 100644 index 0000000..078f809 --- /dev/null +++ b/media-video/libav/libav-9999.ebuild @@ -0,0 +1,326 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9999.ebuild,v 1.50 2012/05/22 16:52:18 flameeyes Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-2" + EGIT_REPO_URI="git://git.libav.org/libav.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} + +DESCRIPTION="Complete solution to record, convert and stream audio and video." +HOMEPAGE="http://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" +else # Official release + SRC_URI="http://${PN}.org/releases/${P}.tar.xz" +fi + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0" +[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 +~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos +~x64-solaris ~x86-solaris" +IUSE="aac alsa amr bindist +bzip2 cdio cpudetection custom-cflags debug doc + +encode faac frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3 + network openssl oss pic pulseaudio rtmp schroedinger sdl speex ssl + static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X + x264 xvid +zlib" + +# String for CPU features in the useflag[:configure_option] form +# if :configure_option isn't set, it will use 'useflag' as configure option +CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 neon ssse3 vis" +for i in ${CPU_FEATURES} ; do + IUSE+=" ${i%:*}" +done + +TOOLS="aviocat graph2dot ismindex pktdumper qt-faststart trasher" + +RDEPEND=" + !media-video/ffmpeg + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + encode? ( + aac? ( media-libs/vo-aacenc ) + amr? ( media-libs/vo-amrwbenc ) + faac? ( media-libs/faac ) + mp3? ( >=media-sound/lame-3.98.3 ) + theora? ( + >=media-libs/libtheora-1.1.1[encode] + media-libs/libogg + ) + vorbis? ( media-libs/libvorbis media-libs/libogg ) + x264? ( >=media-libs/x264-0.0.20111017 ) + xvid? ( >=media-libs/xvid-1.1.0 ) + ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.12-r1 ) + ieee1394? ( + media-libs/libdc1394 + sys-libs/libraw1394 + ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) + pulseaudio? ( media-sound/pulseaudio ) + rtmp? ( >=media-video/rtmpdump-2.2f ) + ssl? ( + openssl? ( dev-libs/openssl ) + !openssl? ( net-libs/gnutls ) + ) + sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) + schroedinger? ( media-libs/schroedinger ) + speex? ( >=media-libs/speex-1.2_beta3 ) + truetype? ( media-libs/freetype:2 ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau ) + vpx? ( >=media-libs/libvpx-0.9.6 ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + ) + zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + doc? ( app-text/texi2html ) + ieee1394? ( virtual/pkgconfig ) + mmx? ( dev-lang/yasm ) + rtmp? ( virtual/pkgconfig ) + schroedinger? ( virtual/pkgconfig ) + ssl? ( virtual/pkgconfig ) + test? ( sys-devel/bc ) + truetype? ( virtual/pkgconfig ) + v4l? ( sys-kernel/linux-headers ) +" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE="bindist? ( !faac !openssl ) + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) + test? ( encode zlib ) +" + +# Test on live ebuild are not possible as they require trunk fate +RESTRICT="test" + +src_prepare() { + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi +} + +src_configure() { + local myconf="${EXTRA_LIBAV_CONF}" + local uses i + + use zlib && TOOLS+=" cws2fws" + + myconf+=" + $(use_enable gpl) + $(use_enable gpl version3) + --enable-avfilter + " + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bzip2 || myconf+=" --disable-bzlib" + use sdl || myconf+=" --disable-avplay" + + if use ssl; then + use openssl && myconf+=" --enable-openssl --enable-nonfree" \ + || myconf+=" --enable-gnutls" + fi + + use custom-cflags && myconf+=" --disable-optimizations" + use cpudetection && myconf+=" --enable-runtime-cpudetect" + + use vdpau || myconf+=" --disable-vdpau" + + use vaapi && myconf+=" --enable-vaapi" + + # Encoders + if use encode; then + use faac && myconf+=" --enable-nonfree" + use mp3 && myconf+=" --enable-libmp3lame" + use amr && myconf+=" --enable-libvo-amrwbenc" + use aac && myconf+=" --enable-libvo-aacenc" + uses="faac theora vorbis x264 xvid" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + else + myconf+=" --disable-encoders" + fi + + # libavdevice options + use cdio && myconf+=" --enable-libcdio" + use ieee1394 && myconf+=" --enable-libdc1394" + use pulseaudio && myconf+=" --enable-libpulse" + + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=" --disable-indev=v4l" + use v4l || myconf+=" --disable-indev=v4l2" + for i in alsa oss jack; do + use ${i} || myconf+=" --disable-indev=${i}" + done + use X && myconf+=" --enable-x11grab" + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=" --disable-outdev=${i}" + done + # libavfilter options + use frei0r && myconf+=" --enable-frei0r" + use truetype && myconf+=" --enable-libfreetype" + + # Threads; we only support pthread for now but ffmpeg supports more + use threads && myconf+=" --enable-pthreads" + + # Decoders + use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb" + uses="gsm rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=" --enable-lib${i}" + done + use jpeg2k && myconf+=" --enable-libopenjpeg" + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=" --disable-${i#*:}" + done + + # pass the right -mfpu as extra + use neon && myconf+=" --extra-cflags=-mfpu=neon" + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && use x86 ; then + myconf+=" --disable-mmx --disable-mmx2" + fi + + # Option to force building pic + use pic && myconf+=" --enable-pic" + + # Try to get cpu type based on CFLAGS. + # Bug #172723 + # We need to do this so that features of that CPU will be better used + # If they contain an unknown CPU it will not hurt since ffmpeg's configure + # will just ignore it. + for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do + [[ "${i}" == "native" ]] && i="host" # bug #273421 + myconf+=" --cpu=${i}" + break + done + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf+=" --target-os=freebsd" + ;; + mingw32*) + myconf+=" --target-os=mingw32" + ;; + *linux*) + myconf+=" --target-os=linux" + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=" --enable-hardcoded-tables" + + # Specific workarounds for too-few-registers arch... + if [[ $(tc-arch) == "x86" ]]; then + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + cd "${S}" + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --optflags="${CFLAGS}" \ + --extra-cflags="${CFLAGS}" \ + $(use_enable static-libs static) \ + ${myconf} || die +} + +src_compile() { + local i + + emake + + if use tools; then + tc-export CC + + for i in ${TOOLS}; do + emake tools/${i} + done + fi +} + +src_install() { + local i + + emake DESTDIR="${D}" install install-man + + dodoc Changelog README INSTALL + dodoc doc/*.txt + use doc && dodoc doc/*.html + + if use tools; then + for i in ${TOOLS}; do + dobin tools/${i} + done + fi + + for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do + dosym ${i} /usr/bin/${i/av/ff} + done +} + +pkg_postinst() { + elog "Please note that the programs formerly known as ffplay, ffserver" + elog "and ffprobe are now called avplay, avserver and avprobe." + elog + elog "ffmpeg had been replaced by the feature incompatible avconv" +} + +src_test() { + LD_LIBRARY_PATH="${S}/libavcore:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ + emake V=1 -j1 fate +} diff --git a/media-video/libav/metadata.xml b/media-video/libav/metadata.xml new file mode 100644 index 0000000..a5f9f99 --- /dev/null +++ b/media-video/libav/metadata.xml @@ -0,0 +1,40 @@ + + + +video + + media-video@gentoo.org + + + + Enable manually-optimised routines using the AMD 3DNow!Ex SIMD + instruction set, present in modern AMD CPUs. (Check for + 3dnowext in /proc/cpuinfo to know whether your CPU supports it). + + Use external vo-aacenc library for AAC encoding + Enable Adaptive Multi-Rate Audio support + Adds support for Advanced Vector Extensions instructions (Intel Sandy Bridge, AMD Bulldozer and later chips) + Enable audio CD grabbing with dev-libs/libcdio. + Enables runtime CPU detection (useful for bindist, compatibility on other CPUs). + Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac. + Use external faac library for AAC encoding + Enable frei0r wrapping in libavfilter + Build all GPL licensed code. Without this flag set the package is build under LGPL license. + Use pre-calculated tables rather than calculating them on the fly. + Enable mmx2 support. + Enable network streaming support. + Prefer dev-libs/openssl over net-libs/gnutls to provide SSL/TLS support (notice: the resulting binaries are unredistributable). + Enable pulseaudio input support. + Force shared libraries to be built as PIC (this is slower). + Build and install qt-faststart application. + Enable Real Time Messaging Protocol using librtmp instead the native implementation. + Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec). + Enable SSL/TLS support using dev-libs/openssl or dev-libs/gnutls. + faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips). + Build and install small tools like aviocat, cws2fws, graph2dot, ismindex, qt-faststart. + Enable VAAPI (Video Acceleration API) for hardware decoding. + Enable VDPAU decoders (requires nVidia video cards to offload CPU processing to video card. + Adds support for SIMD optimizations for UltraSPARC processors. + Enable vp8 encoding support using libvpx. + + diff --git a/sci-physics/geant-python/ChangeLog b/sci-physics/geant-python/ChangeLog new file mode 100644 index 0000000..ed1d191 --- /dev/null +++ b/sci-physics/geant-python/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for sci-physics/geant-python +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/ChangeLog,v 1.5 2012/05/21 04:54:59 heroxbd Exp $ + + 21 May 2012; Benda Xu + +files/geant-python-4.9.5-vis-fix.patch, geant-python-4.9.5.ebuild: + fix VisManager c++ signature mismatch, upstream http://bugzilla- + geant4.kek.jp/show_bug.cgi?id=1318 + + 20 May 2012; Benda Xu +geant-python-4.9.5.ebuild + geant-python-4.9.5_p01.ebuild: + add version 4.9.5 for 4.9.5_p01 cannot function correctly, upstream bug + http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1317; add example USE flag. + +*geant-python-4.9.5_p01 (20 May 2012) + + 20 May 2012; Benda Xu + +files/geant-python-4.9.5-build.patch, + +files/geant-python-4.9.5-visverbose.patch, +geant-python-4.9.5_p01.ebuild, + +metadata.xml: + initial commit + diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest new file mode 100644 index 0000000..5defda6 --- /dev/null +++ b/sci-physics/geant-python/Manifest @@ -0,0 +1,16 @@ +AUX geant-python-4.9.3-RunMan.patch 6895 RMD160 0e149dff2a85e1a2049203754baa89385cb248c4 SHA1 eca6838549a7a1630fe54898053e772adcd260f1 SHA256 4b1921ad2d29ba2cfaf277dfdc5cc2ffa685dbe2d8815a6a2a3754857de6c47e +AUX geant-python-4.9.3-VisAtt.patch 428 RMD160 3c5e556ffec340f09f2aa27b628f8b27e1fe5aee SHA1 6b4181dfce81f0ce11eb53e35126fedd298cd170 SHA256 1df0a75eecca6cf53a2ce283466127ee179d36e4622e1a426d3ace0ecfed5fd3 +AUX geant-python-4.9.3-build.patch 1144 RMD160 6b5de444a07769760b712579af222d810f21284d SHA1 fec1df65703157a7ba844ffd759e917a5e1d3f87 SHA256 b38ba49d6b85fa2bf0759710260b14fefb8e82aeb69491d038ae3b17da6cb781 +AUX geant-python-4.9.5-TrkMan.patch 578 RMD160 4e84ce2f7ce681d33b729eae4696cef88fc8f62c SHA1 489ca24d9de220215089e677602959f56255ff33 SHA256 8cd3213412da8388fb875fc0c3527a180c6977e1c2cdeaa9ca8a187a4da31ff4 +AUX geant-python-4.9.5-build.patch 1026 RMD160 2bf191ddf06e7ca29ae2f2bc4d40d533ad400979 SHA1 8c365c334a9958c52ad08a2daa9e6923bec1afa9 SHA256 ef3f725aa4165374c7b3d090af3e017e14850f409def6f8e466dcb198d7a7c7e +AUX geant-python-4.9.5-vis-fix.patch 1458 RMD160 4801f01c440b937ad51535cc9134ee143bf3b7a9 SHA1 e92ede558d390925b1ce2c8a2b02e264af8203db SHA256 4201223199e03199fd6d139e76224d365dded6013534d5655f1ada3c67159038 +AUX geant-python-4.9.5-visverbose.patch 557 RMD160 752266b165007dc61dfe3e6e21804dca63c59754 SHA1 e2691a1bd095741de558e61771b9b8992c77a2fb SHA256 0955cd39ce1f8e842e2804370359a4e367b14f4791a40fd653918c32884bed8a +DIST geant4.9.3.p02.tar.gz 20009687 RMD160 3fc3ce68965666670a2cf6e7dbe93c00b305fc30 SHA1 1728ea641ecb7ff50d2f44366add3a7569967839 SHA256 9fed501a6b0fed9050655633998acb942f7be430711e08f234dd748c23037a90 +DIST geant4.9.5.p01.tar.gz 28466803 SHA256 451f8c4a29bb0dc4b923d59d77535a657f0f8a30dc6c8ef639c8b1ebdb26a10e +DIST geant4.9.5.tar.gz 28458437 SHA256 b6b31752319805052fb765f89ca38a23fb299a0a5bf900daeacd1950d6c9a597 +EBUILD geant-python-4.9.3.ebuild 1823 RMD160 66d18e7c8a00d1896b7864b4a60405fb57015dcb SHA1 cec46b0705248b805c4c8ca77f56b21ff9381fee SHA256 6d437a0f44463353963b9347336bb20d832e11387152b9b6103a7f2a4c7ca890 +EBUILD geant-python-4.9.3_p02.ebuild 1820 RMD160 0ffc1c4d8bb259e010b5ac0c7c7b2e3791facc24 SHA1 5c044390d30abf7ea3534311578e71315934eff1 SHA256 b2f260c9727319e9183928e1d86548fedd8f0e4a47ef0723289727e16d06b621 +EBUILD geant-python-4.9.5.ebuild 1727 RMD160 a669074010e915033b144bbd77f34cd36fb3b6e9 SHA1 c06ead6a91266a2c4c9bf6bb453011cff85ffec7 SHA256 783e96853439e8c288458e61190b3c2d42e58e2b189f4b9635ec39b31723602e +EBUILD geant-python-4.9.5_p01.ebuild 2551 RMD160 9b2bc43172a66a8771e5a408ed5f7caa0d3e4a00 SHA1 dd4a008749652cc94eaa0802dc10880aceb31742 SHA256 ed802828d7ded1628c7f269d694089a36846ed7db4e924164428e96f5457df73 +MISC ChangeLog 936 RMD160 328cfe5496e2baa14e8b923095f2cd75b08ee9eb SHA1 f7b7e41cbee543fd8c0018f509d988510bcbf697 SHA256 706b342ebe984b01d30690ab87d6a111369b1bbddc928a1ab0eb455bd4766a28 +MISC metadata.xml 240 RMD160 efd4ab46b75a4f49cf759c1af44f74b7d952dfc2 SHA1 7180d1a98e53900396070713396ca66eebb913c4 SHA256 f3269ca94d60315f7e3ebf8aa24ed69d2d2c53473707c76586834f76e8ce27e3 diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch b/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch new file mode 100644 index 0000000..6bfb875 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch @@ -0,0 +1,157 @@ +backported from geant-4.9.5 for DumpRegion function footprint chnage +--- source/run/pyG4RunManager.cc 2006-06-30 00:35:12.000000000 +0900 ++++ source/run/pyG4RunManager.cc.new 2012-07-14 22:00:38.000000000 +0900 +@@ -23,14 +23,15 @@ + // * acceptance of all terms of the Geant4 Software license. * + // ******************************************************************** + // +-// $Id: pyG4RunManager.cc,v 1.4 2006/06/29 15:35:12 gunter Exp $ +-// $Name: geant4-09-03-patch-02 $ ++// $Id: pyG4RunManager.cc,v 1.6 2010-12-02 08:23:05 kmura Exp $ ++// $Name: not supported by cvs2svn $ + // ==================================================================== + // pyG4RunManager.cc + // + // 2005 Q + // ==================================================================== + #include ++#include "G4Version.hh" + #include "G4RunManager.hh" + #include "G4VUserDetectorConstruction.hh" + #include "G4VUserPhysicsList.hh" +@@ -72,13 +73,17 @@ void (G4RunManager::*f6_SetUserAction)(G + = &G4RunManager::SetUserAction; + + // DumpRegion ++#if G4VERSION_NUMBER >= 932 ++void (G4RunManager::*f1_DumpRegion)(const G4String&) const ++ = &G4RunManager::DumpRegion; ++#else + void (G4RunManager::*f1_DumpRegion)(G4String) const +- = &G4RunManager::DumpRegion; ++ = &G4RunManager::DumpRegion; ++#endif + void (G4RunManager::*f2_DumpRegion)(G4Region*) const + = &G4RunManager::DumpRegion; + +-BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DumpRegion, +- DumpRegion, 0, 1); ++BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DumpRegion, DumpRegion, 0, 1); + + // BeamOn() + BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_BeamOn, BeamOn, 1, 3); +@@ -87,8 +92,8 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f + BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_AbortRun, AbortRun, 0, 1); + + // DefineWorldVolume() +-BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DefineWorldVolume, +- DefineWorldVolume, 1, 2); ++BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DefineWorldVolume, ++ DefineWorldVolume, 1, 2); + + }; + +@@ -102,18 +107,18 @@ void export_G4RunManager() + class_("G4RunManager", "run manager class") + // --- + .def("GetRunManager", &G4RunManager::GetRunManager, +- "Get an instance of G4RunManager", +- return_value_policy()) ++ "Get an instance of G4RunManager", ++ return_value_policy()) + .staticmethod("GetRunManager") + // --- + .def("SetVerboseLevel", &G4RunManager::SetVerboseLevel) + .def("GetVerboseLevel", &G4RunManager::GetVerboseLevel) + // --- + .def("Initialize", &G4RunManager::Initialize) +- .def("BeamOn", &G4RunManager::BeamOn, +- f_BeamOn((arg("n_event"), arg("macroFile")=0, +- arg("n_select")=-1), +- "Starts event loop.")) ++ .def("BeamOn", &G4RunManager::BeamOn, ++ f_BeamOn((arg("n_event"), arg("macroFile")=0, ++ arg("n_select")=-1), ++ "Starts event loop.")) + // --- + .def("SetUserInitialization", f1_SetUserInitialization) + .def("SetUserInitialization", f2_SetUserInitialization) +@@ -125,50 +130,58 @@ void export_G4RunManager() + .def("SetUserAction", f6_SetUserAction) + // --- + .def("GetUserDetectorConstruction", +- &G4RunManager::GetUserDetectorConstruction, +- return_internal_reference<>()) ++ &G4RunManager::GetUserDetectorConstruction, ++ return_internal_reference<>()) + .def("GetUserPhysicsList", +- &G4RunManager::GetUserPhysicsList, +- return_internal_reference<>()) ++ &G4RunManager::GetUserPhysicsList, ++ return_internal_reference<>()) + .def("GetUserPrimaryGeneratorAction", +- &G4RunManager::GetUserPrimaryGeneratorAction, +- return_internal_reference<>()) ++ &G4RunManager::GetUserPrimaryGeneratorAction, ++ return_internal_reference<>()) + .def("GetUserRunAction", &G4RunManager::GetUserRunAction, +- return_internal_reference<>()) ++ return_internal_reference<>()) + .def("GetUserEventAction", &G4RunManager::GetUserEventAction, +- return_internal_reference<>()) ++ return_internal_reference<>()) + .def("GetUserStackingAction", &G4RunManager::GetUserStackingAction, +- return_internal_reference<>()) ++ return_internal_reference<>()) + .def("GetUserTrackingAction", &G4RunManager::GetUserTrackingAction, +- return_internal_reference<>()) ++ return_internal_reference<>()) + .def("GetUserSteppingAction", &G4RunManager::GetUserSteppingAction, +- return_internal_reference<>()) ++ return_internal_reference<>()) + // --- + .def("AbortRun", &G4RunManager::AbortRun, +- f_AbortRun((arg("soft_abort")=false), +- "Abort run (event loop).")) +- .def("AbortEvent", &G4RunManager::AbortEvent) +- .def("GetVersionString", &G4RunManager::GetVersionString) ++ f_AbortRun((arg("soft_abort")=false), ++ "Abort run (event loop).")) ++ .def("AbortEvent", &G4RunManager::AbortEvent) + .def("DefineWorldVolume", &G4RunManager::DefineWorldVolume, +- f_DefineWorldVolume()) ++ f_DefineWorldVolume()) + .def("DumpRegion", f1_DumpRegion) + .def("DumpRegion", f2_DumpRegion, f_DumpRegion()) + .def("rndmSaveThisRun", &G4RunManager::rndmSaveThisRun) + .def("rndmSaveThisEvent", &G4RunManager::rndmSaveThisEvent) + .def("RestoreRandomNumberStatus", +- &G4RunManager::RestoreRandomNumberStatus) ++ &G4RunManager::RestoreRandomNumberStatus) + .def("SetRandomNumberStore", &G4RunManager::SetRandomNumberStore) + .def("GetRandomNumberStore", &G4RunManager::GetRandomNumberStore) + .def("SetRandomNumberStoreDir", &G4RunManager::SetRandomNumberStoreDir) +- .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir) + .def("GeometryHasBeenModified", &G4RunManager::GeometryHasBeenModified) + .def("PhysicsHasBeenModified", &G4RunManager::PhysicsHasBeenModified) + .def("GetGeometryToBeOptimized",&G4RunManager::GetGeometryToBeOptimized) + .def("GetCurrentRun", &G4RunManager::GetCurrentRun, +- return_value_policy()) ++ return_value_policy()) + .def("GetCurrentEvent", &G4RunManager::GetCurrentEvent, +- return_value_policy()) ++ return_value_policy()) + .def("SetRunIDCounter", &G4RunManager::SetRunIDCounter) ++ ++#if G4VERSION_NUMBER >= 932 ++ .def("GetVersionString", &G4RunManager::GetVersionString, ++ return_value_policy()) ++ .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir, ++ return_internal_reference<>()) ++#else ++ .def("GetVersionString", &G4RunManager::GetVersionString) ++ .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir) ++#endif + ; + + // reduced functionality... diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch b/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch new file mode 100644 index 0000000..364e965 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch @@ -0,0 +1,10 @@ +--- source/graphics_reps/pyG4VisAttributes.cc 2009-12-19 02:23:08.000000000 +0900 ++++ source/graphics_reps/pyG4VisAttributes.cc.new 2012-07-12 12:04:50.000000000 +0900 +@@ -31,6 +31,7 @@ + // 2005 Q + // ==================================================================== + #include ++#include "G4AttDef.hh" + #include "G4VisAttributes.hh" + + using namespace boost::python; diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-build.patch b/sci-physics/geant-python/files/geant-python-4.9.3-build.patch new file mode 100644 index 0000000..aa927ec --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.3-build.patch @@ -0,0 +1,43 @@ +--- configure.old 2009-11-20 12:36:51.000000000 +0900 ++++ configure 2012-07-14 10:18:19.000000000 +0900 +@@ -3,12 +3,6 @@ + # ====================================================================== + # A configure script for Geant4Py + # ====================================================================== +-export LANG=C +- +-IFS=' +- ' +-PATH=/bin:/usr/bin +-export PATH + + # ====================================================================== + # testing the echo features +@@ -323,15 +317,18 @@ echo "lib${clhep_lib}.${shlib}" + + # --- + echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c" +-# check version +-set python python2.6 python2.5 python2.4 python2.3 python2.2 +-for aincdir in $* +-do +- if [ -d /usr/include/"$aincdir" ]; then +- python_incdir=/usr/include/$aincdir +- break +- fi +-done ++ ++if [ ! -d "$python_incdir" ]; then ++ # check version ++ set python python2.6 python2.5 python2.4 python2.3 python2.2 ++ for aincdir in $* ++ do ++ if [ -d /usr/include/"$aincdir" ]; then ++ python_incdir=/usr/include/$aincdir ++ break ++ fi ++ done ++fi + + if [ ! -f "$python_incdir"/pyconfig.h ]; then + echo "no" diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch b/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch new file mode 100644 index 0000000..df03d21 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch @@ -0,0 +1,12 @@ +expose secondaries for debugging of scintillation. Not yet reported upstream. +--- source/tracking/pyG4TrackingManager.cc.old 2011-12-03 00:12:32.000000000 +0900 ++++ source/tracking/pyG4TrackingManager.cc 2012-07-12 14:19:30.000000000 +0900 +@@ -51,6 +51,8 @@ void export_G4TrackingManager() + .def("GetVerboseLevel", &G4TrackingManager::GetVerboseLevel) + .def("SetUserTrackInformation", + &G4TrackingManager::SetUserTrackInformation) ++ .def("GimmeSecondaries", &G4TrackingManager::GimmeSecondaries, ++ return_value_policy()) + ; + } + diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-build.patch b/sci-physics/geant-python/files/geant-python-4.9.5-build.patch new file mode 100644 index 0000000..94f5dd2 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-build.patch @@ -0,0 +1,39 @@ +make configure respect --with-python-incdir +reported upstream at http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1316 +diff --git a/configure b/configure +index 2d755b1..3db111f 100755 +--- a/configure ++++ b/configure +@@ -330,18 +330,21 @@ echo "lib${clhep_lib}.${shlib}" + # --- + echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c" + # check version +-if [ $with_python3 = 0 ]; then +- set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 +-else +- set python3.1 python3.0 ++if [ ! -d "$python_incdir" ] ++then ++ if [ $with_python3 = 0 ]; then ++ set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 ++ else ++ set python3.1 python3.0 ++ fi ++ for aincdir in $* ++ do ++ if [ -d /usr/include/"$aincdir" ]; then ++ python_incdir=/usr/include/$aincdir ++ break ++ fi ++ done + fi +-for aincdir in $* +-do +- if [ -d /usr/include/"$aincdir" ]; then +- python_incdir=/usr/include/$aincdir +- break +- fi +-done + + if [ ! -f "$python_incdir"/pyconfig.h ]; then + echo "no" diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch b/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch new file mode 100644 index 0000000..1826764 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch @@ -0,0 +1,31 @@ +fix the C++ signature, upstream http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1318 +diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc +index 33bb0d4..bbd9e0a 100644 +--- a/source/visualization/pyG4VisManager.cc ++++ b/source/visualization/pyG4VisManager.cc +@@ -39,7 +39,7 @@ using namespace boost::python; + // ==================================================================== + // wrappers + // ==================================================================== +-class PyG4VisManager : public G4VisManager { ++struct PyG4VisManager : G4VisManager, wrapper { + public: + PyG4VisManager() { SetVerboseLevel(quiet); } + ~PyG4VisManager() { } +@@ -62,7 +62,7 @@ void (PyG4VisManager::*f1_SetVerboseLevel)(G4int) + = &PyG4VisManager::SetVerboseLevel; + void (PyG4VisManager::*f2_SetVerboseLevel)(const G4String&) + = &PyG4VisManager::SetVerboseLevel; +- void (PyG4VisManager::*f3_SetVerboseLevel)(G4VisManager::Verbosity) ++void (PyG4VisManager::*f3_SetVerboseLevel)(G4VisManager::Verbosity) + = &PyG4VisManager::SetVerboseLevel; + + } +@@ -87,6 +87,7 @@ void export_G4VisManager() + .def("SetVerboseLevel", f2_SetVerboseLevel) + .def("SetVerboseLevel", f3_SetVerboseLevel) + .def("GetVerbosity", &PyG4VisManager::GetVerbosity) ++ .staticmethod("GetVerbosity") + .def("Initialize", &PyG4VisManager::Initialize) + .def("RegisterGraphicsSystem", &PyG4VisManager::RegisterGraphicsSystem) + ; diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch new file mode 100644 index 0000000..0508f28 --- /dev/null +++ b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch @@ -0,0 +1,13 @@ +diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc +index 33bb0d4..00f86a5 100644 +--- a/source/visualization/pyG4VisManager.cc ++++ b/source/visualization/pyG4VisManager.cc +@@ -41,7 +41,7 @@ using namespace boost::python; + // ==================================================================== + class PyG4VisManager : public G4VisManager { + public: +- PyG4VisManager() { SetVerboseLevel(quiet); } ++ PyG4VisManager() { SetVerboseLevel(all); } + ~PyG4VisManager() { } + + virtual void RegisterGraphicsSystems() { } diff --git a/sci-physics/geant-python/geant-python-4.9.3.ebuild b/sci-physics/geant-python/geant-python-4.9.3.ebuild new file mode 100644 index 0000000..ab68958 --- /dev/null +++ b/sci-physics/geant-python/geant-python-4.9.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ + +EAPI=4 + +inherit python versionator + +MYP="geant$(replace_version_separator 3 .)" + +DESCRIPTION="this ebuild is only for geant4.9.3 on teena" +HOMEPAGE="http://geant4.cern.ch/" +# SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="geant4" +SLOT="0" +IUSE="examples" + +RDEPEND="=sci-physics/geant-${PV}* \ + dev-libs/boost[python]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}/environments/g4py" + +src_unpack() { + mkdir -p "${S}" + cp -a ${G4INSTALL}/environments/g4py/* "${S}"/ +} + +src_prepare() { + # DISTDIR and python path patch + epatch "${FILESDIR}"/${P}-build.patch + + # fix the visManager wrapper + epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch + epatch "${FILESDIR}"/${P}-VisAtt.patch +} + +src_configure() { + case ${CHOST} in + x86_64-pc-linux-gnu) + ARG=linux64 + ;; + i?86-pc-linux-gnu) + ARG=linux + ;; + *) + die "platform unknown" + ;; + esac + + ./configure ${ARG} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${ED}/$(python_get_sitedir)" \ + --with-g4-incdir="${G4INSTALL}/include/Geant4" \ + --with-g4-libdir="${G4INSTALL}/lib/Linux-g++" \ + --with-clhep-incdir="${EPREFIX}/usr/include" \ + --with-clhep-libdir="${EPREFIX}/usr/lib" \ + --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ + --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ + --with-boost-incdir="${EPREFIX}/usr/include" \ + --with-boost-libdir="${EPREFIX}/usr/lib" \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${ED}" install + insinto /usr/share/doc/${PF} + dodoc 00README History AUTHORS + use examples && doins -r examples +} diff --git a/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild b/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild new file mode 100644 index 0000000..e3db0eb --- /dev/null +++ b/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ + +EAPI=4 + +inherit python versionator + +MYP="geant$(replace_version_separator 3 .)" + +DESCRIPTION="Python binding for geant" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="geant4" +SLOT="0" +IUSE="examples" + +RDEPEND="=sci-physics/geant-${PV}* \ + dev-libs/boost[python]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}/environments/g4py" + +src_prepare() { + # DISTDIR and python path patch + epatch "${FILESDIR}"/${PN}-4.9.3-build.patch + + # fix the visManager wrapper + epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch + + epatch "${FILESDIR}"/${PN}-4.9.5-TrkMan.patch + epatch "${FILESDIR}"/${PN}-4.9.3-VisAtt.patch + epatch "${FILESDIR}"/${PN}-4.9.3-RunMan.patch +} + +src_configure() { + case ${CHOST} in + x86_64-pc-linux-gnu) + ARG=linux64 + ;; + i?86-pc-linux-gnu) + ARG=linux + ;; + *) + die "platform unknown" + ;; + esac + + ./configure ${ARG} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${ED}/$(python_get_sitedir)" \ + --with-g4-incdir="${EPREFIX}/usr/include/geant" \ + --with-g4-libdir="${EPREFIX}/usr/lib" \ + --with-clhep-incdir="${EPREFIX}/usr/include" \ + --with-clhep-libdir="${EPREFIX}/usr/lib" \ + --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ + --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ + --with-boost-incdir="${EPREFIX}/usr/include" \ + --with-boost-libdir="${EPREFIX}/usr/lib" \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${ED}" install + insinto /usr/share/doc/${PF} + dodoc 00README History AUTHORS + use examples && doins -r examples +} diff --git a/sci-physics/geant-python/geant-python-4.9.5.ebuild b/sci-physics/geant-python/geant-python-4.9.5.ebuild new file mode 100644 index 0000000..7580ffc --- /dev/null +++ b/sci-physics/geant-python/geant-python-4.9.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ + +EAPI=4 + +inherit python versionator + +MYP="geant$(replace_version_separator 3 .)" + +DESCRIPTION="Python binding for geant" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="geant4" +SLOT="0" +IUSE="examples" + +RDEPEND="=sci-physics/geant-${PV}* \ + dev-libs/boost[python]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}/environments/g4py" + +src_prepare() { + # DISTDIR and python path patch + epatch "${FILESDIR}"/${PN}-4.9.5-build.patch + + # fix the visManager wrapper + epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch + + epatch "${FILESDIR}"/${PN}-4.9.5-TrkMan.patch +} + +src_configure() { + case ${CHOST} in + x86_64-pc-linux-gnu) + ARG=linux64 + ;; + i?86-pc-linux-gnu) + ARG=linux + ;; + *) + die "platform unknown" + ;; + esac + + ./configure ${ARG} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${ED}/$(python_get_sitedir)" \ + --with-g4-incdir="${EPREFIX}/usr/include/Geant4" \ + --with-g4-libdir="${EPREFIX}/usr/lib" \ + --with-clhep-incdir="${EPREFIX}/usr/include" \ + --with-clhep-libdir="${EPREFIX}/usr/lib" \ + --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ + --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ + --with-boost-incdir="${EPREFIX}/usr/include" \ + --with-boost-libdir="${EPREFIX}/usr/lib" \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${ED}" install + insinto /usr/share/doc/${PF} + dodoc 00README History AUTHORS + use examples && doins -r examples +} diff --git a/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild b/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild new file mode 100644 index 0000000..61b8f1c --- /dev/null +++ b/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild,v 1.2 2012/05/20 16:48:17 heroxbd Exp $ + +EAPI=4 + +inherit python versionator + +MYP="geant$(replace_version_separator 3 .)" + +DESCRIPTION="Python binding for geant" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="geant4" +SLOT="0" +IUSE="examples" + +RDEPEND="=sci-physics/geant-${PV}* \ + dev-libs/boost[python]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}/environments/g4py" + +src_prepare() { + # DISTDIR and python path patch + epatch "${FILESDIR}"/${PN}-4.9.5-build.patch + + # set to the highest verbose for visManager + epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch + + # let Geant4 module installed into python sitedir instead of default + sed -i "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ + config/install.gmk || die "sed failed on config/install.gmk" + for mfile in source/python{3,}/GNUmakefile + do + sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ + "${mfile}" || die "sed failed on ${mfile}" + done + + # let g4py module installed into python sitedir instead of default + sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ + config/site-install.gmk || die "sed failed on config/site-install.gmk" + for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile + do + sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ + "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}" + done +} + +src_configure() { + case ${CHOST} in + x86_64-pc-linux-gnu) + ARG=linux64 + ;; + i?86-pc-linux-gnu) + ARG=linux + ;; + *) + die "platform unknown" + ;; + esac + + ./configure ${ARG} \ + --prefix="${EPREFIX}/usr" \ + --with-g4-incdir="${EPREFIX}/usr/include/Geant4" \ + --with-g4-libdir="${EPREFIX}/usr/lib" \ + --with-clhep-incdir="${EPREFIX}/usr/include" \ + --with-clhep-libdir="${EPREFIX}/usr/lib" \ + --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ + --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ + --with-boost-incdir="${EPREFIX}/usr/include" \ + --with-boost-libdir="${EPREFIX}/usr/lib" \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${ED}" install + insinto /usr/share/doc/${PF} + dodoc 00README History AUTHORS + use examples && doins -r examples +} diff --git a/sci-physics/geant-python/metadata.xml b/sci-physics/geant-python/metadata.xml new file mode 100644 index 0000000..c7e8266 --- /dev/null +++ b/sci-physics/geant-python/metadata.xml @@ -0,0 +1,8 @@ + + + + sci-physics + +Python binding to Geant 4. + + diff --git a/sci-physics/geant/files/geant-4.9.2-zlib.patch b/sci-physics/geant/files/geant-4.9.2-zlib.patch new file mode 100644 index 0000000..7b33733 --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.2-zlib.patch @@ -0,0 +1,11 @@ +--- config/binmake.gmk.orig 2009-01-19 16:37:42.177379773 +0000 ++++ config/binmake.gmk 2009-01-19 16:38:04.671541248 +0000 +@@ -258,7 +258,7 @@ + endif + endif + +-ifdef G4LIB_USE_ZLIB ++ifdef G4LIB_BUILD_ZLIB + LDLIBS2 += -lG4zlib + endif + diff --git a/sci-physics/geant/files/geant-4.9.3-respect_flags.patch b/sci-physics/geant/files/geant-4.9.3-respect_flags.patch new file mode 100644 index 0000000..52a7caf --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.3-respect_flags.patch @@ -0,0 +1,125 @@ +Respect CXX, compiler flags +Fix build with --as-needed + +http://bugs.gentoo.org/show_bug.cgi?id=344119 + +--- config/sys/Linux-g++.gmk ++++ config/sys/Linux-g++.gmk +@@ -2,9 +2,7 @@ + # ------ GNU/LINUX ------ gcc 3.2 and higher + # + ifeq ($(G4SYSTEM),Linux-g++) +- CXX := g++ +- CXXFLAGS := -W -Wall -ansi -pedantic -Wno-non-virtual-dtor -Wno-long-long +- CXXFLAGS += -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe ++ CXXFLAGS += -ansi + # + # Uncomment the following options to activate Pentium4 chip specific + # floating-point operations on the SSE unit. It will allow for more stable +@@ -14,27 +12,16 @@ + # platforms. Will only run on Pentium4-based architectures ! + # + # CXXFLAGS += -march=pentium4 -mfpmath=sse +- ifdef G4OPTIMISE +- CXXFLAGS += -O2 +- FCFLAGS := -O2 +- CCFLAGS := -O2 +- else +- ifdef G4DEBUG ++ ifdef G4DEBUG + CXXFLAGS += -g +- FCFLAGS := -g +- CCFLAGS := -g +- endif ++ FCFLAGS += -g ++ CCFLAGS += -g + endif + ifdef G4PROFILE + CXXFLAGS += -pg + FCFLAGS += -pg + CCFLAGS += -pg + endif +- ifdef G4OPTDEBUG +- CXXFLAGS += -O2 -g +- FCFLAGS += -O2 -g +- CCFLAGS += -O2 -g +- endif + ifdef G4LIB_BUILD_SHARED + CXXFLAGS += -fPIC + FCFLAGS += -fPIC +@@ -42,7 +29,6 @@ + endif + G4RUNPATHOPTION := -Wl,-rpath + CC := gcc +- FC := gfortran + FCFLAGS += -fno-automatic -fno-backslash -fno-second-underscore + FCLIBS := -lg2c -lnsl + ECHO := /bin/echo -e +@@ -108,7 +94,7 @@ + endif + ifndef QTLIBPATH + QTLIBPATH := $(QTHOME)/lib +- QT_SEARCH_LIB := $(shell ls $(QTLIBPATH)/qt$(QT_VERSION)/libq* 2>/dev/null | wc -l ) ++ QT_SEARCH_LIB := $(shell ls $(QTLIBPATH)/qt$(QT_VERSION)/lib[q,Q]t* 2>/dev/null | wc -l ) + ifneq ($(QT_SEARCH_LIB),0) + QTLIBPATH := $(QTHOME)/lib/qt$(QT_VERSION) + endif +@@ -140,13 +126,13 @@ + define build-granular-shared-lib + @libdir=`(cd $(@D);/bin/pwd)`; \ + cd $(G4TMPDIR); \ +- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) *.o ++ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) *.o $(INTYLIBS); + endef + define build-global-shared-lib + @libdir=`(cd $(@D);/bin/pwd)`; \ + cd $(G4TMP)/$(G4SYSTEM); \ +- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) \ +- $(foreach dir,$(SUBLIBS),$(dir)/*.o); ++ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) \ ++ $(foreach dir,$(SUBLIBS),$(dir)/*.o) $(INTYLIBS); + endef + + endif +--- config/sys/Linux-icc.gmk ++++ config/sys/Linux-icc.gmk +@@ -3,17 +3,11 @@ + # + ifeq ($(G4SYSTEM),Linux-icc) + CXX := icc +- CXXFLAGS := -ansi -fp-model precise -no-gcc -w1 +- ifdef G4OPTIMISE +- CXXFLAGS += -O2 +- FCFLAGS := -O2 +- CCFLAGS := -O2 +- else +- ifdef G4DEBUG +- CXXFLAGS += -g +- FCFLAGS := -g +- CCFLAGS := -g +- endif ++ CXXFLAGS += -ansi ++ ifdef G4DEBUG ++ CXXFLAGS += -g ++ FCFLAGS += -g ++ CCFLAGS += -g + endif + ifdef G4PROFILE + CXXFLAGS += -qp +@@ -61,13 +55,13 @@ + define build-granular-shared-lib + @libdir=`(cd $(@D);/bin/pwd)`; \ + cd $(G4TMPDIR); \ +- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) *.o ++ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) *.o $(INTYLIBS); + endef + define build-global-shared-lib + @libdir=`(cd $(@D);/bin/pwd)`; \ + cd $(G4TMP)/$(G4SYSTEM); \ +- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) \ +- $(foreach dir,$(SUBLIBS),$(dir)/*.o); ++ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) \ ++ $(foreach dir,$(SUBLIBS),$(dir)/*.o) $(INTYLIBS); + endef + + endif diff --git a/sci-physics/geant/files/geant-4.9.3-zlib.patch b/sci-physics/geant/files/geant-4.9.3-zlib.patch new file mode 100644 index 0000000..f047abd --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.3-zlib.patch @@ -0,0 +1,27 @@ +--- config/binmake.gmk.orig ++++ config/binmake.gmk +@@ -234,7 +234,7 @@ ifdef GLOBALLIBS + -lG4intercoms \ + -lG4global + +- ifdef G4LIB_USE_ZLIB ++ ifdef G4LIB_BUILD_ZLIB + LDLIBS2 += -lG4zlib + endif + + +--- config/architecture.gmk.orig 2011-01-16 00:22:05.976079082 +0000 ++++ config/architecture.gmk 2011-01-16 00:23:18.346082379 +0000 +@@ -214,8 +214,10 @@ + else + LDFLAGS += -L$(CLHEP_LIB_DIR) + LOADLIBS := -l$(CLHEP_LIB) -lm +- ifndef G4LIB_USE_ZLIB +- LOADLIBS += -lz ++ ifdef G4LIB_USE_ZLIB ++ ifndef G4LIB_BUILD_ZLIB ++ LOADLIBS += -lz ++ endif + endif + endif + diff --git a/sci-physics/geant/files/geant-4.9.4-datadir.patch b/sci-physics/geant/files/geant-4.9.4-datadir.patch new file mode 100644 index 0000000..c691d90 --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.4-datadir.patch @@ -0,0 +1,43 @@ +--- cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake.orig 2011-01-22 00:49:11.096082056 +0000 ++++ cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake 2011-01-22 00:53:04.746078920 +0000 +@@ -74,9 +74,9 @@ + # Construct backward compatible variables + # + set(G4SYSTEM "${GEANT4_SYSTEM}-${GEANT4_COMPILER}") +-set(G4INSTALL ${GEANT4_DATADIR}/geant4-${geant4_VERSION}) ++set(G4INSTALL ${GEANT4_DATADIR}/geant4) + set(G4INCLUDE ${GEANT4_INCLUDEDIR}/geant4) +-set(G4LIB ${GEANT4_LIBDIR}/geant4-${geant4_VERSION}) ++set(G4LIB ${GEANT4_LIBDIR}/geant4) + + message(STATUS "Geant4 backwards compatible variable G4SYSTEM : ${G4SYSTEM}") + message(STATUS "Geant4 backwards compatible variable G4INSTALL: ${G4INSTALL}") +@@ -125,7 +125,7 @@ + # Install targets + # toolchain + install(DIRECTORY config +- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} ++ DESTINATION ${GEANT4_DATAROOTDIR}/geant4 + FILES_MATCHING PATTERN "*.gmk" + PATTERN "CVS" EXCLUDE + PATTERN "scripts/" EXCLUDE) +@@ -134,16 +134,16 @@ + install(FILES + ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.sh + ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.csh +- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION}/config ++ DESTINATION ${GEANT4_DATAROOTDIR}/geant4/config + PERMISSIONS + OWNER_READ OWNER_WRITE OWNER_EXECUTE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE) + + # compatibility softlink to library directory +- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})") ++ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)") + +- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})") ++ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)") + + endif() + diff --git a/sci-physics/geant/files/geant-4.9.4-libdir.patch b/sci-physics/geant/files/geant-4.9.4-libdir.patch new file mode 100644 index 0000000..8934f73 --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.4-libdir.patch @@ -0,0 +1,35 @@ +--- CMakeLists.txt.orig 2011-01-17 06:25:14.536078940 +0000 ++++ CMakeLists.txt 2011-01-21 23:50:53.406082074 +0000 +@@ -195,7 +195,7 @@ + set(GEANT4_PREFIX ${CMAKE_INSTALL_PREFIX}) + set(GEANT4_EXEC_PREFIX ${GEANT4_PREFIX}) + set(GEANT4_BINDIR ${GEANT4_EXEC_PREFIX}/bin) +-set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib) ++set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib${LIB_SUFFIX}) + set(GEANT4_DATAROOTDIR ${GEANT4_PREFIX}/share) + set(GEANT4_DATADIR ${GEANT4_DATAROOTDIR}) + set(GEANT4_INCLUDEDIR ${GEANT4_PREFIX}/include) +--- cmake/Modules/Geant4MacroLibraryTargets.cmake.orig 2011-01-21 23:36:09.356079013 +0000 ++++ cmake/Modules/Geant4MacroLibraryTargets.cmake 2011-01-21 23:49:49.826082339 +0000 +@@ -35,8 +35,8 @@ + # NEEDS WORK TO REMOVE HARDCODED LIB/BIN DIR + install(TARGETS ${G4LIBTARGET_NAME} + RUNTIME DESTINATION bin +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib) ++ LIBRARY DESTINATION lib${LIB_SUFFIX} ++ ARCHIVE DESTINATION lib${LIB_SUFFIX}) + endif() + + # +@@ -59,8 +59,8 @@ + + install(TARGETS ${G4LIBTARGET_NAME}-static + RUNTIME DESTINATION bin +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib) ++ LIBRARY DESTINATION lib${LIB_SUFFIX} ++ ARCHIVE DESTINATION lib${LIB_SUFFIX}) + endif() + ENDMACRO() + diff --git a/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch b/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch new file mode 100644 index 0000000..8c9d477 --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch @@ -0,0 +1,10 @@ +--- source/geometry/CMakeLists.txt.orig 2011-01-17 05:09:38.046080303 +0000 ++++ source/geometry/CMakeLists.txt 2011-01-17 05:09:59.636215548 +0000 +@@ -12,7 +12,6 @@ + # + #------------------------------------------------------------------------------ + +-add_subdirectory(benchmarks) + add_subdirectory(biasing) + add_subdirectory(divisions) + add_subdirectory(magneticfield) diff --git a/sci-physics/geant/files/geant-4.9.4-no-examples.patch b/sci-physics/geant/files/geant-4.9.4-no-examples.patch new file mode 100644 index 0000000..6db7b3f --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.4-no-examples.patch @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2011-01-22 01:47:07.000000000 +0000 ++++ CMakeLists.txt 2011-01-22 02:00:58.676084146 +0000 +@@ -209,9 +209,9 @@ + # Install any extra files needed such as documentation and legacy Makefiles + # + # User example code +-install(DIRECTORY examples +- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} +- PATTERN "CVS" EXCLUDE) ++#install(DIRECTORY examples ++# DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} ++# PATTERN "CVS" EXCLUDE) + + + # diff --git a/sci-physics/geant/files/geant-4.9.4-trajectory.patch b/sci-physics/geant/files/geant-4.9.4-trajectory.patch new file mode 100644 index 0000000..df45ae2 --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.4-trajectory.patch @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2011-04-28 01:19:54.232041312 +0200 ++++ CMakeLists.txt 2011-04-28 01:15:11.434101391 +0200 +@@ -43,6 +43,8 @@ + set(${PROJECT_NAME}_VERSION_MINOR "4") + set(${PROJECT_NAME}_VERSION_PATCH "1") + ++add_definitions(-DG4_STORE_TRAJECTORY) ++ + #------------------------------------------------------------------------------ + # Set up path to internal set of CMake modules. + # diff --git a/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch b/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch new file mode 100644 index 0000000..0eb839d --- /dev/null +++ b/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch @@ -0,0 +1,56 @@ +tweak Geant4ToolchainBackwardCompatibility.cmake to get the envvars we want. bug 409853 +diff --git a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake +index 41a88c4..e93b923 100644 +--- a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake ++++ b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake +@@ -678,15 +678,4 @@ foreach(_shell bourne;cshell) + @ONLY + ) + +- # Install it to the required location +- install(FILES +- ${PROJECT_BINARY_DIR}/InstallTreeFiles/${_scriptfullname} +- DESTINATION ${CMAKE_INSTALL_BINDIR} +- PERMISSIONS +- OWNER_READ OWNER_WRITE OWNER_EXECUTE +- GROUP_READ GROUP_EXECUTE +- WORLD_READ WORLD_EXECUTE +- COMPONENT Runtime +- ) + endforeach() +- +diff --git a/cmake/Templates/geant4-env-skeleton.in b/cmake/Templates/geant4-env-skeleton.in +index ea8f104..db68b9c 100644 +--- a/cmake/Templates/geant4-env-skeleton.in ++++ b/cmake/Templates/geant4-env-skeleton.in +@@ -1,30 +1,3 @@ +-#!@GEANT4_TC_SHELL_PROGRAM@ +- +-#---------------------------------------------------------------------------- +-# @GEANT4_TC_SHELL_FAMILY@ environment setup script for Geant4 @Geant4_VERSION@ +-# +-# This script will configure your environment so that any Geant4 supplied +-# tools, libraries and data are available in your PATH, library paths etc. +-# Data libraries will only be setup if they were installed as part of the +-# Geant4 installation. +-# +-# Source this script to perform the setup. +-# +-# This script is autogenerated by CMake DO NOT EDIT +-# +- +-#---------------------------------------------------------------------------- +-# Locate directory of self +-# +-@GEANT4_ENV_SELFLOCATE_COMMAND@ +- +- +-#---------------------------------------------------------------------------- +-# Setup binary and library paths... +-# +-@GEANT4_ENV_BINPATH_SETUP@ +-@GEANT4_ENV_LIBPATH_SETUP@ +- + #---------------------------------------------------------------------------- + # Resource file paths + # Data Library Paths are only set if they were installed by CMake diff --git a/sci-physics/geant/geant-3.21.14-r2.ebuild b/sci-physics/geant/geant-3.21.14-r2.ebuild new file mode 100644 index 0000000..eeca20d --- /dev/null +++ b/sci-physics/geant/geant-3.21.14-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r2.ebuild,v 1.20 2011/06/28 13:34:44 jlec Exp $ + +EAPI=2 + +inherit eutils fortran-2 + +DEB_PN=geant321 +DEB_PV=${PV}.dfsg +DEB_PR=8 +DEB_P=${DEB_PN}_${DEB_PV} + +DESCRIPTION="CERN's detector description and simulation Tool" +HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/index.html" +SRC_URI=" + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz" + +SLOT="3" +LICENSE="GPL-2 LGPL-2 BSD" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-lang/cfortran + sci-physics/cernlib + sci-physics/paw + virtual/fortran + x11-libs/openmotif:0" +DEPEND="${RDEPEND} + virtual/latex-base + x11-misc/imake + x11-misc/makedepend" + +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" + +src_prepare() { + cd "${WORKDIR}" + sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die + epatch ${DEB_P}-${DEB_PR}.diff + cd "${S}" + cp debian/add-ons/Makefile . + export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" + sed \ + -e 's:/usr/local:/usr:g' \ + -i Makefile || die "sed'ing the Makefile failed" + + einfo "Applying Debian patches" + emake -j1 patch || die "debian patch failed" + + # since we depend on cfortran, do not use the one from cernlib + rm -f src/include/cfortran/cfortran.h +} + +src_compile() { + # create local LaTeX cache directory + VARTEXFONTS="${T}"/fonts + emake -j1 cernlib-indep cernlib-arch || die "emake failed" +} + +src_test_() { + LD_LIBRARY_PATH="${S}"/shlib \ + emake -j1 cernlib-test || die "emake test failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + cd "${S}"/debian + dodoc changelog README.* deadpool.txt NEWS copyright || die "dodoc failed" + newdoc add-ons/README README.add-ons || die "newdoc failed" +} diff --git a/sci-physics/geant/geant-3.21.14-r3.ebuild b/sci-physics/geant/geant-3.21.14-r3.ebuild new file mode 100644 index 0000000..9441f5b --- /dev/null +++ b/sci-physics/geant/geant-3.21.14-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v 1.1 2011/07/21 16:50:54 bicatali Exp $ + +EAPI=4 +inherit eutils fortran-2 + +DEB_PN=geant321 +DEB_PV=${PV}.dfsg +DEB_PR=9 +DEB_P=${DEB_PN}_${DEB_PV} + +DESCRIPTION="CERN's detector description and simulation Tool" +HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/" + +LICENSE="GPL-2 LGPL-2 BSD" +SRC_URI="mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="3" +IUSE="" + +RDEPEND=">=x11-libs/openmotif-2.3:0 + virtual/fortran + dev-lang/cfortran + sci-physics/cernlib + sci-physics/paw" + +DEPEND="${RDEPEND} + virtual/latex-base + x11-misc/imake + x11-misc/makedepend" + +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" + +src_prepare() { + cd "${WORKDIR}" + sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die + epatch ${DEB_P}-${DEB_PR}.diff + cd "${S}" + cp debian/add-ons/Makefile . + export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" + sed -i \ + -e 's:/usr/local:/usr:g' \ + Makefile || die "sed'ing the Makefile failed" + + einfo "Applying Debian patches" + emake -j1 patch + + # since we depend on cfortran, do not use the one from cernlib + rm -f src/include/cfortran/cfortran.h +} + +src_compile() { + # create local LaTeX cache directory + VARTEXFONTS="${T}"/fonts + emake -j1 cernlib-indep cernlib-arch +} + +src_test_() { + LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test +} + +src_install() { + emake DESTDIR="${D}" install + cd debian + dodoc changelog README.* deadpool.txt NEWS copyright + newdoc add-ons/README README.add-ons +} diff --git a/sci-physics/geant/geant-4.9.2_p02.ebuild b/sci-physics/geant/geant-4.9.2_p02.ebuild new file mode 100644 index 0000000..f99b090 --- /dev/null +++ b/sci-physics/geant/geant-4.9.2_p02.ebuild @@ -0,0 +1,264 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.2_p02.ebuild,v 1.16 2011/08/02 05:50:11 mattst88 Exp $ + +EAPI=2 + +inherit eutils fortran-2 toolchain-funcs versionator + +PV1=$(get_version_component_range 1 ${PV}) +PV2=$(get_version_component_range 2 ${PV}) +PV3=$(get_version_component_range 3 ${PV}) +MY_P=${PN}$(replace_version_separator 3 .) + +DESCRIPTION="Toolkit for simulation of passage of particles through matter" +HOMEPAGE="http://geant4.cern.ch/" +SRC_COM="http://geant4.web.cern.ch/geant4/support/source" +SRC_URI="${SRC_COM}/${MY_P}.tar.gz" +GEANT4_DATA=" + G4NDL.3.13 + G4EMLOW.6.2 + G4RadioactiveDecay.3.2 + PhotonEvaporation.2.0 + G4ABLA.3.0" +for d in ${GEANT4_DATA}; do + SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" +done + +LICENSE="geant4" +SLOT="4" +KEYWORDS="amd64 x86" +IUSE="aida athena +data dawn debug examples gdml geant3 global minimal +motif + +opengl openinventor qt4 +raytracerx static +vrml zlib" + +RDEPEND=" + virtual/fortran + =media-libs/openinventor-2.1.5.10-r3 ) + raytracerx? ( + x11-libs/libX11 + x11-libs/libXmu ) + opengl? ( + virtual/opengl + athena? ( x11-libs/libXaw3d ) + qt4? ( x11-libs/qt-opengl:4 ) ) + gdml? ( dev-libs/xerces-c ) + geant3? ( sci-physics/geant:3 ) + dawn? ( media-gfx/dawn ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + fortran-2_pkg_setup + eval unset ${!G4*} +} + +src_prepare() { + # fix bad zlib dependency + epatch "${FILESDIR}"/${PN}-4.9.2-zlib.patch + + # propagate user's flags and compiler settings + sed -i -e 's/-o/$(LDFLAGS) -o/g' source/GNUmakefile || die + sed -i \ + -e '/CXX.*:=.*g++/d' \ + -e '/FC.*:=.*gfortran/d' \ + -e 's/\(CXXFLAGS.*:=\).*/\1 -ansi/' \ + -e '/CXXFLAGS.*+=.*pipe/d' \ + -e "/CXXFLAGS.*=.*-O2/s|=.*|= ${CXXFLAGS}|" \ + -e "/FCFLAGS.*=.*-O2/s|=.*|= ${FCFLAGS}|" \ + -e "/CCFLAGS.*=.*-O2/s|=.*|= ${CFLAGS}|" \ + -e "s|-Wl,-soname|${LDFLAGS} -Wl,-soname|g" \ + -e "s/libq\*/lib\[q,Q\]t*/g" \ + config/sys/Linux*gmk || die "flag substitution failed" + sed -i \ + -e 's:g++:$(CXX):g' \ + config/*.gmk || die "sed for forced g++ failed" + + # fix forced lib directory + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4LIB):g' \ + config/binmake.gmk || die "sed binmake.gmk failed" + sed -i \ + -e '/$(G4LIB)\/$(G4SYSTEM)/d' \ + config/architecture.gmk || die "sed architecture.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/common.gmk || die "sed common.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/moc.gmk || die "sed moc.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + -e 's:$(G4BIN)/$(G4SYSTEM):$(G4TMP):g' \ + -e 's:$(G4TMP)/$(G4SYSTEM):$(G4TMP):g' \ + source/GNUmakefile || die "sed GNUmakefile failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/globlib.gmk || die "sed globlib.gmk failed" + + # work around a non defined fortran compiler + use geant3 && export FC=$(tc-getFC) + # don't worry about the g++ name of the file, we remove all specific + export G4SYSTEM=Linux-g++ +} + +src_configure() { + export GEANT4_DIR="/usr/share/${PN}${PV1}" + # where to put compiled libraries; + # we set env var G4LIB in src_install() + # to avoid confusing make + export GEANT4_LIBDIR=/usr/$(get_libdir)/${PN}${PV1} + export G4INSTALL="${S}" + export G4WORKDIR="${S}" + export G4INCLUDE="${D}/usr/include/${PN}" + export CLHEP_BASE_DIR=/usr + + # parse USE; just set flags of drivers to build, G4*_USE_* vars are set + # later automatically for G4*_BUILD_*_DRIVER + use minimal && export G4UI_NONE=y \ + && export G4VIS_NONE=y + + use motif && export G4UI_BUILD_XM_SESSION=y + use athena && export G4UI_BUILD_XAW_SESSION=y + if use qt4; then + export G4UI_BUILD_QT_SESSION=y + export QTLIBS="-L/usr/$(get_libdir)/qt4 -lQtCore -lQtGui" + export QTFLAGS="-I/usr/include/qt4 -I/usr/include/qt4/Qt" + use opengl && \ + export GLQTLIBS="${QTLIBS} -lQtOpenGL" + #export QTFLAGS="${QTFLAGS} -I/usr/include/qt4/QtOpenGL" + fi + use dawn && export G4VIS_BUILD_DAWN_DRIVER=y + use raytracerx && export G4VIS_BUILD_RAYTRACERX_DRIVER=y + use openinventor && export G4VIS_BUILD_OI_DRIVER=y + use opengl && export G4VIS_BUILD_OPENGLX_DRIVER=y + use opengl && use motif && export G4VIS_BUILD_OPENGLXM_DRIVER=y + use gdml && export G4LIB_BUILD_GDML=y + use geant3 && export G4LIB_BUILD_G3TOG4=y + use zlib && export G4LIB_USE_ZLIB=y + use vrml && export G4VIS_BUILD_VRML_DRIVER=y \ + && export G4VIS_BUILD_VRMLFILE_DRIVER=y + use aida && export G4ANALYSIS_USE=y + use data && export G4DATA="${GEANT4_DIR}/data" + use debug && export G4DEBUG=y || export G4OPTIMIZE=y + + # switch to see compiling flags + export CPPVERBOSE=y + + # if shared libs are built, the script will also build static libs + # with pic flags + # avoid that by building it twice and removing temporary objects + export G4LIB_BUILD_SHARED=y +} + +src_compile() { + cd "${S}/source/" + einfo "Building shared library" + emake || die "Building shared geant failed" + + if use global; then + export G4LIB_USE_GRANULAR=y + einfo "Building granular libraries" + emake global || die "Building global libraries failed" + emake || die "Rebuilding shared geant failed" + fi + + if use static; then + einfo "Building static libraries" + rm -rf tmp + export G4LIB_BUILD_STATIC=y ; unset G4LIB_BUILD_SHARED + emake || die "Building static geant failed" + fi +} + +g4_create_env_script() { + # we need to change some variables to the final values since we hide these + # from make during the compile + export G4INSTALL=${GEANT4_DIR} + export G4LIB=${GEANT4_LIBDIR} + export G4INCLUDE=${G4INCLUDE/${D}/} + export G4WORKDIR=\${HOME}/${PN}${PV1} + + local g4env=99${PN}${PV1} + cat <<-EOF > ${g4env} + LDPATH=${G4LIB} + CLHEP_BASE_DIR=${CLHEP_BASE_DIR} + EOF + + # detailed data file locations + if use data; then + G4LEVELGAMMADATA="${G4DATA}/$(basename ${WORKDIR}/PhotonEvaporation*)" + G4RADIOACTIVEDATA="${G4DATA}/$(basename ${WORKDIR}/RadioactiveDecay*)" + G4LEDATA="${G4DATA}/$(basename ${WORKDIR}/G4EMLOW*)" + G4ABLADATA="${G4DATA}/$(basename ${WORKDIR}/G4ABLA*)" + G4NEUTRONHPCROSSSECTIONS="${G4DATA}/$(basename ${WORKDIR}/G4NDL*)" + export G4LEVELGAMMADATA G4RADIOACTIVEDATA G4LEDATA \ + G4ABLADATA G4NEUTRONHPCROSSSECTIONS + fi + + # read env variables defined upto now + printenv | grep ^G4 | uniq >> ${g4env} + # define env vars for capabilities we can build into user projects + printenv | uniq | \ + sed -n -e '/^G4/s:BUILD\(.*\)_DRIVER:USE\1:gp' >> ${g4env} + doenvd ${g4env} || die "Installing environment scripts failed " +} + +src_install() { + # install headers via make since we want them in a single directory + cd "${S}/source/" + einfo "Installing Geant4 headers" + emake includes || die 'Installing headers failed' + cd "${S}" + + # but install libraries and Geant library tool manually + einfo "Installing Geant4 libraries" + insinto ${GEANT4_LIBDIR} + insopts -m0755 + doins tmp/*.so || die + doins tmp/libname.map || die + insopts -m0644 + if use static; then + doins tmp/*.a || die + fi + exeinto ${GEANT4_LIBDIR} + doexe tmp/liblist || die + + g4_create_env_script + + # configs + insinto ${GEANT4_DIR} + doins -r config || die + + # install data + if use data; then + einfo "Installing Geant4 data" + insinto ${G4DATA} + pushd "${WORKDIR}" > /dev/null + for d in ${GEANT4_DATA}; do + local p=${d/.} + doins -r *${p/G4} || die "installing data ${d} failed" + done + popd > /dev/null + fi + + # doc and examples + insinto /usr/share/doc/${PF} + local mypv="${PV1}.${PV2}.${PV3}" + doins ReleaseNotes/ReleaseNotes${mypv}.html + [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ + dodoc ReleaseNotes/Patch${mypv}-*.txt + + use examples && doins -r examples + # TODO: * momo with momo or java flag, and check java stuff +} + +pkg_postinst() { + elog "Geant4 projects are by default build in \$HOME/geant4." + elog "If you want to change, set \$G4WORKDIR to another directory." +} diff --git a/sci-physics/geant/geant-4.9.3_p02.ebuild b/sci-physics/geant/geant-4.9.3_p02.ebuild new file mode 100644 index 0000000..52b5345 --- /dev/null +++ b/sci-physics/geant/geant-4.9.3_p02.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/Attic/geant-4.9.3_p02.ebuild,v 1.3 2010/11/07 21:06:38 xarthisius dead $ + +EAPI=4 + +inherit eutils versionator toolchain-funcs + +PV1=$(get_version_component_range 1 ${PV}) +PV2=$(get_version_component_range 2 ${PV}) +PV3=$(get_version_component_range 3 ${PV}) +MY_P=${PN}$(replace_version_separator 3 .) + +DESCRIPTION="Toolkit for simulation of passage of particles through matter" +HOMEPAGE="http://geant4.cern.ch/" + +SRC_COM="http://geant4.cern.ch/support/source" +SRC_URI="${SRC_COM}/${MY_P}.tar.gz" +GEANT4_DATA="G4NDL.3.13 + G4EMLOW.6.9 + G4RadioactiveDecay.3.2 + PhotonEvaporation.2.0 + G4ABLA.3.0 + RealSurface.1.0" +for d in ${GEANT4_DATA}; do + SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" +done + +LICENSE="geant4" +SLOT="4" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="athena +data dawn debug examples gdml geant3 global minimal +motif + +opengl openinventor qt4 +raytracerx static-libs +vrml zlib" + +RDEPEND="=x11-libs/openmotif-2.3:0 ) + athena? ( x11-libs/libXaw ) + qt4? ( x11-libs/qt-gui:4 ) + openinventor? ( >=media-libs/openinventor-2.1.5.10-r3 ) + raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) + opengl? ( virtual/opengl + athena? ( x11-libs/Xaw3d ) + qt4? ( x11-libs/qt-opengl:4 ) ) + gdml? ( dev-libs/xerces-c ) + geant3? ( sci-physics/geant:3 ) + dawn? ( media-gfx/dawn ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + eval unset ${!G4*} +} + +src_prepare() { + # fix bad zlib dependency + epatch "${FILESDIR}"/${PN}-4.9.3-zlib.patch + + # propagate user's flags and compiler settings + sed -i -e 's/-o/$(LDFLAGS) -o/g' source/GNUmakefile || die + sed -i \ + -e '/CXX.*:=.*g++/d' \ + -e '/FC.*:=.*gfortran/d' \ + -e 's/\(CXXFLAGS.*:=\).*/\1 -ansi/' \ + -e '/CXXFLAGS.*+=.*pipe/d' \ + -e "/CXXFLAGS.*=.*-O2/s:=.*:= ${CXXFLAGS}:" \ + -e "/FCFLAGS.*=.*-O2/s:=.*:= ${FCFLAGS}:" \ + -e "/CCFLAGS.*=.*-O2/s:=.*:= ${CFLAGS}:" \ + -e "s:-Wl,-soname:${LDFLAGS} -Wl,-soname:g" \ + -e "s/libq\*/lib\[q,Q\]t*/g" \ + config/sys/Linux*gmk || die "flag substitution failed" + sed -i \ + -e 's:g++:$(CXX):g' \ + config/*.gmk || die "sed for forced g++ failed" + + # fix forced lib directory + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4LIB):g' \ + config/binmake.gmk || die "sed binmake.gmk failed" + sed -i \ + -e '/$(G4LIB)\/$(G4SYSTEM)/d' \ + config/architecture.gmk || die "sed architecture.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/common.gmk || die "sed common.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/moc.gmk || die "sed moc.gmk failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + -e 's:$(G4BIN)/$(G4SYSTEM):$(G4TMP):g' \ + -e 's:$(G4TMP)/$(G4SYSTEM):$(G4TMP):g' \ + source/GNUmakefile || die "sed GNUmakefile failed" + sed -i \ + -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ + config/globlib.gmk || die "sed globlib.gmk failed" + + # work around a non defined fortran compiler + use geant3 && export FC=$(tc-getFC) + # don't worry about the g++ name of the file, we remove all specific + export G4SYSTEM=Linux-g++ +} + +src_configure() { + export GEANT4_DIR="/usr/share/${PN}${PV1}" + # where to put compiled libraries; + # we set env var G4LIB in src_install() + # to avoid confusing make + export GEANT4_LIBDIR="/usr/$(get_libdir)" + export G4INSTALL="${S}" + export G4WORKDIR="${S}" + # don't use ${ED} here to preserve a slash after trimming ${D} + # in g4_create_env_script + export G4INCLUDE="${D}/${EPREFIX}/usr/include/${PN}" + export CLHEP_BASE_DIR="${EPREFIX}/usr" + + # parse USE; just set flags of drivers to build, G4*_USE_* vars are set + # later automatically for G4*_BUILD_*_DRIVER + use minimal && export G4UI_NONE=y \ + && export G4VIS_NONE=y + + use motif && export G4UI_BUILD_XM_SESSION=y + use athena && export G4UI_BUILD_XAW_SESSION=y + if use qt4; then + export G4UI_BUILD_QT_SESSION=y + export QTLIBS="-L${EPREFIX}/usr/$(get_libdir)/qt4 -lQtCore -lQtGui" + export QTFLAGS="-I${EPREFIX}/usr/include/qt4 -I${EPREFIX}/usr/include/qt4/Qt" + use opengl && \ + export GLQTLIBS="${QTLIBS} -lQtOpenGL" + #export QTFLAGS="${QTFLAGS} -I${EPREFIX}/usr/include/qt4/QtOpenGL" + fi + use dawn && export G4VIS_BUILD_DAWN_DRIVER=y + use raytracerx && export G4VIS_BUILD_RAYTRACERX_DRIVER=y + use openinventor && export G4VIS_BUILD_OI_DRIVER=y + use opengl && export G4VIS_BUILD_OPENGLX_DRIVER=y + use opengl && use motif && export G4VIS_BUILD_OPENGLXM_DRIVER=y + use gdml && export G4LIB_BUILD_GDML=y + use geant3 && export G4LIB_BUILD_G3TOG4=y + use zlib && export G4LIB_USE_ZLIB=y + use vrml && export G4VIS_BUILD_VRML_DRIVER=y \ + && export G4VIS_BUILD_VRMLFILE_DRIVER=y + use data && export G4DATA="${EPREFIX}/${GEANT4_DIR}/data" + use debug && export G4DEBUG=y || export G4OPTIMIZE=y + + # switch to see compiling flags + export CPPVERBOSE=y + + # if shared libs are built, the script will also build static libs + # with pic flags + # avoid that by building it twice and removing temporary objects + export G4LIB_BUILD_SHARED=y +} + +src_compile() { + cd "${S}/source/" + if use static-libs; then + einfo "Building static libraries" + rm -rf tmp + export G4LIB_BUILD_STATIC=y ; unset G4LIB_BUILD_SHARED + else + einfo "Building shared library" + fi + + if use global; then + einfo "Building global libraries" + emake global + else + emake + fi +} + +g4_create_env_script() { + # we need to change some variables to the final values since we hide these + # from make during the compile + export G4INSTALL="${EPREFIX}/${GEANT4_DIR}" + export G4LIB="${EPREFIX}/${GEANT4_LIBDIR}" + export G4INCLUDE=${G4INCLUDE/${D}/} # EPREFIX remains + export G4WORKDIR=\${HOME}/${PN}${PV1} + + local g4env=99${PN}${PV1} + cat <<-EOF > ${g4env} + LDPATH=${G4LIB} + CLHEP_BASE_DIR=${CLHEP_BASE_DIR} + EOF + + # detailed data file locations + if use data; then + G4LEVELGAMMADATA="${G4DATA}/$(basename ${WORKDIR}/PhotonEvaporation*)" + G4RADIOACTIVEDATA="${G4DATA}/$(basename ${WORKDIR}/RadioactiveDecay*)" + G4LEDATA="${G4DATA}/$(basename ${WORKDIR}/G4EMLOW*)" + G4ABLADATA="${G4DATA}/$(basename ${WORKDIR}/G4ABLA*)" + G4NEUTRONHPDATA="${G4DATA}/$(basename ${WORKDIR}/G4NDL*)" + G4REALSURFACEDATA="${G4DATA}/$(basename ${WORKDIR}/G4REALSURFACEDATA*)" + export G4LEVELGAMMADATA G4RADIOACTIVEDATA G4LEDATA \ + G4ABLADATA G4NEUTRONHPDATA G4REALSURFACEDATA + fi + + # read env variables defined upto now + printenv | grep ^G4 | uniq >> ${g4env} + # define env vars for capabilities we can build into user projects + printenv | uniq | \ + sed -n -e '/^G4/s:BUILD\(.*\)_DRIVER:USE\1:gp' >> ${g4env} + doenvd ${g4env} +} + +src_install() { + # install headers via make since we want them in a single directory + cd "${S}/source/" + einfo "Installing Geant4 headers" + emake includes + cd "${S}" + + # but install libraries and Geant library tool manually + einfo "Installing Geant4 libraries" + insinto ${GEANT4_LIBDIR} + insopts -m0755 + doins tmp/*.so + doins tmp/libname.map + insopts -m0644 + if use static-libs; then + doins tmp/*.a + fi + exeinto ${GEANT4_LIBDIR} + doexe tmp/liblist + + g4_create_env_script + + # configs + insinto ${GEANT4_DIR} + doins -r config + + # install data + if use data; then + einfo "Installing Geant4 data" + insinto "${G4DATA/${EPREFIX}/}" + pushd "${WORKDIR}" > /dev/null + for d in ${GEANT4_DATA}; do + local p=${d/.} + doins -r *${p/G4} + done + popd > /dev/null + fi + + # doc and examples + insinto /usr/share/doc/${PF} + local mypv="${PV1}.${PV2}.${PV3}" + doins ReleaseNotes/ReleaseNotes${mypv}.html + [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ + dodoc ReleaseNotes/Patch${mypv}-*.txt + + use examples && doins -r examples + # TODO: * momo with momo or java flag, and check java stuff +} + +pkg_postinst() { + elog "Geant4 projects are by default build in \$HOME/geant4." + elog "If you want to change, set \$G4WORKDIR to another directory." + + elog "To use Aida you have to explicitly set G4ANALYSIS_USE=y for" + elog "your environment." +} diff --git a/sci-physics/geant/geant-4.9.4_p03.ebuild b/sci-physics/geant/geant-4.9.4_p03.ebuild new file mode 100644 index 0000000..e13221d --- /dev/null +++ b/sci-physics/geant/geant-4.9.4_p03.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.4_p03.ebuild,v 1.2 2012/06/16 13:08:36 ago Exp $ + +EAPI=4 + +inherit cmake-utils eutils fortran-2 versionator + +PV1=$(get_version_component_range 1 ${PV}) +PV2=$(get_version_component_range 2 ${PV}) +PV3=$(get_version_component_range 3 ${PV}) +MYP=${PN}$(replace_version_separator 3 .) + +DESCRIPTION="Toolkit for simulation of passage of particles through matter" +HOMEPAGE="http://geant4.cern.ch/" +SRC_COM="http://geant4.cern.ch/support/source" +SRC_URI="${SRC_COM}/${MYP}.tar.gz" +GEANT4_DATA=" + G4NDL.3.14 + G4EMLOW.6.19 + G4RadioactiveDecay.3.3 + G4NEUTRONXS.1.0 + G4PII.1.2 + G4PhotonEvaporation.2.1 + G4ABLA.3.0 + RealSurface.1.0" +for d in ${GEANT4_DATA}; do + SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" +done + +LICENSE="geant4" +SLOT="4" +KEYWORDS="amd64 ~x86" +IUSE="+data dawn examples gdml geant3 granular qt4 static-libs vrml zlib" + +RDEPEND="virtual/fortran + >=sci-physics/clhep-2.1 + qt4? ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) + gdml? ( dev-libs/xerces-c ) + geant3? ( sci-physics/geant:3 ) + dawn? ( media-gfx/dawn ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}" + +PATCHES=( "${FILESDIR}"/${PN}-4.9.4-{zlib,libdir,datadir,trajectory}.patch ) + +src_configure() { + mycmakeargs=( + $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) + $(cmake-utils_use gdml GEANT4_USE_GDML) + $(cmake-utils_use geant3 GEANT4_USE_GEANT3TOGEANT4) + $(cmake-utils_use granular GEANT4_BUILD_GRANULAR_BUILD) + $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) + $(cmake-utils_use qt4 GEANT4_USE_QT) + $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) + $(cmake-utils_use_build static-libs STATIC_LIBS) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if use data; then + einfo "Installing Geant4 data" + insinto /usr/share/geant4/data + pushd "${WORKDIR}" > /dev/null + for d in ${GEANT4_DATA}; do + local p=${d/.} + doins -r *${p/G4} + done + popd > /dev/null + fi + + insinto /usr/share/doc/${PF} + local mypv="${PV1}.${PV2}.${PV3}" + doins ReleaseNotes/ReleaseNotes${mypv}.html + [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ + dodoc ReleaseNotes/Patch${mypv}-*.txt + use examples && doins -r examples +} + +pkg_postinst() { + elog "Users need to define the G4WORKDIR variable (\$HOME/geant4 is normally used)." +} diff --git a/sci-physics/geant/geant-4.9.5_p01.ebuild b/sci-physics/geant/geant-4.9.5_p01.ebuild new file mode 100644 index 0000000..0e7622f --- /dev/null +++ b/sci-physics/geant/geant-4.9.5_p01.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.5_p01.ebuild,v 1.3 2012/05/20 16:46:58 heroxbd Exp $ + +EAPI=4 + +inherit cmake-utils eutils fortran-2 versionator + +PV1=$(get_version_component_range 1 ${PV}) +PV2=$(get_version_component_range 2 ${PV}) +PV3=$(get_version_component_range 3 ${PV}) +MYP=${PN}$(replace_version_separator 3 .) + +DESCRIPTION="Toolkit for simulation of passage of particles through matter" +HOMEPAGE="http://geant4.cern.ch/" +SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" + +LICENSE="geant4" +SLOT="4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+data dawn examples gdml geant3 granular motif opengl openinventor + raytracerx qt4 static-libs test vrml zlib" + +RDEPEND="virtual/fortran + >=sci-physics/clhep-2.1.1 + dawn? ( media-gfx/dawn ) + gdml? ( dev-libs/xerces-c ) + motif? ( x11-libs/openmotif:0 ) + opengl? ( virtual/opengl ) + openinventor? ( media-libs/openinventor ) + raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) + qt4? ( x11-libs/qt-gui:4 opengl? ( x11-libs/qt-opengl:4 ) ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MYP}" + +PATCHES=( "${FILESDIR}"/${PN}-4.9.4-zlib.patch \ + "${FILESDIR}"/${P}-scripts-only-dataenv.patch ) + +src_configure() { + mycmakeargs=( + -DGEANT4_USE_SYSTEM_CLHEP=ON + -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) + $(use openinventor && echo "-DINVENTOR_SOXT_LIBRARY=${EROOT}usr/$(get_libdir)/libInventorXt.so") + $(cmake-utils_use data GEANT4_INSTALL_DATA) + $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) + $(cmake-utils_use gdml GEANT4_USE_GDML) + $(cmake-utils_use geant3 GEANT4_USE_G3TOG4) + $(cmake-utils_use granular GEANT4_BUILD_GRANULAR_BUILD) + $(cmake-utils_use motif GEANT4_USE_XM) + $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) + $(cmake-utils_use openinventor GEANT4_USE_INVENTOR) + $(cmake-utils_use qt4 GEANT4_USE_QT) + $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) + $(cmake-utils_use test GEANT4_ENABLE_TESTING) + $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) + $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) + $(cmake-utils_use_build static-libs STATIC_LIBS) + ) + cmake-utils_src_configure +} + +src_install() { + # adjust clhep linking flags for system clhep + # binmake.gmk is only useful for legacy build systems + sed -i "s,-lG4clhep,-lCLHEP," config/binmake.gmk || die "sed failed" + + cmake-utils_src_install + insinto /usr/share/doc/${PF} + local mypv="${PV1}.${PV2}.${PV3}" + doins ReleaseNotes/ReleaseNotes${mypv}.html + [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ + dodoc ReleaseNotes/Patch${mypv}-*.txt + use examples && doins -r examples + if use data ; then + sed "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\); pwd\`,\1${EPREFIX}/usr\2," \ + "${CMAKE_BUILD_DIR}/InstallTreeFiles/geant4.sh" > 99geant + doenvd 99geant + fi +} + +pkg_postinst() { + elog "The following scripts are provided for backward compatibility:" + elog "$(ls -1 ${EROOT}usr/share/Geant4-${PV2}.${PV3}.*/geant4make/*sh)" +} diff --git a/sys-apps/lshw/ChangeLog b/sys-apps/lshw/ChangeLog new file mode 100644 index 0000000..92470ee --- /dev/null +++ b/sys-apps/lshw/ChangeLog @@ -0,0 +1,349 @@ +# ChangeLog for sys-apps/lshw +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.94 2011/03/30 11:10:39 angelos Exp $ + + 30 Mar 2011; Christoph Mende lshw-02.14b.ebuild: + Fix gtk+ slot deps + + 25 Mar 2011; Kacper Kowalik lshw-02.15b.ebuild: + ppc64 stable wrt #356927 + + 19 Mar 2011; Raúl Porcel lshw-02.15b.ebuild: + ia64 stable wrt #356927 + + 13 Mar 2011; Pawel Hajdan jr lshw-02.15b.ebuild: + x86 stable wrt bug #356927 + + 12 Mar 2011; Tobias Klausmann lshw-02.15b.ebuild: + Stable on alpha, bug #356927 + + 06 Mar 2011; Michael Weber lshw-02.15b.ebuild: + arm/sparc stable (bug 356927) + + 04 Mar 2011; Brent Baude lshw-02.15b.ebuild: + stable ppc, bug 356927 + + 03 Mar 2011; Samuli Suominen lshw-02.15b.ebuild: + Remove dev-util/pkgconfig from runtime depend. + + 03 Mar 2011; Mike Frysinger lshw-02.15b.ebuild: + Depend on pkgconfig #357015 by André Malo. + + 01 Mar 2011; Markos Chandras lshw-02.15b.ebuild: + Stable on amd64 wrt bug #356927 + + 01 Mar 2011; Tim Harder lshw-02.15b.ebuild: + Add a slot dependency on gtk+:2. + +*lshw-02.15b (28 Oct 2010) + + 28 Oct 2010; Tim Harder +lshw-02.15b.ebuild, + +files/lshw-02.15b-build.patch: + Version bump. Update to EAPI=3, add sqlite USE flag and dependency, use + src_prepare instead of src_unpack, and update build patch. + + 11 Apr 2010; Ryan Hill lshw-02.14b.ebuild, + +files/lshw-02.14b-gcc45.patch: + Fix build w/ GCC 4.5. (bug #314201 by Bernd Buschinski) + + 04 Apr 2010; Raúl Porcel lshw-02.14b.ebuild: + alpha/ia64/sparc stable wrt #304881 + + 08 Mar 2010; Markus Meier lshw-02.14b.ebuild: + arm stable, bug #304881 + + 26 Feb 2010; Christian Faulhammer lshw-02.14b.ebuild: + stable x86, bug 304881 + + 16 Feb 2010; Steve Dibb lshw-02.14b.ebuild: + amd64 stable, bug 304881 + + 15 Feb 2010; Joseph Jezak lshw-02.14b.ebuild: + Marked ppc/ppc64 stable for bug #304881. + +*lshw-02.14b (07 Jun 2009) + + 07 Jun 2009; Mike Frysinger +lshw-02.14b.ebuild: + Version bump #273052 by Raúl Porcel. + + 14 Oct 2008; Brent Baude lshw-02.13b.ebuild: + stable ppc, bug 241642 + + 14 Oct 2008; Brent Baude lshw-02.13b.ebuild: + stable ppc64, bug 241642 + + 14 Oct 2008; Thomas Anderson lshw-02.13b.ebuild: + stable amd64, bug 241642 + + 13 Oct 2008; Raúl Porcel lshw-02.13b.ebuild: + arm stable wrt #241642 + + 09 Jul 2008; Raúl Porcel lshw-02.13b.ebuild: + alpha/ia64/sparc/x86 stable + +*lshw-02.13b (31 May 2008) + + 31 May 2008; Mike Frysinger + +files/lshw-02.13b-gcc43.patch, +lshw-02.13b.ebuild: + Version bump. + + 22 May 2008; lshw-02.12.01b.ebuild: + - Keyworded ~arm + + 30 Apr 2008; Matti Bickel lshw-02.12.01b.ebuild: + ppc stable (bug #217783) + + 20 Apr 2008; Raúl Porcel lshw-02.12.01b.ebuild: + sparc stable wrt #217783 + + 20 Apr 2008; Mike Frysinger lshw-02.12.01b.ebuild: + Mark amd64 stable #217783 by Kerin Millar. + + 20 Apr 2008; Mike Frysinger + +files/lshw-02.12.01b-alignment.patch, lshw-02.12.01b.ebuild: + Fix from upstream for alignment troubles on sparc #217783 by Friedrich Oslage. + + 20 Apr 2008; Mike Frysinger + +files/lshw-02.12.01b-gcc43.patch, lshw-02.12.01b.ebuild: + Add fix from upstream for building with gcc-4.3 #213912 by Sergey Dryabzhinsky. + + 17 Apr 2008; Raúl Porcel lshw-02.12.01b.ebuild: + ia64/x86 stable wrt #217783 + + 16 Apr 2008; Tobias Klausmann lshw-02.12.01b.ebuild: + Stable on alpha, bug #217783 + + 16 Apr 2008; Markus Rothe lshw-02.12.01b.ebuild: + Stable on ppc64; bug #217783 + +*lshw-02.12.01b (24 Dec 2007) + + 24 Dec 2007; Mike Frysinger + +files/lshw-02.12.01b-build.patch, +lshw-02.12.01b.ebuild: + Version bump #195824. + + 25 Nov 2007; Brent Baude lshw-02.11.01b.ebuild: + Marked lshw-02.11.01b ppc stable for bug 194114 + + 02 Nov 2007; Steve Dibb lshw-02.11.01b.ebuild: + Drop amd64 stable keyword + + 02 Nov 2007; Steve Dibb lshw-02.11.01b.ebuild: + amd64 stable, bug 194114 + + 01 Nov 2007; Ferris McCormick lshw-02.11.01b.ebuild: + Sparc stable --- Bug #194114 --- I've had it installed for a while. + + 03 Oct 2007; lshw-02.11.01b.ebuild: + keyworded ~ppc64 + + 25 Sep 2007; Raúl Porcel lshw-02.11.01b.ebuild: + alpha/ia64/x86 stable + + 25 Aug 2007; Raúl Porcel lshw-02.11.01b.ebuild: + Back to ~arch, went straight to stable + +*lshw-02.11.01b (25 Aug 2007) + + 25 Aug 2007; Mike Frysinger + +files/lshw-02.11.01b-build.patch, +lshw-02.11.01b.ebuild: + Version bump #188624 by Daniel Pielmeier. + + 14 May 2007; Raúl Porcel lshw-02.10b.ebuild: + alpha stable wrt #166574 + + 22 Apr 2007; Raúl Porcel lshw-02.10b.ebuild: + ia64 stable + + 26 Mar 2007; Raúl Porcel lshw-02.09b.ebuild: + ia64 stable wrt bug 166574 + +*lshw-02.10b (24 Mar 2007) + + 24 Mar 2007; Mike Frysinger +lshw-02.10b.ebuild: + Version bump #170365 by Daniel Webert. + + 18 Feb 2007; nixnut lshw-02.09b.ebuild: + Stable on ppc wrt bug 166574 + + 13 Feb 2007; Gustavo Zacarias lshw-02.09b.ebuild: + Stable on sparc wrt #166574 + + 13 Feb 2007; Raúl Porcel lshw-02.09b.ebuild: + x86 stable wrt bug 166574 + + 13 Feb 2007; Steve Dibb lshw-02.09b.ebuild: + amd64 stable, bug 166574 + + 03 Dec 2006; Tim Yamin lshw-02.08.01b.ebuild: + Stable on IA64; bug #156269. + + 01 Dec 2006; Tobias Scherbaum + lshw-02.08.01b.ebuild: + ppc stable, bug #156269 + + 28 Nov 2006; Christian Faulhammer + lshw-02.08.01b.ebuild: + stable x86, bug #156269 + + 27 Nov 2006; Steve Dibb lshw-02.08.01b.ebuild: + amd64 stable, bug 156269 + + 27 Nov 2006; Gustavo Zacarias lshw-02.08.01b.ebuild: + Stable on sparc wrt #156269 + +*lshw-02.09b (27 Nov 2006) + + 27 Nov 2006; Mike Frysinger + +files/lshw-02.09b-cpuid-PIC.patch, +lshw-02.09b.ebuild: + Version bump #156268 by Daniel Webert. + + 25 Nov 2006; Bryan Østergaard lshw-02.06b.ebuild, + lshw-02.08.01b.ebuild: + Alpha + ~ia64 keywords. + +*lshw-02.08.01b (17 May 2006) + + 17 May 2006; Mike Frysinger + +files/lshw-02.08.01b-build.patch, +lshw-02.08.01b.ebuild: + Version bump #133540 by Daniel Webert. + + 27 Apr 2006; Daniel Gryniewicz lshw-02.06b.ebuild: + Marked stable on amd64 per bug #131184 + + 26 Apr 2006; Gustavo Zacarias lshw-02.06b.ebuild: + Stable on sparc wrt #131184 + + 25 Apr 2006; Tobias Scherbaum lshw-02.06b.ebuild: + ppc stable, bug #131184 + + 25 Apr 2006; Saleem Abdulrasool lshw-02.06b.ebuild: + stable on x86 (bug #131184) + +*lshw-02.07b (25 Apr 2006) + + 25 Apr 2006; Mike Frysinger +lshw-02.07b.ebuild: + Version bump #130973 by Daniel Webert. + + 08 Feb 2006; Aron Griffis lshw-02.05.01b.ebuild: + Mark 02.05.01b stable on alpha + + 25 Nov 2005; Luis Medinas lshw-02.05.01b.ebuild: + Stable on amd64. + + 11 Nov 2005; Michael Hanselmann lshw-02.05.01b.ebuild: + Stable on ppc. + + 08 Nov 2005; Gustavo Zacarias lshw-02.05.01b.ebuild: + Stable on sparc + +*lshw-02.06b (05 Nov 2005) + + 05 Nov 2005; Mike Frysinger + +files/lshw-02.06b-build.patch, +files/lshw-02.06b-cpuid-PIC.patch, + +lshw-02.06b.ebuild: + Version bump #111500 by Daniel Webert. + + 05 Nov 2005; Mark Loeser lshw-02.05.01b.ebuild: + Stable on x86; bug #111499 + + 03 Sep 2005; Fernando J. Pereda lshw-02.05.01b.ebuild: + marked ~alpha, wrt bug #104130 + +*lshw-02.05.01b (22 Jul 2005) + + 22 Jul 2005; Mike Frysinger +lshw-02.05.01b.ebuild: + Version bump #99838 by Nunatak. + + 22 May 2005; Tobias Scherbaum lshw-02.03b.ebuild: + Stable on ppc. + + 02 May 2005; Jason Wever lshw-02.03b.ebuild: + Stable on SPARC. + +*lshw-02.04b (28 Apr 2005) + + 28 Apr 2005; Mike Frysinger +lshw-02.04b.ebuild: + Version bump #90727 by Daniel Webert. + +*lshw-02.03b (05 Feb 2005) + + 05 Feb 2005; MATSUU Takuto +lshw-02.03b.ebuild: + Version bumped. + + 03 Feb 2005; -lshw-01.08a.ebuild, lshw-02.00b.ebuild, + lshw-02.02b.ebuild: + - removing filter-flags -fPIC from ebuild now that the cpuid patch exists. + Removing broken lshw-01.08a + +*lshw-02.02b (22 Jan 2005) + + 22 Jan 2005; MATSUU Takuto +lshw-02.02b.ebuild: + Version bumped. + + 03 Jan 2005; Mike Frysinger + +files/02.00b-cpuid-PIC.patch, lshw-02.00b.ebuild: + Add patch to enable PIC building #61947. + + 21 Dec 2004; Mike Frysinger +files/02.00b-dev.patch, + lshw-02.00b.ebuild: + Clean up ebuild and add patch to fix includes #75168 by lukenshiro@ngi.it. + +*lshw-02.00b (21 Dec 2004) + + 21 Dec 2004; MATSUU Takuto -lshw-01.06a.ebuild, + -lshw-01.07a.ebuild, lshw-01.08a.ebuild, +lshw-02.00b.ebuild: + Version bumped. + Removed old versions. + +*lshw-01.08a (06 Sep 2004) + + 06 Sep 2004; MATSUU Takuto +lshw-01.08a.ebuild: + Version bumped. + +*lshw-01.07a (13 May 2004) + + 13 May 2004; -lshw-01.00.ebuild, +lshw-01.07a.ebuild: + Version bumped. + + 12 May 2004; Alexander Gabert lshw-01.06a.ebuild: + removed hardened-gcc logic + + 25 Apr 2004; -lshw-01.05a.ebuild, lshw-01.06a.ebuild: + Marked as stable. + +*lshw-01.06a (29 Feb 2004) + + 29 Feb 2004; lshw-01.06a.ebuild: + Version bumped. + +*lshw-01.05a (05 Nov 2003) + + 05 Nov 2003; Martin Holzer lshw-01.05a.ebuild: + Version bumped. + +*lshw-01.04 (04 Oct 2003) + + 04 Oct 2003; MATSUU Takuto lshw-01.04.ebuild: + version bump. + + 21 Sep 2003; lshw-01.03.ebuild: + cpuid.cc uses inline asm and can not be linked when position independent code + is desired. + +*lshw-01.03 (20 Aug 2003) + + 20 Aug 2003; MATSUU Takuto lshw-01.03.ebuild: + version bump. + +*lshw-01.02 (06 Aug 2003) + + 06 Aug 2003; Martin Holzer lshw-01.02.ebuild: + Version bumped. closes #25925. + +*lshw-01.00 (15 Apr 2003) + + 15 Apr 2003; Martin Holzer Manifest, lshw-01.00.ebuild: + Adding initial ebuild submitted by Marc Hildebrand + in #19200. + diff --git a/sys-apps/lshw/Manifest b/sys-apps/lshw/Manifest new file mode 100644 index 0000000..1be58ce --- /dev/null +++ b/sys-apps/lshw/Manifest @@ -0,0 +1,5 @@ +AUX lshw-02.15b-build.patch 3735 RMD160 1512c4bc7549c8847bc7beed3564caeaa3f9f9bf SHA1 8006e54aaf79235a2f7fcaba15d1f594dfaa6175 SHA256 1183485aa48e16a99b1a0d4aaa7c48a2d1f0056579334c78090eae2f35cd6a87 +DIST lshw-B.02.15.tar.gz 1384466 RMD160 565ea7849fc6ad4ba1368da560a0d1d2000d5b3e SHA1 488b5b014ac06c1d4448f0517f874bcb568c57c0 SHA256 fb01cec64bc9067cce61cd64f8ad81f2f0082985fad5b627cf4bd71ba43735a6 +EBUILD lshw-02.15b.ebuild 1320 RMD160 2bc05c968b0096a1f35c8e2fc759f764e7a0fcc5 SHA1 5a8a5d777936c8415ffd794dfdf47252123cc503 SHA256 9d4cd3e314d518c5e90f677d0e762d51d35cdfda3019af136ed743317511b736 +MISC ChangeLog 11268 RMD160 426a6645eab4c5055a7ab935c25c151fa70b9a82 SHA1 1dc78ea348a1354a2fc325ba0d7b4e8a21843d3d SHA256 bb91441f118a07344ca37b758f360a31263c7c6baf7819f098c0f3e46c542f80 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/sys-apps/lshw/files/lshw-02.15b-build.patch b/sys-apps/lshw/files/lshw-02.15b-build.patch new file mode 100644 index 0000000..b0ab9f8 --- /dev/null +++ b/sys-apps/lshw/files/lshw-02.15b-build.patch @@ -0,0 +1,119 @@ +diff -ur lshw-B.02.15.orig/src/core/Makefile lshw-B.02.15/src/core/Makefile +--- lshw-B.02.15.orig/src/core/Makefile 2010-10-05 02:34:27.000000000 -0700 ++++ lshw-B.02.15/src/core/Makefile 2010-10-27 22:52:25.417069825 -0700 +@@ -1,10 +1,10 @@ + PACKAGENAME?=lshw + +-CXX=c++ ++CXX?=c++ + INCLUDES= + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" +-CXXFLAGS?=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) +-LDFLAGS= ++CXXFLAGS ?= -g ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) + LDSTATIC= + LIBS= + +diff -ur lshw-B.02.15.orig/src/gui/Makefile lshw-B.02.15/src/gui/Makefile +--- lshw-B.02.15.orig/src/gui/Makefile 2010-10-05 02:34:27.000000000 -0700 ++++ lshw-B.02.15/src/gui/Makefile 2010-10-27 22:54:54.870258929 -0700 +@@ -8,11 +8,11 @@ + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" + GTKINCLUDES=$(shell pkg-config gtk+-2.0 --cflags) + INCLUDES=-I../core $(GTKINCLUDES) +-CXXFLAGS=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) ++CXXFLAGS ?= -g ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) + CFLAGS=$(CXXFLAGS) $(DEFINES) + GTKLIBS=$(shell pkg-config gtk+-2.0 --libs) + LIBS=-L../core -llshw -lresolv -lsqlite3 $(GTKLIBS) +-LDFLAGS= + ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) + LDFLAGS+= -Wl,--as-needed + endif +@@ -39,7 +39,6 @@ + $(CXX) $(LDFLAGS) -o $@ $^ $(LIBS) + + install: all +- $(STRIP) gtk-$(PACKAGENAME) + + clean: + rm -f $(OBJS) gtk-$(PACKAGENAME) gtk-lshw.glade.bak gtk-lshw.gladep.bak interface.c.bak interface.h.bak callbacks.c.bak callbacks.h.bak Makefile.bak +diff -ur lshw-B.02.15.orig/src/Makefile lshw-B.02.15/src/Makefile +--- lshw-B.02.15.orig/src/Makefile 2010-10-05 02:34:27.000000000 -0700 ++++ lshw-B.02.15/src/Makefile 2010-10-27 22:53:26.010552033 -0700 +@@ -21,11 +21,13 @@ + CXX?=c++ + INCLUDES=-I./core/ + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" +-CXXFLAGS=-g -Wall -g $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) ++CXXFLAGS ?= -g ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) + ifeq ($(SQLITE), 1) + CXXFLAGS+= -DSQLITE $(shell pkg-config --cflags sqlite3) + endif +-LDFLAGS=-L./core/ -g ++LDFLAGS ?= -g ++LDFLAGS += -L./core/ + ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) + LDFLAGS+= -Wl,--as-needed + endif +@@ -48,18 +50,18 @@ + + .PHONY: core + core: +- +make -C core all ++ +$(MAKE) -C core all + + $(PACKAGENAME): core $(PACKAGENAME).o + $(CXX) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS) + + .PHONY: po + po: +- +make -C po all ++ +$(MAKE) -C po all + + .PHONY: gui + gui: core +- +make -C gui all ++ +$(MAKE) -C gui all + + .PHONY: nologo + nologo: +@@ -70,7 +72,6 @@ + + $(PACKAGENAME)-static: core core/lib$(PACKAGENAME).a $(PACKAGENAME).o + $(CXX) $(LDSTATIC) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS) +- $(STRIP) $@ + + .PHONY: compressed + compressed: $(PACKAGENAME)-compressed +@@ -93,14 +94,14 @@ + manuf.txt: + wget http://www.ethereal.com/distribution/manuf.txt + +-install: all ++install: + $(INSTALL) -d -m 0755 $(DESTDIR)/$(SBINDIR) + $(INSTALL) -m 0755 $(PACKAGENAME) $(DESTDIR)/$(SBINDIR) + $(INSTALL) -d -m 0755 $(DESTDIR)/$(MANDIR)/man1 + $(INSTALL) -m 0644 $(PACKAGENAME).1 $(DESTDIR)/$(MANDIR)/man1 + $(INSTALL) -d -m 0755 $(DESTDIR)/$(DATADIR)/$(PACKAGENAME) + $(INSTALL) -m 0644 $(DATAFILES) $(DESTDIR)/$(DATADIR)/$(PACKAGENAME) +- make -C po install ++ $(MAKE) -C po install + + install-gui: gui + $(INSTALL) -d -m 0755 $(DESTDIR)/$(SBINDIR) +@@ -110,8 +111,8 @@ + + clean: + rm -f $(PACKAGENAME).o $(PACKAGENAME) $(PACKAGENAME)-static $(PACKAGENAME)-compressed +- make -C core clean +- make -C gui clean ++ $(MAKE) -C core clean ++ $(MAKE) -C gui clean + + .timestamp: + date --utc +%Y%m%d%H%M%S > $@ diff --git a/sys-apps/lshw/lshw-02.15b.ebuild b/sys-apps/lshw/lshw-02.15b.ebuild new file mode 100644 index 0000000..8b1c0c6 --- /dev/null +++ b/sys-apps/lshw/lshw-02.15b.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-02.15b.ebuild,v 1.11 2011/03/25 09:59:52 xarthisius Exp $ + +EAPI=3 +inherit flag-o-matic eutils toolchain-funcs + +MAJ_PV=${PV:0:${#PV}-1} +MIN_PVE=${PV:0-1} +MIN_PV=${MIN_PVE/b/B} + +MY_P="$PN-$MIN_PV.$MAJ_PV" +DESCRIPTION="Hardware Lister" +HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter" +SRC_URI="http://ezix.org/software/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86-linux" +IUSE="gtk sqlite static" + +RDEPEND="gtk? ( x11-libs/gtk+:2 ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + gtk? ( dev-util/pkgconfig ) + sqlite? ( dev-util/pkgconfig )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CC CXX AR + use static && append-ldflags -static + + local sqlite=0 + use sqlite && sqlite=1 + + emake PREFIX=$EPREFIX SQLITE=$sqlite || die "emake failed" + if use gtk ; then + emake gui || die "emake gui failed" + fi +} + +src_install() { + emake DESTDIR="${ED}" install || die "install failed" + dodoc README docs/* + if use gtk ; then + emake DESTDIR="${ED}" install-gui || die "install gui failed" + make_desktop_entry /usr/sbin/gtk-lshw "Hardware Lister" "/usr/share/lshw/artwork/logo.svg" + fi +} diff --git a/sys-apps/lshw/metadata.xml b/sys-apps/lshw/metadata.xml new file mode 100644 index 0000000..96a2d58 --- /dev/null +++ b/sys-apps/lshw/metadata.xml @@ -0,0 +1,5 @@ + + + +base-system + diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog new file mode 100644 index 0000000..e73d923 --- /dev/null +++ b/sys-apps/openrc/ChangeLog @@ -0,0 +1,1019 @@ +# ChangeLog for sys-apps/openrc +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.217 2012/04/02 17:45:49 williamh Exp $ + + 02 Apr 2012; William Hubbs -openrc-0.8.3-r1.ebuild, + -openrc-0.9.4.ebuild: + remove old stable versions + +*openrc-0.9.9.3 (11 Mar 2012) + + 11 Mar 2012; Robin H. Johnson +openrc-0.9.9.3.ebuild: + Version bump, includes critical fix for bug 407757 ifconfig binary move. + +*openrc-0.9.9.2 (26 Feb 2012) + + 26 Feb 2012; William Hubbs +openrc-0.9.9.2.ebuild: + version bump for bug #405713 + +*openrc-0.9.9.1 (24 Feb 2012) + + 24 Feb 2012; William Hubbs +openrc-0.9.9.1.ebuild: + version bump for bug #386623 + + 23 Feb 2012; William Hubbs openrc-0.8.3-r1.ebuild, + openrc-0.9.4.ebuild, openrc-0.9.8.4.ebuild, openrc-0.9.9.ebuild, + openrc-9999.ebuild: + repoman fixes + +*openrc-0.9.9 (22 Feb 2012) + + 22 Feb 2012; William Hubbs +openrc-0.9.9.ebuild: + version bump, bug #399185 tracks changes. + + 13 Feb 2012; William Hubbs openrc-9999.ebuild: + add swapfiles to the boot runlevel + + 08 Feb 2012; William Hubbs -openrc-0.9.8.1.ebuild, + -openrc-0.9.8.2.ebuild, -openrc-0.9.8.ebuild: + remove unstable 0.9.8.x versions + + 04 Feb 2012; Raúl Porcel openrc-0.9.8.4.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #401593 + + 01 Feb 2012; Samuli Suominen openrc-0.9.8.4.ebuild: + ppc/ppc64 stable wrt #401593 + + 31 Jan 2012; Jeroen Roovers openrc-0.9.8.4.ebuild: + Stable for HPPA (bug #401593). + + 31 Jan 2012; Agostino Sarubbo openrc-0.9.8.4.ebuild: + Stable for amd64, wrt bug #401593 + + 31 Jan 2012; Jeff Horelick openrc-0.9.8.4.ebuild: + x86 fast stable wrt bug 401593 + +*openrc-0.9.8.4 (30 Jan 2012) + + 30 Jan 2012; Robin H. Johnson +openrc-0.9.8.4.ebuild, + -openrc-0.9.8.3.ebuild: + Version bump, release tracker bug #401555, I screwed up 0.9.8.3 and it was + identical to 0.9.8.2 instead of having the needed fixes. + +*openrc-0.9.8.3 (30 Jan 2012) + + 30 Jan 2012; Robin H. Johnson +openrc-0.9.8.3.ebuild: + Version bump, release tracker bug #401555. + + 28 Jan 2012; Raúl Porcel openrc-0.9.8.2.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #399793 + + 25 Jan 2012; Agostino Sarubbo openrc-0.9.8.2.ebuild: + Stable for AMD64, wrt bug #399793 + + 25 Jan 2012; Jeff Horelick openrc-0.9.8.2.ebuild: + x86 stable per bug 399793 + + 25 Jan 2012; Jeroen Roovers openrc-0.9.8.2.ebuild: + Stable for HPPA (bug #399793). + +*openrc-0.9.8.2 (25 Jan 2012) + + 25 Jan 2012; Robin H. Johnson +openrc-0.9.8.2.ebuild: + Bugfix release with two oldnet fixes: ethtool (#399037) and bonding (#400613). + + 23 Jan 2012; Agostino Sarubbo openrc-0.9.8.1.ebuild: + Stable for AMD64, wrt bug #399793 + + 23 Jan 2012; Agostino Sarubbo openrc-0.9.8.1.ebuild: + Stable for X86, wrt bug #399793 + +*openrc-0.9.8.1 (14 Jan 2012) + + 14 Jan 2012; William Hubbs +openrc-0.9.8.1.ebuild: + version bump, bug #398727 tracks changes. + + 12 Jan 2012; William Hubbs -openrc-0.9.7.ebuild: + remove old version + +*openrc-0.9.8 (07 Jan 2012) + + 07 Jan 2012; William Hubbs +openrc-0.9.8.ebuild: + version bump, bug #394205 tracks changes since openrc-0.9.7. + + 17 Dec 2011; Raúl Porcel openrc-0.9.4.ebuild: + sparc stable wrt #391271 + + 14 Dec 2011; William Hubbs openrc-0.9.4.ebuild, + openrc-0.9.7.ebuild, openrc-9999.ebuild: + Update pam dependency for bug #392995. Now we depend on sys-auth/pambase + instead of virtual/pam. + +*openrc-0.9.7 (10 Dec 2011) + + 10 Dec 2011; William Hubbs +openrc-0.9.7.ebuild: + Version bump, bug #387433 tracks changes. + + 09 Dec 2011; Mike Frysinger openrc-0.9.4.ebuild: + Mark alpha/ia64/s390/sh stable #391271 by Christian Ruppert. + + 04 Dec 2011; William Hubbs openrc-9999.ebuild: + migrate-run service was dropped from git, so we can remove it here. + + 03 Dec 2011; William Hubbs -openrc-0.9.2.ebuild, + -openrc-0.9.3.ebuild, -openrc-0.9.3-r1.ebuild: + remove older 0.9.x versions since 0.9.4 is going stable. + + 03 Dec 2011; Markus Meier openrc-0.9.4.ebuild: + arm stable, bug #391271 + + 30 Nov 2011; Mike Frysinger openrc-0.8.3-r1.ebuild, + openrc-0.9.2.ebuild, openrc-0.9.3.ebuild, openrc-0.9.3-r1.ebuild, + openrc-0.9.4.ebuild, openrc-9999.ebuild: + Depend on psmisc since we want fuser. + + 28 Nov 2011; Pawel Hajdan jr openrc-0.9.4.ebuild: + x86 stable wrt bug #391271 + + 26 Nov 2011; William Hubbs -openrc-0.9.6.ebuild: + remove release that did not work with rc_parallel + + 26 Nov 2011; Markos Chandras openrc-0.9.4.ebuild: + Stable on amd64 wrt bug #391271 + + 25 Nov 2011; William Hubbs openrc-0.9.6.ebuild, + openrc-9999.ebuild: + update a comment + +*openrc-0.9.6 (25 Nov 2011) + + 25 Nov 2011; William Hubbs +openrc-0.9.6.ebuild, + openrc-9999.ebuild: + version bump, bug #387433 tracks changes since openrc-0.9.4. + + 22 Nov 2011; Jeroen Roovers openrc-0.9.4.ebuild: + Stable for HPPA (bug #391271). + + 22 Nov 2011; Kacper Kowalik openrc-0.9.4.ebuild: + ppc/ppc64 stable wrt #391271 + + 21 Nov 2011; Mike Frysinger openrc-0.9.4.ebuild, + openrc-9999.ebuild: + Move baselayout-1 internal cleanup to baselayout as suggested by William. + + 21 Nov 2011; Mike Frysinger openrc-0.9.4.ebuild, + openrc-9999.ebuild: + Trim old baselayout-1 dirs in /lib/. + + 18 Nov 2011; William Hubbs openrc-9999.ebuild: + Add static-libs use flag for bug #378267 + + 16 Nov 2011; William Hubbs openrc-9999.ebuild: + Since oldnet is now the default upstream, we do not need to force this + in the ebuild. + + 07 Nov 2011; Alexis Ballier openrc-0.8.3-r1.ebuild, + openrc-0.9.2.ebuild, openrc-0.9.3.ebuild, openrc-0.9.3-r1.ebuild, + openrc-0.9.4.ebuild, openrc-9999.ebuild: + A new fuser is provided by freebsd-ubin starting from FreeBSD 9, change deps + to reflect that. + +*openrc-0.9.4 (16 Oct 2011) + + 16 Oct 2011; Christian Ruppert +openrc-0.9.4.ebuild: + Version bump to 0.9.4. + +*openrc-0.9.3-r1 (10 Sep 2011) + + 10 Sep 2011; William Hubbs +openrc-0.9.3-r1.ebuild, + openrc-9999.ebuild: + revert change to LIBEXEC for bug 381783. + +*openrc-0.9.3 (08 Sep 2011) + + 08 Sep 2011; William Hubbs +openrc-0.9.3.ebuild: + version bump for bug #381783. + +*openrc-0.9.2 (02 Sep 2011) + + 02 Sep 2011; William Hubbs -openrc-0.9.1.ebuild, + +openrc-0.9.2.ebuild: + version bump, bug #381523 tracks changes since 0.9.1. + +*openrc-0.9.1 (01 Sep 2011) + + 01 Sep 2011; William Hubbs -openrc-0.9.0.ebuild, + +openrc-0.9.1.ebuild: + version bump , bug #381463 tracks fixes since openrc-0.9.0. + +*openrc-0.9.0 (01 Sep 2011) + + 01 Sep 2011; William Hubbs +openrc-0.9.0.ebuild: + version bump, bug #374183 tracks changes since openrc-0.8.3. + + 01 Sep 2011; William Hubbs openrc-9999.ebuild, + +files/start-stop-daemon.pam: + Make start-stop-daemon use system-services PAM stack. + This closes bug #365149. + + 12 Jul 2011; William Hubbs openrc-9999.ebuild: + libexecdir should use "lib" instead of "$(get_libdir)" + + 12 Jul 2011; William Hubbs -openrc-0.8.2-r1.ebuild: + remove old version + + 10 Jul 2011; Jeroen Roovers openrc-0.8.3-r1.ebuild: + Stable for HPPA (bug #373251). + + 09 Jul 2011; Kacper Kowalik openrc-0.8.3-r1.ebuild: + ppc/ppc64 stable wrt #373251 + + 02 Jul 2011; Raúl Porcel openrc-0.8.3-r1.ebuild: + alpha/arm/ia64/sh/sparc/x86 stable wrt #373251 + + 02 Jul 2011; Markos Chandras openrc-0.8.3-r1.ebuild: + Stable on amd64 wrt bug #373251 + + 28 Jun 2011; William Hubbs -openrc-0.8.3.ebuild: + remove old version + + 28 Jun 2011; Mike Frysinger openrc-0.8.3-r1.ebuild: + Mark m68k/s390 stable #367467. + + 28 Jun 2011; Mike Frysinger openrc-0.8.3-r1.ebuild, + +files/openrc-0.8.3-ccwgroup.patch: + Fix s390 interface handling #367467. + +*openrc-0.8.3-r1 (28 Jun 2011) + + 28 Jun 2011; William Hubbs openrc-0.8.3.ebuild, + +openrc-0.8.3-r1.ebuild: + Rev bumped the deprecation warning fix. If we do this in 0.8.3 we get no + ~arch testing time, and I don't see that this needs to go directly to + stable since it is a trivial fix. If it is critical, we can bump the + stable request to 0.8.3-r1. + + 28 Jun 2011; Christian Ruppert openrc-0.8.3.ebuild, + +files/openrc-0.8.3-deprecation_warning.patch: + Fix deprecation warning for -c/--chuid, take a look at the patch for more + details. + +*openrc-0.8.3 (20 Jun 2011) + + 20 Jun 2011; William Hubbs +openrc-0.8.3.ebuild: + version bump + + 20 Jun 2011; William Hubbs -openrc-0.6.8.ebuild, + -openrc-0.7.0.ebuild, -openrc-0.8.2.ebuild: + remove old versions + + 20 May 2011; Tomáš Chvátal openrc-9999.ebuild: + Migrate to EAPI=4. Acked by William and Jeremy. + + 13 May 2011; Raúl Porcel openrc-0.8.2-r1.ebuild: + alpha/arm/ia64/sh/sparc stable wrt #295613 + + 12 May 2011; Joseph Jezak openrc-0.8.2-r1.ebuild: + Marked ppc/ppc64 stable for bug #295613. + + 09 May 2011; Jeroen Roovers openrc-0.8.2-r1.ebuild: + Stable for HPPA (bug #295613). + + 08 May 2011; Pacho Ramos openrc-0.8.2-r1.ebuild: + amd64 stable, bug 295613 + + 08 May 2011; Christian Faulhammer openrc-0.8.2-r1.ebuild: + stable x86, bug 295613 + +*openrc-0.8.2-r1 (28 Apr 2011) + + 28 Apr 2011; William Hubbs +openrc-0.8.2-r1.ebuild: + Revision bump for local.d migration fix + + 17 Apr 2011; William Hubbs openrc-9999.ebuild: + fix the migration of /etc/conf.d/local.* for bug #363949. + + 16 Apr 2011; William Hubbs -openrc-0.8.1.ebuild: + remove broken version + +*openrc-0.8.2 (16 Apr 2011) + + 16 Apr 2011; William Hubbs +openrc-0.8.2.ebuild: + version bump + + 15 Apr 2011; William Hubbs openrc-9999.ebuild: + Fix conf.d/local -> local.d transition for bug #363637. + + 15 Apr 2011; William Hubbs openrc-9999.ebuild: + Disable consolefont on hppa by default for bug #222889, thanks to + Jeroen Roovers . + + 12 Apr 2011; William Hubbs -openrc-0.6.3.ebuild, + -openrc-0.6.5.ebuild, -openrc-0.6.6.ebuild, -openrc-0.6.7.ebuild, + -openrc-0.8.0.ebuild: + remove old versions + +*openrc-0.8.1 (12 Apr 2011) + + 12 Apr 2011; William Hubbs +openrc-0.8.1.ebuild: + version bump + + 24 Mar 2011; William Hubbs openrc-0.8.0.ebuild, + openrc-9999.ebuild: + remove instructions regarding /etc/conf.d/local since they no longer apply + for bug #360293. + +*openrc-0.8.0 (22 Mar 2011) + + 22 Mar 2011; William Hubbs +openrc-0.8.0.ebuild: + version bump + + 22 Feb 2011; Robin H. Johnson openrc-9999.ebuild: + README.net is now README.newnet. + + 01 Feb 2011; William Hubbs openrc-9999.ebuild: + add selinux use flag support for bug #351712 + + 31 Jan 2011; William Hubbs openrc-9999.ebuild: + Bug #289264 is fixed upstream, so remove the sed that worked around it. + + 23 Jan 2011; William Hubbs openrc-9999.ebuild: + Fix the /etc/conf.d/local.{start,stop} migration from baselayout-1 to + migrate these files to /etc/local.d/baselayout1.start and + /etc/local.d/baselayout1.stop. + This is for bug #351465. + +*openrc-0.7.0 (13 Jan 2011) + + 13 Jan 2011; William Hubbs +openrc-0.7.0.ebuild: + version bump with a significant number of bug fixes. + Upgrading is recommended. + + 06 Jan 2011; William Hubbs openrc-9999.ebuild: + remove /etc/init.d/{depscan,runscript}.sh for bug #347483. + +*openrc-0.6.8 (08 Dec 2010) + + 08 Dec 2010; William Hubbs +openrc-0.6.8.ebuild: + version bump: + + bug 232347: fix netmount to respect _netdev option + + Bug 345281: If wpa_supplicant is built w/ USE=dbus, start after DBus is + up, thanks to Robin Johnson. + + bug 347503: fix selinux context for rc-svcdir, thanks to Robin Johnson. + +*openrc-0.6.7 (03 Dec 2010) + + 03 Dec 2010; William Hubbs +openrc-0.6.7.ebuild: + version bump for bug #319865. + + 03 Dec 2010; William Hubbs +openrc-0.6.5.ebuild: + re-add 0.6.5 + +*openrc-0.6.6 (30 Nov 2010) + + 30 Nov 2010; William Hubbs -openrc-0.6.5.ebuild, + +openrc-0.6.6.ebuild: + version bump and remove old version + +*openrc-0.6.5 (21 Nov 2010) + + 21 Nov 2010; William Hubbs -openrc-0.6.2.ebuild, + -files/openrc-0.6.2-fix-make-3.82.patch, -openrc-0.6.4.ebuild, + +openrc-0.6.5.ebuild: + version bump and remove old versions + + 15 Nov 2010; William Hubbs -openrc-0.6.0-r1.ebuild, + -files/openrc-0.6.0-fix-bsd-compile.patch, + -files/openrc-0.6.0-fix-vlan.patch, -files/openrc-0.6.0-typos.patch, + -openrc-0.6.1-r1.ebuild, -files/openrc-0.6.1-network-syntax.patch: + removed some old versions + +*openrc-0.6.4 (15 Nov 2010) + + 15 Nov 2010; William Hubbs +openrc-0.6.4.ebuild: + version bump + + 10 Nov 2010; Mike Frysinger openrc-0.6.3.ebuild, + openrc-9999.ebuild: + Auto migrate conf.d/local.{start,stop} to conf.d/local #343709 by Markos + Chandras. + +*openrc-0.6.3 (02 Sep 2010) + + 02 Sep 2010; William Hubbs +openrc-0.6.3.ebuild, + metadata.xml: + version bump and fix metadata to reflect the correct herd. + + 22 Aug 2010; Jory A. Pratt openrc-0.6.2.ebuild, + +files/openrc-0.6.2-fix-make-3.82.patch: + Fix make breakage bug #333461, also allow user to apply conditional + patches between releases without modifying ebuild. + + 21 Aug 2010; Mike Frysinger openrc-0.6.2.ebuild, + openrc-9999.ebuild: + Update HOMEPAGE #333759 by Xake. + +*openrc-0.6.2 (19 Aug 2010) + + 19 Aug 2010; William Hubbs +openrc-0.6.2.ebuild: + version bump + + 08 Jul 2010; William Hubbs openrc-9999.ebuild: + changed the live ebuild to refer to gentoo's git repository. + + 04 Jul 2010; Mike Frysinger metadata.xml: + Update metadata.xml now that Roy isnt working on things. + +*openrc-0.6.1-r1 (23 Mar 2010) + + 23 Mar 2010; Mike Frysinger +openrc-0.6.1-r1.ebuild, + +files/openrc-0.6.1-network-syntax.patch: + Fix by Lars Wendler for syntax error in network init.d script #310805 by + Leonid Podolny. + +*openrc-0.6.1 (22 Mar 2010) + + 22 Mar 2010; William Hubbs +openrc-0.6.1.ebuild: + version bump + + 23 Jan 2010; William Hubbs -openrc-0.6.0.ebuild: + removed old version and fixed copyright date + +*openrc-0.6.0-r1 (20 Jan 2010) + + 20 Jan 2010; William Hubbs +openrc-0.6.0-r1.ebuild, + +files/openrc-0.6.0-fix-bsd-compile.patch, + +files/openrc-0.6.0-fix-vlan.patch, +files/openrc-0.6.0-typos.patch: + This new revision fixes #301594, an issue with the vlan support + and several typos. + + 22 Dec 2009; William Hubbs -openrc-0.5.3.ebuild: + removed old version + +*openrc-0.6.0 (21 Dec 2009) + + 21 Dec 2009; William Hubbs +openrc-0.6.0.ebuild: + version bump + + 21 Dec 2009; William Hubbs openrc-9999.ebuild: + typo fixes + + 21 Dec 2009; Mike Frysinger openrc-0.5.3.ebuild, + openrc-9999.ebuild, +files/openrc-9999-pause.patch: + Restore "pause" functionality to teach people to convert #218859 by Martin + Mokrejš. + + 21 Dec 2009; Mike Frysinger + files/openrc-9999-msg-style.patch: + Restore more e* output style. + + 07 Dec 2009; Mike Frysinger openrc-0.5.3.ebuild, + openrc-9999.ebuild: + Migrate hostname by default to avoid default thrashing on conf.d/hostname + #295406 by Martin Mokrejš. Also delay automatic dep tree update till + after we are done screwing with /etc. + + 06 Dec 2009; William Hubbs -openrc-0.5.2-r2.ebuild, + -files/openrc-0.5.2-dont-wipe-wtmp.patch, + -files/openrc-0.5.2-fix-default-domain.patch, + -files/openrc-0.5.2-fix-iproute2-support.patch, + -files/openrc-0.5.2-linux-containers.patch, + -files/openrc-0.5.2-ppp-options.patch: + removed old version + +*openrc-0.5.3 (02 Dec 2009) + + 02 Dec 2009; William Hubbs +openrc-0.5.3.ebuild: + version bump + + 19 Nov 2009; William Hubbs + -files/0.5.2/0001-msg-style.patch, + -files/0.5.2/0002-useful-functions.patch, -files/0.5.2/0003-KV.patch, + -files/0.5.2/0004-fix-typo.patch, + -files/0.5.2/0005-fix-iproute2-support.patch, + -files/9999/0001-msg-style.patch, + -files/9999/0002-fix-iproute2-support.patch, -openrc-0.5.2-r1.ebuild, + -files/9999/0003-dont-wipe-wtmp.patch: + removed old version + + 13 Nov 2009; Matthias Schwarzott openrc-0.5.2-r2.ebuild, + openrc-9999.ebuild: + Cleanup udev enable logic. + + 11 Nov 2009; William Hubbs -openrc-0.5.2.ebuild: + removed old version + + 10 Nov 2009; William Hubbs openrc-0.5.2-r2.ebuild, + openrc-9999.ebuild: + fixed typo + +*openrc-0.5.2-r2 (10 Nov 2009) + + 10 Nov 2009; William Hubbs +openrc-0.5.2-r2.ebuild, + +files/openrc-0.5.2-dont-wipe-wtmp.patch, + +files/openrc-0.5.2-fix-default-domain.patch, + +files/openrc-0.5.2-fix-iproute2-support.patch, + +files/openrc-0.5.2-linux-containers.patch, + +files/openrc-0.5.2-ppp-options.patch, openrc-9999.ebuild, + +files/openrc-9999-msg-style.patch: + Revision bump and sync with live ebuild. + This new revision adds linux containers support, fixes ppp options, + and fixes #289849. + + 08 Nov 2009; William Hubbs + -files/0.4.2/0001-msg-style.patch, + -files/0.4.2/0002-useful-functions.patch, -files/0.4.2/0003-KV.patch, + -files/0.4.3/0001-fix-is_older_than.patch, + -files/0.4.3/0002-support-custom-status.patch, -openrc-0.4.3-r4.ebuild, + -files/0.4.3/0003-command-line-size-fix.patch: + removed old version + + 08 Nov 2009; William Hubbs openrc-9999.ebuild: + Fix the live ebuild to remove /etc/conf.d/net.example and + /etc/conf.d/wireless.example if they have not been modified and to add + comments to them advising that they are obsolete if they have. + This closes #291254. + + 31 Oct 2009; William Hubbs openrc-9999.ebuild: + removed dev spaces from src_uri + + 29 Oct 2009; William Hubbs + +files/0.4.2/0001-msg-style.patch, + +files/0.4.2/0002-useful-functions.patch, +files/0.4.2/0003-KV.patch: + restored 0.4.2 patches + + 29 Oct 2009; William Hubbs + +files/9999/0002-fix-iproute2-support.patch, + -files/9999/0002-useful-functions.patch, -files/9999/0003-KV.patch, + +files/9999/0003-dont-wipe-wtmp.patch: + Updated the patches for the live ebuild. + + 28 Oct 2009; William Hubbs + -files/0.4.2/0001-msg-style.patch, + -files/0.4.2/0002-useful-functions.patch, -files/0.4.2/0003-KV.patch: + Removed old patches since we do not have openrc-0.4.2 in the tree. + +*openrc-0.5.2-r1 (20 Oct 2009) + + 20 Oct 2009; William Hubbs + +files/0.5.2/0005-fix-iproute2-support.patch, +openrc-0.5.2-r1.ebuild, + metadata.xml: + Fixed iproute2 support for bug #289762. + Removed oldnet from metadata. + +*openrc-0.5.2 (19 Oct 2009) + + 19 Oct 2009; William Hubbs + +files/0.5.2/0001-msg-style.patch, +openrc-0.5.2.ebuild, + +files/0.5.2/0002-useful-functions.patch, openrc-9999.ebuild, + +files/0.5.2/0003-KV.patch, +files/0.5.2/0004-fix-typo.patch: + Version bump and synced with live ebuild. + + 18 Oct 2009; Thomas Sachau (Tommy[D]) + openrc-0.5.1-r1.ebuild, openrc-9999.ebuild: + Set ABI dependent vars at the beginning of each src_* function needing + them, fixes bug #289314 + + 16 Oct 2009; Mike Frysinger openrc-0.5.1-r1.ebuild, + openrc-9999.ebuild: + Workaround parallel build issues #289264. + + 16 Oct 2009; Mike Frysinger openrc-0.5.1-r1.ebuild, + openrc-9999.ebuild: + Set rc_shell to /sbin/sulogin by default when it is installed. + + 15 Oct 2009; Mike Frysinger openrc-0.5.1-r1.ebuild, + openrc-9999.ebuild: + Relocate docs to normal Gentoo location #241342 by Diego E. Pettenò. + +*openrc-0.5.1-r1 (15 Oct 2009) + + 15 Oct 2009; Mike Frysinger +openrc-0.5.1-r1.ebuild, + openrc-9999.ebuild: + Rewrite the oldnet handling and make it the default for everyone. + + 10 Oct 2009; Matthias Schwarzott openrc-0.5.1.ebuild, + openrc-9999.ebuild: + Fixed enabling unicode in rc.conf, thanks to polynomial-c, bug #288383. + +*openrc-0.5.1 (09 Oct 2009) + + 09 Oct 2009; Matthias Schwarzott + +files/0.5.1/0001-msg-style.patch, +openrc-0.5.1.ebuild, + +files/0.5.1/0002-useful-functions.patch, openrc-9999.ebuild, + +files/0.5.1/0003-KV.patch, metadata.xml: + Version bumped. Add default enabled use-flag oldnet to install old-style + net.* init-scripts additionally to new ones. Synced with live ebuild. + +*openrc-0.4.3-r4 (08 Oct 2009) + + 08 Oct 2009; Pielmeier Daniel +openrc-0.4.3-r4.ebuild, + +files/openrc.logrotate: + Revision bump. Add support for logfile rotation. Closes bug #262035. + + 23 Aug 2009; Mike Frysinger openrc-0.4.3-r3.ebuild, + openrc-9999.ebuild: + Make sure ${ROOT}/etc/runlevels exists early enough #277323 by Ed + Wildgoose. + + 11 Jul 2009; Robin H. Johnson + +files/0.4.3/0003-command-line-size-fix.patch, openrc-0.4.3-r3.ebuild: + Bug #276715: Failure to compile with newer kernel headers due to + COMMAND_LINE_SIZE definition. + + 15 Jun 2009; Matthias Schwarzott openrc-9999.ebuild: + Add missing leading slash to LIBEXECDIR. + + 08 Jun 2009; Mike Frysinger openrc-0.4.3-r2.ebuild, + openrc-0.4.3-r3.ebuild, openrc-9999.ebuild: + Fix latent LIBDIR references #273224 by Peter Alfredsen. + +*openrc-0.4.3-r3 (08 Jun 2009) + + 08 Jun 2009; Mike Frysinger +openrc-0.4.3-r3.ebuild: + Revert ldscript changes as they inadvertently break some init.d scripts + #270646 by Mike Auty. + + 08 Jun 2009; Mike Frysinger openrc-9999.ebuild: + Sync changes from 0.4.3 back and merge the live/release versions. + + 29 May 2009; Mike Frysinger openrc-9999.ebuild: + Update repos to point to git #269705 by William Keaney. + + 09 May 2009; Mike Frysinger openrc-0.4.3-r2.ebuild: + Remove LIBDIR from env #266688, switch to get_libdir, and install shared + libs better with gen_usr_ldscript. Also install files with 644 rather than + 444. + + 27 Apr 2009; Mike Frysinger + files/9999/0001-msg-style.patch, files/9999/0002-useful-functions.patch, + files/9999/0003-KV.patch: + Update patches against latest svn #267540 by Vivien Moreau. + + 18 Apr 2009; Benedikt Böhm + files/0.4.3/0002-support-custom-status.patch: + backport r1523 and r1524 to fix compile on FreeBSD and still provide the + system status function in custom hooks + +*openrc-0.4.3-r2 (18 Apr 2009) + + 18 Apr 2009; Benedikt Böhm + +files/0.4.3/0002-support-custom-status.patch, + -files/openrc-0.4.3-fix-is_older_than.patch, + +files/0.4.3/0001-fix-is_older_than.patch, openrc-0.4.3-r1.ebuild, + +openrc-0.4.3-r2.ebuild: + backport r1520 to support custom status function and return 32 if service + has crashed. fixes #215355 + + 16 Feb 2009; Matthias Schwarzott -openrc-0.4.3.ebuild: + Remove version 0.4.3 + +*openrc-0.4.3-r1 (13 Feb 2009) + + 13 Feb 2009; Matthias Schwarzott + +files/openrc-0.4.3-fix-is_older_than.patch, +openrc-0.4.3-r1.ebuild: + Fix is_older_than, Bug #258688. + + 11 Feb 2009; Doug Goldstein + -files/0.4.3/0001-msg-style.patch, + -files/0.4.3/0002-useful-functions.patch, -files/0.4.3/0003-KV.patch, + openrc-0.4.3.ebuild: + 0.4.3 patches are identical to 0.4.2. reuse 0.4.2 patches to save cvs + space and fix weird rsyncing error + +*openrc-0.4.3 (11 Feb 2009) + + 11 Feb 2009; Matthias Schwarzott + +files/0.4.3/0001-msg-style.patch, + +files/0.4.3/0002-useful-functions.patch, +files/0.4.3/0003-KV.patch, + +openrc-0.4.3.ebuild: + Version bumped. Fixes a lot of issues. Like clock skew handling. + wpa_supplicant stuff, openvz handling, s-s-d environment and umask. + + 31 Jan 2009; Matthias Schwarzott openrc-0.4.2.ebuild, + openrc-9999.ebuild: + Sync 0.4.2 and 9999 ebuild. This does not change anything for 0.4.2 + ebuild. + + 28 Jan 2009; Matthias Schwarzott openrc-9999.ebuild: + Use specialized svnversion command to get commit version. + +*openrc-0.4.2 (14 Jan 2009) + + 14 Jan 2009; Matthias Schwarzott + +files/0.4.2/0001-msg-style.patch, + +files/0.4.2/0002-useful-functions.patch, +files/0.4.2/0003-KV.patch, + +files/0.4.2/0004-svn-version.patch, +openrc-0.4.2.ebuild: + Version bumped. Bug #254239. This fixes lots of details like compilation + on non-linux, forcefsck only applying to boot and not shutdown. + + 08 Jan 2009; Jeroen Roovers metadata.xml: + Improve description after private conversation with Roy. + + 03 Jan 2009; Jeroen Roovers metadata.xml: + Change comment into useable tags. + + 01 Jan 2009; Benedikt Böhm + +files/0.4.0/0005-init-script-novserver.patch: + fix dmesg and sysfs init script inside vservers, bug #253105 + + 31 Dec 2008; Doug Goldstein openrc-0.4.1-r1.ebuild, + openrc-9999.ebuild: + invert module-init-tools depend so we're not always pulling it in. the + depend was to avoid a specific issue with older module-init-tools + + 30 Dec 2008; Doug Goldstein openrc-0.4.1-r1.ebuild, + openrc-9999.ebuild: + remove old clock init script forcibly during the upgrade since it appears + to cause problems. bug #252380 + +*openrc-0.4.1-r1 (29 Dec 2008) + + 29 Dec 2008; Doug Goldstein + -files/0.3.0/0001-Fix-a-segfault-when-profile.env-does-not-exist.patch, + -files/0.3.0/0005-add-back-KV_-funcs.patch, + +files/0.4.0/0004-s-s-d-retry.patch, + -files/0.3.0/0003-This-reverts-commit-0e2f160c95b15e95f3885e3f5a3670ec.pat + ch, -files/0.3.0/0006-Fix-tests-Gentoo-240350.patch, + -files/0.3.0/0002-kenv-is-not-always-available.patch, + -files/0.3.0/0007-Fix-utmp-permissions-Gentoo-240437.patch, + -files/0.3.0/0004-add-a-softlevel-function-to-the-API-so-people-dont.patch + , -files/0.3.0/0008-Clean-up-warnings-regarding-printf.patch, + -openrc-0.3.0-r1.ebuild, -openrc-0.4.0.ebuild, -openrc-0.4.1.ebuild, + +openrc-0.4.1-r1.ebuild: + fix s-s-d signals on retry. bug #252621. remove old versions + + 24 Dec 2008; Matthias Schwarzott openrc-0.4.1.ebuild: + Fix patches directory, bug #252340. Update ebuild to match the old 0.4.0 + ebuild. + +*openrc-0.4.1 (23 Dec 2008) + + 23 Dec 2008; Doug Goldstein +openrc-0.4.1.ebuild: + version bump. fixes s-s-d process matching and segfaults. fixes + netplug/ifplug/wpa_supplicant up events. adds support for wpa_supplicant + ctrl_interface directive. fix bug #251839 (and more) + + 20 Dec 2008; Zac Medico openrc-0.4.0.ebuild: + Bug #251749 - Fix typo in sys-apps/sysvinit blocker. + + 19 Dec 2008; Matthias Schwarzott openrc-0.4.0.ebuild, + openrc-9999.ebuild: + Try to auto-detect on update, if the old version had udev enabled, and add + it to sysinit runlevel if yes. + + 17 Dec 2008; Doug Goldstein openrc-0.3.0-r1.ebuild, + openrc-0.4.0.ebuild, openrc-9999.ebuild: + add elibc_glibc to IUSE + + 17 Dec 2008; Doug Goldstein + -files/0.2.5/0001-msg-style.patch, + -files/0.2.5/0002-useful-functions.patch, -files/0.2.5/0003-KV.patch, + -openrc-0.2.5.ebuild: + remove old version from the tree + + 13 Dec 2008; Matthias Schwarzott openrc-9999.ebuild: + Fix update code. Switch over to svn repository. + + 10 Dec 2008; Doug Goldstein openrc-9999.ebuild: + Add runlevel migration support and update depends for live git build + +*openrc-0.4.0 (10 Dec 2008) + + 10 Dec 2008; Doug Goldstein + +files/0.4.0/0001-msg-style.patch, + +files/0.4.0/0002-useful-functions.patch, +files/0.4.0/0003-KV.patch, + +openrc-0.4.0.ebuild: + add OpenRC 0.4.0 which should fix many outstanding bugs + +*openrc-0.3.0-r1 (08 Oct 2008) + + 08 Oct 2008; Doug Goldstein + -files/openrc-0.2.4-start-nodep.patch, + +files/0.3.0/0006-Fix-tests-Gentoo-240350.patch, + +files/0.3.0/0007-Fix-utmp-permissions-Gentoo-240437.patch, + +files/0.3.0/0008-Clean-up-warnings-regarding-printf.patch, + -openrc-0.3.0.ebuild, +openrc-0.3.0-r1.ebuild: + fix bugs #240350, #240437. Fix printf warnings. Remove dead patch. + + 06 Oct 2008; Doug Goldstein + +files/0.2.5/0002-useful-functions.patch, +files/0.2.5/0003-KV.patch, + files/9999/0002-useful-functions.patch, +files/0.2.5/0001-msg-style.patch, + -openrc-0.2.2.ebuild, -openrc-0.2.3.ebuild, -openrc-0.2.4.ebuild, + -openrc-0.2.4-r1.ebuild, openrc-0.2.5.ebuild: + create 0.2.5 patch directory and copy current patches there. Use that + directory for 0.2.5. Update live ebuild 0002 patch to current patch as the + original one doesn't apply. bug #238904. Remove outdated versions. + +*openrc-0.3.0 (06 Oct 2008) + + 06 Oct 2008; Doug Goldstein + +files/0.3.0/0001-Fix-a-segfault-when-profile.env-does-not-exist.patch, + +files/0.3.0/0002-kenv-is-not-always-available.patch, + +files/0.3.0/0004-add-a-softlevel-function-to-the-API-so-people-dont.patch + , + +files/0.3.0/0003-This-reverts-commit-0e2f160c95b15e95f3885e3f5a3670ec.pat + ch, +files/0.3.0/0005-add-back-KV_-funcs.patch, +openrc-0.3.0.ebuild: + version bump. forward port patches from 0.2.x and include some upstream + fixes + + 09 Jun 2008; Doug Goldstein openrc-0.2.5.ebuild, + openrc-9999.ebuild: + always update the dependency tree so we don't boot with an out of date + tree. bug #224171 + + 01 Jun 2008; Mike Frysinger openrc-0.2.5.ebuild, + openrc-9999.ebuild: + Fix net.lo test in upgrade path as pointed out by compguy284 #224425. + + 31 May 2008; Mike Frysinger openrc-0.2.5.ebuild, + openrc-9999.ebuild: + Do the timezone upgrade before moving the clock conf.d as pointed out by + Hopeless #222867. + +*openrc-0.2.5 (29 May 2008) + + 29 May 2008; Doug Goldstein +openrc-0.2.5.ebuild: + version bump to fix a few outstanding bugs. 1) when a process stops, it + may delete it's pid file before actually being stopped + +*openrc-0.2.4-r1 (14 May 2008) + + 14 May 2008; Doug Goldstein +openrc-0.2.4-r1.ebuild: + fix bug #221751 and bug #220579 + +*openrc-0.2.4 (11 May 2008) + + 11 May 2008; Mike Frysinger +openrc-0.2.4.ebuild: + Version bump. + +*openrc-0.2.3 (29 Apr 2008) + + 29 Apr 2008; Doug Goldstein +openrc-0.2.3.ebuild: + version bump. numerous bug fixes + + 19 Apr 2008; Mike Frysinger openrc-0.2.2.ebuild, + openrc-9999.ebuild: + Make sure to force glibc-2.5+ #218441 by onox. + + 15 Apr 2008; Doug Goldstein openrc-0.2.1-r2.ebuild, + openrc-0.2.2.ebuild, openrc-9999.ebuild: + have to touch /etc/conf.d/net otherwise unmerge-orphans eats it later on + +*openrc-0.2.2 (15 Apr 2008) + + 15 Apr 2008; Doug Goldstein -openrc-0.2.1-r1.ebuild, + +openrc-0.2.2.ebuild: + version bump to get the latest fixes + + 15 Apr 2008; Doug Goldstein openrc-0.2.1-r1.ebuild, + openrc-0.2.1-r2.ebuild, openrc-9999.ebuild: + fix bug #217764 + +*openrc-0.2.1-r2 (15 Apr 2008) + + 15 Apr 2008; Doug Goldstein + +files/openrc-0.2.1-bad--help-output.patch, + +files/openrc-0.2.1-no-deref-null.patch, + +files/openrc-0.2.1-openvz-support.patch, + +files/openrc-0.2.1-respect-fastboot.patch, +openrc-0.2.1-r2.ebuild: + fix bug #216944 and other assorted issues + + 14 Apr 2008; Doug Goldstein openrc-0.2.1-r1.ebuild, + openrc-9999.ebuild: + get rid of issue with 'net.*' literally appearing + + 12 Apr 2008; Doug Goldstein openrc-0.2.1-r1.ebuild, + openrc-9999.ebuild: + reference OpenRC migration guide in pkg_postinst() + + 08 Apr 2008; Tobias Klausmann + openrc-0.2.1-r1.ebuild: + Keyworded on alpha, bug #214957 + + 08 Apr 2008; Ryan Hill openrc-0.2.1-r1.ebuild: + Keyword ~mips. + +*openrc-0.2.1-r1 (04 Apr 2008) + + 04 Apr 2008; Doug Goldstein + +files/openrc-0.2.1-empty-list-crash.patch, + -files/openrc-0.2-freebsd-install-rc.patch, + -files/openrc-0.2-multilib-fix.patch, + -files/openrc-0.2-multiple-ntp-servers.patch, + -files/openrc-0.2-nicelevel-doc.patch, + -files/openrc-0.2-path-fix-for-multilib-fix.patch, + -files/openrc-0.2-sysctl-vserver-fix.patch, -openrc-0.2.1.ebuild, + +openrc-0.2.1-r1.ebuild: + fix bug #216091. crash when stringlist was non-existant + + 03 Apr 2008; Raúl Porcel openrc-0.2.1.ebuild: + Add ~sparc wrt #214957 + + 02 Apr 2008; Doug Goldstein openrc-0.2.1.ebuild, + openrc-9999.ebuild: + fix issue with installing boot initscripts that are provided by currently + installing copy of OpenRC + +*openrc-0.2.1 (02 Apr 2008) + + 02 Apr 2008; Doug Goldstein -openrc-0.2-r3.ebuild, + +openrc-0.2.1.ebuild: + version bump. fixes vlans. fixes termencoding/keymap issues. + + 31 Mar 2008; Doug Goldstein openrc-0.2-r3.ebuild, + openrc-9999.ebuild: + maybe_add_boot_init -> add_boot_init typo + +*openrc-0.2-r3 (31 Mar 2008) + + 31 Mar 2008; Doug Goldstein + +files/openrc-0.2-nicelevel-doc.patch, + +files/openrc-0.2-path-fix-for-multilib-fix.patch, -openrc-0.2-r2.ebuild, + +openrc-0.2-r3.ebuild: + fix path issue introduced by multilib patch. document SSD_NICELEVEL + + 30 Mar 2008; Mike Frysinger + +files/9999/0001-msg-style.patch, +files/9999/0003-KV.patch, + +files/9999/0002-useful-functions.patch, openrc-0.2-r2.ebuild, + openrc-9999.ebuild: + Move patches here so we get them in releases. + + 30 Mar 2008; Mike Frysinger openrc-0.2-r2.ebuild, + openrc-9999.ebuild: + Autoadd device-mapper/dmcrypt/mdraid/lvm init.d scripts when + possible #215374. + + 29 Mar 2008; Jeroen Roovers openrc-0.2-r2.ebuild: + Marked ~hppa (bug #214957). + +*openrc-0.2-r2 (28 Mar 2008) + + 28 Mar 2008; Doug Goldstein + +files/openrc-0.2-multilib-fix.patch, + +files/openrc-0.2-multiple-ntp-servers.patch, + +files/openrc-0.2-sysctl-vserver-fix.patch, -openrc-0.2-r1.ebuild, + +openrc-0.2-r2.ebuild: + fix multilib issues. support multiple ntp servers. fix sysctl w/ vserver + issue. + + 28 Mar 2008; Mike Frysinger openrc-0.2-r1.ebuild, + openrc-9999.ebuild: + Make sure net init.d scripts are symlinks #215233 by Andrey Kislyuk. + + 28 Mar 2008; Mike Frysinger openrc-0.2-r1.ebuild, + openrc-9999.ebuild: + Drop USE=static since it doesnt really result in static. + + 28 Mar 2008; Alexis Ballier openrc-0.2-r1.ebuild: + keyword ~x86-fbsd + + 28 Mar 2008; Raúl Porcel openrc-0.2-r1.ebuild: + Add ~ia64 wrt #214957 + + 27 Mar 2008; Doug Goldstein openrc-0.2-r1.ebuild: + ~sparc-fbsd per bug #214957 + + 27 Mar 2008; Markus Rothe openrc-0.2-r1.ebuild: + Added ~ppc; bug #214957 + + 27 Mar 2008; Markus Rothe openrc-0.2-r1.ebuild: + Added ~ppc64; bug #214957 + +*openrc-0.2-r1 (27 Mar 2008) + + 27 Mar 2008; Doug Goldstein + +files/openrc-0.2-freebsd-install-rc.patch, -openrc-0.2.ebuild, + +openrc-0.2-r1.ebuild: + install rc & rc.shutdown for Gentoo/FreeBSD users + + 27 Mar 2008; Mike Frysinger openrc-0.2.ebuild: + Add x86/arm love #214957 by Shvetsov Alexey. + +*openrc-0.2 (26 Mar 2008) + + 26 Mar 2008; Doug Goldstein + -openrc-0.2_pre20080326.ebuild, +openrc-0.2.ebuild: + add OpenRC 0.2 + +*openrc-0.2_pre20080326 (26 Mar 2008) + + 26 Mar 2008; Doug Goldstein + -openrc-0.2_pre20080325.ebuild, +openrc-0.2_pre20080326.ebuild: + switched to proper branch for snapshot + +*openrc-0.2_pre20080325 (25 Mar 2008) + + 25 Mar 2008; Doug Goldstein + +openrc-0.2_pre20080325.ebuild: + add OpenRC 0.2 pre-release + +*openrc-9999 (23 Mar 2008) + + 23 Mar 2008; Mike Frysinger +metadata.xml, + +openrc-9999.ebuild: + Initial ebuild #212696. + diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest new file mode 100644 index 0000000..577834d --- /dev/null +++ b/sys-apps/openrc/Manifest @@ -0,0 +1,33 @@ +AUX openrc-0.8.3-ccwgroup.patch 1992 SHA256 5a092cc0ab90507c28f8bd6af34b67fbb3d8a9ddce257195dde55128f87324fc SHA512 bea08e3064b8253713d996098006e8f636fef8e071d0c373b91db643c678aff36d490c5db853c97c91e0ce53f10c4db3d2b104283303aba1d3841058d5e3bb4a WHIRLPOOL a37fbb6fb31abab0631d61baa61280330791209c329aed0c41ffef1ffdab9e0ba41732404035f8a26865077b1d857387f4d253c71febfc9743ff864b484ec1cf +AUX openrc-0.8.3-deprecation_warning.patch 1055 SHA256 fa95aaa34db3556240031fcfb5e33d85e44da2a2f74562faa97c75f569d4efa0 SHA512 72f8dc6a931ea4c97f337a1a358ccc4fc3600d8809e549afad8697fc74a07fa6f1460603d5c80ea08af2e441ad8cb7f404454876dce1244fdba13099f948d00a WHIRLPOOL 5bcee2abc2158ce750b94fee97f6e270adf4d5098bac2d64d2423bae462ce3b702c5df52d3e013e0027db66e09edde1c7aca1d5b8d77088f0f8937f968eba176 +AUX openrc-0.9.9.3-funcsh.patch 366 SHA256 6b66872b5aac3b72b0badd67fddcd25baec49c5a1bc20d66b240992789c19d91 SHA512 d54f8043e7e32a5a077d1c74d315d2773716662189995e78c55548571811326d1c55bfbe3f0b50751ff5873f09204dcc26e0e50820afea232d844b5cec6ede9c WHIRLPOOL c49f460a622917bcdd5fda8441c912ecb2560e61229a093aca30dbbf4271b83b43e3270f04390e771fb305a10e3ef785c5a74f8c9c7026ee8342c02fefe35a7d +AUX openrc-0.9.9.3-uprefix.patch 408 SHA256 247a3ed1ec3d866e57db3b087aed678c326c902ef65df4d272c26c5cf5f8786e SHA512 fa9fc24deccf4914f722489902ea8ebe8430ff6c18122652cf79c2a547693d2554f688297352c66f47bbb6ba906f2658a9e78d33fde68cc441685c609b3fa176 WHIRLPOOL c655373a943c54278a64acd6c1b78cce6df17f89ab2925eee4419a3b00e2d50348637305dfbf17a3d682c3a8624b33150f0cd1ee981a5194606a3fc459090843 +AUX openrc-9999-msg-style.patch 2775 SHA256 637fc2d13e0940b55b7d4613ebf8ebabdee87a802a2690191c01fd5ee7cb3581 SHA512 ffeaba677106929ed842d38b161a865a6b3bd26e4ed804bf922d7a1e3c749adbf23348a20ca1be44f41cc0abd7d113172f1865d29865f322e30fbac9f9b34cba WHIRLPOOL 3044d94c523ec2a33a2b9cfda5988070d67bfe631c1fba1314eaba5f432e9e4dfcbb307685e326c181c9205dfe12c161568e3707b276ceff2114bd92e9375ec0 +AUX openrc-9999-pause.patch 825 SHA256 ffa34418921d30c589ad762a5d6d7640c37e7279ca19af469912cb9f118cc75d SHA512 ebab7434c5e1b76b882d99d45069de33da07230c9fa9bf28212b18c2742d726aff7be62907964cad9c37b483c25d805dc07d0c5927349f8104fef2f957e69943 WHIRLPOOL 2f633409182e6ab0da4162fcd3a29e928eaad9aa72d008192aa0f4e9532b55492a122c61d9027766a04a766be2c74697624a0f15aaadc273de45cca554c13cd3 +AUX openrc.logrotate 71 SHA256 0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c SHA512 690612fddfb2c4cf8f6b5ba7239b9faf29eb3d9b152ab4dcf62694aa2852780440d08cee56d98a9597607f446b3697c911269562821a8402bb5747cbbae34bd9 WHIRLPOOL 8678c51583c77a4985760e4ea2082e7214f28b68cad460b362d683db71067cf6031e1f3275e83ac7959b0973cdafd0a4102525fe7b0d975798ec2182d1fd2769 +AUX start-stop-daemon.pam 63 SHA256 2681da17e4a122656b5303b7c7eca82b8fb182641290b153fdbe96b63638086d SHA512 85cf440611b8f87f51bf24bdd9fa03639a75b950f00096d81b8826c21ae85ff9784b8c56b8ddb482e70f08bce933d4561b30750346d51fb2cef3be34acc065cb WHIRLPOOL 4abc9f051155a62d3033258a06003a4ca3909d8104deca84d5c1605bc1c7e56167fd82b2b4b72fe7b707070de98a7628730de1ad3f14b924b5b1480fba5ef854 +DIST openrc-0.10.1.tar.bz2 171816 SHA256 070dd2a5b1d6624d89556bd86759dcffd8ea0c72325347a08390076e4e4963d6 SHA512 038add395588249f8b6f2c7b8c86c0d743f174901f95d04f0126b1f2a118568ca57ca7ff079e3661b54b5002fa1efa2e8638ad812fd6b15c38b1313ac37e6b09 WHIRLPOOL ab49d29f8b3ffa3ef040a61e34cb37058f042258e0d2e0325df8353c137c7220525187d12d559b4b0c2862e38f0b28e7b8061efe87a6f74af9b1264a34d191b2 +DIST openrc-0.10.2.tar.bz2 171775 SHA256 fd69be652166636c8ad1c3ea819522306285f3e22873f4bcae36ea9a4e53e627 SHA512 c344ab83b1408a76ef8567fa44142792ff9fb630a5157d2783aa5d5b0a7d862d8336f54a1d1d485013637e68858da68cc115e64fa09b73b37e0af9f13c3f3278 WHIRLPOOL b61c31820eb09ee6bff8dca135d675b36849a37c8b3b09e86919ca23e4cf6b405a48eca34c7c89c24f2353cd6818e4556540f97203015f44f156663458add971 +DIST openrc-0.10.3.tar.bz2 171718 SHA256 61db163ec709eb77276a9c80ad1468cbc676ae7191029b053c92eb1a1323a22c SHA512 c03eeb3d09ae102127aeaf1b8644dbe0f0916a00afd6ebfeeb5b7882e93f488d8fda30bda884e378d456de806f647d1f745e2ccd47292f6aa08ac51e38aca4b4 WHIRLPOOL 2ff76c62e0abe0a87457dcc885341e41de568def14d1ce95e2ef6b4c1da8dc5ae0b7377a7781ebe8eb1c5101e60224e0291047eaada9d16d7270de6484232d77 +DIST openrc-0.10.4.tar.bz2 171717 SHA256 002341b5fbdf2077fb246a6fa155861d7b21cef9f51cb298171ba9d164e2ba03 SHA512 480453698c49c2fcda92c6d9afe6f7eba38957831b3bea63de124fb85de3c7830dd2b881d1aa517c560e1b73f6b4c7b3b0fb2ff99a5b76e555b52edd3b3ceacc WHIRLPOOL fcec0b01cad4fb7b8fce9729da09618457cec57ac61b92b53ea70c50a00b21e2c88bb0a34f16f7065f6e349feee1014a84982b09c7bc2a6954ae270f8ed31f27 +DIST openrc-0.10.5.tar.bz2 171742 SHA256 27677142a7aa47a1c7e863fd4bce0d092aca7870012812e4f7a690a14f1e242c SHA512 f855d5f1b115cc4387585b9533fba78d22b7c54379a26e3d26995c1ff5b3bbe11bb6e6adc715d35710fcff77449d23bcdbbd4fbb5ea74e66a2ba224dfe2746e3 WHIRLPOOL f39a88e1f44f741f8eb31db07e5bb199253912d5c3cc7d9006467d52e07d5b814c1e3d2d652e1b503a5a81b953be094d2c95a50397812301f76abef6e44c608f +DIST openrc-0.10.tar.bz2 171758 SHA256 05f9104e0981a927c8825b332b4dd93e140a748b15df888b990e57c4bfbe7de5 SHA512 97754b6193a3c59f062f41a64c515ba411128a350456e963700ce26e8504c4fc894f3ef4f4e5b0bf8a20e50a099dbd74636193807ede215fcbe112d41f51a989 WHIRLPOOL d4d6b155b11e0cbdbc7a3f47d6c468b57c4db763f81f649ec233be9104b61e527cfa76c9e6e85126effd9dcc060cccf38f90405c84b27da4b159a43806728a67 +DIST openrc-0.9.8.4.tar.bz2 166843 SHA256 904e139a90d5f610b59f9e0cc52ddac487c58e4fa73468b5e9fdac1a03362533 +DIST openrc-0.9.9.1.tar.bz2 169195 SHA256 c5a528242689f7ccfc6eadcede831edc85255283032fb8362f9e039edfa90f3b +DIST openrc-0.9.9.2.tar.bz2 169141 SHA256 2f85d5dd2c4c7cbc124cd83aca1034c0fd3515e0603dc51891e7d9a323a89935 +DIST openrc-0.9.9.3.tar.bz2 169462 SHA256 75487579982eddee9bbc7c3f6515ef8924eefd35c4829361e2b4c4c69bd047ab SHA512 7fc7cc47aa14375a0dbd9943ee9e3e542f99b38b00a2692c8e4c193164871f17e1c76999d14b5d179d9449dd7b521bbd574d77519881d59a6004d56352128621 WHIRLPOOL e03b19a4c287d3f74400b9aa5d0c871f0e5d7e076b12e962864c081fc7b4dbdd4904b1f4369846202f271072de5c1e435f8a4f6a88b5cbf33c4fe42fc8dacfd1 +DIST openrc-0.9.9.tar.bz2 169147 SHA256 6d2cfff069ba53fb55dc9ebca1b6a2393cf0d17670583d85641e41ca29204ab8 +EBUILD openrc-0.10.1.ebuild 14421 SHA256 4ac650bb18d7e069df34b7eec11a2c09363f10cfceb28481505bdc32471675a2 SHA512 2596c42aa856a94afcf23b32a449bf97af281b2faa86b7e2c2190710b1fdb98bb0a6062bcd708705947e669f508ce53d9b086b4d06a0a16568e755dc9f165b01 WHIRLPOOL 35d072235420c0705a22d3b0aad3fcf17a7882e2e613111b8fbcb72e84274848f7f8ba23e175558e2b95f121fea29386ce0369e018323285e34e7f926ba65f2c +EBUILD openrc-0.10.2.ebuild 14421 SHA256 ba3abd848d65ba934be939f7799dc28b68601b29e7a0373cf27c8d536b96f16c SHA512 d1c75f0e40a5993440e271f3621adffe6807b5de836bf42e4742f80efb746ec347ccf5679f7ac7edb6b7f94727337cd5eac91b0cdd360f26ef0ff3100d158b4a WHIRLPOOL bfc435bef060909792deab031d7c1ea2ead6705eaaeeb89617c304021c9b03859193e68ce6d474d7fd03edce34d414a895aad23421c12e5ac3017252ae0c5dbf +EBUILD openrc-0.10.3.ebuild 14421 SHA256 9d46ff0498dbd57b69edbec46f4078b94432aaaaa7b34a043ab0a9f361ad3a33 SHA512 fa31ee44f4eea6cda48fbd11d65fe46869e180ae83f0f075b14b5d5649560060a9e5d7c154e65cc1bf383ff04877553b34ffd6e5ff78097e7fb543679cd0cc64 WHIRLPOOL 7f008fa1beee607789e1e40beee18cfcb35145669530aa1cbd667964c55b8fef36790d052e7bf56f31c5bde315ec9bae64cd7562d5f566edb15a114e94fcde75 +EBUILD openrc-0.10.4.ebuild 14421 SHA256 13d881943711b9f5dcf7ffc70af7c5fc2d51fd29cff93a0820508ade8f7914be SHA512 a995f5d1d200aba9166ae44328139a53b2539401b0b2e069b3ff70d1f17e0e96c0e87c841097e5db3ece2dbfab10248b6cccf8316a57685c71a4222b5def8581 WHIRLPOOL 1dbc38009519eca1503b6040fbd5a065c630da5b457707b841e5f5a781a1cf8dd4b06327bcf7c7b8d30f78aa00bedff72432560325e8041244884764f109c02f +EBUILD openrc-0.10.5.ebuild 14421 SHA256 a3de4203ca5221570a679db74083198b03a6a6a5439788a5fda0ed2452e99bf4 SHA512 17c342ef9f3bd8be978fbec3425cebb78c3c5ac262b121bec69ebb01f0c8ddc2d07d033d6a29f37df2de13935b811c251e862be9a41ae07f3423d229ecaa9b2d WHIRLPOOL 25e1144188ab066ddc42015c52a5bff55d0d2a499918debc4e614606bb8809b2de294574116e0290a609f5afef453a2ed537207379c06c23d11dc58e43fcbc8b +EBUILD openrc-0.10.ebuild 14419 SHA256 c2ec3c146d44118e41f7811f37a6294b79f0d4ea64605a5d1d357704975b38ff SHA512 b7794a30a8dee90862b71b41fe5f88dcdc483266fba279bcd52a0bee2c7f083d68ee6dbbd24868bac416cc62a2aacb96567c92413741eab62c15814f36cd065b WHIRLPOOL 6a9d4f75cd32ff51320c4e09ff9acc1913ba532e3c195d5c91d5665fb3c040e70ff1f7b7df117cb3e9a2ca0a8bfa1d210e0baa8e0bf4a7c1d34c7381a4aa0b50 +EBUILD openrc-0.9.8.4.ebuild 13967 SHA256 dd100aaaf00fe0f46008cda1a0b12a6753bd6019cb606d747f0edefc7b359468 SHA512 6a958bea4c0cc6f9adcdba07a2c193e04aaa48f39a5d27329a5ede5d1be97fb967e96751d1450c9ac60b3e194445f9422892865fd7f53d6c2d540c17624d4f2f WHIRLPOOL 62bc0da6afa4b5b9a7f52678b727e489c540c82d0dec2ad503e1fb84ce4f3dc357f7f9ad81cdb99216fef1d156b467e2e3ad0cdde52d360d0924ac7caa019ad4 +EBUILD openrc-0.9.9.1.ebuild 14113 SHA256 86e9db379c6c811631ffd923ee5dc2d99864a59fa2bcb4d0c986f65e32c20f6f SHA512 72568948511f7b11a0a0fb1628244e35c36489f91d7d1b72a76f8e161bef91f37a8f81adb22bf80724bcdd31c289fd9be8ebb849382a4d73aa26c42e3087048f WHIRLPOOL 7ffb059b8b848b992805b71cc6b0e6b637cb61a7781d671dd303b75ffb6225868620d63620373ce65eeb4f9194f406130a78d5c3761290150ca0f274929ee7f6 +EBUILD openrc-0.9.9.2.ebuild 14113 SHA256 6a9a71bf343c0aaac5c655c0571bbe482e32036bff495b34242ba7c40725bf61 SHA512 98b92def5df4fbe983933603996ae5a499695c55118c889d29949043c32c1780e220b6c4f2c454bcba02c6804a70029a84e89fd4398c4f39367aa92d33c19ca8 WHIRLPOOL b5d9dac23c6610c6ad9c57c99e0ab31186d0e5d61a9d6c5d06c22e471f46f6d825bf039bade081f49df4be75dd38295d12088b23c1d3d4370c47d4e7203ebb3c +EBUILD openrc-0.9.9.3.ebuild 14659 SHA256 7850c27fea686525e6ada88922fb781bb0eb6a4b43fe5b138c5203043fffd79b SHA512 ca1ac31bf76c85705b88f2e292bbbb7341c850337b437011573a1eed747564961c6e4149d933d68b5486103d73aa492293afd1ecca3f61d85c8b4088208c4238 WHIRLPOOL a663b316d519dec16b6af62c61c947f084846589ff10f3d9fb33ede7785b3aa0c7e4ba2cd82a095dc79d3591989f12e67631312c637b6cc9b38f9b647e9e2f21 +EBUILD openrc-0.9.9.ebuild 14111 SHA256 cd930975d6c297ded8df70a5cfbc5d36d9b1141114d8ad1eb085721c7fa736f5 SHA512 47fa88774b758e41ed6519c6a50f6a08e4c88e5aa5d2d6b64d8f0dff013a6227c5d8bfaa9dc91693196108b004ca448ad6fa3153d586fbdd855a3e5eb896c00b WHIRLPOOL d863b4331054c16a597a66c46756de1280541909ebed29b4e733c8106621d004fd92d3a9f51e39d84407968b56bf3cf428bb6fb9d1fcdb01cbf4ac3f972fd938 +EBUILD openrc-9999.ebuild 15023 SHA256 5952c1650a91c69f554d13408a9ba2f780a7ab5706d0d52e2e2c010e6223bfd1 SHA512 96404cbd40ad6e0c5a89415f2da87a2bf0fc77eddec629b27022f215c35b9d729751fa1a021c045bc66296474325e4e6ccce64c630479c541aef6ec9ac901cc4 WHIRLPOOL 494121909f9ac7f12f326fb69ba7ffe6e682244075ed6bc98aca9d0de6975e26a22037288dc83d5524a931566031112ceececb3abf6963816d556006fd799aa2 +MISC ChangeLog 37614 SHA256 d3f5fabdee737584ff1e4658900fc298f1d66fa9c753eaa7db102d96f2ce3eaa SHA512 37660935908fae1ee79ddaab108c0e27fd05b8379a47e453019818c81b31b9a08fa5f84ae8a1906e89a995f20d9b70794e0d10120bc75079bbdf39186e1efcba WHIRLPOOL 9108d35f51b2c04b1e592ff7f13686cee0d3209920a52cc4d9e3779182448ab2a9992f2119c55c04d31bcc635246d30e2175ed537b1b0c464f6aeed151a973b2 +MISC metadata.xml 159 SHA256 ca2e1a5ac106397eca5111140a1b07830e4d5dfacbeadba359fe17896c33a6c8 SHA512 3862e7014f5d98121283995fef167029b22d8f96a1a52609f9d3745e09ed2b1f4da128fcbbaeb8dfe644d0b38164fa52ff917f9c9e378190d094a5c368cdcc11 WHIRLPOOL 8061045c1d245ce95aa6912f7ef22d811a8ef71d95fc87c4b12a54016384d288b8a2251ce555e1bfb1a18db78089921a9399fdc8d37cab8f91f484bcb4137c93 diff --git a/sys-apps/openrc/files/openrc-0.8.3-ccwgroup.patch b/sys-apps/openrc/files/openrc-0.8.3-ccwgroup.patch new file mode 100644 index 0000000..14ecd5f --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.8.3-ccwgroup.patch @@ -0,0 +1,57 @@ +From c427d3c1fec89f6a9281dccdc123bad73af80804 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Tue, 28 Jun 2011 00:02:11 -0400 +Subject: [PATCH] net: ccwgroup: smooth up/down process + +We need to bring the link up ourselves after we've properly configured +the device. The common code tries to bring the link up itself, but it +does so before things are configured, and so it ends up failing. + +When shutting down, we need to wait for the kernel to finish destroying +the interface. Otherwise, when doing a restart, openrc is quick enough +to tell the kernel to destroy things, but then start trying to bring it +back up before the kernel has finished. + +X-Gentoo-Bug: 367467 +X-Gentoo-Bug-URL: http://bugs.gentoo.org/367467 +Signed-off-by: Mike Frysinger +--- + net/ccwgroup.sh | 14 ++++++++++++-- + 1 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/net/ccwgroup.sh b/net/ccwgroup.sh +index 248b159..60cd25f 100644 +--- a/net/ccwgroup.sh ++++ b/net/ccwgroup.sh +@@ -58,6 +58,11 @@ ccwgroup_pre_start() + echo "${val}" > /sys/devices/${ccw_type}/${first}/${var} + done + eend $? ++ ++ # Now that we've properly configured the device, we can run ++ # bring the interface up. Common code tried to do this already, ++ # but it failed because we didn't setup sysfs yet. ++ _up + } + + ccwgroup_pre_stop() +@@ -88,9 +93,14 @@ ccwgroup_post_stop() + local device="$(service_get_value ccwgroup_device)" + [ -z "${device}" ] && return 0 + local ccw_type="$(service_get_value ccwgroup_type)" ++ local path="/sys/devices/${ccw_type}/${device}" + + einfo "Disabling ccwgroup/${ccw_type} on ${IFACE}" +- echo "0" >/sys/devices/${ccw_type}/"${device}"/online +- echo "1" >/sys/devices/${ccw_type}/"${device}"/ungroup ++ if echo "0" >"${path}"/online && ++ echo "1" >"${path}"/ungroup ; then ++ # The device doesn't disappear right away which breaks ++ # restart, or a quick start up, so wait around. ++ while [ -e "${path}" ] ; do :; done ++ fi + eend $? + } +-- +1.7.5.3 + diff --git a/sys-apps/openrc/files/openrc-0.8.3-deprecation_warning.patch b/sys-apps/openrc/files/openrc-0.8.3-deprecation_warning.patch new file mode 100644 index 0000000..1aa7315 --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.8.3-deprecation_warning.patch @@ -0,0 +1,33 @@ +From 24ba7955634dd571a4c34dd712dc8a592eea4d73 Mon Sep 17 00:00:00 2001 +From: Joe Harvell +Date: Mon, 27 Jun 2011 23:20:47 +0200 +Subject: [PATCH] Only print the deprecation warning for --chuid/-c when using it + +The deprecation warning has been printed when using the replecement functions as +well, bug 373243. +--- + src/rc/start-stop-daemon.c | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c +index b5c2b6e..3017701 100644 +--- a/src/rc/start-stop-daemon.c ++++ b/src/rc/start-stop-daemon.c +@@ -788,12 +788,11 @@ start_stop_daemon(int argc, char **argv) + background = true; + break; + +- case 'u': /* --user | */ + case 'c': /* --chuid | */ +- { + /* DEPRECATED */ + ewarn("WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead"); +- ++ case 'u': /* --user | */ ++ { + p = optarg; + tmp = strsep(&p, ":"); + changeuser = xstrdup(tmp); +-- +1.7.3.4 + diff --git a/sys-apps/openrc/files/openrc-0.9.9.3-funcsh.patch b/sys-apps/openrc/files/openrc-0.9.9.3-funcsh.patch new file mode 100644 index 0000000..d5c3137 --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.9.9.3-funcsh.patch @@ -0,0 +1,11 @@ +--- sh/Makefile 2012-05-17 11:34:07.000000000 +0900 ++++ sh/Makefile.new 2012-05-17 11:38:50.000000000 +0900 +@@ -25,8 +25,6 @@ include ${MK}/scripts.mk + + _installafter: + ${INSTALL} -d ${DESTDIR}/${INITDIR} +- @# Put functions.sh into init for backwards compat +- ln -snf ${LIBEXECDIR}/sh/functions.sh ${DESTDIR}/${INITDIR} || exit $$? + + check test:: + ./runtests.sh diff --git a/sys-apps/openrc/files/openrc-0.9.9.3-uprefix.patch b/sys-apps/openrc/files/openrc-0.9.9.3-uprefix.patch new file mode 100644 index 0000000..819925f --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.9.9.3-uprefix.patch @@ -0,0 +1,11 @@ +--- mk/sys.mk 2012-04-24 09:11:02.000000000 +0900 ++++ mk/sys.mk.new 2012-04-24 10:32:16.000000000 +0900 +@@ -11,7 +11,7 @@ SED?= sed + SH= /bin/sh + + PREFIX?= +-_UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}";; esac ++_UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}"/usr;; esac + _UPREFIX:= $(shell ${_UPREFIX_SH}) + UPREFIX= ${_UPREFIX} + LOCAL_PREFIX= /usr/local diff --git a/sys-apps/openrc/files/openrc-9999-msg-style.patch b/sys-apps/openrc/files/openrc-9999-msg-style.patch new file mode 100644 index 0000000..ac325bb --- /dev/null +++ b/sys-apps/openrc/files/openrc-9999-msg-style.patch @@ -0,0 +1,81 @@ +From 1e307244138c8f650ab37bffa7b3cc3e3b39cd64 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 24 Mar 2008 01:48:19 -0400 +Subject: [PATCH] restore old e* func output + +Gentoo has always used the sytle: + * moo ... [ ok ] +Latest openrc now does: +* moo... [ok] + +Realistically, 4 spaces out of 80 on reduced terminals doesn't make any +sort of realistic difference and it's been just fine for the last 10 +years, so keep the default behavior. +--- + src/libeinfo/libeinfo.c | 15 ++++++--------- + 1 files changed, 6 insertions(+), 9 deletions(-) + +diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c +index 8a7613c..234b1af 100644 +--- a/src/libeinfo/libeinfo.c ++++ b/src/libeinfo/libeinfo.c +@@ -643,7 +643,7 @@ static int EINFO_PRINTF(3, 0) + fprintf(f, "\n"); + if (_eprefix) + fprintf(f, "%s%s%s|", _ecolor(f, color), _eprefix, _ecolor(f, ECOLOR_NORMAL)); +- fprintf(f, "%s*%s ", _ecolor(f, color), _ecolor(f, ECOLOR_NORMAL)); ++ fprintf(f, " %s*%s ", _ecolor(f, color), _ecolor(f, ECOLOR_NORMAL)); + retval += _eindent(f); + va_copy(ap, va); + retval += vfprintf(f, fmt, ap) + 3; +@@ -800,7 +800,7 @@ ebegin(const char *EINFO_RESTRICT fmt, ...) + va_start(ap, fmt); + retval = _einfovn(fmt, ap); + va_end(ap); +- retval += printf("..."); ++ retval += printf(" ..."); + if (colour_terminal(stdout)) + retval += printf("\n"); + LASTCMD("ebegin"); +@@ -817,7 +817,7 @@ _eend(FILE * EINFO_RESTRICT fp, int col, ECOLOR color, const char *msg) + if (!msg) + return; + +- cols = get_term_columns(fp) - (strlen(msg) + 3); ++ cols = get_term_columns(fp) - (strlen(msg) + 5); + + /* cons25 is special - we need to remove one char, otherwise things + * do not align properly at all. */ +@@ -831,18 +831,15 @@ _eend(FILE * EINFO_RESTRICT fp, int col, ECOLOR color, const char *msg) + if (term_is_cons25) + cols--; + +- /* If extra spacing is required around msg, then please change +- * via a runtime knob and leave this default as is as it saves 2 +- * valuable columns when running on 80 column screens. */ + if (cols > 0 && colour_terminal(fp)) { +- fprintf(fp, "%s%s %s[%s%s%s]%s\n", up, tgoto(goto_column, 0, cols), ++ fprintf(fp, "%s%s %s[%s %s %s]%s\n", up, tgoto(goto_column, 0, cols), + ecolor(ECOLOR_BRACKET), ecolor(color), msg, + ecolor(ECOLOR_BRACKET), ecolor(ECOLOR_NORMAL)); + } else { + if (col > 0) + for (i = 0; i < cols - col; i++) + fprintf(fp, " "); +- fprintf(fp, " [%s]\n", msg); ++ fprintf(fp, " [ %s ]\n", msg); + } + } + +@@ -1030,7 +1027,7 @@ ebeginv(const char *EINFO_RESTRICT fmt, ...) + + va_start(ap, fmt); + retval = _einfovn(fmt, ap); +- retval += printf("..."); ++ retval += printf(" ..."); + if (colour_terminal(stdout)) + retval += printf("\n"); + va_end(ap); +-- +1.6.6.rc3 + diff --git a/sys-apps/openrc/files/openrc-9999-pause.patch b/sys-apps/openrc/files/openrc-9999-pause.patch new file mode 100644 index 0000000..bf2c94f --- /dev/null +++ b/sys-apps/openrc/files/openrc-9999-pause.patch @@ -0,0 +1,29 @@ +From e82772a6b6d4374e81b7e19a593ffdef16753418 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 21 Dec 2009 09:02:35 -0500 +Subject: [PATCH] restore init.d pause option + +--- + src/rc/runscript.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/src/rc/runscript.c b/src/rc/runscript.c +index 5939dae..7147902 100644 +--- a/src/rc/runscript.c ++++ b/src/rc/runscript.c +@@ -1316,6 +1316,12 @@ runscript(int argc, char **argv) + prefix = NULL; + retval = svc_exec("status", NULL); + } else { ++ if (strcmp(optarg, "pause") == 0) { ++ ewarn("WARNING: 'pause' is deprecated; please use '--nodeps stop'"); ++ deps = false; ++ optarg = "stop"; ++ } ++ + if (strcmp(optarg, "conditionalrestart") == 0 || + strcmp(optarg, "condrestart") == 0) + { +-- +1.6.6.rc3 + diff --git a/sys-apps/openrc/files/openrc.logrotate b/sys-apps/openrc/files/openrc.logrotate new file mode 100644 index 0000000..a168f23 --- /dev/null +++ b/sys-apps/openrc/files/openrc.logrotate @@ -0,0 +1,7 @@ +/var/log/rc.log { + compress + rotate 4 + weekly + missingok + notifempty +} diff --git a/sys-apps/openrc/files/start-stop-daemon.pam b/sys-apps/openrc/files/start-stop-daemon.pam new file mode 100644 index 0000000..2127f6a --- /dev/null +++ b/sys-apps/openrc/files/start-stop-daemon.pam @@ -0,0 +1,2 @@ +account required pam_permit.so +session include system-services diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml new file mode 100644 index 0000000..2b127ba --- /dev/null +++ b/sys-apps/openrc/metadata.xml @@ -0,0 +1,5 @@ + + + +openrc + diff --git a/sys-apps/openrc/openrc-0.10.1.ebuild b/sys-apps/openrc/openrc-0.10.1.ebuild new file mode 100644 index 0000000..cc5e5f9 --- /dev/null +++ b/sys-apps/openrc/openrc-0.10.1.ebuild @@ -0,0 +1,436 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.10.1.ebuild,v 1.1 2012/05/24 16:24:17 williamh Exp $ + +EAPI=4 + +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git" +[[ ${PV} == "9999" ]] && SCM_ECLASS="git-2" +inherit eutils flag-o-matic multilib pam toolchain-funcs ${SCM_ECLASS} +unset SCM_ECLASS + +DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" +HOMEPAGE="http://www.gentoo.org/proj/en/base/openrc/" +if [[ ${PV} != "9999" ]] ; then + SRC_URI="mirror://gentoo/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="debug elibc_glibc ncurses pam selinux static-libs unicode kernel_linux kernel_FreeBSD" + +RDEPEND="virtual/init + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) ) + elibc_glibc? ( >=sys-libs/glibc-2.5 ) + ncurses? ( sys-libs/ncurses ) + pam? ( sys-auth/pambase ) + >=sys-apps/baselayout-2.1-r1 + kernel_linux? ( + sys-process/psmisc + ) + !