diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-04-04 11:42:09 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-11 11:01:35 +0200 |
commit | 0850d6300982a8b5e2639d750ee24f1ff4a5f70d (patch) | |
tree | b0e1e337a23693a31c1a0bbde573a426b4063f39 /meta-networking | |
parent | 7a65492190588f53ac6c584e927b591449e7b45f (diff) | |
download | meta-openembedded-contrib-0850d6300982a8b5e2639d750ee24f1ff4a5f70d.tar.gz |
daq: move recipe to meta-networking
ERROR: Nothing PROVIDES 'libdnet' (but /home/akuster/oss/clean/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb DEPENDS on or otherwise requires it). Close matches:
libnet
libnewt
libidn
ERROR: Required build target 'daq' has no buildable providers.
Missing or unbuildable dependency chain was: ['daq', 'libdnet']
world build fails for meta-oe.
move daq to meta-networking where snort and libdnet both reside.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/daq/daq_2.0.2.bb | 25 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch | 29 |
2 files changed, 54 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/daq/daq_2.0.2.bb b/meta-networking/recipes-connectivity/daq/daq_2.0.2.bb new file mode 100644 index 0000000000..4cf3f1ceb5 --- /dev/null +++ b/meta-networking/recipes-connectivity/daq/daq_2.0.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "The dump DAQ test the various inline mode features " +HOMEPAGE = "http://www.snort.org" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0" + +PARALLEL_MAKE = "" + +DEPENDS = "libpcap libpcre libdnet" + +SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \ + file://disable-run-test-program-while-cross-compiling.patch " + +# these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking +# this error from test-dependencies script: +# daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink +# +# never look to /usr/local lib while cross compiling + +EXTRA_OECONF = "--disable-nfq-module --disable-ipq-module --includedir=${includedir} \ + --with-libpcap-includes=${STAGING_INCDIR} --with-dnet-includes=${STAGING_LIBDIR}" + +SRC_URI[md5sum] = "865bf9b750a2a2ca632591a3c70b0ea0" +SRC_URI[sha256sum] = "d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8" + +inherit autotools diff --git a/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch new file mode 100644 index 0000000000..12a6cba600 --- /dev/null +++ b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch @@ -0,0 +1,29 @@ +Upstream-Status:Inappropriate [embedded specific] + +fix the below error: +configure: error: cannot run test program while cross compiling + +Signed-off-by: Chunrong Guo <B40290@freescale.com> + +--- a/m4/sf.m4old 2013-08-30 04:08:18.768409680 -0500 ++++ b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500 +@@ -135,19 +135,6 @@ + exit 1 + fi + AC_MSG_CHECKING([for libpcap version >= $1]) +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM( +- [[ +- #include <pcap.h> +- #include <string.h> +- extern char pcap_version[]; +- ]], +- [[ +- if (strcmp(pcap_version, $1) < 0) +- return 1; +- ]])], +- [libpcap_version_1x="yes"], +- [libpcap_version_1x="no"]) + if test "x$libpcap_version_1x" = "xno"; then + AC_MSG_RESULT(no) + echo |