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
38 configure_options += \
41 --disable-gccmarch-native \
45 mkdir -pv %{BUILDROOT}%{sysconfdir}
46 mkdir -pv %{BUILDROOT}%{sysconfdir}/suricata
47 mkdir -pv %{BUILDROOT}%{sysconfdir}/suricata/rules
48 cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}%{sysconfdir}/suricata
49 mkdir -pv %{BUILDROOT}%{localstatedir}/log/suricata
58 prerquires = systemd-units
61 %{BUILDROOT}%{sysconfdir}/suricata/suricata.conf
65 systemctl daemon-reload >/dev/null 2>&1 || :
69 systemctl --no-reload disable suricata.service >/dev/null 2>&1 || :
70 systemctl stop suricata.service >/dev/null 2>&1 || :
74 systemctl daemon-reload >/dev/null 2>&1 || :
78 systemctl daemon-reload >/dev/null 2>&1 || :
79 systemctl try-restart suricata.service >/dev/null 2>&1 || :
88 package %{name}-debuginfo