about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra2010-02-05 22:00:51 +0000
committerEelco Dolstra2010-02-05 22:00:51 +0000
commitaee659e1e20d6571ef40d28740297554ecff6255 (patch)
tree688e3bab11071c5eaeb60ef1e5da687da5f5d033
parent8c8631d9749843b1be9fb524c7b92fc05dd577b1 (diff)
* Fix various broken URLs / mirrors. 0.13
* Updated tcpdump, ImageMagick, lsof.

svn path=/nixpkgs/trunk/; revision=19847
-rw-r--r--pkgs/applications/graphics/ImageMagick/default.nix4
-rw-r--r--pkgs/build-support/fetchurl/mirrors.nix37
-rw-r--r--pkgs/development/libraries/glefw/default.nix4
-rw-r--r--pkgs/development/libraries/glew/default.nix9
-rw-r--r--pkgs/development/libraries/libpcap/default.nix25
-rw-r--r--pkgs/development/libraries/tk/default.nix (renamed from pkgs/development/libraries/tk/8.5.7.nix)0
-rw-r--r--pkgs/development/tools/misc/lsof/default.nix10
-rw-r--r--pkgs/tools/networking/tcpdump/default.nix10
-rw-r--r--pkgs/tools/package-management/dpkg/default.nix6
-rw-r--r--pkgs/top-level/all-packages.nix6
10 files changed, 39 insertions, 72 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix
index 08386806815f..57c236297d8b 100644
--- a/pkgs/applications/graphics/ImageMagick/default.nix
+++ b/pkgs/applications/graphics/ImageMagick/default.nix
@@ -1,13 +1,13 @@
 args: with args;
 
