diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-10-02 06:40:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 06:40:15 -0500 |
commit | 81e65ca31bd3bfbd61a72ecb80dc73532e101b68 (patch) | |
tree | 77b644f970d8233432f61a1dab4274a33ca9a889 /pkgs/applications | |
parent | 25295972d42c96a0b8219e052242dcd0287e54c7 (diff) | |
parent | 7ed57e7c700d6fbed261a9b612decd00bad3fe01 (diff) | |
download | nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar.gz nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar.bz2 nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar.lz nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar.xz nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.tar.zst nixlib-81e65ca31bd3bfbd61a72ecb80dc73532e101b68.zip |
Merge pull request #70046 from marsam/update-zeek
zeek: 2.5.5 -> 3.0.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/ids/bro/default.nix | 24 | ||||
-rw-r--r-- | pkgs/applications/networking/ids/zeek/default.nix | 31 |
2 files changed, 31 insertions, 24 deletions
diff --git a/pkgs/applications/networking/ids/bro/default.nix b/pkgs/applications/networking/ids/bro/default.nix deleted file mode 100644 index f90457ba9379..000000000000 --- a/pkgs/applications/networking/ids/bro/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{stdenv, fetchurl, cmake, flex, bison, openssl, libpcap, perl, zlib, file, curl -, geoip, gperftools, python, swig }: - -stdenv.mkDerivation rec { - name = "bro-2.5.5"; - - src = fetchurl { - url = "https://www.bro.org/downloads/${name}.tar.gz"; - sha256 = "1kvkiq8jjsqryry9jd4vw45pbfb46jly988mq62mv4sd1fqsxwhq"; - }; - - nativeBuildInputs = [ cmake flex bison file ]; - buildInputs = [ openssl libpcap perl zlib curl geoip gperftools python swig ]; - - enableParallelBuilding = true; - - meta = with stdenv.lib; { - description = "Powerful network analysis framework much different from a typical IDS"; - homepage = https://www.bro.org/; - license = licenses.bsd3; - maintainers = with maintainers; [ pSub ]; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/applications/networking/ids/zeek/default.nix b/pkgs/applications/networking/ids/zeek/default.nix new file mode 100644 index 000000000000..b087a6c3ae32 --- /dev/null +++ b/pkgs/applications/networking/ids/zeek/default.nix @@ -0,0 +1,31 @@ +{stdenv, fetchurl, cmake, flex, bison, openssl, libpcap, zlib, file, curl +, libmaxminddb, gperftools, python, swig, rocksdb }: + +stdenv.mkDerivation rec { + pname = "zeek"; + version = "3.0.0"; + + src = fetchurl { + url = "https://www.zeek.org/downloads/zeek-${version}.tar.gz"; + sha256 = "16pz5fh0z1hmvhn8pxqmdm5a9d8mqrp4gxpxkaywnaqk2h598lmm"; + }; + + nativeBuildInputs = [ cmake flex bison file ]; + buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig rocksdb ]; + + enableParallelBuilding = true; + + cmakeFlags = [ + "-DPY_MOD_INSTALL_DIR=${placeholder "out"}/${python.sitePackages}" + "-DENABLE_PERFTOOLS=true" + "-DINSTALL_AUX_TOOLS=true" + ]; + + meta = with stdenv.lib; { + description = "Powerful network analysis framework much different from a typical IDS"; + homepage = "https://www.zeek.org"; + license = licenses.bsd3; + maintainers = with maintainers; [ pSub marsam tobim ]; + platforms = platforms.unix; + }; +} |