Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add old uclibc ebuilds used for GNAP.

  • Loading branch information...
commit 0affa672e38eda6a7295e1f54eb6958b01689831 1 parent d1fd340
Sune Kloppenborg Jeppesen authored
478 sys-libs/uclibc/ChangeLog
... ... @@ -0,0 +1,478 @@
  1 +# ChangeLog for sys-libs/uclibc
  2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
  3 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v 1.59 2011/04/20 18:10:38 ulm Exp $
  4 +
  5 + 20 Apr 2011; Ulrich Mueller <ulm@gentoo.org> uclibc-0.9.27-r1.ebuild,
  6 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild, uclibc-0.9.28.3-r7.ebuild,
  7 + uclibc-0.9.28.3-r8.ebuild, uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild,
  8 + uclibc-0.9.30.1-r1.ebuild:
  9 + Don't PROVIDE virtual/libc, bug 359001.
  10 +
  11 + 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> uclibc-0.9.27-r1.ebuild:
  12 + Drop to ~mips
  13 +
  14 + 18 Jan 2010; <solar@gentoo.org> uclibc-0.9.27-r1.ebuild,
  15 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  16 + uclibc-0.9.28.3-r7.ebuild, uclibc-0.9.28.3-r8.ebuild,
  17 + uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild:
  18 + - update headers
  19 +
  20 + 18 Jan 2010; <solar@gentoo.org> uclibc-0.9.30.1-r1.ebuild:
  21 + - Add avr32 target. Bug 267449
  22 +
  23 + 04 Nov 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.30.1-r1.ebuild:
  24 + Dont try installing ldd/ldconfig utils when shared library support is
  25 + disabled #291787 by Petric Frank.
  26 +
  27 + 17 Oct 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.28.3-r8.ebuild:
  28 + Stabilize for all #289522 by Ryan Hill.
  29 +
  30 + 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> uclibc-0.9.27-r1.ebuild,
  31 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  32 + uclibc-0.9.28.3-r7.ebuild, uclibc-0.9.28.3-r8.ebuild,
  33 + uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild, uclibc-0.9.30.1-r1.ebuild:
  34 + Re-add virtual/libc PROVIDE as it is still needed
  35 +
  36 + 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> uclibc-0.9.27-r1.ebuild,
  37 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  38 + uclibc-0.9.28.3-r7.ebuild, uclibc-0.9.28.3-r8.ebuild,
  39 + uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild, uclibc-0.9.30.1-r1.ebuild:
  40 + Remove virtual/libc
  41 +
  42 + 25 Aug 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.28.3-r8.ebuild:
  43 + Install a simple fenv.h for newer gcc versions #266298 by Antonio Pezo.
  44 +
  45 +*uclibc-0.9.28.3-r8 (25 Aug 2009)
  46 +
  47 + 25 Aug 2009; Mike Frysinger <vapier@gentoo.org>
  48 + +uclibc-0.9.28.3-r8.ebuild:
  49 + Backport some fixes to get latest stable utils building (like
  50 + iproute2/udev).
  51 +
  52 + 25 Aug 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.28.3-r7.ebuild:
  53 + Mark arm/m68k/ppc/sh/x86 stable.
  54 +
  55 + 26 Jul 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27-r1.ebuild,
  56 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  57 + uclibc-0.9.28.3-r7.ebuild, uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild,
  58 + uclibc-0.9.30.1-r1.ebuild:
  59 + Dont bother installing ldd/ldconfig man pages as common man pages work
  60 + fine for the most part #254650 by Anthony Giorgio.
  61 +
  62 + 22 Jul 2009; Zac Medico <zmedico@gentoo.org> uclibc-0.9.27-r1.ebuild,
  63 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  64 + uclibc-0.9.28.3-r7.ebuild, uclibc-0.9.30.ebuild, uclibc-0.9.30.1.ebuild,
  65 + uclibc-0.9.30.1-r1.ebuild:
  66 + Bug #270496 - Fix PROVIDE conditionals to use elibc_uclibc.
  67 +
  68 + 20 Jul 2009; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.30.1.ebuild,
  69 + uclibc-0.9.30.1-r1.ebuild:
  70 + Fix getline() conflict with glibc-2.10 #277186 by Diego E. Pettenò.
  71 +
  72 +*uclibc-0.9.30.1-r1 (12 Mar 2009)
  73 +
  74 + 12 Mar 2009; <solar@gentoo.org> +uclibc-0.9.30.1-r1.ebuild:
  75 + - import a few svn patches from upstream. fixes bug 262181
  76 +
  77 +*uclibc-0.9.30.1 (03 Mar 2009)
  78 +
  79 + 03 Mar 2009; <solar@gentoo.org> +uclibc-0.9.30.1.ebuild:
  80 + - version bump
  81 +
  82 + 10 Jan 2009; Stuart Longland <redhatter@gentoo.org> uclibc-0.9.30.ebuild:
  83 + Added ~mips keyword. uClibc appears to work fine on both mips and mipsel
  84 + with one caveat: it doesn't work on 16KB page size kernels (i.e. Loongson)
  85 + see http://bugs.busybox.net/show_bug.cgi?id=9 for info here.
  86 +
  87 + It *does* however, work fine on my Cobalt Qube2 and SGI O2, where I am
  88 + building stages.
  89 +
  90 + 02 Jan 2009; <solar@gentoo.org> metadata.xml, uclibc-0.9.30.ebuild:
  91 + work around gcc-4 lack of ssp by default support while +hardened is enabled
  92 +
  93 +*uclibc-0.9.30 (28 Nov 2008)
  94 +
  95 + 28 Nov 2008; <solar@gentoo.org> -uclibc-0.9.28.3-r6.ebuild,
  96 + -uclibc-0.9.30_rc1.ebuild, -uclibc-0.9.30_rc3.ebuild,
  97 + +uclibc-0.9.30.ebuild:
  98 + - version bump and some cleanup
  99 +
  100 + 09 Nov 2008; <solar@gentoo.org> uclibc-0.9.30_rc3.ebuild:
  101 + - psm reports headers need -j1 flag
  102 +
  103 + 01 Nov 2008; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27-r1.ebuild,
  104 + uclibc-0.9.28.3.ebuild, uclibc-0.9.28.3-r3.ebuild,
  105 + uclibc-0.9.28.3-r6.ebuild, uclibc-0.9.28.3-r7.ebuild,
  106 + uclibc-0.9.30_rc1.ebuild, uclibc-0.9.30_rc3.ebuild:
  107 + Unify some ebuild differences and fix header-only install with newer
  108 + versions #234748 by Nathan Brink.
  109 +
  110 +*uclibc-0.9.30_rc3 (29 Oct 2008)
  111 +
  112 + 29 Oct 2008; <solar@gentoo.org> +uclibc-0.9.30_rc3.ebuild:
  113 + - version bump. rc3 drops all gentoo patches. merged upstream
  114 +
  115 +*uclibc-0.9.30_rc1 (23 Sep 2008)
  116 +
  117 + 23 Sep 2008; <solar@gentoo.org> +uclibc-0.9.30_rc1.ebuild:
  118 + - Initial import of 0.9.30_rc1 branch for gentoo testing/QA before final the
  119 + release. (many thanks to torindel for helping out with this)
  120 +
  121 + 23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
  122 + add GLEP 56 USE flag desc from use.local.desc
  123 +
  124 +*uclibc-0.9.28.3-r7 (08 Jun 2008)
  125 +
  126 + 08 Jun 2008; <solar@gentoo.org> +uclibc-0.9.28.3-r7.ebuild:
  127 + - fix up a few cross compile problems for arm
  128 +
  129 +*uclibc-0.9.28.3-r6 (05 May 2008)
  130 +
  131 + 05 May 2008; <solar@gentoo.org> -uclibc-0.9.28.ebuild,
  132 + -uclibc-0.9.28-r1.ebuild, -uclibc-0.9.28-r2.ebuild,
  133 + -uclibc-0.9.28.1.ebuild, -uclibc-0.9.28.3-r1.ebuild,
  134 + -uclibc-0.9.28.3-r2.ebuild, -uclibc-0.9.28.3-r4.ebuild,
  135 + -uclibc-0.9.28.3-r5.ebuild, +uclibc-0.9.28.3-r6.ebuild:
  136 + - little cleanup and add the realpath patch from bug 125701 to address the
  137 + sandbox problem with coreutils
  138 +
  139 +*uclibc-0.9.28.3-r5 (04 May 2008)
  140 +
  141 + 04 May 2008; <solar@gentoo.org> +uclibc-0.9.28.3-r5.ebuild:
  142 + [Bug 219598] [PATCH] sys-libs/uclibc-0.9.28.3 - backport of splice(2),
  143 + tee(2) and vmsplice(2) syscalls
  144 +
  145 + 23 Apr 2008; <solar@gentoo.org> uclibc-0.9.28.3-r3.ebuild:
  146 + - stable on arm/ppc/x86
  147 +
  148 + 16 Apr 2008; Christian Heim <phreak@gentoo.org> uclibc-0.9.28.3-r4.ebuild:
  149 + Remove the extra distmirror (my devspace from SRC_URI).
  150 +
  151 + 16 Apr 2008; Christian Heim <phreak@gentoo.org> uclibc-0.9.28.3-r4.ebuild:
  152 + Silent revision bump (ie just incrementing the patch version) to grab the
  153 + libm stuff, which was missing from CVS.
  154 +
  155 +*uclibc-0.9.28.3-r4 (16 Apr 2008)
  156 +
  157 + 16 Apr 2008; Christian Heim <phreak@gentoo.org>
  158 + +uclibc-0.9.28.3-r4.ebuild:
  159 + Revision bump, pulling in svn r16022 to fix readdir_r return value (uClibc
  160 + #1022; #217612 by Natanael Copa).
  161 +
  162 + 27 Mar 2008; Christian Heim <phreak@gentoo.org> uclibc-0.9.28.3-r2.ebuild:
  163 + Marking uclibc-0.9.28.3-r2 stable on ppc too.
  164 +
  165 +*uclibc-0.9.28.3-r3 (24 Mar 2008)
  166 +
  167 + 24 Mar 2008; <solar@gentoo.org> +uclibc-0.9.28.3-r3.ebuild:
  168 + - sync queue.h up from svn HEAD
  169 +
  170 + 15 Mar 2008; Christian Heim <phreak@gentoo.org> uclibc-0.9.28.3-r2.ebuild:
  171 + Stabilizing uclibc-0.9.28.3-r2 on x86, as per solar's acknowledgement.
  172 +
  173 +*uclibc-0.9.28.3-r2 (01 Jan 2008)
  174 +
  175 + 01 Jan 2008; <solar@gentoo.org> +uclibc-0.9.28.3-r2.ebuild:
  176 + * 0.9.28.3 - 1.2 - Backport a few header defines
  177 +
  178 +*uclibc-0.9.28.3-r1 (21 Sep 2007)
  179 +
  180 + 21 Sep 2007; <solar@gentoo.org> +uclibc-0.9.28.3-r1.ebuild:
  181 + backport posix_memalign() function
  182 +
  183 + 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
  184 + uclibc-0.9.27-r1.ebuild, uclibc-0.9.28.ebuild, uclibc-0.9.28-r1.ebuild,
  185 + uclibc-0.9.28-r2.ebuild, uclibc-0.9.28.1.ebuild, uclibc-0.9.28.3.ebuild:
  186 + (QA) RESTRICT clean up.
  187 +
  188 + 30 Jun 2007; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27-r1.ebuild,
  189 + uclibc-0.9.28.ebuild, uclibc-0.9.28-r1.ebuild, uclibc-0.9.28-r2.ebuild,
  190 + uclibc-0.9.28.1.ebuild, uclibc-0.9.28.3.ebuild:
  191 + Use `as` and `file` to determine the toolchain endianness #171849.
  192 +
  193 + 07 Apr 2007; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.28.3.ebuild:
  194 + Install hostutils (ldd/ldconfig) for cross-compilers #172207.
  195 +
  196 +*uclibc-0.9.28.3 (25 Mar 2007)
  197 +
  198 + 25 Mar 2007; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.28.3.ebuild:
  199 + Version bump #168747 by Josh G.
  200 +
  201 + 16 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
  202 + uclibc-0.9.27-r1.ebuild, uclibc-0.9.28.ebuild, uclibc-0.9.28-r1.ebuild,
  203 + uclibc-0.9.28-r2.ebuild, uclibc-0.9.28.1.ebuild:
  204 + Fix tc-is-softfloat logic, as reported on gentoo-embedded by Scott L. Price.
  205 +
  206 +*uclibc-0.9.28.1 (28 Jan 2007)
  207 +
  208 + 28 Jan 2007; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.28.1.ebuild:
  209 + Version bump.
  210 +
  211 +*uclibc-0.9.28-r2 (15 Jan 2007)
  212 +
  213 + 15 Jan 2007; <solar@gentoo.org> +uclibc-0.9.28-r2.ebuild:
  214 + - import readahead() symbol and import from Joakim Tjernlund -
  215 + uClibc-svn-r17162 (Support SecurePLTs for PowerPC)
  216 +
  217 +*uclibc-0.9.28-r1 (14 Oct 2006)
  218 +
  219 + 14 Oct 2006; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.28-r1.ebuild:
  220 + Push out accumulated fixes.
  221 +
  222 + 27 Jan 2006; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.28.ebuild:
  223 + Stabilize, add a few minor bugfixes, and add support for USE=savedconfig.
  224 +
  225 + 25 Nov 2005; <solar@gentoo.org> uclibc-0.9.28.ebuild:
  226 + - the __uClibc_start_main is becoming a problem for users thus we need to
  227 + check the bins before allowing them to have uclibc-compat disabled
  228 +
  229 + 13 Nov 2005; <solar@gentoo.org> uclibc-0.9.28.ebuild:
  230 + - moredefs..
  231 +
  232 + 07 Nov 2005; <solar@gentoo.org> uclibc-0.9.28.ebuild:
  233 + Enabled DL_FINI_CRT_COMPAT by default
  234 +
  235 + 05 Sep 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27.ebuild,
  236 + uclibc-0.9.27-r1.ebuild:
  237 + Fix optimized strn functions so nano stops crashing #95395.
  238 +
  239 +*uclibc-0.9.28 (18 Aug 2005)
  240 +
  241 + 18 Aug 2005; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.28.ebuild:
  242 + Version bump.
  243 +
  244 + 05 Aug 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27.ebuild,
  245 + uclibc-0.9.27-r1.ebuild:
  246 + Add patch by Yuri Vasilevski to fix FPU endian on arm #75585.
  247 +
  248 + 29 Jul 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27.ebuild,
  249 + uclibc-0.9.27-r1.ebuild:
  250 + Update patchset to include armeb stat and getent fixes.
  251 +
  252 +*uclibc-0.9.27-r1 (18 Jun 2005)
  253 +
  254 + 18 Jun 2005; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.27-r1.ebuild:
  255 + New testing version by psm with partial locale support.
  256 +
  257 + 18 Jun 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.27.ebuild:
  258 + Add patches from upstream to fix arm/TEXTRELs and remove the duplicated
  259 + pthread_atfork() prototype from unistd.h.
  260 +
  261 + 21 Apr 2005; <solar@gentoo.org> files/getent, uclibc-0.9.27.ebuild:
  262 + - update getent script in FILESDIR
  263 +
  264 + 17 Jan 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.26-r8.ebuild,
  265 + uclibc-0.9.27.ebuild:
  266 + Make sure uclibc doesnt destroy glibc hosts (sorry solar!) and fix
  267 + src_test() so it actually works.
  268 +
  269 +*uclibc-0.9.27 (14 Jan 2005)
  270 +
  271 + 14 Jan 2005; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.27.ebuild:
  272 + Version bump.
  273 +
  274 + 11 Jan 2005; Mike Frysinger <vapier@gentoo.org> uclibc-0.9.26-r8.ebuild:
  275 + Merge psm & my cross compile work together and BAM we have a sweet ebuild.
  276 +
  277 + 14 Dec 2004; <solar@gentoo.org> uclibc-0.9.26-r8.ebuild:
  278 + - Improved hardened handling bug 73699. Initial support for xattr.
  279 +
  280 + 10 Nov 2004; <solar@gentoo.org> uclibc-0.9.26-r8.ebuild:
  281 + uclibc updates
  282 +
  283 +*uclibc-0.9.26-r8 (06 Nov 2004)
  284 +
  285 + 06 Nov 2004; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.26-r8.ebuild:
  286 + Add the ability to select CPU/endian type #69871.
  287 +
  288 + 28 Oct 2004; <solar@gentoo.org> uclibc-0.9.26-r7.ebuild:
  289 + uclibc-0.9.26-r7 marked stable for x86/arm/ppc/mips. 30 days in ~arch,
  290 + security changes only which mark unsecvars stable
  291 +
  292 + 13 Oct 2004; <solar@gentoo.org> files/0.9.26/ssp.c:
  293 + more updates to ssp.c
  294 +
  295 + 12 Oct 2004; <solar@gentoo.org> files/0.9.26/ssp.c:
  296 + reverting to old ssp behavior
  297 +
  298 +*uclibc-0.9.26-r7 (28 Sep 2004)
  299 +
  300 + 28 Sep 2004; <solar@gentoo.org>
  301 + +files/0.9.26/uClibc-20040921-ldso-unsecvars.patch,
  302 + +files/0.9.26/unsecvars.h, +uclibc-0.9.26-r7.ebuild:
  303 + added unsecvars handling to uclibc. testing ground here and going mainline
  304 + afterwords
  305 +
  306 + 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> uclibc-0.9.26-r3.ebuild,
  307 + uclibc-0.9.26-r4.ebuild, uclibc-0.9.26-r5.ebuild, uclibc-9999.ebuild:
  308 + Switch to use epause and ebeep, bug #62950
  309 +
  310 +*uclibc-9999 (25 Aug 2004)
  311 +
  312 + 25 Aug 2004; Mike Frysinger <vapier@gentoo.org>
  313 + +uclibc-9999.ebuild:
  314 + CVS ebuild to make our (well mine at least) lives easier.
  315 +
  316 + 19 Aug 2004; <solar@gentoo.org> uclibc-0.9.26-r1.ebuild,
  317 + uclibc-0.9.26-r2.ebuild, uclibc-0.9.26-r3.ebuild, uclibc-0.9.26-r4.ebuild,
  318 + uclibc-0.9.26-r5.ebuild:
  319 + update RDEPEND. bug 60911
  320 +
  321 + 09 Aug 2004; Mike Frysinger <vapier@gentoo.org>
  322 + +files/0.9.26/uclibc-0.9.26-ldso-cache.patch, uclibc-0.9.26-r5.ebuild:
  323 + Add a small patch to allow loading of ELF_LIBC0 libraries.
  324 +
  325 + 09 Aug 2004; Mike Frysinger <vapier@gentoo.org>
  326 + +files/0.9.26/uclibc-0.9.26-resolve-segfault.patch, uclibc-0.9.26-r5.ebuild:
  327 + Add a homebrewed patch to fix the bug with gethostname() which didnt setup the
  328 + h_aliases data.
  329 +
  330 +*uclibc-0.9.26-r5 (09 Aug 2004)
  331 +
  332 + 09 Aug 2004; <solar@gentoo.org> uclibc-0.9.26-r5.ebuild:
  333 + version bump requested by spanky
  334 +
  335 + 06 Aug 2004; Mike Frysinger <vapier@gentoo.org>
  336 + +files/0.9.26/arm-ucontext.patch, uclibc-0.9.26-r4.ebuild:
  337 + Make sure arm/ucontext.h includes the right context files and fix the ld utils
  338 + to properly read/write /etc/ld.so.* files.
  339 +
  340 +*uclibc-0.9.26-r4 (30 Jul 2004)
  341 +
  342 + 30 Jul 2004; <solar@gentoo.org> uclibc-0.9.26-r4.ebuild:
  343 + updated the cvs snapshot so we can get some header updates
  344 +
  345 + 13 Jul 2004; <solar@gentoo.org> uclibc-0.9.26-r3.ebuild:
  346 + paying respect to mjn3 and his DEDICATION to his wife in the docs
  347 +
  348 +*uclibc-0.9.26-r3 (12 Jul 2004)
  349 +
  350 + 12 Jul 2004; <solar@gentoo.org> uclibc-0.9.26-r3.ebuild,
  351 + files/0.9.26/uclibc-0.9.26-noexecstack.patch:
  352 + more uclibc updates from Peter S. Mazinger
  353 +
  354 + 05 Jul 2004; <solar@gentoo.org> uclibc-0.9.21.ebuild,
  355 + uclibc-0.9.26-r1.ebuild, uclibc-0.9.26-r2.ebuild, files/getent:
  356 + added getent which is a shell replacement (uclibc does not have it, but
  357 + ebuild.sh uses it. So we need it!
  358 +
  359 + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> uclibc-0.9.21.ebuild,
  360 + uclibc-0.9.26-r1.ebuild, uclibc-0.9.26-r2.ebuild:
  361 + virtual/glibc -> virtual/libc
  362 +
  363 + 27 Jun 2004; <solar@gentoo.org> uclibc-0.9.21.ebuild,
  364 + uclibc-0.9.26-r1.ebuild, uclibc-0.9.26-r2.ebuild:
  365 + updated PROVIDES for virtual/libc
  366 +
  367 +*uclibc-0.9.26-r2 (23 Jun 2004)
  368 +
  369 + 23 Jun 2004; <solar@gentoo.org> uclibc-0.9.26-r2.ebuild,
  370 + files/0.9.26/uclibc-0.9.26-arm-dl-sysdep.patch:
  371 + Added patch for ARCH=arm to prevent a static inlines from being included more
  372 + than one time. sent patch upstream
  373 +
  374 + 22 Jun 2004; <solar@gentoo.org> files/0.9.26/ssp.c,
  375 + files/0.9.26/uClibc-20040613-do_rem.patch,
  376 + files/0.9.26/uclibc-0.9.26-ssp-gcc34-after-frandom.patch:
  377 + major uclibc cleanups. New IUSE= flags and functionality
  378 +
  379 + 26 May 2004; Mike Frysinger <vapier@gentoo.org>
  380 + +files/0.9.26/arm-fix-missing-syscalls.patch, uclibc-0.9.26-r1.ebuild:
  381 + Add patch to allow arm building
  382 +
  383 + 01 Feb 2004; <solar@gentoo.org> uclibc-0.9.23.ebuild,
  384 + uclibc-0.9.26-r1.ebuild, uclibc-0.9.26.ebuild:
  385 + The etdyn local use flag has been renamed to pie (Position Independent
  386 + Executable) Removed old ebuilds.. Keeping 0.9.21 as stable till Gentoo has a
  387 + working uClibc toolchain in place
  388 +
  389 +*uclibc-0.9.26-r1 (08 Jan 2004)
  390 +
  391 + 08 Jan 2004; <solar@gentoo.org> uclibc-0.9.26-r1.ebuild,
  392 + files/0.9.26/uClibc-0.9.26-Makefile.patch,
  393 + files/0.9.26/uClibc-0.9.26-pie-option.patch:
  394 + Attached is one patch needed to really enable FORCE_SHAREABLE_SEGMENTS
  395 + option, the other is to build uclibc against the installed kernel-headers
  396 + (not kernel-source) - Peter S. Mazinger gentoo-embedded mailing list.
  397 +
  398 +*uclibc-0.9.26 (04 Jan 2004)
  399 +
  400 + 04 Jan 2004; <solar@gentoo.org> uclibc-0.9.25-r1.ebuild,
  401 + uclibc-0.9.25.ebuild, uclibc-0.9.26.ebuild:
  402 + version bump.. there was a pthread bug that slipped though uclibc.org testing
  403 +
  404 +*uclibc-0.9.25-r1 (04 Jan 2004)
  405 +
  406 + 04 Jan 2004; <solar@gentoo.org> uclibc-0.9.21.ebuild, uclibc-0.9.23.ebuild,
  407 + uclibc-0.9.25-r1.ebuild, uclibc-0.9.25.ebuild:
  408 + added back etdyn/pie support for x86. If -fstack-protector is in the users
  409 + CFLAGS then let uclibc provide __guard symbols
  410 +
  411 +*uclibc-0.9.25 (03 Jan 2004)
  412 +
  413 + 03 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
  414 + Version bumpage #36235. Patches no longer needed since they've all been
  415 + integrated upstream.
  416 +
  417 +*uclibc-0.9.23 (15 Nov 2003)
  418 +
  419 + 21 Nov 2003; <solar@gentoo.org> metadata.xml:
  420 + update metadata.xml
  421 +
  422 + 21 Nov 2003; <solar@gentoo.org> uclibc-0.9.22.ebuild,
  423 + files/uClibc-0.9.22-etdyn.patch, files/uClibc-0.9.22-pax.patch,
  424 + files/0.9.23/uClibc-0.9.23-etdyn.patch,
  425 + files/0.9.23/uClibc-0.9.23-flipturn.patch:
  426 + updated etdyn patches. no major functional changes to revision bump, removed
  427 + buggy 0.9.22 code from portage
  428 +
  429 + 15 Nov 2003; <solar@gentoo.org> uclibc-0.9.23.ebuild,
  430 + files/0.9.23/uClibc-0.9.23-etdyn.patch,
  431 + files/0.9.23/uClibc-0.9.23-flipturn.patch,
  432 + files/0.9.23/uClibc-0.9.23-pax.patch:
  433 + version bump, 0.9.22 was braindead.. In this release we continue support for
  434 + PaX etdyn executabes thanks to the PaX Team and Peter S. Mazinger as well as
  435 + add a small patch that was submited to the uClibc by Rob McMullen
  436 +
  437 +*uclibc-0.9.22 (11 Nov 2003)
  438 +
  439 + 11 Nov 2003; <solar@gentoo.org> uclibc-0.9.22.ebuild,
  440 + files/uClibc-0.9.22-etdyn.patch, files/uClibc-0.9.22-pax.patch:
  441 + version bump, this ebuild includes experimental pax-etdyn support for uclibc
  442 + when local use flag etdyn is used
  443 +
  444 + 04 Oct 2003; <solar@gentoo.org> uclibc-0.9.21.ebuild:
  445 + marking stable on x86, and added a metadata.xml
  446 +
  447 +*uclibc-0.9.21 (10 Sep 2003)
  448 +
  449 + 30 Sep 2003; Joshua Kinard <kumba@gentoo.org> uclibc-0.9.21.ebuild:
  450 + Added ~sparc & ~mips to KEYWORDS
  451 + Useful for building our netboot images with
  452 +
  453 + 10 Sep 2003; <solar@gentoo.org> uclibc-0.9.21.ebuild:
  454 + andersee is pleased to announce the immediate availability of uClibc 0.9.21.
  455 + This release has been brewing for several months now, and provides quite a lot
  456 + of additional functionality as well as quite a few bug fixes. The biggest
  457 + thing in this release (and I do mean that literally) is that uClibc now has
  458 + full ANSI/ISO C99 locale support. The most interesting thing for uClinux are
  459 + the additional config options that will let you tune the library to be even
  460 + smaller, for example, by disabling all the strerror() messages.
  461 +
  462 +*uclibc-0.9.20 (09 Jul 2003)
  463 +
  464 + 09 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
  465 + Version bumpage.
  466 +
  467 +*uclibc-0.9.19 (19 Jun 2003)
  468 +
  469 + 19 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
  470 + Version bump #15579 thanks to David Bryson <mutex@kerneli.org>.
  471 +
  472 +*uclibc-0.9.16 (11 Nov 2002)
  473 +
  474 + 25 May 2003; Martin Holzer <mholzer@gentoo.org> uclibc-0.9.16.ebuild:
  475 + now uses mirror://kernel
  476 +
  477 + 11 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
  478 + Initial import. Ebuild submitted by me.
18 sys-libs/uclibc/Manifest
... ... @@ -0,0 +1,18 @@
  1 +AUX gen_wc8bit.patch 1192 RMD160 7791d82c012415f3a727bdcde3db21ec0a2232c9 SHA1 b6b6288b2db2eb2cafe142daecd5f259f21bc7af SHA256 a50caaf7dabd7025257946e1c795d987c14ca1120c6040034694fbfb87cc87e9
  2 +AUX gen_wctype.patch 6681 RMD160 db084dab2d1e99dce9e9873853228a7c316683d4 SHA1 821409ef977f8bf8aba028fcdf84b62c4bd3142f SHA256 08836c362e5e69aeca18aa8ab61914384c92a0bcec3a62a5043c7dccfebb0c5b
  3 +AUX locales.txt 711 RMD160 06b9a28ca510b47f16b5b9e865d45cc52ac4907d SHA1 5a3ba6dfc1799251f74d5cbf4434a8d4b2254389 SHA256 408b2a8b5beaa8d141a6b2448b835d2323414bc6d3e114efc9ec1527aad023fa
  4 +AUX uClibc-ppoll.patch 762 RMD160 998a29be94b6030ee847a66e5b12d2b9c5f2ae90 SHA1 c8405822db87895cab7b9b2eb8bcbc36cf1fcab8 SHA256 403240cfdba58cff5cd1ce3ac3750bc920cf79e5b78899e9e345291926acc89f
  5 +AUX uClibc-ppoll.patch.full 787 RMD160 80e892d76b5892e44adb158c98f9144b05eed8d8 SHA1 cfdec245b77b7ea5c0ee4b87ad5c518b3920f34e SHA256 d81fdaf11720f1bcb37d1cc856acb5ba1d436c15adbc5e8a27032bc5dcb765bd
  6 +AUX uclibc-0.9.33_pre20110617-clean.patch 347 RMD160 4ae7015d2213e69464d6d6afd688e8d80b9719c3 SHA1 7d27e29e6374615033753530175325b4f476899f SHA256 65cd8b6b060aeffd1daa626b8ab05c8dc26b0b5f602bfad5bf0693b78fdc36df
  7 +AUX uclibc-0.9.33_pre20110913-clean.patch 347 RMD160 4ae7015d2213e69464d6d6afd688e8d80b9719c3 SHA1 7d27e29e6374615033753530175325b4f476899f SHA256 65cd8b6b060aeffd1daa626b8ab05c8dc26b0b5f602bfad5bf0693b78fdc36df
  8 +DIST uClibc-0.9.30.1-patches-1.0.tar.bz2 5501 RMD160 d2c48023fb25af45512c65ce3c5e936b5b24efe1 SHA1 bd34516c1bc71c45c5f1d078b91f323469760228 SHA256 022637d107fedd52bdd8187566e6e6378813a19f4ef8bf723a713e8d9cd8cd05
  9 +DIST uClibc-0.9.30.1.tar.bz2 2285137 RMD160 bff9a232b1f1c73efd71247e7b91aa31d41af0ee SHA1 4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 SHA256 2d9769a02c46cff73f56a076268192da1ce91c913e2e4e31c120be098f704c8c
  10 +DIST uClibc-20110913.tar.bz2 2808854 RMD160 abebcbc5ee8f5dc1d327cc5f39c271b171de2ed7 SHA1 aa023308e0ac2406c33abcae9106a70cb90a80b4 SHA256 09dfc4e6e7e02a9dafd7e5827b236191133a08244135484cbb08622787e947a6
  11 +EBUILD uclibc-0.9.30.1-r1.ebuild 11596 RMD160 b6e69c3b4a1fef66415be334b611a305eb9eac1c SHA1 59f3ec6e39293ef0d8e24dc7d67ae5dcc66394dc SHA256 c04c4b19db017f072ac6a4351794b0758f696dd5251a607fbce1cab3764e25b3
  12 +EBUILD uclibc-0.9.30.1-r2.ebuild 11651 RMD160 9ff11ed3248e4f62686dc8809b7474a400a6d346 SHA1 f51d430d2dc5b7b0728574b01655d114eef2ff4d SHA256 4b77eda61e370dbd67f3b61c03f3869a755fb167710093a558b2a95513285b65
  13 +EBUILD uclibc-0.9.33_pre20110913.ebuild 12149 RMD160 ed093da3f833eafbf9ab1251b958493704e09b89 SHA1 3d00389df374848be699f7615fd6a7903ff95cbf SHA256 05d9cfbb1fa83a04d859e5e590b51f11af3cb69dd7afb2a67ff1efb48389f264
  14 +MISC ChangeLog 18586 RMD160 027ccb19c2b0c8676625e66513112599b72d8907 SHA1 562f77f5b16345eaca9f4ae8e4d600c2ffd75e8c SHA256 f45dc12f07dc17e91f353d548a8b8d36a38a4494f3e56336c7565f24264f2b10
  15 +MISC metadata.xml 1469 RMD160 0c3640cb24a93c003e59cd0f9fd99587881ac63e SHA1 6be5e573878f88438a0121ff49841d52f07dedcd SHA256 e2f9e4727e826e87f735157c170a4e1f5f3ff572a2a2875f6a8889dfa5c648a3
  16 +MISC patch 1058 RMD160 569b04a5ac0b12f79272d2ceec5c4679c9a654fb SHA1 b8d580e13ec638cf72356c894f248f7213769bdc SHA256 a53392a3c39c1c0189e7aa75a4190515c96e486fa8741d6bc6e1ed8a1218ff41
  17 +MISC uclibc-0.9.30.1-r1.ebuild.orig 11596 RMD160 b6e69c3b4a1fef66415be334b611a305eb9eac1c SHA1 59f3ec6e39293ef0d8e24dc7d67ae5dcc66394dc SHA256 c04c4b19db017f072ac6a4351794b0758f696dd5251a607fbce1cab3764e25b3
  18 +MISC uclibc-0.9.30.1-r1.ebuild.rej 1216 RMD160 760065fb405ccba550d268baee10809d2bfadc67 SHA1 30f64a0cd825dff407349a9fdc2a84ccf7c84d84 SHA256 b1ee4f0b0f81afb46825f39e0be0b8c7729d2b505e716c7c3eb2ea97614e3abd
47 sys-libs/uclibc/files/gen_wc8bit.patch
... ... @@ -0,0 +1,47 @@
  1 +--- a/extra/locale/gen_wc8bit.c
  2 ++++ b/extra/locale/gen_wc8bit.c
  3 +@@ -99,31 +99,29 @@
  4 + int total_size = 0;
  5 +
  6 + if (!setlocale(LC_CTYPE, "en_US.UTF-8")) {
  7 +- /* Silly foreigners disabling en_US locales */
  8 +- FILE *fp = popen("locale -a", "r");
  9 +- if (!fp)
  10 +- goto locale_failure;
  11 +-
  12 +- while (!feof(fp)) {
  13 ++ /* setlocale might be just a stub */
  14 ++ fp = popen("locale -a", "r");
  15 ++ if (!fp) {
  16 ++ printf("#error could not execute 'locale -a'\n");
  17 ++ return EXIT_FAILURE;
  18 ++ }
  19 ++
  20 ++ /* while (!feof(fp)) {
  21 + char buf[256];
  22 + size_t len;
  23 +
  24 +- if (fgets(buf, sizeof(buf) - 10, fp) == NULL)
  25 +- goto locale_failure;
  26 ++ if (fgets(buf, sizeof(buf) - 10, fp) == NULL) {
  27 ++ printf("#error could not read 'locale -a' output buffer\n");
  28 ++ return EXIT_FAILURE;
  29 ++ }
  30 +
  31 + len = strlen(buf);
  32 + if (len > 0 && buf[len - 1] == '\n')
  33 + buf[--len] = '\0';
  34 + if (len < 5 || strcasecmp(&buf[len-5], ".UTF8") != 0)
  35 + strcat(buf, ".UTF8");
  36 +- if (setlocale(LC_CTYPE, buf))
  37 +- goto locale_success;
  38 + }
  39 +-
  40 +- locale_failure:
  41 +- printf("could not find a UTF8 locale ... please enable en_US.UTF-8\n");
  42 +- return EXIT_FAILURE;
  43 +- locale_success:
  44 ++ */
  45 + pclose(fp);
  46 + }
  47 +
183 sys-libs/uclibc/files/gen_wctype.patch
... ... @@ -0,0 +1,183 @@
  1 +--- a/extra/locale/gen_wctype.c
  2 ++++ b/extra/locale/gen_wctype.c
  3 +@@ -227,11 +227,12 @@
  4 + ++verbose;
  5 + continue;
  6 + }
  7 +- if (!setlocale(LC_CTYPE, *argv)) {
  8 ++ /* setlocale might be just a stub */
  9 ++ /* if (!setlocale(LC_CTYPE, *argv)) {
  10 + verbose_msg("setlocale(LC_CTYPE,%s) failed! Skipping this locale...\n", *argv);
  11 + continue;
  12 + }
  13 +-
  14 ++ */
  15 + if (!(totitle = wctrans("totitle"))) {
  16 + verbose_msg("no totitle transformation.\n");
  17 + }
  18 +@@ -306,43 +307,43 @@
  19 + #endif
  20 + #if 0
  21 + if (c < 256) {
  22 +- unsigned int glibc;
  23 ++ unsigned int curr_stdclib;
  24 +
  25 +- glibc = 0;
  26 +- if (isalnum(c)) ++glibc; glibc <<= 1;
  27 +- if (isalpha(c)) ++glibc; glibc <<= 1;
  28 +- if (isblank(c)) ++glibc; glibc <<= 1;
  29 +- if (iscntrl(c)) ++glibc; glibc <<= 1;
  30 +- if (isdigit(c)) ++glibc; glibc <<= 1;
  31 +- if (isgraph(c)) ++glibc; glibc <<= 1;
  32 +- if (islower(c)) ++glibc; glibc <<= 1;
  33 +- if (isprint(c)) ++glibc; glibc <<= 1;
  34 +- if (ispunct(c)) ++glibc; glibc <<= 1;
  35 +- if (isspace(c)) ++glibc; glibc <<= 1;
  36 +- if (isupper(c)) ++glibc; glibc <<= 1;
  37 +- if (isxdigit(c)) ++glibc;
  38 +- verbose_msg("%#8x : ctype %#4x\n", c, glibc);
  39 ++ curr_stdclib = 0;
  40 ++ if (isalnum(c)) ++curr_stdclib; curr_stdclib <<= 1;
  41 ++ if (isalpha(c)) ++curr_stdclib; curr_stdclib <<= 1;
  42 ++ if (isblank(c)) ++curr_stdclib; curr_stdclib <<= 1;
  43 ++ if (iscntrl(c)) ++curr_stdclib; curr_stdclib <<= 1;
  44 ++ if (isdigit(c)) ++curr_stdclib; curr_stdclib <<= 1;
  45 ++ if (isgraph(c)) ++curr_stdclib; curr_stdclib <<= 1;
  46 ++ if (islower(c)) ++curr_stdclib; curr_stdclib <<= 1;
  47 ++ if (isprint(c)) ++curr_stdclib; curr_stdclib <<= 1;
  48 ++ if (ispunct(c)) ++curr_stdclib; curr_stdclib <<= 1;
  49 ++ if (isspace(c)) ++curr_stdclib; curr_stdclib <<= 1;
  50 ++ if (isupper(c)) ++curr_stdclib; curr_stdclib <<= 1;
  51 ++ if (isxdigit(c)) ++curr_stdclib;
  52 ++ verbose_msg("%#8x : ctype %#4x\n", c, curr_stdclib);
  53 + }
  54 + #endif
  55 + #if 1
  56 + /* Paranoid checking... */
  57 + {
  58 +- unsigned int glibc;
  59 ++ unsigned int curr_stdclib;
  60 + unsigned int mine;
  61 +
  62 +- glibc = 0;
  63 +- if (iswalnum(c)) ++glibc; glibc <<= 1;
  64 +- if (iswalpha(c)) ++glibc; glibc <<= 1;
  65 +- if (iswblank(c)) ++glibc; glibc <<= 1;
  66 +- if (iswcntrl(c)) ++glibc; glibc <<= 1;
  67 +- if (iswdigit(c)) ++glibc; glibc <<= 1;
  68 +- if (iswgraph(c)) ++glibc; glibc <<= 1;
  69 +- if (iswlower(c)) ++glibc; glibc <<= 1;
  70 +- if (iswprint(c)) ++glibc; glibc <<= 1;
  71 +- if (iswpunct(c)) ++glibc; glibc <<= 1;
  72 +- if (iswspace(c)) ++glibc; glibc <<= 1;
  73 +- if (iswupper(c)) ++glibc; glibc <<= 1;
  74 +- if (iswxdigit(c)) ++glibc;
  75 ++ curr_stdclib = 0;
  76 ++ if (iswalnum(c)) ++curr_stdclib; curr_stdclib <<= 1;
  77 ++ if (iswalpha(c)) ++curr_stdclib; curr_stdclib <<= 1;
  78 ++ if (iswblank(c)) ++curr_stdclib; curr_stdclib <<= 1;
  79 ++ if (iswcntrl(c)) ++curr_stdclib; curr_stdclib <<= 1;
  80 ++ if (iswdigit(c)) ++curr_stdclib; curr_stdclib <<= 1;
  81 ++ if (iswgraph(c)) ++curr_stdclib; curr_stdclib <<= 1;
  82 ++ if (iswlower(c)) ++curr_stdclib; curr_stdclib <<= 1;
  83 ++ if (iswprint(c)) ++curr_stdclib; curr_stdclib <<= 1;
  84 ++ if (iswpunct(c)) ++curr_stdclib; curr_stdclib <<= 1;
  85 ++ if (iswspace(c)) ++curr_stdclib; curr_stdclib <<= 1;
  86 ++ if (iswupper(c)) ++curr_stdclib; curr_stdclib <<= 1;
  87 ++ if (iswxdigit(c)) ++curr_stdclib;
  88 +
  89 + mine = 0;
  90 + if (mywalnum(d,c)) ++mine; mine <<= 1;
  91 +@@ -358,15 +359,15 @@
  92 + if (mywupper(d,c)) ++mine; mine <<= 1;
  93 + if (mywxdigit(d,c)) ++mine;
  94 +
  95 +- if (glibc != mine) {
  96 +- verbose_msg("%#8x : glibc %#4x != %#4x mine %u\n", c, glibc, mine, d);
  97 ++ if (curr_stdclib != mine) {
  98 ++ verbose_msg("%#8x : curr_stdclib %#4x != %#4x mine %u\n", c, curr_stdclib, mine, d);
  99 + return EXIT_FAILURE;
  100 + }
  101 + #if 0
  102 + if (iswctype(c,is_comb) || iswctype(c,is_comb3)) {
  103 + /* if (!iswpunct(c)) { */
  104 + verbose_msg("%#8x : %d %d %#4x\n",
  105 +- c, iswctype(c,is_comb),iswctype(c,is_comb3), glibc);
  106 ++ c, iswctype(c,is_comb),iswctype(c,is_comb3), curr_stdclib);
  107 + /* } */
  108 + }
  109 + #endif
  110 +@@ -553,7 +554,7 @@
  111 + for (c = 0; c <= 0x10ffffUL; c++)
  112 + #endif
  113 + {
  114 +- unsigned int glibc;
  115 ++ unsigned int curr_stdclib;
  116 + unsigned int mine;
  117 + unsigned int upper, lower;
  118 +
  119 +@@ -568,19 +569,19 @@
  120 + }
  121 + #endif
  122 + #endif
  123 +- glibc = 0;
  124 +- if (iswalnum(c)) ++glibc; glibc <<= 1;
  125 +- if (iswalpha(c)) ++glibc; glibc <<= 1;
  126 +- if (iswblank(c)) ++glibc; glibc <<= 1;
  127 +- if (iswcntrl(c)) ++glibc; glibc <<= 1;
  128 +- if (iswdigit(c)) ++glibc; glibc <<= 1;
  129 +- if (iswgraph(c)) ++glibc; glibc <<= 1;
  130 +- if (iswlower(c)) ++glibc; glibc <<= 1;
  131 +- if (iswprint(c)) ++glibc; glibc <<= 1;
  132 +- if (iswpunct(c)) ++glibc; glibc <<= 1;
  133 +- if (iswspace(c)) ++glibc; glibc <<= 1;
  134 +- if (iswupper(c)) ++glibc; glibc <<= 1;
  135 +- if (iswxdigit(c)) ++glibc;
  136 ++ curr_stdclib = 0;
  137 ++ if (iswalnum(c)) ++curr_stdclib; curr_stdclib <<= 1;
  138 ++ if (iswalpha(c)) ++curr_stdclib; curr_stdclib <<= 1;
  139 ++ if (iswblank(c)) ++curr_stdclib; curr_stdclib <<= 1;
  140 ++ if (iswcntrl(c)) ++curr_stdclib; curr_stdclib <<= 1;
  141 ++ if (iswdigit(c)) ++curr_stdclib; curr_stdclib <<= 1;
  142 ++ if (iswgraph(c)) ++curr_stdclib; curr_stdclib <<= 1;
  143 ++ if (iswlower(c)) ++curr_stdclib; curr_stdclib <<= 1;
  144 ++ if (iswprint(c)) ++curr_stdclib; curr_stdclib <<= 1;
  145 ++ if (iswpunct(c)) ++curr_stdclib; curr_stdclib <<= 1;
  146 ++ if (iswspace(c)) ++curr_stdclib; curr_stdclib <<= 1;
  147 ++ if (iswupper(c)) ++curr_stdclib; curr_stdclib <<= 1;
  148 ++ if (iswxdigit(c)) ++curr_stdclib;
  149 +
  150 + {
  151 + unsigned int u;
  152 +@@ -630,8 +631,8 @@
  153 + if (mywupper(d,c)) ++mine; mine <<= 1;
  154 + if (mywxdigit(d,c)) ++mine;
  155 +
  156 +- if (glibc != mine) {
  157 +- verbose_msg("%#8x : glibc %#4x != %#4x mine %d\n", c, glibc, mine, d);
  158 ++ if (curr_stdclib != mine) {
  159 ++ verbose_msg("%#8x : curr_stdclib %#4x != %#4x mine %d\n", c, curr_stdclib, mine, d);
  160 + if (c < 0x30000UL) {
  161 + verbose_msg("sc=%#x u=%#x n=%#x i0=%#x i1=%#x\n", sc, u, n, i0, i1);
  162 + }
  163 +@@ -655,17 +656,17 @@
  164 + }
  165 +
  166 + if (towupper(c) != upper) {
  167 +- verbose_msg("%#8x : towupper glibc %#4x != %#4x mine\n",
  168 ++ verbose_msg("%#8x : towupper curr_stdclib %#4x != %#4x mine\n",
  169 + c, towupper(c), upper);
  170 + }
  171 +
  172 + if (towlower(c) != lower) {
  173 +- verbose_msg("%#8x : towlower glibc %#4x != %#4x mine i0 = %d\n",
  174 ++ verbose_msg("%#8x : towlower curr_stdclib %#4x != %#4x mine i0 = %d\n",
  175 + c, towlower(c), lower, i0);
  176 + }
  177 +
  178 + if (totitle && ((tt = towctrans(c, totitle)) != upper)) {
  179 +- verbose_msg("%#8x : totitle glibc %#4lx != %#4x mine i0 = %d\n",
  180 ++ verbose_msg("%#8x : totitle curr_stdclib %#4lx != %#4x mine i0 = %d\n",
  181 + c, tt, upper, i0);
  182 + }
  183 + }
22 sys-libs/uclibc/files/locales.txt
... ... @@ -0,0 +1,22 @@
  1 +# First some @modifier mappings. Internally, the modifier is signaled by
  2 +# replacing '_' in the locale name with a unique identifying character.
  3 +# For example, internally we map "ca_ES@euro" to "caeES". This allows for
  4 +# smaller code and easier processing of locale names.
  5 +
  6 +@euro e
  7 +@cyrillic c
  8 +
  9 +#---------------------------------------------------------------------------
  10 +# Next, set to {y}es to enable and {n}o to disable the UTF-8 and the 8-bit
  11 +# codeset locales. Of course, you must have built the c8tables.h and
  12 +# the wctables.h files appropriately.
  13 +
  14 +
  15 +UTF-8 yes
  16 +8-BIT yes
  17 +
  18 +#---------------------------------------------------------------------------
  19 +# Now the locales
  20 +
  21 +en_GB ISO-8859-1
  22 +en_GB.UTF-8 UTF-8
25 sys-libs/uclibc/files/uClibc-ppoll.patch
... ... @@ -0,0 +1,25 @@
  1 +--- libc/sysdeps/linux/common/ppoll.c.orig 2011-11-03 19:22:18.000000000 +0100
  2 ++++ libc/sysdeps/linux/common/ppoll.c 2011-11-03 19:24:40.000000000 +0100
  3 +@@ -18,4 +18,5 @@
  4 + 02111-1307 USA. */
  5 +
  6 ++#include <signal.h>
  7 + #include <sys/syscall.h>
  8 + #include <sys/poll.h>
  9 +@@ -27,7 +28,7 @@
  10 + # define __NR___libc_ppoll __NR_ppoll
  11 + static __always_inline
  12 +-_syscall4(int, __libc_ppoll, struct pollfd *, fds,
  13 ++_syscall5(int, __libc_ppoll, struct pollfd *, fds,
  14 + nfds_t, nfds, const struct timespec *, timeout,
  15 +- const __sigset_t *, sigmask)
  16 ++ const __sigset_t *, sigmask, size_t, sigsetsize)
  17 +
  18 + int
  19 +@@ -44,5 +45,5 @@
  20 + }
  21 +
  22 +- return __libc_ppoll(fds, nfds, timeout, sigmask);
  23 ++ return __libc_ppoll(fds, nfds, timeout, sigmask, _NSIG / 8);
  24 + }
  25 + libc_hidden_def(ppoll)
25 sys-libs/uclibc/files/uClibc-ppoll.patch.full
... ... @@ -0,0 +1,25 @@
  1 +--- libc/sysdeps/linux/common/ppoll.c.orig 2011-11-03 18:14:00.000000000 +0000
  2 ++++ libc/sysdeps/linux/common/ppoll.c 2011-11-03 18:15:34.000000000 +0000
  3 +@@ -18,4 +18,5 @@
  4 + 02111-1307 USA. */
  5 +
  6 ++#include <signal.h>
  7 + #include <sys/syscall.h>
  8 + #include <sys/poll.h>
  9 +@@ -27,7 +28,7 @@
  10 + # define __NR___libc_ppoll __NR_ppoll
  11 + static __always_inline
  12 +-_syscall4(int, __libc_ppoll, struct pollfd *, fds,
  13 ++_syscall5(int, __libc_ppoll, struct pollfd *, fds,
  14 + nfds_t, nfds, const struct timespec *, timeout,
  15 +- const __sigset_t *, sigmask)
  16 ++ const __sigset_t *, sigmask, size_t, sigsetsize)
  17 +
  18 + int
  19 +@@ -44,5 +45,5 @@
  20 + }
  21 +
  22 +- return __libc_ppoll(fds, nfds, timeout, sigmask);
  23 ++ return __libc_ppoll(fds, nfds, timeout, sigmask, _NSIG / 8);
  24 + }
  25 + libc_hidden_def(ppoll)
8 sys-libs/uclibc/files/uclibc-0.9.33_pre20110617-clean.patch
... ... @@ -0,0 +1,8 @@
  1 +--- libubacktrace/Makefile.in.orig 2011-06-22 23:37:18.000000000 +0100
  2 ++++ libubacktrace/Makefile.in 2011-06-22 23:37:37.000000000 +0100
  3 +@@ -72,4 +72,4 @@
  4 +
  5 + CLEAN_libubacktrace:
  6 + $(do_rm) $(addprefix $(libubacktrace_OUT)/*., o os oS a) \
  7 +- $(addprefix $(libubacktrace_ARCH_OUT)/*., o os oS a)
  8 ++ $(addprefix $(libubacktrace_OUT)/*., o os oS a)
8 sys-libs/uclibc/files/uclibc-0.9.33_pre20110913-clean.patch
... ... @@ -0,0 +1,8 @@
  1 +--- libubacktrace/Makefile.in.orig 2011-06-22 23:37:18.000000000 +0100
  2 ++++ libubacktrace/Makefile.in 2011-06-22 23:37:37.000000000 +0100
  3 +@@ -72,4 +72,4 @@
  4 +
  5 + CLEAN_libubacktrace:
  6 + $(do_rm) $(addprefix $(libubacktrace_OUT)/*., o os oS a) \
  7 +- $(addprefix $(libubacktrace_ARCH_OUT)/*., o os oS a)
  8 ++ $(addprefix $(libubacktrace_OUT)/*., o os oS a)
32 sys-libs/uclibc/metadata.xml
... ... @@ -0,0 +1,32 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
  3 +<pkgmetadata>
  4 + <herd>embedded</herd>
  5 + <maintainer>
  6 + <email>vapier@gentoo.org</email>
  7 + <description>Primary Maintainer</description>
  8 + </maintainer>
  9 + <maintainer>
  10 + <email>solar@gentoo.org</email>
  11 + <description>Secondary Maintainer</description>
  12 + </maintainer>
  13 + <longdescription>
  14 +uClibc pronounced yew-see-lib-see is a C library for developing embedded Linux
  15 +systems. It is much smaller than the GNU C Library, but nearly all applications supported
  16 +by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc
  17 +typically involves just recompiling the source code. uClibc even supports shared libraries
  18 +and threading. It currently runs on standard Linux and MMU-less (also known as uClinux)
  19 +systems with support for alpha, ARM, cris, i386, i960, h8300, m68k, mips/mipsel, PowerPC,
  20 +SH, SPARC, and v850 processors.
  21 +</longdescription>
  22 +<use>
  23 + <flag name='ssp'>Force the use of ssp to be built into a hardened uclibc setup</flag>
  24 + <flag name='pregen'>Use pregenerated locales</flag>
  25 + <flag name='savedconfig'>Adds support for user defined configs</flag>
  26 + <flag name='uclibc-compat'>Build uclibc with backwards compatible
  27 + options</flag>
  28 + <flag name='userlocales'>Build only the locales specified in
  29 + /etc/locales.build</flag>
  30 + <flag name='wordexp'>Add support for word expansion (wordexp.h)</flag>
  31 +</use>
  32 +</pkgmetadata>
27 sys-libs/uclibc/patch
... ... @@ -0,0 +1,27 @@
  1 +--- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild 2011-04-20 19:31:26.000000000 +0100
  2 ++++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild2011-06-23 19:43:24.000000000 +0100
  3 +@@ -170,6 +173,10 @@
  4 + epatch "${WORKDIR}"/patch
  5 + fi
  6 +
  7 ++ epatch "${FILESDIR}"/${PN}-${PV}-clean.patch
  8 ++ epatch "${FILESDIR}"/gen_wc8bit.patch
  9 ++ epatch "${FILESDIR}"/gen_wctype.patch
  10 ++
  11 + sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186
  12 +
  13 + ########## CPU SELECTION ##########
  14 +@@ -305,6 +312,14 @@
  15 + cp .config myconfig
  16 +
  17 + emake -s clean > /dev/null || die "could not clean"
  18 ++
  19 ++ # TODO: These should depend on some useflag, eg iconv
  20 ++ # Run after make clean, otherwise files removed
  21 ++ find ./extra/locale/charmaps -name "*.pairs" > extra/locale/codesets.txt
  22 ++ #cp ./extra/locale/LOCALES ./extra/locale/locales.txt
  23 ++ cp "${FILESDIR}"/locales.txt ./extra/locale/locales.txt
  24 ++ # TODO: Now edit locales as appropriate...
  25 ++ # FIXME: ...
  26 + }
  27 +
380 sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild
... ... @@ -0,0 +1,380 @@
  1 +# Copyright 1999-2011 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild,v 1.9 2011/04/20 18:10:38 ulm Exp $
  4 +
  5 +#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
  6 +#inherit subversion
  7 +inherit eutils flag-o-matic toolchain-funcs savedconfig
  8 +
  9 +export CBUILD=${CBUILD:-${CHOST}}
  10 +export CTARGET=${CTARGET:-${CHOST}}
  11 +if [[ ${CTARGET} == ${CHOST} ]] ; then
  12 + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
  13 + export CTARGET=${CATEGORY/cross-}
  14 + fi
  15 +fi
  16 +# Handle the case where we want uclibc on glibc ...
  17 +if [[ ${CTARGET} == ${CHOST} ]] && [[ ${CHOST} != *-uclibc* ]] ; then
  18 + export UCLIBC_AND_GLIBC="sitting in a tree"
  19 + export CTARGET=${CHOST%%-*}-pc-linux-uclibc
  20 +fi
  21 +
  22 +MY_P=uClibc-0.9.30.1
  23 +SVN_VER=""
  24 +PATCH_VER="1.0"
  25 +DESCRIPTION="C library for developing embedded Linux systems"
  26 +HOMEPAGE="http://www.uclibc.org/"
  27 +SRC_URI="http://uclibc.org/downloads/${MY_P}.tar.bz2"
  28 +
  29 +[[ -z ${SVN_VER} ]] || \
  30 + SRC_URI="${SRC_URI} mirror://gentoo/${MY_P}-svn-update-${SVN_VER}.patch.bz2"
  31 +[[ -z ${PATCH_VER} ]] || \
  32 + SRC_URI="${SRC_URI} mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2"
  33 +
  34 +LICENSE="LGPL-2"
  35 +SLOT="0"
  36 +KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
  37 +IUSE="build uclibc-compat debug hardened ssp ipv6 minimal wordexp crosscompile_opts_headers-only"
  38 +RESTRICT="strip"
  39 +
  40 +RDEPEND=""
  41 +if [[ -n $CTARGET && ${CTARGET} != ${CHOST} ]]; then
  42 + DEPEND=""
  43 + SLOT="${CTARGET}"
  44 +else
  45 + DEPEND="virtual/os-headers app-misc/pax-utils"
  46 + SLOT="0"
  47 +fi
  48 +
  49 +S=${WORKDIR}/${MY_P}
  50 +
  51 +alt_build_kprefix() {
  52 + if [[ ${CBUILD} == ${CHOST} && ${CTARGET} == ${CHOST} ]] \
  53 + || [[ -n ${UCLIBC_AND_GLIBC} ]]
  54 + then
  55 + echo /usr/include
  56 + else
  57 + echo /usr/${CTARGET}/usr/include
  58 + fi
  59 +}
  60 +
  61 +just_headers() {
  62 + use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
  63 +}
  64 +
  65 +uclibc_endian() {
  66 + # XXX: this wont work for a toolchain which is bi-endian, but we
  67 + # dont have any such thing at the moment, so not a big deal
  68 + touch "${T}"/endian.s
  69 + $(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o
  70 + case $(file "${T}"/endian.o) in
  71 + *" MSB "*) echo "big";;
  72 + *" LSB "*) echo "little";;
  73 + *) echo "NFC";;
  74 + esac
  75 + rm -f "${T}"/endian.{s,o}
  76 +}
  77 +
  78 +pkg_setup() {
  79 + just_headers && return 0
  80 + has_version ${CATEGORY}/uclibc || return 0
  81 + [[ -n ${UCLIBC_AND_GLIBC} ]] && return 0
  82 + [[ ${ROOT} != "/" ]] && return 0
  83 + [[ ${CATEGORY} == cross-* ]] && return 0
  84 +
  85 +}
  86 +
  87 +PIE_STABLE="arm mips ppc x86"
  88 +
  89 +CPU_ALPHA=""
  90 +CPU_AMD64=""
  91 +CPU_ARM="GENERIC_ARM ARM{610,710,7TDMI,720T,920T,922T,926T,10T,1136JF_S,1176JZ{_,F_}S,_{SA110,SA1100,XSCALE,IWMMXT}}"
  92 +CPU_IA64=""
  93 +CPU_M68K=""
  94 +CPU_MIPS="MIPS_ISA_{1,2,3,4,MIPS{32,64}} MIPS_{N64,O32,N32}_ABI"
  95 +CPU_PPC=""
  96 +CPU_SH="SH{2,3,4,5}"
  97 +CPU_SPARC="SPARC_V{7,8,9,9B}"
  98 +CPU_X86="GENERIC_386 {3,4,5,6}86 586MMX PENTIUM{II,III,4} K{6,7} ELAN CRUSOE WINCHIP{C6,2} CYRIXIII NEHEMIAH"
  99 +IUSE_UCLIBC_CPU="${CPU_ARM} ${CPU_MIPS} ${CPU_PPC} ${CPU_SH} ${CPU_SPARC} ${CPU_X86}"
  100 +
  101 +check_cpu_opts() {
  102 + local cpu_var="CPU_$(echo $(tc-arch) | tr [a-z] [A-Z])"
  103 + [[ -z ${!cpu_var} ]] && return 0
  104 +
  105 + if [[ -z ${UCLIBC_CPU} ]] ; then
  106 + ewarn "You really should consider setting UCLIBC_CPU"
  107 + ewarn "Otherwise, the build will be generic (read: slow)."
  108 + ewarn "Available CPU options:"
  109 + UCLIBC_CPU=$(eval echo ${!cpu_var})
  110 + echo ${UCLIBC_CPU}
  111 + case ${CTARGET} in
  112 + mips[1234]*) export UCLIBC_CPU="MIPS_ISA_${CTARGET:4:1}";;
  113 + sh[2345]*) export UCLIBC_CPU="SH${CTARGET:2:1}";;
  114 + i[456]86*) export UCLIBC_CPU="${CTARGET:1:1}86";;
  115 + *) export UCLIBC_CPU=${UCLIBC_CPU%% *};;
  116 + esac
  117 + else
  118 + local cpu found=0
  119 + for cpu in $(eval echo ${!cpu_var}) ; do
  120 + [[ ${UCLIBC_CPU} == "${cpu}" ]] && found=1 && break
  121 + done
  122 + if [[ ${found} -eq 0 ]] ; then
  123 + ewarn "UCLIBC_CPU choice '${UCLIBC_CPU}' not supported"
  124 + ewarn "Valid choices:"
  125 + eval echo ${!cpu_var}
  126 + die "pick a supported cpu type"
  127 + fi
  128 + fi
  129 +}
  130 +
  131 +set_opt() {
  132 + sed -i -e "/^\# $1 is not set/d" -e "/^$1=.*/d" .config
  133 + echo "$1=$2" >> .config
  134 +}
  135 +get_opt() {
  136 + (
  137 + unset $1
  138 + . ${2:-"${S}"/.config}
  139 + echo ${!1}
  140 + )
  141 +}
  142 +
  143 +src_unpack() {
  144 + [[ -n ${ESVN_REPO_URI} ]] \
  145 + && subversion_src_unpack \
  146 + || unpack ${A}
  147 + cd "${S}"
  148 +
  149 + check_cpu_opts
  150 +
  151 + echo
  152 + einfo "Runtime Prefix: /"
  153 + einfo "Devel Prefix: /usr"
  154 + einfo "Kernel Prefix: $(alt_build_kprefix)"
  155 + einfo "CBUILD: ${CBUILD}"
  156 + einfo "CHOST: ${CHOST}"
  157 + einfo "CTARGET: ${CTARGET}"
  158 + einfo "CPU: ${UCLIBC_CPU:-default}"
  159 + einfo "ENDIAN: $(uclibc_endian)"
  160 + echo
  161 +
  162 + ########## PATCHES ##########
  163 +
  164 + [[ -n ${SVN_VER} ]] && \
  165 + epatch "${WORKDIR}"/${MY_P}-cvs-update-${SVN_VER}.patch
  166 +
  167 + if [[ -n ${PATCH_VER} ]] ; then
  168 + unpack ${MY_P}-patches-${PATCH_VER}.tar.bz2
  169 + EPATCH_SUFFIX="patch"
  170 + epatch "${WORKDIR}"/patch
  171 + fi
  172 +
  173 + sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186
  174 +
  175 + ########## CPU SELECTION ##########
  176 +
  177 + local target config_target
  178 + case $(tc-arch) in
  179 + alpha) target="alpha"; config_target="no cpu-specific options";;
  180 + amd64) target="x86_64"; config_target="no cpu-specific options";;
  181 + arm) target="arm"; config_target="GENERIC_ARM";;
  182 + avr) target="avr32"; config_target="no cpu-specific options";;
  183 + ia64) target="ia64"; config_target="no cpu-specific options";;
  184 + m68k) target="m68k"; config_target="no cpu-specific options";;
  185 + mips) target="mips"; config_target="MIPS_ISA_1";;
  186 + ppc) target="powerpc"; config_target="no cpu-specific options";;
  187 + sh) target="sh"; config_target="SH4";;
  188 + sparc) target="sparc"; config_target="no cpu-specific options";;
  189 + x86) target="i386"; config_target="GENERIC_386";;
  190 + *) die "$(tc-arch) lists no defaults :/";;
  191 + esac
  192 + sed -i -e "s:default CONFIG_${config_target}:default CONFIG_${UCLIBC_CPU:-${config_target}}:" \
  193 + extra/Configs/Config.${target}
  194 + sed -i -e "s:^HOSTCC.*=.*:HOSTCC=$(tc-getBUILD_CC):" Rules.mak
  195 +
  196 + ########## CONFIG SETUP ##########
  197 +
  198 + make ARCH=${target} defconfig >/dev/null || die "could not config"
  199 +
  200 + for def in DO{DEBUG{,_PT},ASSERTS} SUPPORT_LD_DEBUG{,_EARLY} UCLIBC_HAS_PROFILING; do
  201 + sed -i -e "s:${def}=y:# ${def} is not set:" .config
  202 + done
  203 + if use debug ; then
  204 + set_opt SUPPORT_LD_DEBUG y
  205 + set_opt DODEBUG y
  206 + fi
  207 +
  208 + sed -i -e '/ARCH_.*_ENDIAN/d' .config
  209 + set_opt "ARCH_WANTS_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN" y
  210 +
  211 + if [[ $(tc-is-softfloat) != "no" ]] ; then
  212 + set_opt UCLIBC_HAS_FPU n
  213 + fi
  214 +
  215 + if [[ ${CTARGET/eabi} != ${CTARGET} ]] ; then
  216 + set_opt CONFIG_ARM_OABI n
  217 + set_opt CONFIG_ARM_EABI y
  218 + fi
  219 +
  220 + local moredefs="COMPAT_ATEXIT"
  221 + local compat_sym=atexit
  222 +
  223 + # We need todo this for a few months. .30 is a major upgrade.
  224 + # Don't do it from cross-compiling case though
  225 + if ! use uclibc-compat ; then
  226 + if [[ -z ${UCLIBC_AND_GLIBC} ]] && [[ -z ${UCLIBC_SCANNED_COMPAT} ]] && \
  227 + ! just_headers && [[ ${CHOST} == ${CTARGET} ]] ; then
  228 + local fnames=""
  229 + einfo "Doing a scanelf in paths for bins containing the ${compat_sym} symbol"
  230 + fnames=$(scanelf -pyqs${compat_sym} -F%F#s)
  231 + if [[ -z ${fnames} ]] ; then
  232 + einfo "This system is clean."
  233 + einfo "To prevent the scanning of files again in the future you can export UCLIBC_SCANNED_COMPAT=1"
  234 + moredefs=""
  235 + else
  236 + ewarn "You need to remerge the packages that contain the following files before you can remerge ${P} without USE=uclibc-compat enabled."
  237 + ewarn "qfile -Cq $(echo ${fnames}) | sort | uniq"
  238 + echo
  239 + ewarn "Leaving on ${moredefs}"
  240 + fi
  241 + else
  242 + moredefs=""
  243 + fi
  244 + fi
  245 + for def in ${moredefs} MALLOC_GLIBC_COMPAT DO_C99_MATH UCLIBC_HAS_{RPC,FULL_RPC,CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC,FTW} UCLIBC_HAS_REENTRANT_RPC UCLIBC_HAS_GNU_GLOB PTHREADS_DEBUG_SUPPORT UCLIBC_HAS_TZ_FILE_READ_MANY UCLIBC_HAS_FENV UCLIBC_SUSV3_LEGACY UCLIBC_SUSV3_LEGACY_MACROS UCLIBC_HAS_PROGRAM_INVOCATION_NAME ; do
  246 + set_opt "${def}" y
  247 + done
  248 + set_opt UCLIBC_HAS_CTYPE_UNSAFE n
  249 + set_opt UCLIBC_HAS_LOCALE n