nixpkgs/pkgs/applications/networking/ids/daq/default.nix
Ryan Mulligan 5db347a1f9 daq: 2.0.6 -> 2.2.2
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/k309zjlgh7pn9h1gpzf5rrmnxzmfifil-daq-2.2.2/bin/daq-modules-config -h` got 0 exit code
- ran `/nix/store/k309zjlgh7pn9h1gpzf5rrmnxzmfifil-daq-2.2.2/bin/daq-modules-config --help` got 0 exit code
- ran `/nix/store/k309zjlgh7pn9h1gpzf5rrmnxzmfifil-daq-2.2.2/bin/daq-modules-config help` got 0 exit code
- found 2.2.2 with grep in /nix/store/k309zjlgh7pn9h1gpzf5rrmnxzmfifil-daq-2.2.2
- found 2.2.2 in filename of file in /nix/store/k309zjlgh7pn9h1gpzf5rrmnxzmfifil-daq-2.2.2
2018-02-25 18:49:14 -08:00

24 lines
810 B
Nix

{stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}:
stdenv.mkDerivation rec {
name = "daq-2.2.2";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://snort.org/downloads/archive/snort/${name}.tar.gz";
sha256 = "0yvzscy7vqj7s5rccza0f7p6awghfm3yaxihx1h57lqspg51in3w";
};
buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
configureFlags = "--enable-nfq-module=yes --with-dnet-includes=${libdnet}/includes --with-dnet-libraries=${libdnet}/lib";
meta = {
description = "Data AcQuisition library (DAQ), for packet I/O";
homepage = http://www.snort.org;
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}