update buildroot to 2017.02.11
This commit is contained in:
22
bsp/buildroot-2017.02.11/package/netsniff-ng/Config.in
Normal file
22
bsp/buildroot-2017.02.11/package/netsniff-ng/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_NETSNIFF_NG
|
||||
bool "netsniff-ng"
|
||||
select BR2_PACKAGE_LIBNL
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
select BR2_PACKAGE_LIBCLI
|
||||
select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
|
||||
select BR2_PACKAGE_LIBURCU
|
||||
select BR2_PACKAGE_LIBNET
|
||||
# Build with uClibc fails due to missing ceill()
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
help
|
||||
netsniff-ng is a free, performant Linux network analyzer and
|
||||
networking toolkit. If you will, the Swiss army knife for
|
||||
network packets.
|
||||
|
||||
comment "netsniff-ng needs a glibc or musl toolchain w/ threads, headers >= 3.0"
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC \
|
||||
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 62e8aa970a4f46cdaddf54daf8ea26e7ae9f9f358efaf0651799c8c4e937c286 netsniff-ng-v0.6.2.tar.gz
|
||||
51
bsp/buildroot-2017.02.11/package/netsniff-ng/netsniff-ng.mk
Normal file
51
bsp/buildroot-2017.02.11/package/netsniff-ng/netsniff-ng.mk
Normal file
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
#
|
||||
# netsniff-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NETSNIFF_NG_VERSION = v0.6.2
|
||||
NETSNIFF_NG_SITE = $(call github,netsniff-ng,netsniff-ng,$(NETSNIFF_NG_VERSION))
|
||||
NETSNIFF_NG_LICENSE = GPLv2
|
||||
NETSNIFF_NG_LICENSE_FILES = README COPYING
|
||||
# Prevent netsniff-ng configure script from finding a host installed nacl
|
||||
NETSNIFF_NG_CONF_ENV = \
|
||||
NACL_INC_DIR=/dev/null \
|
||||
NACL_LIB_DIR=/dev/null
|
||||
NETSNIFF_NG_DEPENDENCIES = \
|
||||
libnl libpcap libcli libnetfilter_conntrack \
|
||||
liburcu libnet
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GEOIP),y)
|
||||
NETSNIFF_NG_DEPENDENCIES += geoip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
NETSNIFF_NG_DEPENDENCIES += ncurses
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
NETSNIFF_NG_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
# hand-written configure script and makefile
|
||||
define NETSNIFF_NG_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(NETSNIFF_NG_CONF_ENV) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
./configure \
|
||||
--prefix=$(TARGET_DIR)/usr \
|
||||
)
|
||||
endef
|
||||
|
||||
define NETSNIFF_NG_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define NETSNIFF_NG_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
PREFIX=$(TARGET_DIR)/usr ETCDIR=$(TARGET_DIR)/etc install -C $(@D)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user