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