nixpkgs/pkgs/applications/networking/ids/daq/default.nix

28 lines
833 B
Nix
Raw Normal View History

{stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}:
2013-05-30 13:05:39 +00:00
stdenv.mkDerivation rec {
name = "daq-2.2.2";
2013-05-30 13:05:39 +00:00
src = fetchurl {
name = "${name}.tar.gz";
2016-05-21 07:08:36 +00:00
url = "https://snort.org/downloads/archive/snort/${name}.tar.gz";
sha256 = "0yvzscy7vqj7s5rccza0f7p6awghfm3yaxihx1h57lqspg51in3w";
2013-05-30 13:05:39 +00:00
};
buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
2018-07-25 21:44:21 +00:00
configureFlags = [
"--enable-nfq-module=yes"
"--with-dnet-includes=${libdnet}/includes"
"--with-dnet-libraries=${libdnet}/lib"
];
2013-05-30 13:05:39 +00:00
meta = {
description = "Data AcQuisition library (DAQ), for packet I/O";
2018-06-23 11:34:55 +00:00
homepage = https://www.snort.org;
2014-09-24 08:43:51 +00:00
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
2013-05-30 13:05:39 +00:00
};
}