6e75a990ae
Add daq3 package to be able to add the snort3 package. daq3 is not compatatible with snort as daq_load_modules has been removed daq3 package has been created from the daq package, here is a summary of the changes: - Drop patch (not needed anymore) - Enable parallel build as there is no more tokdefs.h - Drop libdnet dependency - Drop host-bison and host-flex dependencies - Drop libpcap workarounds - ipq module dropped since version 3.0.0-alpha1 and80c62799a9
- Add LICENSE file (same content than COPYING) - Update hash of COPYING (project name and GPLv2 text updated with46e8722da2
) - Add a dependency on gcc 4.9 for {t,u}h_{d,s}port that are protected on glibc by _FAVOR_BSD (and so !defined _GNU_SOURCE) until version 2.19: https://sourceware.org/git/?p=glibc.git;a=commit;h=7011c2622fe3e10a29dbe74f06aaebd07710127d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
31 lines
760 B
Makefile
31 lines
760 B
Makefile
################################################################################
|
|
#
|
|
# daq3
|
|
#
|
|
################################################################################
|
|
|
|
DAQ3_VERSION = 3.0.3
|
|
DAQ3_SITE = $(call github,snort3,libdaq,v$(DAQ3_VERSION))
|
|
DAQ3_LICENSE = GPL-2.0
|
|
DAQ3_LICENSE_FILES = COPYING LICENSE
|
|
DAQ3_INSTALL_STAGING = YES
|
|
DAQ3_DEPENDENCIES = host-pkgconf
|
|
# From git
|
|
DAQ3_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y)
|
|
DAQ3_DEPENDENCIES += libnetfilter_queue
|
|
DAQ3_CONF_OPTS += --enable-nfq-module
|
|
else
|
|
DAQ3_CONF_OPTS += --disable-nfq-module
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
|
DAQ3_DEPENDENCIES += libpcap
|
|
DAQ3_CONF_OPTS += --enable-pcap-module
|
|
else
|
|
DAQ3_CONF_OPTS += --disable-pcap-module
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|