aboutsummaryrefslogtreecommitdiff
path: root/package/snort/snort.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-05 10:59:38 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-05 10:59:38 +0100
commitda49312af9e0c3e7f6df50e7d6f77e1fa2921b7a (patch)
tree4831ddfa987ac9181b59f82e587af5ad6ed3a70f /package/snort/snort.mk
parentd29ec62899ed7fafefd0a3fddee61683648421fa (diff)
parente675e9a0473f39b60ab66d94a61ac9c077ed438f (diff)
downloadbuildroot-da49312af9e0c3e7f6df50e7d6f77e1fa2921b7a.tar.gz
buildroot-da49312af9e0c3e7f6df50e7d6f77e1fa2921b7a.tar.bz2
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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)" \