xref: /OK3568_Linux_fs/buildroot/package/kismet/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyuncomment "kismet needs a toolchain w/ threads, C++, gcc >= 5"
2*4882a593Smuzhiyun	depends on BR2_USE_MMU
3*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || \
4*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS || \
5*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
6*4882a593Smuzhiyun	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig BR2_PACKAGE_KISMET
9*4882a593Smuzhiyun	bool "kismet"
10*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
11*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
12*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
13*4882a593Smuzhiyun	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
14*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
15*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPCAP
16*4882a593Smuzhiyun	select BR2_PACKAGE_PROTOBUF_C
17*4882a593Smuzhiyun	select BR2_PACKAGE_SQLITE
18*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	  Kismet is a wireless network and device detector, sniffer,
21*4882a593Smuzhiyun	  wardriving tool, and WIDS (wireless intrusion detection)
22*4882a593Smuzhiyun	  framework.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	  Kismet works with Wi-Fi interfaces, Bluetooth interfaces, some
25*4882a593Smuzhiyun	  SDR (software defined radio) hardware like the RTLSDR, and
26*4882a593Smuzhiyun	  other specialized capture hardware.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  http://www.kismetwireless.net
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunif BR2_PACKAGE_KISMET
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig BR2_PACKAGE_KISMET_PYTHON_TOOLS
33*4882a593Smuzhiyun	bool "Install python tools"
34*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
35*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
36*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON3
37*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # protobuf
38*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
39*4882a593Smuzhiyun	select BR2_PACKAGE_PROTOBUF
40*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON_NUMPY # runtime for RTLAMR and RTLADSB
41*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON_PROTOBUF # runtime
42*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON_SERIAL # runtime for Freaklabs Zigbee
43*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON_SETUPTOOLS
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  Enable Python and Python-related tools (RTL_433, RTLAMR,
46*4882a593Smuzhiyun	  RTLADSB and Freaklabs Zigbee)
47*4882a593Smuzhiyun
48*4882a593Smuzhiyuncomment "python tools needs python3"
49*4882a593Smuzhiyun	depends on !BR2_PACKAGE_PYTHON3
50*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
51*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
52*4882a593Smuzhiyun
53*4882a593Smuzhiyuncomment "python tools needs a glibc or musl toolchain w/ dynamic library"
54*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
55*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
56*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
57*4882a593Smuzhiyun	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunconfig BR2_PACKAGE_KISMET_SERVER
60*4882a593Smuzhiyun	bool "Install server"
61*4882a593Smuzhiyun	default y
62*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
63*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # dlfcn.h
64*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
65*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
66*4882a593Smuzhiyun	select BR2_PACKAGE_PROTOBUF
67*4882a593Smuzhiyun
68*4882a593Smuzhiyuncomment "server needs a toolchain w/ dynamic library, wchar"
69*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
70*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
71*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
72*4882a593Smuzhiyun
73*4882a593Smuzhiyuncomment "server needs a toolchain not affected by GCC bug 64735"
74*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
75*4882a593Smuzhiyun
76*4882a593Smuzhiyunendif
77