]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - suricata/suricata.nm
lz4: New package
[ipfire-3.x.git] / suricata / suricata.nm
index 13941669761ca9f6ff21cf7af3467ba4d02fe796..4825612e247e1ea90449abaf83bcb3f4b97900f5 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = suricata
-version    = 2.0
-release    = 1
+version    = 4.0.6
+release    = 3
 
 groups     = Networking/IDS
 url        = http://www.openinfosecfoundation.org/
@@ -29,7 +29,7 @@ build
                libnet-devel
                libpcap-devel
                libyaml-devel
-               libhtp-devel >= 0.5.5
+               libhtp-devel >= 0.5.20
                pcre-devel
                pkg-config
                zlib-devel >= 1.2.5-2
@@ -44,6 +44,12 @@ build
                --with-libhtp-includes=%{includedir}/htp \
                --with-libhtp-libraries=%{libdir}
 
+       # Enable hyperscan only on x86
+       if "%{DISTRO_PLATFORM}" == "x86"
+               requires += hyperscan-devel
+               configure_options += --enable-hyperscan
+       end
+
        install_cmds
                mkdir -pv %{BUILDROOT}%{sysconfdir}
                mkdir -pv %{BUILDROOT}%{sysconfdir}/suricata