1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/IDS
11 url = http://www.openinfosecfoundation.org/
13 summary = Open Source Next Generation Intrusion Detection and Prevention Engine.
16 The suricata engine is not intended to just replace or emulate the
17 existing tools in the industry, but provides new ideas and
21 source_dl = http://www.openinfosecfoundation.org/download/
27 libnetfilter_queue-devel
36 configure_options += \
39 --disable-gccmarch-native \
43 mkdir -pv %{BUILDROOT}/etc
44 mkdir -pv %{BUILDROOT}/etc/suricata
45 mkdir -pv %{BUILDROOT}/etc/suricata/rules
46 cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}/etc/suricata
47 mkdir -pv %{BUILDROOT}/var/log/suricata
56 prerquires = systemd-units
59 /etc/suricata/suricata.conf
63 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
67 /bin/systemctl --no-reload disable suricata.service >/dev/null 2>&1 || :
68 /bin/systemctl stop suricata.service >/dev/null 2>&1 || :
72 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
76 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
77 /bin/systemctl try-restart suricata.service >/dev/null 2>&1 || :