|
|
@ -34,6 +34,14 @@ LIBS = \
|
|
|
|
suricata/update/util.py \
|
|
|
|
suricata/update/util.py \
|
|
|
|
suricata/update/version.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
|
|
|
|
BINS = suricata-update
|
|
|
|
|
|
|
|
|
|
|
|
if HAVE_PYTHON
|
|
|
|
if HAVE_PYTHON
|
|
|
@ -46,6 +54,9 @@ install-exec-local:
|
|
|
|
for lib in $(LIBS); do \
|
|
|
|
for lib in $(LIBS); do \
|
|
|
|
install $(srcdir)/$$lib "$(DESTDIR)$(prefix)/lib/suricata/python/$$lib"; \
|
|
|
|
install $(srcdir)/$$lib "$(DESTDIR)$(prefix)/lib/suricata/python/$$lib"; \
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
for config in $(CONFIGS); do \
|
|
|
|
|
|
|
|
install -m 0644 $(srcdir)/$$config "$(DESTDIR)$(prefix)/lib/suricata/python/$$config"; \
|
|
|
|
|
|
|
|
done
|
|
|
|
for bin in $(BINS); do \
|
|
|
|
for bin in $(BINS); do \
|
|
|
|
cat "$(srcdir)/bin/$$bin" | \
|
|
|
|
cat "$(srcdir)/bin/$$bin" | \
|
|
|
|
sed -e "1 s,.*,#"'!'" ${HAVE_PYTHON}," > "${DESTDIR}$(bindir)/$$bin"; \
|
|
|
|
sed -e "1 s,.*,#"'!'" ${HAVE_PYTHON}," > "${DESTDIR}$(bindir)/$$bin"; \
|
|
|
|