-let version = "6.5.5-6"; in
+let version = "6.5.9-1"; in
 
 stdenv.mkDerivation (rec {
   name = "ImageMagick-${version}";
 
   src = fetchurl {
     url = "mirror://imagemagick/${name}.tar.bz2";
-    sha256 = "1037nsvfpw7wdgsvvzvi0bn1n5d667d8aj1xam7zgmf7xi6xha3q";
+    sha256 = "0a4yhhfqagz28yccydngi31050101jfmq5ljln61g69yy6m47ifg";
   };
 
   configureFlags = ''
diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix
index 88f4e064fa13..71f1eae86f93 100644
--- a/pkgs/build-support/fetchurl/mirrors.nix
+++ b/pkgs/build-support/fetchurl/mirrors.nix
@@ -141,31 +141,12 @@ rec {
     http://bitlbee.intergenia.de/
   ];
 
-  # ImageMagick mirrors, see http://www.imagemagick.org/script/download.php .
+  # ImageMagick mirrors, see http://www.imagemagick.org/script/download.php.
   imagemagick = [
-    ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/
-    ftp://ftp.carnet.hr/pub/misc/imagemagick/
-    ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick
-    http://imagemagick.linux-mirror.org/download
-    http://image_magick.veidrodis.com/image_magick/
-    http://imagemagick.oss-mirror.org/download
-    ftp://ftp.kddlabs.co.jp/graphics/ImageMagick/
-    ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/imagemagick.org
-    ftp://zoffy.asahi-net.or.jp/pub/graphics/ImageMagick
-    http://ftp.nluug.nl/pub/ImageMagick
-    http://ftp.surfnet.nl/pub/ImageMagick/
-    ftp://sunsite.icm.edu.pl/packages/ImageMagick/
-    ftp://ftp.chg.ru/packages/ImageMagick
-    http://ftp.chg.ru/packages/ImageMagick
-    http://ftp.efair.ru/pub/software/graphics/ImageMagick/
-    ftp://ftp.efair.ru/pub/software/graphics/ImageMagick/
-    ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick
-    http://www.smudge-it.co.uk/pub/imagemagick/
-    ftp://www.rx-host.net/pub/graphics/ImageMagick
-    ftp://ftp.fifi.org/pub/ImageMagick/
-    ftp://ftp.imagemagick.org/pub/ImageMagick
-    ftp://ftp.imagemagick.net/pub/ImageMagick
-    http://imagemagick.site2nd.org/imagemagick
+    http://ftp.nluug.nl/pub/ImageMagick/
+    ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/
+    ftp://ftp.imagemagick.org/pub/ImageMagick/
+    ftp://ftp.imagemagick.net/pub/ImageMagick/
   ];
 
   # CPAN mirrors.
@@ -238,14 +219,6 @@ rec {
     ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/
   ];
 
-  # Tcpdump (see http://www.tcpdump.org/mirrors.html).
-  tcpdump = [
-    ftp://ftp.wiretapped.net/pub/security/packet-capture/tcpdump.org/
-    ftp://mirror.aarnet.edu.au/pub/tcpdump/
-    ftp://gd.tuwien.ac.at/infosys/security/tcpdump.org/
-    ftp://ftp.gwdg.de/pub/misc/tcpdump/
-  ];
-
   # X.org.
   xorg = [
     http://xorg.freedesktop.org/releases/
diff --git a/pkgs/development/libraries/glefw/default.nix b/pkgs/development/libraries/glefw/default.nix
index e58244cf818e..bf4d0f504de6 100644
--- a/pkgs/development/libraries/glefw/default.nix
+++ b/pkgs/development/libraries/glefw/default.nix
@@ -1,9 +1,10 @@
 args: with args;
+
 stdenv.mkDerivation {
   name = "glefw-2.6";
 
   src = fetchurl {
-    url = http://prdownloads.sourceforge.net/glfw/glfw-2.6.tar.bz2;
+    url = mirror://sourceforge/glfw/glfw-2.6.tar.bz2;
     sha256 = "1jnz7szax7410qrkiwkvq34sxy11w46ybyqbkaczdyvqas6cm1hv";
   };
 
@@ -13,6 +14,7 @@ stdenv.mkDerivation {
     ensureDir $out
     make x11-install PREFIX=$out
   '';
+  
   installPhase=":";
 
   meta = { 
diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix
index ff3baabe339a..d53d011faba4 100644
--- a/pkgs/development/libraries/glew/default.nix
+++ b/pkgs/development/libraries/glew/default.nix
@@ -1,18 +1,19 @@
 args: with args;
+
 stdenv.mkDerivation {
   name = "glew-1.5.2";
 
   src = fetchurl {
-    url = http://dfn.dl.sourceforge.net/sourceforge/glew/glew-1.5.2.tgz;
+    url = mirror://sourceforge/glew/glew-1.5.2.tgz;
     sha256 = "0dh5wpfq7aaldkiwcqmm9w59c2qcglkjv8zazmnm8n5771n3caj8";
   };
 
   buildInputs = [mesa x11 libXmu libXi];
 
   meta = { 
-      description = "cross-platform open-source C/C++ extension loading library";
-      homepage = http://glew.sourceforge.net/;
-      license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0 
+    description = "cross-platform open-source C/C++ extension loading library";
+    homepage = http://glew.sourceforge.net/;
+    license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0 
   };
 
   installPhase="GLEW_DEST=\$out make install";
diff --git a/pkgs/development/libraries/libpcap/default.nix b/pkgs/development/libraries/libpcap/default.nix
index 5dbbf010be84..fbd73230d735 100644
--- a/pkgs/development/libraries/libpcap/default.nix
+++ b/pkgs/development/libraries/libpcap/default.nix
@@ -1,23 +1,18 @@
-{stdenv, fetchurl, flex, bison}:
+{ stdenv, fetchurl, flex, bison }:
 
 stdenv.mkDerivation rec {
   name = "libpcap-1.0.0";
+  
   src = fetchurl {
-      url = [
-       "mirror://tcpdump/release/${name}.tar.gz"
-       "http://www.sfr-fresh.com/unix/misc/${name}.tar.gz"
-      ];
-      sha256 = "1h3kmj485qz1i08xs4sc3a0bmhs1rvq0h7gycs7paap2szhw8552";
+    url = "http://www.tcpdump.org/release/${name}.tar.gz";
+    sha256 = "1h3kmj485qz1i08xs4sc3a0bmhs1rvq0h7gycs7paap2szhw8552";
   };
-  buildInputs = [flex bison];
-  configureFlags = [
-      "${if stdenv.system == "i686-linux" then "--with-pcap=linux" else ""}"
-       "--with-pcap=linux"
-  ];
+  
+  buildInputs = [ flex bison ];
+  
+  configureFlags = "--with-pcap=linux";
 
   preInstall = ''ensureDir $out/bin'';
-  patches = if stdenv.system == "i686-linux"
-      then []
-      else [ ./libpcap_amd64.patch ];
-
+  
+  patches = [ ./libpcap_amd64.patch ];
 }
diff --git a/pkgs/development/libraries/tk/8.5.7.nix b/pkgs/development/libraries/tk/default.nix
index bf6da7b65982..bf6da7b65982 100644
--- a/pkgs/development/libraries/tk/8.5.7.nix
+++ b/pkgs/development/libraries/tk/default.nix
diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix
index 8d793d5004e1..08539d2aa945 100644
--- a/pkgs/development/tools/misc/lsof/default.nix
+++ b/pkgs/development/tools/misc/lsof/default.nix
@@ -1,15 +1,11 @@
 {stdenv, fetchurl}:
 
 stdenv.mkDerivation {
-  name = "lsof-4.81";
+  name = "lsof-4.83";
 
   src = fetchurl {
-    urls = [
-      http://ftp.uni-bayreuth.de/packages/tools/lsof/lsof_4.81.tar.bz2
-      ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.81.tar.bz2
-      ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.81.tar.bz2
-    ];
-    sha256 = "1fcamd8qpczgb3kz9b2rhflbq6lyd3lic4i7xl7n99fx76ha1n19";
+    url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.83.tar.bz2;
+    sha256 = "0i7mn4ygmrf0rvxz5vgzhmr8q7bhxrh9h2q7rpip1f9npq5r77xq";
   };
 
   unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*/); ";
diff --git a/pkgs/tools/networking/tcpdump/default.nix b/pkgs/tools/networking/tcpdump/default.nix
index 0b1937e76afb..b7b005996161 100644
--- a/pkgs/tools/networking/tcpdump/default.nix
+++ b/pkgs/tools/networking/tcpdump/default.nix
@@ -1,14 +1,14 @@
-{stdenv, fetchurl, libpcap}:
+{ stdenv, fetchurl, libpcap }:
 
 stdenv.mkDerivation rec {
-  name = "tcpdump-3.9.4";
+  name = "tcpdump-4.0.0";
 
   src = fetchurl {
-    url = "mirror://tcpdump/release/${name}.tar.gz";
-    sha256 = "1dbknf6ys7n3mmlb6klr0jh0jgnnq3zd9y44kjdxcbmbdjhp1rvy";
+    url = "http://www.tcpdump.org/release/${name}.tar.gz";
+    sha256 = "112j0d12l5zsq56akn4n23i98pwblfb7qhblk567ddbl0bz9xsaz";
   };
 
-  buildInputs = [libpcap];
+  buildInputs = [ libpcap ];
 
   meta = {
     description = "tcpdump, a famous network sniffer";
diff --git a/pkgs/tools/package-management/dpkg/default.nix b/pkgs/tools/package-management/dpkg/default.nix
index 2d8adc1350a1..e10abe9ac81c 100644
--- a/pkgs/tools/package-management/dpkg/default.nix
+++ b/pkgs/tools/package-management/dpkg/default.nix
@@ -1,11 +1,11 @@
 {stdenv, fetchurl, perl, zlib, bzip2}:
 
 stdenv.mkDerivation {
-  name = "dpkg-1.14.25";
+  name = "dpkg-1.14.28";
   
   src = fetchurl {
-    url = mirror://debian/pool/main/d/dpkg/dpkg_1.14.25.tar.gz;
-    sha256 = "1111r1ijyh149h7vby9vc8137hl9778ja3dln7ilkxhc1y1yjp2l";
+    url = mirror://debian/pool/main/d/dpkg/dpkg_1.14.28.tar.gz;
+    sha256 = "1k3h1rv2qd6ha6mpifhjkpasd4dzr8l45jvc49p7fldqm4nzyixc";
   };
 
   configureFlags = "--without-dselect --with-admindir=/var/lib/dpkg";
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e03e90596c51..ef20e3cc5605 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4727,7 +4727,7 @@ let
     inherit stdenv fetchurl cmake qt4;
   };
 
-  tk = import ../development/libraries/tk/8.5.7.nix {
+  tk = import ../development/libraries/tk {
     inherit fetchurl stdenv tcl x11;
   };
 
@@ -8579,8 +8579,8 @@ let
   };
 
   foldingathome = import ../misc/foldingathome {
-      inherit fetchurl stdenv;
-    };
+    inherit fetchurl stdenv;
+  };
 
   freestyle = import ../misc/freestyle {
     inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;