snort: add recipe
PATCH v3 1/3 snort: add recipe
From: Chunrong Guo <[email protected]>
*snort - a free lightweight network intrusion detection
system for UNIX and Windows
Signed-off-by Chunrong Guo <[email protected]>
--- .../snort/files/disable-dap-address-space-id.patch | 52 +++++++++ .../snort/files/disable-inaddr-none.patch | 75 ++++++++++++++ .../recipes-connectivity/snort/files/snort.init | 109 ++++++++++++++++++++ .../recipes-connectivity/snort/snort_2.9.4.6.bb | 71 +++++++++++++ 4 files changed, 307 insertions(+), 0 deletions(-) create mode 100644 meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch create mode 100644 meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch create mode 100644 meta-networking/recipes-connectivity/snort/files/snort.init create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch new file +52 -0
@@ -0,0 +1,52 @@ +Upstream-Status:Inappropriate [embedded specific] + +fix the below error: +checking for dap address space id... configure: +configure: error: cannot run test program while cross compiling + + +Signed-off-by: Chunrong Guo <[email protected]> + +--- a/configure.in 2013-08-23 00:06:37.239361932 -0500 ++++ b/configure.in 2013-08-23 00:07:32.860266534 -0500 +@@ -679,23 +679,23 @@ + + AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta]) + +-AC_MSG_CHECKING([for daq address space ID]) +-AC_RUN_IFELSE( +-[AC_LANG_PROGRAM( +-[[ +-#include <daq.h> +-]], +-[[ +- DAQ_PktHdr_t hdr; +- hdr.address_space_id = 0; +-]])], +-[have_daq_address_space_id="yes"], +-[have_daq_address_space_id="no"]) +-AC_MSG_RESULT($have_daq_address_space_id) +-if test "x$have_daq_address_space_id" = "xyes"; then +- AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1], +- [DAQ version supports address space ID in header.]) +-fi ++#AC_MSG_CHECKING([for daq address space ID]) ++#AC_RUN_IFELSE( ++#[AC_LANG_PROGRAM( ++#[[ ++##include <daq.h> ++#]], ++#[[ ++# DAQ_PktHdr_t hdr; ++# hdr.address_space_id = 0; ++#]])], ++have_daq_address_space_id="yes" ++#[have_daq_address_space_id="no"]) ++#AC_MSG_RESULT($have_daq_address_space_id) ++#if test "x$have_daq_address_space_id" = "xyes"; then ++# AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1], ++# [DAQ version supports address space ID in header.]) ++#fi + + # any sparc platform has to have this one defined. + AC_MSG_CHECKING(for sparc)
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch new file +75 -0
75 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/files/snort.init new file +109 -0
109 lines not on this page · raw message
meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb new file +71 -0
71 lines not on this page · raw message
Signature · 1 line
1.7.5.4