buildroot/package/netsniff-ng/Config.in

37 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_NETSNIFF_NG
bool "netsniff-ng"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_spin_lock
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP # liburcu
select BR2_PACKAGE_LIBPCAP
select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
select BR2_PACKAGE_LIBURCU
help
netsniff-ng is a free, performant Linux network analyzer and
networking toolkit. If you will, the Swiss army knife for
network packets.
http://netsniff-ng.org
if BR2_PACKAGE_NETSNIFF_NG
config BR2_PACKAGE_NETSNIFF_NG_MAUSEZAHN
bool "mausezahn"
default y
# Build with uClibc fails due to missing ceill()
depends on !BR2_TOOLCHAIN_USES_UCLIBC
select BR2_PACKAGE_LIBCLI
select BR2_PACKAGE_LIBNET
comment "mausezahn needs glibc or musl toolchain"
depends on BR2_TOOLCHAIN_USES_UCLIBC
endif
comment "netsniff-ng needs a toolchain w/ NPTL, C++, headers >= 3.0"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0