2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-04 05:16:46 +02:00
|
|
|
#
|
|
|
|
# conntrack-tools
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-04 05:16:46 +02:00
|
|
|
|
2016-08-23 15:19:09 +02:00
|
|
|
CONNTRACK_TOOLS_VERSION = 1.4.4
|
2012-05-04 05:16:46 +02:00
|
|
|
CONNTRACK_TOOLS_SOURCE = conntrack-tools-$(CONNTRACK_TOOLS_VERSION).tar.bz2
|
|
|
|
CONNTRACK_TOOLS_SITE = http://www.netfilter.org/projects/conntrack-tools/files
|
2012-10-22 17:47:52 +02:00
|
|
|
CONNTRACK_TOOLS_DEPENDENCIES = host-pkgconf \
|
2012-10-30 03:29:51 +01:00
|
|
|
libnetfilter_conntrack libnetfilter_cthelper libnetfilter_cttimeout \
|
2013-03-25 09:17:07 +01:00
|
|
|
libnetfilter_queue host-bison host-flex
|
2017-03-30 15:43:32 +02:00
|
|
|
CONNTRACK_TOOLS_LICENSE = GPL-2.0+
|
2012-08-12 00:27:27 +02:00
|
|
|
CONNTRACK_TOOLS_LICENSE_FILES = COPYING
|
2012-05-04 05:16:46 +02:00
|
|
|
|
2015-11-30 16:40:39 +01:00
|
|
|
CONNTRACK_TOOLS_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
# Some of conntrack-tools source files include both linux/in.h (via
|
|
|
|
# linux/netfilter.h for kernel headers >= 4.2) and netinet/in.h, which
|
|
|
|
# causes some symbol conflicts when musl is used. Defining __GLIBC__
|
|
|
|
# works around that issue since the kernel headers are prepared to
|
|
|
|
# avoid redefinition of certain symbols when they see __GLIBC__.
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
|
|
CONNTRACK_TOOLS_CFLAGS += -D__GLIBC__
|
|
|
|
endif
|
|
|
|
|
2012-11-10 12:42:38 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
2015-11-30 16:40:39 +01:00
|
|
|
CONNTRACK_TOOLS_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
|
2015-07-26 20:45:14 +02:00
|
|
|
CONNTRACK_TOOLS_DEPENDENCIES += libtirpc host-pkgconf
|
2012-11-10 12:42:38 +01:00
|
|
|
endif
|
|
|
|
|
2015-11-30 16:40:39 +01:00
|
|
|
CONNTRACK_TOOLS_CONF_ENV = CFLAGS="$(CONNTRACK_TOOLS_CFLAGS)"
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|