From 2fe854ebd6c0834019a6388aacbe7c49a9269178 Mon Sep 17 00:00:00 2001 From: Michal Hrusecky Date: Thu, 22 Jul 2021 13:44:07 +0200 Subject: net/snort3: Include default configs and snort2lua Include default configuration files to have something to start from. Also include snort2lua to help convert snort2 rules to snort3 to also help with bootstrapping the configuration. Signed-off-by: Michal Hrusecky --- net/snort3/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'net/snort3/Makefile') diff --git a/net/snort3/Makefile b/net/snort3/Makefile index 8c4025f87..2c675bc2f 100644 --- a/net/snort3/Makefile +++ b/net/snort3/Makefile @@ -59,6 +59,7 @@ TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/daq3 -ltirpc define Package/snort3/conffiles /etc/config/snort +/etc/snort/ endef define Package/snort3/install @@ -67,6 +68,10 @@ define Package/snort3/install $(PKG_INSTALL_DIR)/usr/bin/snort \ $(1)/usr/bin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/snort2lua \ + $(1)/usr/bin/ + $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/u2{boat,spewfoo} \ $(1)/usr/bin/ @@ -86,6 +91,9 @@ define Package/snort3/install $(1)/usr/share/lua/ $(INSTALL_DIR) $(1)/etc/snort + $(INSTALL_CONF) \ + $(PKG_INSTALL_DIR)/usr/etc/snort/*.lua \ + $(1)/etc/snort $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) \ -- cgit v1.2.3