update buildroot to 2017.02.11
This commit is contained in:
22
bsp/buildroot-2017.02.11/package/conntrack-tools/Config.in
Normal file
22
bsp/buildroot-2017.02.11/package/conntrack-tools/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_CONNTRACK_TOOLS
|
||||
bool "conntrack-tools"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
|
||||
select BR2_PACKAGE_LIBNETFILTER_CTHELPER
|
||||
select BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
|
||||
select BR2_PACKAGE_LIBNETFILTER_QUEUE
|
||||
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
help
|
||||
The conntrack-tools are a set of tools targeted at
|
||||
system administrators.
|
||||
They are conntrack, the userspace command line interface,
|
||||
and conntrackd, the userspace daemon.
|
||||
|
||||
http://www.netfilter.org/projects/conntrack-tools/
|
||||
|
||||
comment "conntrack-tools needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) || \
|
||||
BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# From ftp://ftp.netfilter.org/pub/conntrack-tools/conntrack-tools-1.4.4.tar.bz2.{md5sum,sha1sum}
|
||||
md5 acd9e0b27cf16ae3092ba900e4d7560e conntrack-tools-1.4.4.tar.bz2
|
||||
sha1 25b36fb6832373ef899bade3b82adf5382b9a05b conntrack-tools-1.4.4.tar.bz2
|
||||
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# conntrack-tools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CONNTRACK_TOOLS_VERSION = 1.4.4
|
||||
CONNTRACK_TOOLS_SOURCE = conntrack-tools-$(CONNTRACK_TOOLS_VERSION).tar.bz2
|
||||
CONNTRACK_TOOLS_SITE = http://www.netfilter.org/projects/conntrack-tools/files
|
||||
CONNTRACK_TOOLS_DEPENDENCIES = host-pkgconf \
|
||||
libnetfilter_conntrack libnetfilter_cthelper libnetfilter_cttimeout \
|
||||
libnetfilter_queue host-bison host-flex
|
||||
CONNTRACK_TOOLS_LICENSE = GPLv2+
|
||||
CONNTRACK_TOOLS_LICENSE_FILES = COPYING
|
||||
|
||||
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
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
CONNTRACK_TOOLS_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
|
||||
CONNTRACK_TOOLS_DEPENDENCIES += libtirpc host-pkgconf
|
||||
endif
|
||||
|
||||
CONNTRACK_TOOLS_CONF_ENV = CFLAGS="$(CONNTRACK_TOOLS_CFLAGS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user