Skip to content

Commit

Permalink
libpcap: 1.7.4 -> 1.8.1
Browse files Browse the repository at this point in the history
(cherry picked from commit f3f5045)
  • Loading branch information
fpletz committed Jan 31, 2017
1 parent b68b156 commit 71bcd8b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkgs/development/libraries/libpcap/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ stdenv, fetchurl, flex, bison }:

stdenv.mkDerivation rec {
name = "libpcap-1.7.4";
name = "libpcap-1.8.1";

src = fetchurl {
url = "http://www.tcpdump.org/release/${name}.tar.gz";
sha256 = "1c28ykkizd7jqgzrfkg7ivqjlqs9p6lygp26bsw2i0z8hwhi3lvs";
sha256 = "07jlhc66z76dipj4j5v3dig8x6h3k6cb36kmnmpsixf3zmlvqgb7";
};

nativeBuildInputs = [ flex bison ];

# We need to force the autodetection because detection doesn't
# work in pure build enviroments.
configureFlags =
Expand All @@ -22,16 +22,17 @@ stdenv.mkDerivation rec {
'';

preInstall = ''mkdir -p $out/bin'';

crossAttrs = {
# Stripping hurts in static libraries
dontStrip = true;
configureFlags = configureFlags ++ [ "ac_cv_linux_vers=2" ];
};

meta = {
meta = with stdenv.lib; {
homepage = http://www.tcpdump.org;
description = "Packet Capture Library";
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
};
}

0 comments on commit 71bcd8b

Please sign in to comment.