* 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,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];
}