From b8071a9eb0b1882178f7280936d6df577945232d Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 8 Jun 2023 12:23:05 -0600 Subject: [PATCH] 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 --- suricata-update/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/suricata-update/Makefile.am b/suricata-update/Makefile.am index a15b1f538eae..0e10bc01aa97 100644 --- a/suricata-update/Makefile.am +++ b/suricata-update/Makefile.am @@ -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"; \