Unverified Commit 76f1d557 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #231976 from r-ryantm/auto-update/zeek

zeek: 5.2.0 -> 5.2.1
parents f51a53f3 fda63c16
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -26,11 +26,11 @@ let
in
stdenv.mkDerivation rec {
  pname = "zeek";
  version = "5.2.0";
  version = "5.2.2";

  src = fetchurl {
    url = "https://download.zeek.org/zeek-${version}.tar.gz";
    sha256 = "sha256-URBHQA3UU5F3VCyEpegNfpetc9KpmG/81s2FtMxxH78=";
    sha256 = "sha256-4MJBV8yWpy5LvkyyipOZdDjU6FV7F8INc/zWddRGFcY=";
  };

  strictDeps = true;
@@ -54,13 +54,14 @@ stdenv.mkDerivation rec {
    spicy-parser-generator
    curl
    gperftools
    libkqueue
    libmaxminddb
    libpcap
    ncurses
    openssl
    swig
    zlib
  ] ++ lib.optionals stdenv.isLinux [
    libkqueue
  ] ++ lib.optionals stdenv.isDarwin [
    gettext
  ];
@@ -75,13 +76,14 @@ stdenv.mkDerivation rec {
  cmakeFlags = [
    "-DBroker_ROOT=${broker}"
    "-DSPICY_ROOT_DIR=${spicy-parser-generator}"
    "-DLIBKQUEUE_ROOT_DIR=${libkqueue}"
    "-DENABLE_PERFTOOLS=true"
    "-DINSTALL_AUX_TOOLS=true"
    "-DZEEK_ETC_INSTALL_DIR=/etc/zeek"
    "-DZEEK_LOG_DIR=/var/log/zeek"
    "-DZEEK_STATE_DIR=/var/lib/zeek"
    "-DZEEK_SPOOL_DIR=/var/spool/zeek"
  ] ++ lib.optionals stdenv.isLinux [
    "-DLIBKQUEUE_ROOT_DIR=${libkqueue}"
  ];

  postInstall = ''