aboutsummaryrefslogtreecommitdiff
path: root/package/snort/snort.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/snort/snort.mk')
-rw-r--r--package/snort/snort.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/snort/snort.mk b/package/snort/snort.mk
index 568393468b..c767d7c545 100644
--- a/package/snort/snort.mk
+++ b/package/snort/snort.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SNORT_VERSION = 2.9.11.1
+SNORT_VERSION = 2.9.12
SNORT_SITE = https://www.snort.org/downloads/snort
SNORT_LICENSE = GPL-2.0
SNORT_LICENSE_FILES = LICENSE COPYING
@@ -26,6 +26,15 @@ SNORT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
SNORT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
endif
+# luajit and openssl should be enabled to build with
+# OpenAppID support
+ifeq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_OPENSSL),yy)
+SNORT_DEPENDENCIES += luajit openssl
+SNORT_CONF_OPTS += --enable-open-appid
+else
+SNORT_CONF_OPTS += --disable-open-appid
+endif
+
SNORT_CONF_ENV = \
CFLAGS="$(TARGET_CFLAGS) $(SNORT_CFLAGS)" \
LIBS="$(SNORT_LIBS)" \