daq: add recipe
PATCH v3 1/1 daq: add recipe
From: Chunrong Guo <[email protected]>
*The dump DAQ test the various inline mode features *snort depends daq
--- meta-oe/recipes-connectivity/daq/daq_2.0.1.bb | 18 ++++++++++++++++++ .../daq/files/disable-check-pcap-version.patch | 19 +++++++++++++++++++ 2 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb create mode 100644 meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
meta-oe/recipes-connectivity/daq/daq_2.0.1.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "The dump DAQ test the various inline mode features " +HOMEPAGE = "http://www.snort.org" +LICENSE = "GPLv2" + +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0" + + +DEPENDS = "libpcap libpcre " + +SRC_URI[md5sum] = "044aa3663d44580d005293eeb8ccf175" +SRC_URI[sha256sum] = "ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d" + +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz\ + file://disable-check-pcap-version.patch " + +inherit autotools + +
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch new file +19 -0
@@ -0,0 +1,19 @@ +Upstream-Status:Inappropriate [embedded specific] + +fix the below error: +checking for libpcap version >= "1.0.0"... configure +configure: error: cannot run test program while cross compiling + +Signed-off-by: Chunrong Guo <[email protected]> + +--- a/configure.ac 2013-08-22 02:37:02.453253534 -0500 ++++ b/configure.ac 2013-08-22 02:37:53.008254362 -0500 +@@ -179,7 +179,7 @@ + [enable_pcap_module="$enableval"], [enable_pcap_module="$DEFAULT_ENABLE"]) + if test "$enable_pcap_module" = yes; then + AC_CHECK_HEADER([pcap.h], [], [enable_pcap_module=no]) +- AC_CHECK_PCAP_VER("1.0.0") ++ #AC_CHECK_PCAP_VER("1.0.0") + if test "$enable_pcap_module" = yes; then + STATIC_LIBS="${STATIC_LIBS} -lpcap" + fi
Signature · 1 line
1.7.5.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a few minor style nitpicks, see below
Op 29-08-13 08:45, [email protected] schreef:
There's a stray space at the end. Can you also add a SUMMARY field?
These checksums tend to go below the SRC_URI
new file mode 100644
@@ -0,0 +1,19 @@
I guess it doesn't matter either way since OE actually has dependency tracking, but would it make sense to fix the AC_CHECK_PCAP_VER to stop using AC_TRY_RUN?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFSHvgZMkyGM64RGpERApt/AJsEqzPKL5OHmzUefLfrzNxBUMlTIQCfRZfO X3WZ7aQfuil0gVtyjfCAxoQ=
=na+u
-----END PGP SIGNATURE-----