nixpkgs/pkgs/development/libraries/glibc-2.11
Lluís Batlle i Rossell 952bcf5e58 Setting the patch for the glibc locale archive, which addresses some problems
found before:
- programs linked with this glibc, will be able to find its locale-archive
  at LOCALE_ARCHIVE_2_11
- for any problem we forgot to mention, we also add the LOCALE_ARCHIVE
  variable, checked after LOCALE_ARCHIVE_2_11. I don't know a strong reason to
  have it though.
- setuid programs will expect the locale-archive in
  /var/run/current-system/sw/lib/locale, usual path of the locale-archive in
  nixos, and a path that a sysadmin can set pointing to the locale-archive in
  case of non-nixos. setuid programs don't receive the LOCALE_ARCHIVE
  variables.
- non-nixos systems will have a check for the locale-archive in /usr/lib/locale
- the glibc programs 'locale' and 'localedef' may be able to find the proper
  locale-archive too.

We were also considering getting rid of the locale-archive, and using
locale files directly (like Ubuntu seems to do [1]), maybe using the LOCPATH
variable. But this would not solve the problem of localized setuid programs.

All this came after a 'meeting' with niksnut on irc about this.

[1] http://lwn.net/Articles/244204/

svn path=/nixpkgs/branches/stdenv-updates/; revision=22977
2010-08-05 21:19:32 +00:00
..
builder.sh Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4. 2010-06-23 14:35:18 +00:00
common.nix Setting the patch for the glibc locale archive, which addresses some problems 2010-08-05 21:19:32 +00:00
default.nix As Ludovic just told me in irc, I make the glibc builder2.sh from trunk its only builder.sh 2010-05-25 20:46:56 +00:00
gnu89-inline.patch Patch (already upstream on glibc master) for configure in glibc to get the gnu89-inline gcc flag right 2010-08-01 21:03:53 +00:00
info.nix Fixing glibcInfo - it did not build. 2010-05-12 19:31:18 +00:00
locales-builder.sh * The postInstall attribute in default.nix did nothing, because 2010-01-18 10:50:32 +00:00
locales.nix * The postInstall attribute in default.nix did nothing, because 2010-01-18 10:50:32 +00:00
mod_nano.patch Attempting to fix ntp's MOD_NANO problems. 2009-12-17 22:09:28 +00:00
nix-locale-archive.patch Setting the patch for the glibc locale archive, which addresses some problems 2010-08-05 21:19:32 +00:00
nss-skip-unavail.patch * Glibc 2.11.2. 2010-08-05 16:51:16 +00:00
rpcgen-path.patch
stack-protector-link.patch glibc 2.11: Try again to fix link errors for `nscd'. 2009-11-22 00:57:20 +00:00