summaryrefslogtreecommitdiffstats
path: root/package/netsniff-ng/Config.in
blob: a2494a915d6a0bfcab67d9614b6957f5fc5dbabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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()
	# Build with musl fails due to various header issues
	depends on BR2_TOOLCHAIN_USES_GLIBC
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu
	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 an (e)glibc toolchain w/ threads, headers >= 3.0"
	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC \
		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854

comment "netsniff-ng needs a toolchain not affected by GCC bug 58854"
	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854
OpenPOWER on IntegriCloud