suricata: Remove unneeded stuff during build

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-03-13 10:03:48 +01:00
parent f717b1dc55
commit e8b1b397c1
2 changed files with 6 additions and 48 deletions

View File

@@ -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