summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/ChangeLog652
-rw-r--r--sys-libs/glibc/files/digest-glibc-2.3.3_pre200312101
-rw-r--r--sys-libs/glibc/glibc-2.3.3_pre20031210.ebuild645
-rw-r--r--sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild4
-rw-r--r--sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild4
-rw-r--r--sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild4
6 files changed, 660 insertions, 650 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index d309ba125c47..c1913181acac 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,648 +1,12 @@
# ChangeLog for sys-libs/glibc
-# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.124 2004/02/08 15:11:37 azarah Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.125 2004/02/09 16:20:35 brad_mssw Exp $
-*glibc-2.3.3_pre20040207 (08 Feb 2004)
+*glibc-2.3.3_pre20040207 (09 Feb 2004)
- 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>
- 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.
+ 09 Feb 2004; Brad House <brad_mssw@gentoo.org>
+ 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
- 19 Jan 2004; Mike Frysinger <vapier@gentoo.org> 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; <solar@gentoo.org> 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 <vapier@gentoo.org> 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 <azarah@gentoo.org>
- glibc-2.3.3_pre20040117.ebuild:
- Update snapshot to 20040117.
-
- 18 Jan 2004; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.2-r9.ebuild:
- Mark stable for x86.
-
- 18 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> glibc-2.3.2-r9.ebuild:
- PDEPEND on new linux-headers version on ppc
-
- 16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> glibc-2.3.2-r9.ebuild:
- set ppc in keywords
-
- 10 Jan 2004; Aron Griffis <agriffis@gentoo.org> glibc-2.3.2-r9.ebuild:
- stable on alpha for bug 37595... alpha really needs execstack-PaX-support.patch
-
- 09 Jan 2004; Luca Barbato <lu_zero@gentoo.org> glibc-2.3.2-r9.ebuild:
- Marked ~ppc
-
-*glibc-2.3.3_pre20031222 (27 Dec 2003)
-
- 16 Jan 2004; Guy Martin <gmsoft@gentoo.org> glibc-2.3.3_pre20031222.ebuild :
- Removed some patches which did not apply for hppa.
-
- 27 Dec 2003; Martin Schlemmer <azarah@gentoo.org>
- 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 <azarah@gentoo.org>
- 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 <brad_mssw@gentoo.org> glibc-2.3.2-r9.ebuild:
- mark stable on amd64
-
- 23 Nov 2003; Tavis Ormandy <taviso@gentoo.org> 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 <agriffis@gentoo.org> glibc-2.3.2-r8.ebuild:
- Mark stable on alpha
-
-*glibc-2.3.2-r9 (18 Nov 2003)
-
- 08 Dec 2003; Guy Martin <gmsoft@gentoo.org> glibc-2.3.2-r9.ebuild :
- Marked stable on hppa.
-
- 19 Nov 2003; Guy Martin <gmsoft@gentoo.org> glibc-2.3.2-r9.ebuild :
- Added clean hppa patches. Seems not to suffer of the -r8 problems.
-
- 18 Nov 2003; Guy Martin <gmsoft@gentoo.org> glibc-2.3.2-r9.ebuild :
- Removed hppa stuff. New patching method should come shortly.
-
- 18 Nov 2003; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <vapier@gentoo.org> :
- Fix sscanf.c compilation. This tiny patch can be found in 2.3.2 already.
-
- 01 Nov 2003; Aron Griffis <agriffis@gentoo.org> 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 <gmsoft@gentoo.org> glibc-2.3.2-r8.ebuild :
- Added depend to >=hppa-headers-2.4.21_p13 for succefull compilation.
-
- 27 Oct 2003; Guy Martin <gmsoft@gentoo.org> 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 <azarah@gentoo.org> files/nscd:
- We need to pass '--pidfile' and not '--pid' to start-stop-daemon, thanks to
- Markus Rippl <markus.rippl@iconparc.de> for reporting.
-
- 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.2-r8.ebuild:
- Remove the sysmacros.h hack, as it is no longer needed.
-
- 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org> 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 <gmsoft@gentoo.org> glibc-2.3.2-r8.ebuild :
- Marked -hppa and removed hppa stuff from it.
-
- 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.2-r8.ebuild:
- Update snapshot.
-
- 18 Oct 2003; Brad House <brad_mssw@gentoo.org> 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 <azarah@gentoo.org> glibc-2.3.2-r1.ebuild,
- glibc-2.3.2-r7.ebuild:
- Sparc updates from Kumba <kumba@gentoo.org>:
-
- 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 <azarah@gentoo.org> 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 <gmsoft@gentoo.org> glibc-2.3.2-r7.ebuild :
- Added missing atomicity patch for hppa.
-
- 18 Nov 2003; Guy Martin <gmsoft@gentoo.org> glibc-2.3.2-r7.ebuild :
- Readded for hppa only. Added hppa patches and depend to correct
- hppa-headers.
-
- 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.2-r7.ebuild:
- Update CVS snapshot. NPTL is now in official CVS.
-
- 13 Oct 2003; Tavis Ormandy <taviso@gentoo.org> glibc-2.3.2-r1.ebuild:
- Downgrading glibc had some unintentional side effects, stable again.
-
- 10 Oct 2003; Alexander Gabert <pappy@gentoo.org> glibc-2.3.1-r4.ebuild,
- glibc-2.3.2-r1.ebuild:
- changed hardened-gcc build behaviour with CC
-
- 09 Oct 2003; Alexander Gabert <pappy@gentoo.org> glibc-2.3.1-r4.ebuild,
- glibc-2.3.2-r1.ebuild:
- added new hardened-gcc flags for hppa
-
- 09 Oct 2003; Alexander Gabert <pappy@gentoo.org> 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 <agriffis@gentoo.org> 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 <azarah@gentoo.org> 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 <azarah@gentoo.org> 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
- <kumba@gentoo.org> for mips.
-
-*glibc-2.3.2-r5 (20 Sep 2003)
-
- 20 Sep 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.2-r5.ebuild:
- Update CVS snapshot to 20030919. Update NPTL to 0.59.
-
- 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> glibc-2.3.2-r1.ebuild :
- ia64 keywords.
-
- 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org> 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 <kumba@gentoo.org>.
-
- 13 Sep 2003; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <pappy@gentoo.org> 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 <kumba@gentoo.org> glibc-2.3.2-r1.ebuild:
- Moved to stable on mips. Been using it for ages w/ no problems.
-
- 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org> 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; <matt@gentoo.org> 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 <coronalvr@gentoo.org> glibc-2.3.2-r1.ebuild:
- removed the winex block
-
- 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <azarah@gentoo.org> glibc-2.3.2-r1.ebuild,
- glibc-2.3.2-r2.ebuild:
- From Kumba <kumba@gentoo.org>:
-
- 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 <tester@gentoo.org> glibc-2.3.2-r2.ebuild:
- Removed all traces of multilib, 64bit libs are installed in lib/
-
- 18 Jul 2003; Will Woods <wwoods@gentoo.org> glibc-2.3.2-r1.ebuild:
- Marked stable for alpha
-
- 17 Jul 2003; Alex Veber <coronalvr@gentoo.org> glibc-2.3.2-r1.ebuild:
- set !app-emulation/winex-cvs
-
- 16 Jul 2003; Jay Pfeifer <pfeifer@gentoo.org> glibc-2.3.2-r1.ebuild:
- set stable on x86
- set !app-emulation/winex
-
- 01 Jul 2003; Luca Barbato <lu_zero@gentoo.org> glibc-2.3.2-r1.ebuild:
- set stable on ppc
-
- 14 Jun 2003; Tavis Ormandy <taviso@gentoo.org> 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 <joker@gentoo.org> glibc-2.3.1-r4.ebuild:
- Replaced sparc64 CFLAGS hack with replace-sparc64-flags from flag-o-matic
-
- 02 Jun 2003; Joshua Kinard <kumba@gentoo.org> glibc-2.3.2-r1.ebuild:
- Added ~mips to KEYWORDS
-
- 18 May 2003; Martin Schlemmer <azarah@gentoo.org> :
- Fix LICENSE to be LGPL-2, bug #19074. Fix glibc-2.3* < 2.3.2-r2 to depend
- on <gcc-3.3.
-
- 18 May 2003; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <azarah@gentoo.org> glibc-2.3.2-r{0,1}.ebuild :
-
- Some MIPS updates from Kumba <kumba@gentoo.org>:
- A few patches only for the MIPS platform. Descriptions of what they
- do can be found in the patch headers.
- <tuxus@gentoo.org> thx <dragon@gentoo.org> (11 Jan 2003)
- <kumba@gentoo.org> remove tst-rndseek-mips & ulps-mips patches
-
- 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org> :
- 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 <method@gentoo.org> glibc-2.3.1-r4.ebuild:
- give error and die if both sandbox and -fstack-protector are enabled
-
- 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <method@gentoo.org> glibc-2.3.1-r4.ebuild:
- give error and die if both sandbox and -fstack-protector are enabled
-
- 06 Apr 2003; Zach Welch <zwelch@gentoo.org> glibc-2.3.1-r4.ebuild:
- add arm keyword
-
- 06 Apr 2003; Christian Birchinger <joker@gentoo.org> glibc-2.3.1-r4.ebuild:
- Changed replace-flags for sparc
-
- 21 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> glibc-2.3.1-r4.ebuild :
- Security update.
-
-*glibc-2.2.5-r8 (21 Mar 2003)
-
- 06 Apr 2003; Christian Birchinger <joker@gentoo.org> glibc-2.2.5-r8.ebuild:
- Added replace-flags for sparc
-
- 21 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> glibc-2.2.5-r8.ebuild :
- Security update.
-
- 11 Mar 2003; Zach Welch <zwelch@gentoo.org>
- 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 <azarah@gentoo.org> 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 <tdhoang@ultramain.com> for reporting.
-
-*glibc-2.3.2 (05 March 2003)
-
- 06 Apr 2003; Christian Birchinger <joker@gentoo.org> glibc-2.3.2.ebuild:
- Changed replace-flags for sparc
-
- 11 Mar 2003; Zach Welch <zwelch@gentoo.org> 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 <azarah@gentoo.org> glibc-2.3.2.ebuild :
- Update version. Thanks to Georg Müller <georgmueller@gmx.net> for notifying
- me.
-
-*glibc-2.3.2_pre1 (24 Feb 2003)
-
- 24 Feb 2003; Martin Schlemmer <azarah@gentoo.org> 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 <zwelch@gentoo.org> glibc-2.2.5-r7.ebuild :
- Added patches for arm. See patches for description of each.
- Added arm keyword.
-
- 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
- Added patches for hppa. See patches for description of each.
- Added hppa to keywords.
-
- 29 Jan 2003; Jack Morganan <jmorgan@gentoo.org> glibc-2.3.1-r3.ebuild :
- Changed ~sparc to sparc
-
- 23 Jan 2003; Jan Seidel <tuxus@gentoo.org> glibc-2.3.1-r3.ebuild :
- Add MIPS inline-syscall-mips patch
-
- 16 Jan 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.1-r3.ebuild :
-
- Sync patches.
-
- 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.1-r2.ebuild :
-
- Fix 'locale -a' not listing all locales. This to Stefan Jones
- <cretin@gentoo.org> for this fix, bug #13240.
-
- Add MIPS patches, thanks to <tuxus@gentoo.org> and <dragon@gentoo.org>.
-
- Reload init to fix fsck on reboot ...
-
- 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <gerk@gentoo.org> glibc-2.3.1-r2.ebuild :
-
- Marked stable for ppc
-
- 10 Dec 2002; Martin Schlemmer <azarah@gentoo.org> glibc-2.3.1-r2.ebuild :
-
- Mark as stable for x86.
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> :
-
- Changed sparc ~sparc keywords
-
-*glibc-2.3.1-r2 (7 Nov 2002)
-
- 17 Nov 2002; Stefan Jones <cretin@gentoo.org> 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 <azarah@gentoo.org> 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 <cretin@gentoo.org> glibc-2.3.1-r2.ebuild :
- Changed --with-header to --with-headers to fix fake configure option.
-
- 10 Nov 2002: Stefan Jones <cretin@gentoo.org> 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 <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <jangutter@tuks.co.za> for reporting it. Added
- libc_wait-compat.patch as fix.
-
-*glibc-2.3.1-r1 (26 Oct 2002)
-
- 16 Nov 2002: Stefan Jones <cretin@gentoo.org> glibc-2.3.1-r1.ebuild :
- Changed --with-header to --with-headers to fix fake configure option.
-
- 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org> 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 <cretin@gentoo.org> glibc-2.2.5-r7.ebuild :
- Changed --with-header to --with-headers to fix fake configure option.
-
- 14 Nov 2002; Mark Guertin <gerk@gentoo.org> glibc-2.2.5-r7.ebuild :
- backed out semctl patches for ppc, they cause problems with mozilla builds
-
- 29 Oct 2002; Jon Nall <nall@gentoo.org> 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 <seemant@gentoo.org> glibc-2.2.5-r7.ebuild :
-
- Added semctl patch for sparc. Thanks to nall <nall@gentoo.org> for
- finding this at:
- http://sources.redhat.com/ml/libc-hacker/2002-04/msg00071.html
-
- 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> 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 <seemant@gentoo.org> 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 <azarah@gentoo.org> glibc-2.2.5-r7.ebuild,
- glibc-2.2.5-divdi3.diff :
-
- Add divdi3 patches for PPC, thanks to nall <nall@themountaingoats.net>.
-
-*glibc-2.2.5-r8 (27 Sep 2002)
-
- 27 Sep 2002; Daniel Ahlberg <aliz@gentoo.org> :
- Moved -r7 to -r8 to give room for updated -r6 release.
-
-*glibc-2.2.5-r7 (03 Aug 2002)
-
- 27 Sep 2002; Daniel Ahlberg <aliz@gentoo.org> :
- Bumped -r6 to -r7 to include fix for sunrpc overflow.
-
- 03 Aug 2002; Martin Schlemmer <azarah@gentoo.org> 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 <azarah@gentoo.org> glibc-2.2.5-r6.ebuild :
-
- Fix pic support, thanks to Christopher Horler <chris@horler.demon.co.uk>.
- This closes bug #8178.
-
- 08 Sep 2002; Martin Schlemmer <azarah@gentoo.org> glibc-2.2.5-r6.ebuild :
-
- Add alpha related patches thanks to Bjoern Brauel <bjoern@tuxnetwork.de>.
-
- 02 Aug 2002; Daniel Ahlberg <aliz@gentoo.org>
- Added patch for sunrpc overflow.
-
-*glibc-2.2.5-r5 (14 Jul 2002)
-
- 15 Jul 2002; Mark Guertin <gerk@gentoo.org>
- Added ppc to keywords
-
- 14 Jul 2002; Martin Schlemmer <azarah@gentoo.org> 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 <verwilst@gentoo.org> 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 <azarah@gentoo.org> 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 <gbevin@gentoo.org> 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 <drobbins@gentoo.org>: 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 <drobbins@gentoo.org>: New glibc release for testing
- only. Masked.
-
-*glibc-2.2.4-r9 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> 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/sys-libs/glibc/files/digest-glibc-2.3.3_pre20031210 b/sys-libs/glibc/files/digest-glibc-2.3.3_pre20031210
new file mode 100644
index 000000000000..b056a4fd2282
--- /dev/null
+++ b/sys-libs/glibc/files/digest-glibc-2.3.3_pre20031210
@@ -0,0 +1 @@
+MD5 ba33105e4d8111dd4580befbdb2c658b glibc-20031210.tar.bz2 14588259
diff --git a/sys-libs/glibc/glibc-2.3.3_pre20031210.ebuild b/sys-libs/glibc/glibc-2.3.3_pre20031210.ebuild
new file mode 100644
index 000000000000..49ec3060a7b9
--- /dev/null
+++ b/sys-libs/glibc/glibc-2.3.3_pre20031210.ebuild
@@ -0,0 +1,645 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20031210.ebuild,v 1.1 2004/02/09 16:20:35 brad_mssw Exp $
+
+IUSE="nls pic build nptl"
+
+inherit eutils flag-o-matic gcc
+
+filter-flags "-fomit-frame-pointer -malign-double"
+
+# Recently there has been a lot of stability problem in Gentoo-land. Many
+# things can be the cause to this, but I believe that it is due to gcc3
+# still having issues with optimizations, or with it not filtering bad
+# combinations (protecting the user maybe from himeself) yet.
+#
+# This can clearly be seen in large builds like glibc, where too aggressive
+# CFLAGS cause the tests to fail miserbly.
+#
+# Quote from Nick Jones <carpaski@gentoo.org>, who in my opinion
+# knows what he is talking about:
+#
+# People really shouldn't force code-specific options on... It's a
+# bad idea. The -march options aren't just to look pretty. They enable
+# options that are sensible (and include sse,mmx,3dnow when apropriate).
+#
+# The next command strips CFLAGS and CXXFLAGS from nearly all flags. If
+# you do not like it, comment it, but do not bugreport if you run into
+# problems.
+#
+# <azarah@gentoo.org> (13 Oct 2002)
+strip-flags
+
+# Lock glibc at -O2 -- linuxthreads needs it and we want to be conservative here
+export CFLAGS="${CFLAGS//-O?} -O2"
+export CXXFLAGS="${CFLAGS}"
+export LDFLAGS="${LDFLAGS//-Wl,--relax}"
+
+#BRANCH_UPDATE="20040117"
+
+# Minimum kernel version for --enable-kernel
+export MIN_KV="2.4.1"
+# Minimum kernel version for enabling TLS and NPTL ...
+# NOTE: do not change this if you do not know what
+# you are doing !
+export MIN_NPTL_KV="2.6.0"
+
+#MY_PV="${PV/_}"
+MY_PV="2.3.3"
+SNAPSHOT="20031210"
+#S="${WORKDIR}/${P%_*}"
+S="${WORKDIR}/${PN}-${SNAPSHOT}"
+DESCRIPTION="GNU libc6 (also called glibc2) C library"
+SRC_URI="ftp://ftp.linuxppc64.org/pub/people/tgall/libc/glibc-20031210.tar.bz2"
+# hppa? ( mirror://gentoo/${PN}-${MY_PV}-hppa-patches-p1.tar.bz2 )"
+
+HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
+
+#KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64 ppc64"
+# likely if you're on another architecture this snapshot isn't that interesting
+# it's a pull before the current altivec / vmx work went into cvs head
+# and started to cause problems for ppc64
+KEYWORDS="-* ppc64"
+SLOT="2.2"
+LICENSE="LGPL-2"
+
+# We need new cleanup attribute support from gcc for NPTL among things ...
+DEPEND=">=sys-devel/gcc-3.2.3-r1
+ nptl? ( >=sys-devel/gcc-3.3.1-r1 )
+ >=sys-devel/binutils-2.14.90.0.6-r1
+ hppa? ( >=sys-kernel/hppa-headers-2.4.21_p13 ) : ( virtual/os-headers )
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="virtual/os-headers
+ sys-apps/baselayout
+ nls? ( sys-devel/gettext )"
+
+PROVIDE="virtual/glibc"
+
+
+# Try to get a kernel source tree with version equal or greater
+# than $1. We basically just try a few default locations. The
+# version need to be that which KV_to_int() returns ...
+get_KHV() {
+ local headers=
+
+ [ -z "$1" ] && return 1
+
+ # - First check if linux-headers are installed (or symlink
+ # to current kernel ...)
+ # - Ok, do we have access to the current kernel's headers ?
+ # - Last option ... maybe its a weird bootstrap with /lib
+ # binded to the chroot ...
+
+ # We do not really support more than 2 arguments ...
+ if [ -n "$2" ]
+ then
+ headers="$2"
+ else
+ # Things should be pretty stable kernel side now, so try
+ # /usr/include first, then the current kernel's headers.
+ headers="${ROOT}/usr/include \
+ /lib/modules/`uname -r`/build/include \
+ ${ROOT}/lib/modules/`uname -r`/build/include \
+ /usr/src/linux/include \
+ ${ROOT}/usr/src/linux/include"
+ fi
+
+ for x in ${headers}
+ do
+ local header="${x}/linux/version.h"
+
+ if [ -f ${header} ]
+ then
+
+ local version="`grep 'LINUX_VERSION_CODE' ${header} | \
+ sed -e 's:^.*LINUX_VERSION_CODE[[:space:]]*::'`"
+
+ if [ "${version}" -ge "$1" ]
+ then
+ echo "${x}"
+
+ return 0
+ fi
+ fi
+ done
+
+ return 1
+}
+
+use_nptl() {
+ # Enable NPTL support if:
+ # - We have 'nptl' in USE
+ # - We have linux-2.5 or later kernel (should prob check for 2.4.20 ...)
+ if [ -n "`use nptl`" -a "`get_KV`" -ge "`KV_to_int ${MIN_NPTL_KV}`" ]
+ then
+ # Enable NPTL support if:
+ # - We have 'x86' in USE and:
+ # - a CHOST of "i486-pc-linux-gnu"
+ # - a CHOST of "i586-pc-linux-gnu"
+ # - a CHOST of "i686-pc-linux-gnu"
+ # - Or we have 'alpha' in USE
+ # - Or we have 'amd64' in USE
+ # - Or we have 'mips' in USE
+ # - Or we have 'ppc' in USE
+ case ${ARCH} in
+ "x86")
+ if [ "${CHOST/-*}" = "i486" -o \
+ "${CHOST/-*}" = "i586" -o \
+ "${CHOST/-*}" = "i686" ]
+ then
+ return 0
+ fi
+ ;;
+ "alpha"|"amd64"|"mips"|"ppc"|"sparc"|"ppc64")
+ return 0
+ ;;
+ *)
+ return 1
+ ;;
+ esac
+ fi
+
+ return 1
+}
+
+pkg_setup() {
+ # We need gcc 3.2 or later ...
+ if [ "`gcc-major-version`" -ne "3" -o "`gcc-minor-version`" -lt "2" ]
+ then
+ echo
+ eerror "As of glibc-2.3, gcc-3.2 or later is needed"
+ eerror "for the build to succeed."
+ die "GCC too old"
+ fi
+
+ echo
+
+ if use_nptl
+ then
+ # The use_nptl should have already taken care of kernel version,
+ # arch and CHOST, so now just check if we can find suitable kernel
+ # source tree or headers ....
+ einfon "Checking for sufficient version kernel headers ... "
+ if ! get_KHV "`KV_to_int ${MIN_NPTL_KV}`" &> /dev/null
+ then
+ echo "no"
+ echo
+ eerror "Could not find a kernel source tree or headers with"
+ eerror "version ${MIN_NPTL_KV} or later! Please correct this"
+ eerror "and try again."
+ die "Insufficient kernel headers present!"
+ else
+ echo "yes"
+ fi
+ fi
+
+ if [ "$(KV_to_int $(uname -r))" -gt "`KV_to_int '2.5.68'`" ]
+ then
+ local KERNEL_HEADERS="$(get_KHV "`KV_to_int ${MIN_NPTL_KV}`")"
+
+ einfon "Checking kernel headers for broken sysctl.h ... "
+ if ! gcc -I"${KERNEL_HEADERS}" \
+ -c ${FILESDIR}/test-sysctl_h.c -o ${T}/test1.o &> /dev/null
+ then
+ echo "yes"
+ echo
+ eerror "Your version of:"
+ echo
+ eerror " ${KERNEL_HEADERS}/linux/sysctl.h"
+ echo
+ eerror "is broken (from a user space perspective). Please apply"
+ eerror "the following patch:"
+ echo
+ eerror "*******************************************************"
+ cat ${FILESDIR}/fix-sysctl_h.patch
+ eerror "*******************************************************"
+ die "Broken linux/sysctl.h header included in kernel sources!"
+ else
+ echo "no"
+ fi
+ fi
+
+ if use_nptl
+ then
+ einfon "Checking gcc for __thread support ... "
+ if ! gcc -c ${FILESDIR}/test-__thread.c -o ${T}/test2.o &> /dev/null
+ then
+ echo "no"
+ echo
+ eerror "Could not find a gcc that supports the __thread directive!"
+ eerror "please update to gcc-3.2.2-r1 or later, and try again."
+ die "No __thread support in gcc!"
+ else
+ echo "yes"
+ fi
+
+ elif use nptl &> /dev/null
+ then
+ echo
+ # Just tell the user not to expect too much ...
+ ewarn "You have \"nptl\" in your USE, but your kernel version or"
+ ewarn "architecture does not support it!"
+ fi
+
+ echo
+}
+
+src_unpack() {
+
+ local P="${PN}-${MY_PV}"
+
+ unpack glibc-${SNAPSHOT}.tar.bz2
+
+ # Extract pre-made man pages. Otherwise we need perl, which is a no-no.
+ mkdir -p ${S}/man; cd ${S}/man
+
+ if [ "${ARCH}" != "ppc64" ]
+ then
+ use_nptl || tar xjf ${FILESDIR}/glibc-manpages-${MY_PV}.tar.bz2
+ cd ${S}
+ # Extract our threads package ...
+ if (! use_nptl) && [ -z "${BRANCH_UPDATE}" ]
+ then
+ unpack glibc-linuxthreads-${MY_PV}.tar.bz2
+ fi
+
+ if [ -n "${BRANCH_UPDATE}" ]
+ then
+ epatch ${DISTDIR}/${PN}-${PV/_*}-branch-update-${BRANCH_UPDATE}.patch.bz2
+ fi
+
+ if use_nptl
+ then
+ epatch ${FILESDIR}/2.3.2/${P}-redhat-nptl-fixes.patch
+ else
+ epatch ${FILESDIR}/2.3.2/${P}-redhat-linuxthreads-fixes.patch
+ fi
+
+ # To circumvent problems with propolice __guard and
+ # __guard_setup__stack_smash_handler
+ #
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if [ "${ARCH}" != "hppa" -a "${ARCH}" != "hppa64" ]
+ then
+ cd ${S}; epatch ${FILESDIR}/2.3.2/${P}-propolice-guard-functions-v2.patch
+ fi
+
+ # 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. Bug #32960. <azarah@gentoo.org> (12 Nov 2003).
+ epatch ${FILESDIR}/2.3.3/${PN}-2.3.3-dl_execstack-PaX-support.patch
+
+ # This next patch fixes a test that will timeout due to ReiserFS' slow handling of sparse files
+ # cd ${S}/io; epatch ${FILESDIR}/glibc-2.2.2-test-lfs-timeout.patch
+
+ # This add back glibc 2.2 compadibility. See bug #8766 and #9586 for more info,
+ # and also:
+ #
+ # 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.
+ #
+ # Thanks to Jan Gutter <jangutter@tuks.co.za> for reporting it.
+ #
+ # <azarah@gentoo.org> (26 Oct 2002).
+ cd ${S}; epatch ${FILESDIR}/2.3.1/${PN}-2.3.1-ctype-compat-v3.patch
+
+ # 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 <jangutter@tuks.co.za> for reporting it.
+ #
+ # <azarah@gentoo.org> (30 Oct 2002).
+ cd ${S}; epatch ${FILESDIR}/2.3.1/${PN}-2.3.1-libc_wait-compat.patch
+
+ # The mathinline.h header omits the middle term of a ?: expression. This
+ # is a gcc extension, but since the ISO standard forbids it, it's a
+ # GLIBC bug (bug #27142). See also:
+ #
+ # http://bugs.gentoo.org/show_bug.cgi?id=27142
+ #
+ cd ${S}; epatch ${FILESDIR}/2.3.2/${P}-fix-omitted-operand-in-mathinline_h.patch
+
+ # We do not want name_insert() in iconvconfig.c to be defined inside
+ # write_output() as it causes issues with trampolines/PaX.
+ cd ${S}; epatch ${FILESDIR}/2.3.2/${P}-iconvconfig-name_insert.patch
+
+ # A few patches only for the MIPS platform. Descriptions of what they
+ # do can be found in the patch headers.
+ # <tuxus@gentoo.org> thx <dragon@gentoo.org> (11 Jan 2003)
+ # <kumba@gentoo.org> remove tst-rndseek-mips & ulps-mips patches
+ if [ "${ARCH}" = "mips" ]
+ then
+ cd ${S}
+ epatch ${FILESDIR}/2.3.1/${PN}-2.3.1-fpu-cw-mips.patch
+ epatch ${FILESDIR}/2.3.1/${PN}-2.3.1-libgcc-compat-mips.patch
+ epatch ${FILESDIR}/2.3.1/${PN}-2.3.1-librt-mips.patch
+ epatch ${FILESDIR}/2.3.2/${P}-mips-add-n32-n64-sysdep-cancel.patch
+ epatch ${FILESDIR}/2.3.2/${P}-mips-configure-for-n64-symver.patch
+ epatch ${FILESDIR}/2.3.2/${P}-mips-pread-linux2.5.patch
+ fi
+
+ if [ "${ARCH}" = "alpha" ]
+ then
+ cd ${S}
+ # Fix compatability with compaq compilers by ifdef'ing out some
+ # 2.3.2 additions.
+ # <taviso@gentoo.org> (14 Jun 2003).
+ epatch ${FILESDIR}/2.3.2/${P}-decc-compaq.patch
+
+ # Fix compilation with >=gcc-3.2.3 (01 Nov 2003 agriffis)
+ epatch ${FILESDIR}/2.3.2/${P}-alpha-pwrite.patch
+ fi
+
+ if [ "${ARCH}" = "amd64" ]
+ then
+ cd ${S}; epatch ${FILESDIR}/2.3.2/${P}-amd64-nomultilib.patch
+ fi
+
+ if [ "${ARCH}" = "ia64" ]
+ then
+ # The basically problem is glibc doesn't store information about
+ # what the kernel interface is so that it can't efficiently set up
+ # parameters for system calls. This patch from H.J. Lu fixes it:
+ #
+ # http://sources.redhat.com/ml/libc-alpha/2003-09/msg00165.html
+ #
+ cd ${S}; epatch ${FILESDIR}/2.3.2/${P}-ia64-LOAD_ARGS-fixup.patch
+ fi
+
+ if [ "${ARCH}" = "hppa" ]
+ then
+ local x=
+
+ cd ${WORKDIR}
+ unpack ${P}-hppa-patches-p1.tar.bz2
+ cd ${S}
+ EPATCH_EXCLUDE="010* 020* 030* 040* 050* 055* 130* 190* 200*"
+ for x in ${EPATCH_EXCLUDE}
+ do
+ rm -f ${WORKDIR}/${P}-hppa-patches/${x}
+ done
+ for x in ${WORKDIR}/${P}-hppa-patches/*
+ do
+ epatch ${x}
+ done
+ epatch ${FILESDIR}/2.3.1/glibc23-07-hppa-atomicity.dpatch
+ fi
+
+ cd ${S}
+
+ # program header support for pax
+ epatch ${FILESDIR}/2.3.3/${PN}-${PV}-pt_pax.diff
+
+ # Sanity check the forward and backward chunk pointers in the
+ # unlink() macro used by Doug Lea's implementation of malloc(3).
+ epatch ${FILESDIR}/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff
+
+ # cosmetic change to ssp
+ # send a SEGV vs ABRT on self termniation.
+ # KILL might be even better?
+ epatch ${FILESDIR}/2.3.3/${PN}-${PV}-signal-ssp.diff
+
+ # Fix permissions on some of the scripts
+ chmod u+x ${S}/scripts/*.sh
+ fi
+}
+
+setup_flags() {
+ # -freorder-blocks for all but ia64 s390 s390x
+ use ppc || append-flags "-freorder-blocks"
+
+ # Sparc/Sparc64 support
+ if [ -n "`use sparc`" ]
+ then
+
+ # Both sparc and sparc64 can use -fcall-used-g6. -g7 is bad, though.
+ replace-flags "-fcall-used-g7" ""
+ append-flags "-fcall-used-g6"
+
+ # Sparc64 Only support...
+ if [ "${PROFILE_ARCH}" = "sparc64" ]
+ then
+
+ # Get rid of -mcpu options, the CHOST will fix this up
+ replace-flags "-mcpu=ultrasparc" ""
+ replace-flags "-mcpu=v9" ""
+
+ # Get rid of flags known to fail
+ replace-flags "-mvis" ""
+
+ # Setup the CHOST properly to insure "sparcv9"
+ # This passes -mcpu=ultrasparc -Wa,-Av9a to the compiler
+ export CHOST="${CHOST/sparc/sparcv9}"
+ fi
+ fi
+}
+
+src_compile() {
+ local myconf=
+ local myconf_nptl=
+
+ setup_flags
+
+ # These should not be set, else the
+ # zoneinfo do not always get installed ...
+ unset LANGUAGE LANG LC_ALL
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ if (use_nptl) && [ "${ARCH}" != "ppc64" ]
+ then
+ local kernelheaders="$(get_KHV "`KV_to_int ${MIN_NPTL_KV}`")"
+
+ # NTPL and Thread Local Storage support.
+ myconf="${myconf} --with-tls --with-__thread \
+ --enable-add-ons=nptl \
+ --enable-kernel=${MIN_NPTL_KV} \
+ --with-headers=${kernelheaders}"
+ else
+ myconf="${myconf} --without-__thread \
+ --enable-add-ons=linuxthreads "
+# --with-headers=/usr/src/linux/include"
+
+ # If we build for the build system we use the kernel headers from the target
+ # We also now set it without "build" as well, else it might use the
+ # current kernel's headers, which might just fail (the linux-headers
+ # package is usually well tested...)
+# ( use build || use sparc ) \
+# && myconf="${myconf} --with-headers=${ROOT}usr/include"
+ myconf="${myconf} --with-headers=${ROOT}usr/include"
+
+ # If kernel version and headers in ${ROOT}/usr/include are ok,
+ # then enable --enable-kernel=${MIN_KV} ...
+ if [ "`get_KV`" -ge "`KV_to_int ${MIN_KV}`" -a \
+ -n "$(get_KHV "`KV_to_int ${MIN_KV}`" "${ROOT}/usr/include")" ]
+ then
+ myconf="${myconf} --enable-kernel=${MIN_KV}"
+ else
+ myconf="${myconf} --enable-kernel=2.2.5"
+ fi
+ fi
+
+ einfo "Configuring GLIBC..."
+ rm -rf ${S}/buildhere
+ mkdir -p ${S}/buildhere
+ cd ${S}/buildhere
+ ../configure --build=${CHOST} \
+ --host=${CHOST} \
+ --with-gd=no \
+ --without-cvs \
+ --disable-profile \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --libexecdir=/usr/lib/misc \
+ ${myconf} || die
+
+ einfo "Building GLIBC..."
+ cd ${S}/buildhere
+ make PARALLELMFLAGS="${MAKEOPTS}" || die
+# einfo "Doing GLIBC checks..."
+# make check
+}
+
+src_install() {
+ local buildtarget="buildhere"
+
+ setup_flags
+
+ # These should not be set, else the
+ # zoneinfo do not always get installed ...
+ unset LANGUAGE LANG LC_ALL
+
+ einfo "Installing GLIBC..."
+ make PARALLELMFLAGS="${MAKEOPTS}" \
+ install_root=${D} \
+ install -C ${buildtarget} || die
+
+ # If librt.so is a symlink, change it into linker script (Redhat)
+ if [ -L "${D}/usr/lib/librt.so" -a "${LIBRT_LINKERSCRIPT}" = "yes" ]
+ then
+ local LIBRTSO="`cd ${D}/lib; echo librt.so.*`"
+ local LIBPTHREADSO="`cd ${D}/lib; echo libpthread.so.*`"
+
+ rm -f ${D}/usr/lib/librt.so
+ cat > ${D}/usr/lib/librt.so <<EOF
+/* GNU ld script
+ librt.so.1 needs libpthread.so.0 to come before libc.so.6*
+ in search scope. */
+EOF
+ grep "OUTPUT_FORMAT" ${D}/usr/lib/libc.so >> ${D}/usr/lib/librt.so
+ echo "GROUP ( /lib/${LIBPTHREADSO} /lib/${LIBRTSO} )" \
+ >> ${D}/usr/lib/librt.so
+
+ for x in ${D}/usr/lib/librt.so.[1-9]
+ do
+ [ -L "${x}" ] && rm -f ${x}
+ done
+ fi
+
+ if [ -z "`use build`" ]
+ then
+ einfo "Installing Info pages..."
+ make PARALLELMFLAGS="${MAKEOPTS}" \
+ install_root=${D} \
+ info -C ${buildtarget} || die
+
+ einfo "Installing Locale data..."
+ make PARALLELMFLAGS="${MAKEOPTS}" \
+ install_root=${D} \
+ localedata/install-locales -C ${buildtarget} || die
+
+ # Compatibility hack: this locale has vanished from glibc,
+ # but some other programs are still using it.
+ keepdir /usr/lib/locale/ru_RU/LC_MESSAGES
+
+ einfo "Installing man pages and docs..."
+ # Install linuxthreads man pages
+ use_nptl || {
+ dodir /usr/share/man/man3
+ doman ${S}/man/*.3thr
+ }
+
+ # Install nscd config file
+ insinto /etc
+ doins ${FILESDIR}/nscd.conf
+
+ dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ NEWS NOTES PROJECTS README*
+ else
+ rm -rf ${D}/usr/share ${D}/usr/lib/gconv
+
+ einfo "Installing Timezone data..."
+ make PARALLELMFLAGS="${MAKEOPTS}" \
+ install_root=${D} \
+ timezone/install-others -C ${buildtarget} || die
+ fi
+
+ if [ "`use pic`" ]
+ then
+ find ${S}/${buildtarget}/ -name "soinit.os" -exec cp {} ${D}/lib/soinit.o \;
+ find ${S}/${buildtarget}/ -name "sofini.os" -exec cp {} ${D}/lib/sofini.o \;
+ find ${S}/${buildtarget}/ -name "*_pic.a" -exec cp {} ${D}/lib \;
+ find ${S}/${buildtarget}/ -name "*.map" -exec cp {} ${D}/lib \;
+ for i in ${D}/lib/*.map
+ do
+ mv ${i} ${i%.map}_pic.map
+ done
+ fi
+
+ # Is this next line actually needed or does the makefile get it right?
+ # It previously has 0755 perms which was killing things.
+ fperms 4711 /usr/lib/misc/pt_chown
+
+ # Currently libraries in /usr/lib/gconv do not get loaded if not
+ # in search path ...
+# insinto /etc/env.d
+# doins ${FILESDIR}/03glibc
+
+ rm -f ${D}/etc/ld.so.cache
+
+ # Prevent overwriting of the /etc/localtime symlink. We'll handle the
+ # creation of the "factory" symlink in pkg_postinst().
+ rm -f ${D}/etc/localtime
+
+ # Some things want this, notably ash.
+ dosym /usr/lib/libbsd-compat.a /usr/lib/libbsd.a
+}
+
+pkg_postinst() {
+ # Correct me if I am wrong here, but my /etc/localtime is a file
+ # created by zic ....
+ # I am thinking that it should only be recreated if no /etc/localtime
+ # exists, or if it is an invalid symlink.
+ #
+ # For invalid symlink:
+ # -f && -e will fail
+ # -L will succeed
+ #
+ if [ ! -e ${ROOT}/etc/localtime ]
+ then
+ echo "Please remember to set your timezone using the zic command."
+ rm -f ${ROOT}/etc/localtime
+ ln -s ../usr/share/zoneinfo/Factory ${ROOT}/etc/localtime
+ fi
+
+ if [ -x ${ROOT}/usr/sbin/iconvconfig ]
+ then
+ # Generate fastloading iconv module configuration file.
+ ${ROOT}/usr/sbin/iconvconfig --prefix=${ROOT}
+ fi
+
+ # Reload init ...
+ if [ "${ROOT}" = "/" ]
+ then
+ /sbin/init U &> /dev/null
+ fi
+}
+
diff --git a/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild b/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild
index 30cc2b8b8c17..e167b247d3c4 100644
--- a/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild
+++ b/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild,v 1.4 2004/01/25 05:02:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20031222.ebuild,v 1.5 2004/02/09 16:20:35 brad_mssw Exp $
IUSE="nls pic build nptl"
@@ -57,7 +57,7 @@ SRC_URI="http://ftp.gnu.org/gnu/glibc/glibc-${MY_PV}.tar.bz2
hppa? ( mirror://gentoo/${PN}-${MY_PV}-hppa-patches-p1.tar.bz2 )"
HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
-KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64 ~ppc64"
+KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64"
SLOT="2.2"
LICENSE="LGPL-2"
diff --git a/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild b/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild
index 5cc8df428e2d..c5921efc585d 100644
--- a/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild
+++ b/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild,v 1.2 2004/01/23 08:28:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20040117.ebuild,v 1.3 2004/02/09 16:20:35 brad_mssw Exp $
IUSE="nls pic build nptl"
@@ -57,7 +57,7 @@ SRC_URI="http://ftp.gnu.org/gnu/glibc/glibc-${MY_PV}.tar.bz2
hppa? ( mirror://gentoo/${PN}-${MY_PV}-hppa-patches-p1.tar.bz2 )"
HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
-KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64 ~ppc64"
+KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64"
SLOT="2.2"
LICENSE="LGPL-2"
diff --git a/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild b/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild
index 4f0183d676cc..ff506e0600d0 100644
--- a/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild
+++ b/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild,v 1.1 2004/02/08 15:11:39 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3_pre20040207.ebuild,v 1.2 2004/02/09 16:20:35 brad_mssw Exp $
IUSE="nls pic build nptl"
@@ -57,7 +57,7 @@ SRC_URI="http://ftp.gnu.org/gnu/glibc/glibc-${MY_PV}.tar.bz2
hppa? ( mirror://gentoo/${PN}-${MY_PV}-hppa-patches-p1.tar.bz2 )"
HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
-KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64 ~ppc64"
+KEYWORDS="~x86 ~mips ~sparc ~amd64 -hppa ~alpha ~ia64"
SLOT="2.2"
LICENSE="LGPL-2"