suricata: switch from hyperscan to vectorscan (#402330)

authored by Florian Klink and committed by GitHub 0344f99d 9552ed49

+4 -7
+4 -7
pkgs/by-name/su/suricata/package.nix
··· 8 makeWrapper, 9 elfutils, 10 file, 11 - hyperscan, 12 jansson, 13 libbpf_0, 14 libcap_ng, ··· 25 nspr, 26 pcre2, 27 python3, 28 zlib, 29 redisSupport ? true, 30 valkey, ··· 36 }: 37 let 38 libmagic = file; 39 - hyperscanSupport = stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; 40 in 41 stdenv.mkDerivation rec { 42 pname = "suricata"; ··· 83 nspr 84 pcre2 85 python3 86 zlib 87 ] 88 - ++ lib.optional hyperscanSupport hyperscan 89 ++ lib.optionals redisSupport [ 90 valkey 91 hiredis ··· 121 "--enable-unix-socket" 122 "--localstatedir=/var" 123 "--sysconfdir=/etc" 124 "--with-libnet-includes=${libnet}/include" 125 "--with-libnet-libraries=${libnet}/lib" 126 - ] 127 - ++ lib.optionals hyperscanSupport [ 128 - "--with-libhs-includes=${hyperscan.dev}/include/hs" 129 - "--with-libhs-libraries=${hyperscan}/lib" 130 ] 131 ++ lib.optional redisSupport "--enable-hiredis" 132 ++ lib.optionals rustSupport [
··· 8 makeWrapper, 9 elfutils, 10 file, 11 jansson, 12 libbpf_0, 13 libcap_ng, ··· 24 nspr, 25 pcre2, 26 python3, 27 + vectorscan, 28 zlib, 29 redisSupport ? true, 30 valkey, ··· 36 }: 37 let 38 libmagic = file; 39 in 40 stdenv.mkDerivation rec { 41 pname = "suricata"; ··· 82 nspr 83 pcre2 84 python3 85 + vectorscan 86 zlib 87 ] 88 ++ lib.optionals redisSupport [ 89 valkey 90 hiredis ··· 120 "--enable-unix-socket" 121 "--localstatedir=/var" 122 "--sysconfdir=/etc" 123 + "--with-libhs-includes=${lib.getDev vectorscan}/include/hs" 124 + "--with-libhs-libraries=${lib.getLib vectorscan}/lib" 125 "--with-libnet-includes=${libnet}/include" 126 "--with-libnet-libraries=${libnet}/lib" 127 ] 128 ++ lib.optional redisSupport "--enable-hiredis" 129 ++ lib.optionals rustSupport [