Skip to contentSkip to conversation

snort: upgrade 2.9.11.1 -> 2.9.13

PATCH New Yi Zhao 1 participant 1 message Jun 19, 2019

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 snort: upgrade 2.9.11.1 -> 2.9.13

* Add PACKAGECONFIG[appid] for application identification support.

* Set the variables 'have_daq_packet_trace' and 'have_daq_verdict_reason' to 'no' since they are only supported in daq 2.2.2 but not in 2.0.6.

* Cleanup snort.init script and fix the incorrect argument of mkdir

---
 ...le-run-test-program-while-cross-compiling.patch |  4 +-
 .../recipes-connectivity/snort/snort/snort.init    | 53 +++++++++++-----------
 .../snort/{snort_2.9.11.1.bb => snort_2.9.13.bb}   |  5 +-
 3 files changed, 32 insertions(+), 30 deletions(-)
 rename meta-networking/recipes-connectivity/snort/{snort_2.9.11.1.bb => snort_2.9.13.bb} (94%)
meta-networking/recipes-connectivity/snort/snort/disable-run-test-program-while-cross-compiling.patch +2 -2
index 037962f..30ec174 100644
@@ -226,7 +226,7 @@ index 4b3a5db..a6c5498 100644
 -]])],
 -[have_daq_packet_trace="yes"],
 -[have_daq_packet_trace="no"])
-+have_daq_packet_trace="yes"
++have_daq_packet_trace="no"
  AC_MSG_RESULT($have_daq_packet_trace)
  if test "x$have_daq_packet_trace" = "xyes"; then
      AC_DEFINE([HAVE_DAQ_PKT_TRACE],[1],
@@ -245,7 +245,7 @@ index 4b3a5db..a6c5498 100644
 -]])],
 -[have_daq_verdict_reason="yes"],
 -[have_daq_verdict_reason="no"])
-+have_daq_verdict_reason="yes"
++have_daq_verdict_reason="no"
  AC_MSG_RESULT($have_daq_verdict_reason)
  if test "x$have_daq_verdict_reason" = "xyes"; then
      AC_DEFINE([HAVE_DAQ_VERDICT_REASON],[1],
meta-networking/recipes-connectivity/snort/snort/snort.init +27 -26

89 lines not on this page · raw message

meta-networking/recipes-connectivity/snort/snort_2.9.13.bb renamed from meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb +3 -2
similarity index 94%
rename from meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
rename to meta-networking/recipes-connectivity/snort/snort_2.9.13.bb
index c2eb95f..1b10dbd 100644
@@ -13,8 +13,8 @@ SRC_URI = "https://www.snort.org/downloads/archive/snort/${BP}.tar.gz \
     file://disable-run-test-program-while-cross-compiling.patch \
 "
 
-SRC_URI[md5sum] = "378e3938b2b5c8e358f942d0ffce18cc"
-SRC_URI[sha256sum] = "9f6b3aeac5a109f55504bd370564ac431cb1773507929dc461626898f33f46cd"
+SRC_URI[md5sum] = "b61ae846af022018b05511076baad60c"
+SRC_URI[sha256sum] = "31447393d15286b848810dd78ab2cb3ad231fcd1f1663f959587690eeea75413"
 
 UPSTREAM_CHECK_URI = "https://www.snort.org/downloads"
 UPSTREAM_CHECK_REGEX = "snort-(?P<pver>\d+(\.\d+)+)\.tar"
@@ -45,6 +45,7 @@ EXTRA_OECONF = " \
 PACKAGECONFIG ?= "openssl lzma"
 PACKAGECONFIG[openssl] = "--with-openssl-includes=${STAGING_INCDIR} --with-openssl-libraries=${STAGING_LIBDIR}, --without-openssl-includes --without-openssl-libraries, openssl,"
 PACKAGECONFIG[lzma] = "--with-lzma-includes=${STAGING_INCDIR} --with-lzma-libraries=${STAGING_LIBDIR}, --without-lzma-includes --without-lzma-libraries, xz,"
+PACKAGECONFIG[appid] = "--enable-open-appid, --disable-open-appid, luajit, bash"
 
 CFLAGS += "-I${STAGING_INCDIR}/tirpc"
 LDFLAGS += " -ltirpc"
Signature · 1 line
2.7.4