mirror of
https://github.com/OISF/suricata.git
synced 2026-02-03 20:41:46 -05:00
suricata-update: install sample configuration files
With the move to installing Suricata-Update files from Suricata Makefile's, the sample configuration files were forgotten. Ticket: #6132
This commit is contained in:
parent
e30f4943ae
commit
b8071a9eb0
1 changed files with 11 additions and 0 deletions
|
|
@ -34,6 +34,14 @@ LIBS = \
|
|||
suricata/update/util.py \
|
||||
suricata/update/version.py
|
||||
|
||||
CONFIGS = \
|
||||
suricata/update/configs/disable.conf \
|
||||
suricata/update/configs/drop.conf \
|
||||
suricata/update/configs/enable.conf \
|
||||
suricata/update/configs/modify.conf \
|
||||
suricata/update/configs/threshold.in \
|
||||
suricata/update/configs/update.yaml
|
||||
|
||||
BINS = suricata-update
|
||||
|
||||
if HAVE_PYTHON
|
||||
|
|
@ -46,6 +54,9 @@ install-exec-local:
|
|||
for lib in $(LIBS); do \
|
||||
install $(srcdir)/$$lib "$(DESTDIR)$(prefix)/lib/suricata/python/$$lib"; \
|
||||
done
|
||||
for config in $(CONFIGS); do \
|
||||
install -m 0644 $(srcdir)/$$config "$(DESTDIR)$(prefix)/lib/suricata/python/$$config"; \
|
||||
done
|
||||
for bin in $(BINS); do \
|
||||
cat "$(srcdir)/bin/$$bin" | \
|
||||
sed -e "1 s,.*,#"'!'" ${HAVE_PYTHON}," > "${DESTDIR}$(bindir)/$$bin"; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue