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/
28 libnetfilter_queue-devel
37 configure_options += \
40 --disable-gccmarch-native \
44 mkdir -pv %{BUILDROOT}/etc
45 mkdir -pv %{BUILDROOT}/etc/suricata
46 mkdir -pv %{BUILDROOT}/etc/suricata/rules
47 cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}/etc/suricata
48 mkdir -pv %{BUILDROOT}/var/log/suricata
57 prerquires = systemd-units
60 /etc/suricata/suricata.conf
64 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
68 /bin/systemctl --no-reload disable suricata.service >/dev/null 2>&1 || :
69 /bin/systemctl stop suricata.service >/dev/null 2>&1 || :
73 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
77 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
78 /bin/systemctl try-restart suricata.service >/dev/null 2>&1 || :
87 package %{name}-debuginfo