![Thomas De Schampheleire](/assets/img/avatar_default.png)
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
comment "kismet needs a toolchain w/ threads, C++"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_KISMET
|
|
bool "kismet"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
|
depends on BR2_USE_MMU # fork()
|
|
select BR2_PACKAGE_NCURSES
|
|
select BR2_PACKAGE_NCURSES_TARGET_PANEL
|
|
select BR2_PACKAGE_LIBPCAP
|
|
select BR2_PACKAGE_LIBNL
|
|
help
|
|
Kismet - 802.11 layer2 wireless network detector, sniffer,
|
|
and intrusion detection system.
|
|
|
|
Kismet will work with any wireless card which supports raw
|
|
monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and
|
|
802.11g traffic.
|
|
|
|
Kismet identifies networks by passively collecting packets
|
|
and detecting standard named networks, detecting (and given
|
|
time, decloaking) hidden networks, and infering the presence
|
|
of nonbeaconing networks via data traffic.
|
|
|
|
http://www.kismetwireless.net
|
|
|
|
if BR2_PACKAGE_KISMET
|
|
|
|
config BR2_PACKAGE_KISMET_CLIENT
|
|
bool "Install client"
|
|
|
|
config BR2_PACKAGE_KISMET_DRONE
|
|
bool "Install drone"
|
|
|
|
config BR2_PACKAGE_KISMET_SERVER
|
|
bool "Install server"
|
|
default y
|
|
|
|
endif
|