blob: 8e5ee66a2ac93e8449e6e497759d2e7585c5dc76 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "The dump DAQ test the various inline mode features "
2HOMEPAGE = "http://www.snort.org"
3SECTION = "libs"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
6
7PARALLEL_MAKE = ""
8
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009DEPENDS = "libpcap libpcre libdnet bison-native"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010
11SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012 file://disable-run-test-program-while-cross-compiling.patch \
13 file://0001-correct-the-location-of-unistd.h.patch \
14 "
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050015SRC_URI[sha256sum] = "bdc4e5a24d1ea492c39ee213a63c55466a2e8114b6a9abed609927ae13a7705e"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016# these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking
17# this error from test-dependencies script:
18# daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink
19#
20# never look to /usr/local lib while cross compiling
21
22EXTRA_OECONF = "--disable-nfq-module --disable-ipq-module --includedir=${includedir} \
Patrick Williamsddad1a12017-02-23 20:36:32 -060023 --with-libpcap-includes=${STAGING_INCDIR} --with-dnet-includes=${STAGING_LIBDIR}"
24
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Patrick Williamsddad1a12017-02-23 20:36:32 -060026PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
Patrick Williamsb48b7b42016-08-17 15:04:38 -050028inherit autotools
Brad Bishopd7bf8c12018-02-25 22:55:05 -050029
30DISABLE_STATIC = ""
31
32BBCLASSEXTEND = "native"