2015-11-14 20:32:51 +00:00
|
|
|
{stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}:
|
2013-05-30 14:05:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-22 19:41:59 +01:00
|
|
|
name = "daq-2.0.5";
|
|
|
|
|
2013-05-30 14:05:39 +01:00
|
|
|
src = fetchurl {
|
|
|
|
name = "${name}.tar.gz";
|
2015-05-31 16:09:42 +01:00
|
|
|
url = "mirror://sourceforge/snort/${name}.tar.gz";
|
2015-05-22 19:41:59 +01:00
|
|
|
sha256 = "0vdwb0r9kdlgj4g0i0swafbc7qik0zmks17mhqji8cl7hpdva13p";
|
2013-05-30 14:05:39 +01:00
|
|
|
};
|
2015-05-22 19:41:59 +01:00
|
|
|
|
2015-11-14 20:32:51 +00:00
|
|
|
buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
|
|
|
|
|
|
|
|
configureFlags = "--enable-nfq-module=yes --with-dnet-includes=${libdnet}/includes --with-dnet-libraries=${libdnet}/lib";
|
2015-05-22 19:41:59 +01:00
|
|
|
|
2013-05-30 14:05:39 +01:00
|
|
|
meta = {
|
|
|
|
description = "Data AcQuisition library (DAQ), for packet I/O";
|
|
|
|
homepage = http://www.snort.org;
|
2014-09-24 09:43:51 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-05-30 14:05:39 +01:00
|
|
|
};
|
|
|
|
}
|