diff options
author | William A. Kennington III <william@wkennington.com> | 2015-10-15 10:22:28 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-10-15 10:22:28 -0700 |
commit | 8a44a36ca496d2c61904b22f8ba6a77ec5aa0b36 (patch) | |
tree | 90013bf1e284372e7de0ad6b3715dc5a0ea926d1 /pkgs/applications/networking/ids/snort | |
parent | 1283e3da5d0bc4657677d40fa3cb117b66489ee5 (diff) | |
parent | 62e676b9598d2638e846761160082f6fec392ffe (diff) |
Merge branch 'master.upstream' into staging.upstream
Diffstat (limited to 'pkgs/applications/networking/ids/snort')
-rw-r--r-- | pkgs/applications/networking/ids/snort/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/networking/ids/snort/default.nix b/pkgs/applications/networking/ids/snort/default.nix index ea7e09626994..e6c45e7335f9 100644 --- a/pkgs/applications/networking/ids/snort/default.nix +++ b/pkgs/applications/networking/ids/snort/default.nix @@ -10,7 +10,15 @@ stdenv.mkDerivation rec { sha256 = "1gmlrh9ygpd5h6nnrr4090wk5n2yq2yrvwi7q6xbm6lxj4rcamyv"; }; - buildInputs = [ libpcap pcre libdnet daq zlib flex bison ]; + buildInputs = [ makeWrapper libpcap pcre libdnet daq zlib flex bison ]; + + enableParallelBuilding = true; + + configureFlags = "--disable-static-daq --enable-control-socket --with-daq-includes=${daq}/includes --with-daq-libraries=${daq}/lib"; + + postInstall = '' + wrapProgram $out/bin/snort --add-flags "--daq-dir ${daq}/lib/daq --dynamic-preprocessor-lib-dir $out/lib/snort_dynamicpreprocessor/ --dynamic-engine-lib-dir $out/lib/snort_dynamicengine" + ''; meta = { description = "Network intrusion prevention and detection system (IDS/IPS)"; |