From f338b3b27a63f1f9e635b26936c6f9e72bbc9dde Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 21 Jan 2018 18:46:54 +0100 Subject: [PATCH] sngrep: install /etc/sngreprc Signed-off-by: Sebastian Kemper --- net/sngrep/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/sngrep/Makefile b/net/sngrep/Makefile index d755ada..053b5c1 100644 --- a/net/sngrep/Makefile +++ b/net/sngrep/Makefile @@ -46,6 +46,10 @@ It supports SIP UDP and TCP transports (when each message is delivered in one packet). endef +define Package/sngrep/conffiles +/etc/sngreprc +endef + CONFIGURE_ARGS += \ --enable-eep \ --enable-ipv6 \ @@ -54,6 +58,8 @@ CONFIGURE_ARGS += \ --with-pcre define Package/sngrep/install + $(INSTALL_DIR) $(1)/etc + $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/sngreprc $(1)/etc $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sngrep $(1)/usr/bin endef