* Fix various broken URLs / mirrors.

* Updated tcpdump, ImageMagick, lsof.

svn path=/nixpkgs/trunk/; revision=19847
This commit is contained in:
Eelco Dolstra
2010-02-05 22:00:51 +00:00
parent 8c8631d974
commit aee659e1e2
10 changed files with 39 additions and 72 deletions

View File

@@ -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 ];
}