diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-connectivity/daq | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/daq')
-rw-r--r-- | meta-oe/recipes-connectivity/daq/daq_2.0.2.bb | 25 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch | 29 |
2 files changed, 54 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb new file mode 100644 index 000000000..4cf3f1ceb --- /dev/null +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "The dump DAQ test the various inline mode features " | ||
2 | HOMEPAGE = "http://www.snort.org" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0" | ||
5 | |||
6 | PARALLEL_MAKE = "" | ||
7 | |||
8 | DEPENDS = "libpcap libpcre libdnet" | ||
9 | |||
10 | SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \ | ||
11 | file://disable-run-test-program-while-cross-compiling.patch " | ||
12 | |||
13 | # these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking | ||
14 | # this error from test-dependencies script: | ||
15 | # daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink | ||
16 | # | ||
17 | # never look to /usr/local lib while cross compiling | ||
18 | |||
19 | EXTRA_OECONF = "--disable-nfq-module --disable-ipq-module --includedir=${includedir} \ | ||
20 | --with-libpcap-includes=${STAGING_INCDIR} --with-dnet-includes=${STAGING_LIBDIR}" | ||
21 | |||
22 | SRC_URI[md5sum] = "865bf9b750a2a2ca632591a3c70b0ea0" | ||
23 | SRC_URI[sha256sum] = "d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8" | ||
24 | |||
25 | inherit autotools | ||
diff --git a/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch new file mode 100644 index 000000000..12a6cba60 --- /dev/null +++ b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | fix the below error: | ||
4 | configure: error: cannot run test program while cross compiling | ||
5 | |||
6 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | ||
7 | |||
8 | --- a/m4/sf.m4old 2013-08-30 04:08:18.768409680 -0500 | ||
9 | +++ b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500 | ||
10 | @@ -135,19 +135,6 @@ | ||
11 | exit 1 | ||
12 | fi | ||
13 | AC_MSG_CHECKING([for libpcap version >= $1]) | ||
14 | - AC_RUN_IFELSE( | ||
15 | - [AC_LANG_PROGRAM( | ||
16 | - [[ | ||
17 | - #include <pcap.h> | ||
18 | - #include <string.h> | ||
19 | - extern char pcap_version[]; | ||
20 | - ]], | ||
21 | - [[ | ||
22 | - if (strcmp(pcap_version, $1) < 0) | ||
23 | - return 1; | ||
24 | - ]])], | ||
25 | - [libpcap_version_1x="yes"], | ||
26 | - [libpcap_version_1x="no"]) | ||
27 | if test "x$libpcap_version_1x" = "xno"; then | ||
28 | AC_MSG_RESULT(no) | ||
29 | echo | ||