summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch6
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/0001-libpcap-search-sysroot-for-headers.patch12
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch26
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch20
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch21
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch18
-rw-r--r--meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch9
7 files changed, 78 insertions, 34 deletions
diff --git a/meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch b/meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch
index 1520553a4..047caec32 100644
--- a/meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch
@@ -1,4 +1,4 @@
1From 815e861721a9c43efddb78521147145ebc7569ca Mon Sep 17 00:00:00 2001 1From 4335c4c61877c0b65ff4ec767e8ad3ad8c73c32d Mon Sep 17 00:00:00 2001
2From: Zhiquan Li <zhiquan.li@windriver.com> 2From: Zhiquan Li <zhiquan.li@windriver.com>
3Date: Fri, 13 Nov 2015 17:40:24 +0800 3Date: Fri, 13 Nov 2015 17:40:24 +0800
4Subject: [PATCH] fix do_package failed since snort 2.9.7.0 4Subject: [PATCH] fix do_package failed since snort 2.9.7.0
@@ -13,6 +13,7 @@ It's a rpm debugedit bug:
13Upstream-Status:Inappropriate [embedded specific] 13Upstream-Status:Inappropriate [embedded specific]
14 14
15Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com> 15Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com>
16
16--- 17---
17 src/snort.h | 2 +- 18 src/snort.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 19 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -30,6 +31,3 @@ index 8308e57..499d157 100644
30 #include "profiler.h" 31 #include "profiler.h"
31 #include "rules.h" 32 #include "rules.h"
32 #include "treenodes.h" 33 #include "treenodes.h"
33--
341.9.1
35
diff --git a/meta-networking/recipes-connectivity/snort/snort/0001-libpcap-search-sysroot-for-headers.patch b/meta-networking/recipes-connectivity/snort/snort/0001-libpcap-search-sysroot-for-headers.patch
index 54c2a9521..2e28cd048 100644
--- a/meta-networking/recipes-connectivity/snort/snort/0001-libpcap-search-sysroot-for-headers.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/0001-libpcap-search-sysroot-for-headers.patch
@@ -1,4 +1,4 @@
1From 4d7ebe3ed6cee72bc7db98bd408d22c10ef5dd82 Mon Sep 17 00:00:00 2001 1From 5875dea90f71350b7205788fbc67e3759077cefe Mon Sep 17 00:00:00 2001
2From: Joe MacDonald <joe@deserted.net> 2From: Joe MacDonald <joe@deserted.net>
3Date: Wed, 20 Nov 2013 16:06:07 -0500 3Date: Wed, 20 Nov 2013 16:06:07 -0500
4Subject: [PATCH] libpcap: search sysroot for headers 4Subject: [PATCH] libpcap: search sysroot for headers
@@ -9,15 +9,16 @@ the search path at the sysroot instead.
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Joe MacDonald <joe@deserted.net> 11Signed-off-by: Joe MacDonald <joe@deserted.net>
12
12--- 13---
13 configure.in | 2 +- 14 configure.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
15 16
16diff --git a/configure.in b/configure.in 17diff --git a/configure.in b/configure.in
17index e52bb6c..8ded35d 100644 18index 62573a8..fded45b 100644
18--- a/configure.in 19--- a/configure.in
19+++ b/configure.in 20+++ b/configure.in
20@@ -78,7 +78,7 @@ case "$host" in 21@@ -69,7 +69,7 @@ case "$host" in
21 linux="yes" 22 linux="yes"
22 AC_DEFINE([LINUX],[1],[Define if Linux]) 23 AC_DEFINE([LINUX],[1],[Define if Linux])
23 AC_SUBST(extra_incl) 24 AC_SUBST(extra_incl)
@@ -26,6 +27,3 @@ index e52bb6c..8ded35d 100644
26 ;; 27 ;;
27 *-hpux10*|*-hpux11*) 28 *-hpux10*|*-hpux11*)
28 AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11]) 29 AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
29--
301.7.10.4
31
diff --git a/meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch b/meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch
index 39e5c9c03..6aa0b736f 100644
--- a/meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/disable-dap-address-space-id.patch
@@ -1,17 +1,27 @@
1From 5a53260a819e2873f58165e96852529719101c53 Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <B40290@freescale.com>
3Date: Mon, 4 Nov 2013 10:39:56 +0800
4Subject: [PATCH] snort: add recipe
5
1Upstream-Status:Inappropriate [embedded specific] 6Upstream-Status:Inappropriate [embedded specific]
2 7
3fix the below error: 8fix the below error:
4checking for dap address space id... configure: 9checking for dap address space id... configure:
5configure: error: cannot run test program while cross compiling 10configure: error: cannot run test program while cross compiling
6 11
7
8Signed-off-by: Chunrong Guo <B40290@freescale.com> 12Signed-off-by: Chunrong Guo <B40290@freescale.com>
9 13
10--- a/configure.in 2013-08-23 00:06:37.239361932 -0500 14---
11+++ b/configure.in 2013-08-23 00:07:32.860266534 -0500 15 configure.in | 34 +++++++++++++++++-----------------
12@@ -679,23 +679,23 @@ 16 1 file changed, 17 insertions(+), 17 deletions(-)
17
18diff --git a/configure.in b/configure.in
19index 6fe5d68..e7636ce 100644
20--- a/configure.in
21+++ b/configure.in
22@@ -698,23 +698,23 @@ if test "x$ac_cv_func_daq_dp_add_dc" = "xyes"; then
13 23
14 AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta]) 24 fi
15 25
16-AC_MSG_CHECKING([for daq address space ID]) 26-AC_MSG_CHECKING([for daq address space ID])
17-AC_RUN_IFELSE( 27-AC_RUN_IFELSE(
@@ -48,5 +58,5 @@ Signed-off-by: Chunrong Guo <B40290@freescale.com>
48+# [DAQ version supports address space ID in header.]) 58+# [DAQ version supports address space ID in header.])
49+#fi 59+#fi
50 60
51 # any sparc platform has to have this one defined. 61 AC_MSG_CHECKING([for daq flow ID])
52 AC_MSG_CHECKING(for sparc) 62 AC_RUN_IFELSE(
diff --git a/meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch b/meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch
index e6afcabaa..04df37c94 100644
--- a/meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/disable-daq-flow-id.patch
@@ -1,16 +1,26 @@
1From 5aa42a3137c657b5eddd4608343aa1854bd7cd27 Mon Sep 17 00:00:00 2001
2From: Zhiquan Li <zhiquan.li@windriver.com>
3Date: Mon, 16 Nov 2015 10:23:00 +0800
4Subject: [PATCH] snort: 2.9.6.0 -> 2.9.7.5
5
1Upstream-Status:Inappropriate [embedded specific] 6Upstream-Status:Inappropriate [embedded specific]
2 7
3fix the below error: 8fix the below error:
4checking for daq flow ID... configure: 9checking for daq flow ID... configure:
5configure: error: cannot run test program while cross compiling 10configure: error: cannot run test program while cross compiling
6 11
12---
13 configure.in | 34 +++++++++++++++++-----------------
14 1 file changed, 17 insertions(+), 17 deletions(-)
7 15
8--- a/configure.in 2015-10-28 10:36:42.918512690 +0800 16diff --git a/configure.in b/configure.in
9+++ b/configure.in 2015-10-28 10:37:36.738510048 +0800 17index e7636ce..2fbd298 100644
10@@ -716,23 +716,23 @@ 18--- a/configure.in
19+++ b/configure.in
20@@ -716,23 +716,23 @@ have_daq_address_space_id="yes"
11 # [DAQ version supports address space ID in header.]) 21 # [DAQ version supports address space ID in header.])
12 #fi 22 #fi
13 23
14-AC_MSG_CHECKING([for daq flow ID]) 24-AC_MSG_CHECKING([for daq flow ID])
15-AC_RUN_IFELSE( 25-AC_RUN_IFELSE(
16-[AC_LANG_PROGRAM( 26-[AC_LANG_PROGRAM(
@@ -45,6 +55,6 @@ configure: error: cannot run test program while cross compiling
45+# AC_DEFINE([HAVE_DAQ_FLOW_ID],[1], 55+# AC_DEFINE([HAVE_DAQ_FLOW_ID],[1],
46+# [DAQ version supports flow ID in header.]) 56+# [DAQ version supports flow ID in header.])
47+#fi 57+#fi
48 58
49 AC_MSG_CHECKING([for DAQ_VERDICT_RETRY]) 59 AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
50 AC_RUN_IFELSE( 60 AC_RUN_IFELSE(
diff --git a/meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch b/meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch
index 1a13298ca..15958a72d 100644
--- a/meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/disable-daq-verdict-retry.patch
@@ -1,16 +1,26 @@
1From b916443d43f2e1eeacfbed0033274a0270ef634d Mon Sep 17 00:00:00 2001
2From: Zhiquan Li <zhiquan.li@windriver.com>
3Date: Mon, 16 Nov 2015 10:23:00 +0800
4Subject: [PATCH] snort: 2.9.6.0 -> 2.9.7.5
5
1Upstream-Status:Inappropriate [embedded specific] 6Upstream-Status:Inappropriate [embedded specific]
2 7
3fix the below error: 8fix the below error:
4checking for DAQ_VERDICT_RETRY... configure: 9checking for DAQ_VERDICT_RETRY... configure:
5configure: error: cannot run test program while cross compiling 10configure: error: cannot run test program while cross compiling
6 11
12---
13 configure.in | 34 +++++++++++++++++-----------------
14 1 file changed, 17 insertions(+), 17 deletions(-)
7 15
8--- a/configure.in 2015-10-28 10:45:18.174487395 +0800 16diff --git a/configure.in b/configure.in
9+++ b/configure.in 2015-10-28 10:45:47.586485951 +0800 17index 2fbd298..62573a8 100644
10@@ -734,23 +734,23 @@ 18--- a/configure.in
19+++ b/configure.in
20@@ -734,23 +734,23 @@ have_daq_flow_id="yes"
11 # [DAQ version supports flow ID in header.]) 21 # [DAQ version supports flow ID in header.])
12 #fi 22 #fi
13 23
14-AC_MSG_CHECKING([for DAQ_VERDICT_RETRY]) 24-AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
15-AC_RUN_IFELSE( 25-AC_RUN_IFELSE(
16-[AC_LANG_PROGRAM( 26-[AC_LANG_PROGRAM(
@@ -45,7 +55,6 @@ configure: error: cannot run test program while cross compiling
45+# AC_DEFINE([HAVE_DAQ_VERDICT_RETRY],[1], 55+# AC_DEFINE([HAVE_DAQ_VERDICT_RETRY],[1],
46+# [DAQ version supports DAQ_VERDICT_RETRY in DAQ_Verdict.]) 56+# [DAQ version supports DAQ_VERDICT_RETRY in DAQ_Verdict.])
47+#fi 57+#fi
48 58
49 # any sparc platform has to have this one defined. 59 # any sparc platform has to have this one defined.
50 AC_MSG_CHECKING(for sparc) 60 AC_MSG_CHECKING(for sparc)
51
diff --git a/meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch b/meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch
index 9dafe6345..79e9f076b 100644
--- a/meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/disable-inaddr-none.patch
@@ -1,3 +1,8 @@
1From a1fdbced4166cb0f35d23b63a59312d86860485a Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <B40290@freescale.com>
3Date: Mon, 4 Nov 2013 10:39:56 +0800
4Subject: [PATCH] snort: add recipe
5
1Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
2 7
3fix the below error: 8fix the below error:
@@ -6,10 +11,15 @@ configure: error: cannot run test program while cross compiling
6 11
7Signed-off-by: Chunrong Guo <B40290@freescale.com> 12Signed-off-by: Chunrong Guo <B40290@freescale.com>
8 13
14---
15 configure.in | 50 ++++++++++++++++----------------------------------
16 1 file changed, 16 insertions(+), 34 deletions(-)
9 17
10--- a/configure.in 2013-08-21 03:56:17.197414789 -0500 18diff --git a/configure.in b/configure.in
11+++ b/configure.in 2013-08-21 23:19:05.298553560 -0500 19index 20d15eb..6fe5d68 100644
12@@ -281,25 +281,7 @@ 20--- a/configure.in
21+++ b/configure.in
22@@ -274,25 +274,7 @@ AC_CHECK_TYPES([int8_t,int16_t,int32_t,int64_t])
13 AC_CHECK_TYPES([boolean]) 23 AC_CHECK_TYPES([boolean])
14 24
15 # In case INADDR_NONE is not defined (like on Solaris) 25 # In case INADDR_NONE is not defined (like on Solaris)
@@ -36,7 +46,7 @@ Signed-off-by: Chunrong Guo <B40290@freescale.com>
36 46
37 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 47 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
38 #include <stdio.h> 48 #include <stdio.h>
39@@ -397,21 +379,21 @@ 49@@ -421,21 +403,21 @@ if test "x$LPCAP" = "xno"; then
40 fi 50 fi
41 fi 51 fi
42 52
diff --git a/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch b/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
index 2becc0624..0404ea0fa 100644
--- a/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
+++ b/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
@@ -1,3 +1,8 @@
1From f46d096015d7402a37a59eb66b8f6b7fbf0cdff0 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 24 May 2017 17:38:53 +0800
4Subject: [PATCH] snort: enable static daq
5
1Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
2 7
3When enable static daq for snort, it calls to daq-modules-config to get link 8When enable static daq for snort, it calls to daq-modules-config to get link
@@ -5,7 +10,11 @@ library and library path. Library path is useless for oe and cause host
5contamination issue. So filter it. 10contamination issue. So filter it.
6 11
7Signed-off-by: Kai Kang <kai.kang@windriver.com> 12Signed-off-by: Kai Kang <kai.kang@windriver.com>
13
8--- 14---
15 configure.in | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
9diff --git a/configure.in b/configure.in 18diff --git a/configure.in b/configure.in
10index fded45b..a247bb9 100644 19index fded45b..a247bb9 100644
11--- a/configure.in 20--- a/configure.in