2013-05-30 15:05:39 +02:00
|
|
|
{stdenv, fetchurl, libpcap, pcre, libdnet, daq, zlib, flex, bison}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-27 08:57:59 +01:00
|
|
|
name = "snort-2.9.7.0";
|
2013-05-30 15:05:39 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
name = "${name}.tar.gz";
|
2014-08-31 13:27:15 +02:00
|
|
|
url = "http://www.snort.org/downloads/snort/${name}.tar.gz";
|
2014-11-27 08:57:59 +01:00
|
|
|
sha256 = "16z4mi7bri7ygvc0j4hhl2pgcw6xwxah1h3wk5vpy2yj8pmayf4p";
|
2013-05-30 15:05:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpcap pcre libdnet daq zlib flex bison ];
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Network intrusion prevention and detection system (IDS/IPS)";
|
2013-05-30 15:05:39 +02:00
|
|
|
homepage = http://www.snort.org;
|
2014-09-24 10:43:51 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-05-30 15:05:39 +02:00
|
|
|
};
|
|
|
|
}
|