500d287b07
[Thomas: - add comment in Config.in to explain why this package depends on glibc, and specifically why it doesn't build for uClibc and musl. - add hash file. - add 'COPYING' to the list of LICENSE_FILES - add themissing <pkg>_DEPENDENCIES variable in the .mk file, to make sure dependencies are built before netsniff-ng. - add comment in the .mk file explain why we're using the generic-package infrastructure even if the build procedure is essentially ./configure, make, make install. - fix indentation in NETSNIFF_NG_CONFIGURE_CMDS.] Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
905 B
Plaintext
25 lines
905 B
Plaintext
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_HAS_THREADS
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu
|
|
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"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854
|
|
|
|
comment "netsniff-ng needs a toolchain not affected by GCC bug 58854"
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854
|