snort: upgrade 2.9.7.5 -> 2.9.11.1
PATCH 1/1 snort: upgrade 2.9.7.5 -> 2.9.11.1
* Update SRC_URI
* Drop 0001-fix-do_package-failed-since-snort-2.9.7.0.patch since the issue had been fixed upstream.
* Drop the following patches and merge their modifications to disable-run-test-program-while-cross-compiling.patch:
disable-dap-address-space-id.patch disable-daq-flow-id.patch disable-daq-verdict-retry.patch disable-inaddr-none.patch
* Add disable-run-test-program-while-cross-compiling.patch to fix configure error: cannot run test program while cross compiling.
The variables have_daq_real_addresses, have_daq_ext_modflow, have_daq_queryflow, have_daq_data_channel_flags and have_daq_data_channel_separate_ip_versions are set to no since they are for daq 2.2.2 but we have daq 2.0.6 in meta-networking layer.
---
...fix-do_package-failed-since-snort-2.9.7.0.patch | 33 ---
.../snort/snort/disable-dap-address-space-id.patch | 62 -----
.../snort/snort/disable-daq-flow-id.patch | 60 -----
.../snort/snort/disable-daq-verdict-retry.patch | 60 -----
.../snort/snort/disable-inaddr-none.patch | 85 -------
...le-run-test-program-while-cross-compiling.patch | 254 +++++++++++++++++++++
.../snort/{snort_2.9.7.5.bb => snort_2.9.11.1.bb} | 12 +-
7 files changed, 258 insertions(+), 308 deletions(-)
delete mode 100644 meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch
delete mode 100644 meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch
delete mode 100644 meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch
delete mode 100644 meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch
delete mode 100644 meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch
create mode 100644 meta-networking/recipes-connectivity/snort/snort/disable-run-test-program-while-cross-compiling.patch
rename meta-networking/recipes-connectivity/snort/{snort_2.9.7.5.bb => snort_2.9.11.1.bb} (89%)meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 4335c4c61877c0b65ff4ec767e8ad3ad8c73c32d Mon Sep 17 00:00:00 2001 -From: Zhiquan Li <[email protected]> -Date: Fri, 13 Nov 2015 17:40:24 +0800 -Subject: [PATCH] fix do_package failed since snort 2.9.7.0 - -Remove redundant '/' as a workround for below error: -/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character - -It's a rpm debugedit bug: -* http://sourceforge.net/p/snort/mailman/message/34130268/ -* https://bugzilla.redhat.com/show_bug.cgi?id=304121 - -Upstream-Status:Inappropriate [embedded specific] - -Signed-off-by: Zhiquan Li <[email protected]> - ---- - src/snort.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/snort.h b/src/snort.h -index 8308e57..499d157 100644 ---- a/src/snort.h -+++ b/src/snort.h -@@ -39,7 +39,7 @@ - #include "sfdaq.h" - #include "sf_types.h" - #include "sfutil/sflsq.h" --#include "sfutil//sfActionQueue.h" -+#include "sfutil/sfActionQueue.h" - #include "profiler.h" - #include "rules.h" - #include "treenodes.h"
meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch deleted +0 -62
62 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch deleted +0 -60
60 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch deleted +0 -60
60 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch deleted +0 -85
85 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort/disable-run-test-program-while-cross-compiling.patch new file +254 -0
254 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb renamed from meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb +4 -8
@@ -6,19 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5" DEPENDS = "xz libpcap libpcre daq libdnet util-linux daq-native libtirpc" -SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \ +SRC_URI = "https://www.snort.org/downloads/snort/${BP}.tar.gz \ file://snort.init \ - file://disable-inaddr-none.patch \ - file://disable-dap-address-space-id.patch \ - file://disable-daq-flow-id.patch \ - file://disable-daq-verdict-retry.patch \ file://0001-libpcap-search-sysroot-for-headers.patch \ - file://0001-fix-do_package-failed-since-snort-2.9.7.0.patch \ file://fix-host-contamination-when-enable-static-daq.patch \ + file://disable-run-test-program-while-cross-compiling.patch \ " -SRC_URI[tarball.md5sum] = "fd271788c0f8876be87a858a9142f202" -SRC_URI[tarball.sha256sum] = "ad03f11b5301b16642199a86aa90388eaa53f5003f83b0c5595745a490047be1" +SRC_URI[md5sum] = "378e3938b2b5c8e358f942d0ffce18cc" +SRC_URI[sha256sum] = "9f6b3aeac5a109f55504bd370564ac431cb1773507929dc461626898f33f46cd" UPSTREAM_CHECK_URI = "https://www.snort.org/downloads" UPSTREAM_CHECK_REGEX = "snort-(?P<pver>\d+(\.\d+)+)\.tar"
Signature · 1 line
2.7.4