diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-07-23 21:34:53 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-07-23 21:34:53 +0000 |
commit | aaca21fcffce3de9710234c6bdbc12ffa9139e5a (patch) | |
tree | 3cfc51f5022c1037ce1e066c3f25d68acfeb809d /pkgs/os-specific/linux/iproute | |
parent | dd2aba46bf4b954f4e9d9cd7340980b5921e57c4 (diff) |
* iproute2 updated to 2.6.29-1.
svn path=/nixpkgs/trunk/; revision=16446
Diffstat (limited to 'pkgs/os-specific/linux/iproute')
-rw-r--r-- | pkgs/os-specific/linux/iproute/default.nix | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index cf0b735c75290..ba9430fb7f0ae 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -1,25 +1,19 @@ {fetchurl, stdenv, flex, bison, db4}: -stdenv.mkDerivation { - name = "iproute-2.6.22-070710"; +stdenv.mkDerivation rec { + name = "iproute2-2.6.29-1"; src = fetchurl { - url = http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.22-070710.tar.gz; - sha256 = "3c6b48af9e655e4f0a34c7718e288960a1dc84a3ac7eb726e855adb45fbd953a"; + url = "http://devresources.linux-foundation.org/dev/iproute2/download/${name}.tar.bz2"; + sha256 = "16zvhdzv7yqyvmwxyqa6shzsld6r0wpnk37dig69sk20wpzv1zqk"; }; - unpackPhase = '' - mkdir tmp; cd tmp - unpackFile "$src" - ''; + preConfigure = + '' + patchShebangs ./configure + ''; - patchPhase = '' - for script in $(find . -type f); do sed -e 's@#! /bin/bash@#! /bin/sh@' -i $script; - done; - sed -e s@/usr/lib@$out/lib@ -i tc/Makefile - ''; - - makeFlags = " SBINDIR=\\$(out)/sbin CONFDIR=\\$(out)/etc DOCDIR=\\$(out)/doc MANDIR=\\$(out)/man "; + makeFlags = "DESTDIR= LIBDIR=$(out)/lib SBINDIR=$(out)/sbin CONFDIR=$(out)/etc DOCDIR=$(out)/share/doc MANDIR=$(out)/share/man"; buildInputs = [bison flex db4]; } |