xref: /OK3568_Linux_fs/buildroot/package/nmap/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_NMAP
2	bool "nmap"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_USE_MMU # fork()
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	select BR2_PACKAGE_LIBLINEAR
7	select BR2_PACKAGE_LIBPCAP
8	select BR2_PACKAGE_NMAP_NMAP \
9	       if !BR2_PACKAGE_NMAP_NCAT && !BR2_PACKAGE_NMAP_NPING
10	help
11	  Nmap ("Network Mapper") is a free and open source (license)
12	  utility for network discovery and security auditing.
13
14	  http://nmap.org
15
16if  BR2_PACKAGE_NMAP
17
18config BR2_PACKAGE_NMAP_NCAT
19	bool "install ncat"
20	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
21	help
22	  Ncat is a feature-packed networking utility which reads and
23	  writes data across networks from the command line. Ncat was
24	  written for the Nmap Project as a much-improved
25	  reimplementation of the venerable Netcat.
26
27	  If symlink to "nc" is installed if neither netcat or
28	  netcat-openbsd is selected.
29
30comment "a symlink from ncat to 'nc' will be installed"
31	depends on BR2_PACKAGE_NMAP_NCAT
32	depends on !BR2_PACKAGE_NETCAT
33	depends on !BR2_PACKAGE_NETCAT_OPENBSD
34
35config BR2_PACKAGE_NMAP_NMAP
36	bool "install nmap"
37	select BR2_PACKAGE_PCRE
38	help
39	  This option installs 'nmap' itself.
40
41config BR2_PACKAGE_NMAP_NPING
42	bool "install nping"
43	help
44	  This option installs the 'nping' tool.
45
46endif
47
48comment "nmap-nmap needs a toolchain w/ C++, threads"
49	depends on BR2_USE_MMU
50	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
51