diff options
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 1520553a45..047caec324 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 @@ | |||
| 1 | From 815e861721a9c43efddb78521147145ebc7569ca Mon Sep 17 00:00:00 2001 | 1 | From 4335c4c61877c0b65ff4ec767e8ad3ad8c73c32d Mon Sep 17 00:00:00 2001 |
| 2 | From: Zhiquan Li <zhiquan.li@windriver.com> | 2 | From: Zhiquan Li <zhiquan.li@windriver.com> |
| 3 | Date: Fri, 13 Nov 2015 17:40:24 +0800 | 3 | Date: Fri, 13 Nov 2015 17:40:24 +0800 |
| 4 | Subject: [PATCH] fix do_package failed since snort 2.9.7.0 | 4 | Subject: [PATCH] fix do_package failed since snort 2.9.7.0 |
| @@ -13,6 +13,7 @@ It's a rpm debugedit bug: | |||
| 13 | Upstream-Status:Inappropriate [embedded specific] | 13 | Upstream-Status:Inappropriate [embedded specific] |
| 14 | 14 | ||
| 15 | Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com> | 15 | Signed-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 | -- | ||
| 34 | 1.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 54c2a9521b..2e28cd0486 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 @@ | |||
| 1 | From 4d7ebe3ed6cee72bc7db98bd408d22c10ef5dd82 Mon Sep 17 00:00:00 2001 | 1 | From 5875dea90f71350b7205788fbc67e3759077cefe Mon Sep 17 00:00:00 2001 |
| 2 | From: Joe MacDonald <joe@deserted.net> | 2 | From: Joe MacDonald <joe@deserted.net> |
| 3 | Date: Wed, 20 Nov 2013 16:06:07 -0500 | 3 | Date: Wed, 20 Nov 2013 16:06:07 -0500 |
| 4 | Subject: [PATCH] libpcap: search sysroot for headers | 4 | Subject: [PATCH] libpcap: search sysroot for headers |
| @@ -9,15 +9,16 @@ the search path at the sysroot instead. | |||
| 9 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
| 10 | 10 | ||
| 11 | Signed-off-by: Joe MacDonald <joe@deserted.net> | 11 | Signed-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 | ||
| 16 | diff --git a/configure.in b/configure.in | 17 | diff --git a/configure.in b/configure.in |
| 17 | index e52bb6c..8ded35d 100644 | 18 | index 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 | -- | ||
| 30 | 1.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 39e5c9c03a..6aa0b736f9 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 @@ | |||
| 1 | From 5a53260a819e2873f58165e96852529719101c53 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chunrong Guo <B40290@freescale.com> | ||
| 3 | Date: Mon, 4 Nov 2013 10:39:56 +0800 | ||
| 4 | Subject: [PATCH] snort: add recipe | ||
| 5 | |||
| 1 | Upstream-Status:Inappropriate [embedded specific] | 6 | Upstream-Status:Inappropriate [embedded specific] |
| 2 | 7 | ||
| 3 | fix the below error: | 8 | fix the below error: |
| 4 | checking for dap address space id... configure: | 9 | checking for dap address space id... configure: |
| 5 | configure: error: cannot run test program while cross compiling | 10 | configure: error: cannot run test program while cross compiling |
| 6 | 11 | ||
| 7 | |||
| 8 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | 12 | Signed-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 | |||
| 18 | diff --git a/configure.in b/configure.in | ||
| 19 | index 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 e6afcabaa8..04df37c94f 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 @@ | |||
| 1 | From 5aa42a3137c657b5eddd4608343aa1854bd7cd27 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Zhiquan Li <zhiquan.li@windriver.com> | ||
| 3 | Date: Mon, 16 Nov 2015 10:23:00 +0800 | ||
| 4 | Subject: [PATCH] snort: 2.9.6.0 -> 2.9.7.5 | ||
| 5 | |||
| 1 | Upstream-Status:Inappropriate [embedded specific] | 6 | Upstream-Status:Inappropriate [embedded specific] |
| 2 | 7 | ||
| 3 | fix the below error: | 8 | fix the below error: |
| 4 | checking for daq flow ID... configure: | 9 | checking for daq flow ID... configure: |
| 5 | configure: error: cannot run test program while cross compiling | 10 | configure: 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 | 16 | diff --git a/configure.in b/configure.in |
| 9 | +++ b/configure.in 2015-10-28 10:37:36.738510048 +0800 | 17 | index 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 1a13298ca2..15958a72d0 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 @@ | |||
| 1 | From b916443d43f2e1eeacfbed0033274a0270ef634d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Zhiquan Li <zhiquan.li@windriver.com> | ||
| 3 | Date: Mon, 16 Nov 2015 10:23:00 +0800 | ||
| 4 | Subject: [PATCH] snort: 2.9.6.0 -> 2.9.7.5 | ||
| 5 | |||
| 1 | Upstream-Status:Inappropriate [embedded specific] | 6 | Upstream-Status:Inappropriate [embedded specific] |
| 2 | 7 | ||
| 3 | fix the below error: | 8 | fix the below error: |
| 4 | checking for DAQ_VERDICT_RETRY... configure: | 9 | checking for DAQ_VERDICT_RETRY... configure: |
| 5 | configure: error: cannot run test program while cross compiling | 10 | configure: 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 | 16 | diff --git a/configure.in b/configure.in |
| 9 | +++ b/configure.in 2015-10-28 10:45:47.586485951 +0800 | 17 | index 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 9dafe63459..79e9f076b1 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 @@ | |||
| 1 | From a1fdbced4166cb0f35d23b63a59312d86860485a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chunrong Guo <B40290@freescale.com> | ||
| 3 | Date: Mon, 4 Nov 2013 10:39:56 +0800 | ||
| 4 | Subject: [PATCH] snort: add recipe | ||
| 5 | |||
| 1 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-Status: Inappropriate [embedded specific] |
| 2 | 7 | ||
| 3 | fix the below error: | 8 | fix the below error: |
| @@ -6,10 +11,15 @@ configure: error: cannot run test program while cross compiling | |||
| 6 | 11 | ||
| 7 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | 12 | Signed-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 | 18 | diff --git a/configure.in b/configure.in |
| 11 | +++ b/configure.in 2013-08-21 23:19:05.298553560 -0500 | 19 | index 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 2becc06244..0404ea0fab 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 @@ | |||
| 1 | From f46d096015d7402a37a59eb66b8f6b7fbf0cdff0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Kai Kang <kai.kang@windriver.com> | ||
| 3 | Date: Wed, 24 May 2017 17:38:53 +0800 | ||
| 4 | Subject: [PATCH] snort: enable static daq | ||
| 5 | |||
| 1 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-Status: Inappropriate [embedded specific] |
| 2 | 7 | ||
| 3 | When enable static daq for snort, it calls to daq-modules-config to get link | 8 | When 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 | |||
| 5 | contamination issue. So filter it. | 10 | contamination issue. So filter it. |
| 6 | 11 | ||
| 7 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 13 | |||
| 8 | --- | 14 | --- |
| 15 | configure.in | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 9 | diff --git a/configure.in b/configure.in | 18 | diff --git a/configure.in b/configure.in |
| 10 | index fded45b..a247bb9 100644 | 19 | index fded45b..a247bb9 100644 |
| 11 | --- a/configure.in | 20 | --- a/configure.in |
