mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
suricata: Remove unneeded stuff during build
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -78,7 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--disable-gccmarch-native \
|
||||
--enable-non-bundled-htp \
|
||||
--enable-nfqueue \
|
||||
--disable-static
|
||||
--disable-static \
|
||||
--disable-python \
|
||||
--disable-suricata-update
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_APP) && make install-conf
|
||||
@@ -89,6 +91,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# Install IPFire related config file.
|
||||
install -m 0644 $(DIR_SRC)/config/suricata/suricata.yaml /etc/suricata
|
||||
|
||||
# Remove shipped rules.
|
||||
rm -rvf /usr/share/suricata
|
||||
|
||||
# Create emtpy rules directory.
|
||||
-mkdir -p /var/lib/suricata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user