* libpcap 0.9.5. Also fix an impurity in configure (it looks for
/usr/include/blablah/socket.h to determine which packet interface to build). svn path=/nixpkgs/trunk/; revision=7696
This commit is contained in:
parent
617abe91e8
commit
941acbc53f
|
@ -1,10 +1,13 @@
|
||||||
{stdenv, fetchurl, flex, bison}:
|
{stdenv, fetchurl, flex, bison}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libpcap-0.9.4";
|
name = "libpcap-0.9.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://nix.cs.uu.nl/dist/tarballs/libpcap-0.9.4.tar.gz;
|
url = http://www.tcpdump.org/release/libpcap-0.9.5.tar.gz;
|
||||||
md5 = "79025766e8027df154cb1f32de8a7974";
|
md5 = "b0626ad59004fe5767ddd2ce743a2271";
|
||||||
};
|
};
|
||||||
buildInputs = [flex bison];
|
buildInputs = [flex bison];
|
||||||
|
configureFlags = "
|
||||||
|
${if stdenv.system == "i686-linux" then "--with-pcap=linux" else ""}
|
||||||
|
";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue