* Glibc 2.3.6.

* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
This commit is contained in:
Eelco Dolstra 2005-12-06 00:12:45 +00:00
parent 82e678362f
commit 94fe7734fa
23 changed files with 37 additions and 85 deletions

View file

@ -12,5 +12,3 @@
* Add gettext to glib propagatedBuildInputs? Glib's `gi18n.h' doesn't
seem to like Glibc `libintl.h'; needs the gettext one instead.
[Move from libbonoboui]
* Use new-style builder for GNU patch.

View file

@ -12,6 +12,7 @@ if test "$noSysDirs" = "1"; then
# being generated to make sure that they use our glibc.
if test -e $NIX_GCC/nix-support/orig-glibc; then
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
# Ugh. Copied from gcc-wrapper/builder.sh. We can't just
# source in $NIX_GCC/nix-support/add-flags, since that
# would cause *this* GCC to be linked against the
@ -32,6 +33,11 @@ if test "$noSysDirs" = "1"; then
hook=$(pwd)/ld-wrapper-hook
echo "NIX_GLIBC_FLAGS_SET=1" > $hook
export NIX_LD_WRAPPER_START_HOOK=$hook
# Use *real* header files, otherwise a limits.h is
# generated that does not include Glibc's limits.h
# (notably missing SSIZE_MAX, which breaks the build).
export NIX_FIXINC_DUMMY=$glibc/include
fi
export NIX_EXTRA_CFLAGS=$extraCFlags

View file

@ -6,11 +6,11 @@
assert langC;
stdenv.mkDerivation {
name = "gcc-3.4.4";
name = "gcc-3.4.5";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/gnu/gcc/gcc-3.4.4/gcc-3.4.4.tar.bz2;
md5 = "b594ff4ea4fbef4ba9220887de713dfe";
url = http://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.5/gcc-3.4.5.tar.bz2;
md5 = "7c3c3c3e764dcee5eb771432062d69e1";
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];

View file

@ -1,9 +0,0 @@
buildinputs=""
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd audiofile-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View file

@ -2,7 +2,6 @@
stdenv.mkDerivation {
name = "audiofile-0.2.3";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/audiofile-0.2.5.tar.gz;
md5 = "fd07c62a17ceafa317929e55e51e26c5";

View file

@ -1,18 +1,18 @@
{stdenv, fetchurl, kernelHeaders, installLocales ? true}:
stdenv.mkDerivation {
name = "glibc-2.3.5";
name = "glibc-2.3.6";
builder = ./builder.sh;
substitute = ../../../build-support/substitute/substitute.sh;
src = fetchurl {
url = http://ftp.gnu.org/gnu/glibc/glibc-2.3.5.tar.bz2;
md5 = "93d9c51850e0513aa4846ac0ddcef639";
url = http://ftp.gnu.org/pub/gnu/glibc/glibc-2.3.6.tar.bz2;
md5 = "bfdce99f82d6dbcb64b7f11c05d6bc96";
};
linuxthreadsSrc = fetchurl {
url = http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.5.tar.bz2;
md5 = "77011b0898393c56b799bc011a0f37bf";
url = http://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.3.6.tar.bz2;
md5 = "d4eeda37472666a15cc1f407e9c987a9";
};
patches = [ ./glibc-pwd.patch ];

View file

@ -6,7 +6,7 @@ configureFlags=shared
postInstall=postInstall
postInstall() {
# Bug fix: openssl does a `chmod 644' on the pkgconfig directory.
chmod 755 $out/lib/pkgconfig || exit 1
chmod 755 $out/lib/pkgconfig
}
genericBuild

View file

@ -1,9 +1,9 @@
{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.7g";
name = "openssl-0.9.7i";
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.7h.tar.gz;
sha1 = "9fe535fce89af967b29c4727dedd25f2b4cc2f0d";
url = http://www.openssl.org/source/openssl-0.9.7i.tar.gz;
sha1 = "f69d82b206ff8bff9d0e721f97380b9e";
};
buildInputs = [perl];
patches = [./darwin-makefile.patch];

View file

@ -1,9 +1,9 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "pcre-6.0";
name = "pcre-6.4";
src = fetchurl {
url = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.0.tar.bz2;
md5 = "9352eb6d2be5ad9d8360d2377d3cafac";
url = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.4.tar.bz2;
md5 = "c5c73e8767479e8a7751324b0aa32291";
};
}

View file

@ -1,9 +0,0 @@
buildinputs="$gettext"
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd popt-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View file

@ -4,10 +4,9 @@ assert gettext != null;
stdenv.mkDerivation {
name = "popt-1.7";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/popt-1.7.tar.gz;
md5 = "5988e7aeb0ae4dac8d83561265984cc9";
};
gettext = gettext;
buildInputs = [gettext];
}

View file

@ -3,10 +3,10 @@
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "linux-headers-2.6.13.4-i386";
name = "linux-headers-2.6.14.3-i386";
builder = ./builder.sh;
src = fetchurl {
url = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.4.tar.bz2;
md5 = "94768d7eef90a9d8174639b2a7d3f58d";
url = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.3.tar.bz2;
md5 = "982717a9cb246e3c427cc45e3fc86097";
};
}

View file

@ -1,9 +1,9 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "coreutils-5.2.1";
name = "coreutils-5.93";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.2.1.tar.bz2;
md5 = "172ee3c315af93d3385ddfbeb843c53f";
url = http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.93.tar.bz2;
md5 = "955d8abfd3dd8af2ca3af51480f1f9af";
};
}

View file

@ -1,10 +1,10 @@
{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.25";
name = "findutils-4.2.26";
src = fetchurl {
url = http://ftp.gnu.org/gnu/findutils/findutils-4.2.25.tar.gz;
md5 = "e92fef6714ffa9972f28a1a423066921";
url = http://ftp.gnu.org/pub/gnu/findutils/findutils-4.2.26.tar.gz;
md5 = "9ac4e62937b1fdc4eb643d1d4bf117d3";
};
buildInputs = [coreutils];
patches = [./findutils-path.patch];

View file

@ -3,10 +3,10 @@
assert sslSupport -> openssl != null;
stdenv.mkDerivation {
name = "curl-7.14.0";
name = "curl-7.15.0";
src = fetchurl {
url = http://curl.haxx.se/download/curl-7.14.0.tar.bz2;
md5 = "46ce665e47d37fce1a0bad935cce58a9";
url = http://curl.haxx.se/download/curl-7.15.0.tar.bz2;
md5 = "e3b130320d3704af375c097606f49c01";
};
buildInputs = [zlib (if sslSupport then openssl else null)];
patches = [./configure-cxxcpp.patch];

View file

@ -1,7 +0,0 @@
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd par2cmdline-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -1,8 +1,7 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "par2cmdline-0.3";
builder = ./builder.sh;
name = "par2cmdline-0.4";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/par2cmdline-0.3.tar.gz;
md5 = "705c97bc41b862d281dd41c219a60849";
url = http://surfnet.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz;
md5 = "1551b63e57e3c232254dc62073b723a9";
};
}

View file

@ -1,7 +0,0 @@
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd which-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -1,6 +1,5 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "which-2.16";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/which-2.16.tar.gz;
md5 = "830b83af48347a9a3520f561e47cbc9b";

View file

@ -1,7 +0,0 @@
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd ed-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -1,6 +1,5 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "ed-0.2";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/ed-0.2.tar.gz;
md5 = "ddd57463774cae9b50e70cd51221281b";

View file

@ -1,7 +0,0 @@
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd patch-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -1,6 +1,5 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "gnupatch-2.5.4";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/patch-2.5.4.tar.gz;
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";