blob: 14d809f518e3336fb5f7b2ec98d5b8284d978d0e [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"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_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"