menu           "snort-wireless.................... Ligthweight Wireless Network Intrusion Detection System (NIDS)"

config BR2_COMPILE_SNORT_WIRELESS
	tristate
	default n
	depends BR2_PACKAGE_SNORT_WIRELESS_BASIC || BR2_PACKAGE_SNORT_WIRELESS_MYSQL || BR2_PACKAGE_SNORT_WIRELESS_PGSQL || BR2_PACKAGE_SNORT_WIRELESS_CUSTOM

choice
	prompt "snort-wireless.................... Ligthweight Wireless Network Intrusion Detection System (NIDS)"
	tristate
	optional
	help
	  
	  A ligthweight Wireless Network Intrusion Detection System (NIDS)
	  
	  http://www.snort-wireless.org/
	  
	  Depends: 
	    - libmysqlclient (for MySQL database logging support)
	    - libnet
	    - libpcap
	    - libpcre
	    - libpq (for PostgreSQL database logging support)
	  
	
	config BR2_PACKAGE_SNORT_WIRELESS_BASIC
		prompt   "snort-wireless..................   without database support"
		tristate
		select BR2_COMPILE_SNORT_WIRELESS
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
	
	config BR2_PACKAGE_SNORT_WIRELESS_MYSQL
		prompt   "snort-wireless-mysql............   with MySQL database support"
		tristate
		select BR2_COMPILE_SNORT_WIRELESS
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
		select BR2_PACKAGE_LIBMYSQLCLIENT
	
	config BR2_PACKAGE_SNORT_WIRELESS_PGSQL
		prompt   "snort-wireless-pgsql............   with PostgreSQL database support"
		tristate
		select BR2_COMPILE_SNORT_WIRELESS
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
		select BR2_PACKAGE_LIBPQ
	
	config BR2_PACKAGE_SNORT_WIRELESS_CUSTOM
		prompt   "snort-wireless-custom...........   customized to your needs"
		tristate
		select BR2_COMPILE_SNORT_WIRELESS
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
	
	config BR2_PACKAGE_SNORT_WIRELESS_ENABLE_DEBUG
		prompt "enable debug (enable debugging options, useful for bugreports)"
		bool
		default n
		depends BR2_PACKAGE_SNORT_WIRELESS_CUSTOM

	config BR2_PACKAGE_SNORT_WIRELESS_ENABLE_INLINE
		prompt "enable inline mode (read packets from iptables instead of libpcap)"
		bool
		default n
		depends BR2_PACKAGE_SNORT_WIRELESS_CUSTOM
		select BR2_PACKAGE_IPTABLES

	config BR2_PACKAGE_SNORT_WIRELESS_WITH_MYSQL
		prompt "with MySQL database support"
		bool
		default n
		depends BR2_PACKAGE_SNORT_WIRELESS_CUSTOM
		select BR2_PACKAGE_LIBMYSQLCLIENT

	config BR2_PACKAGE_SNORT_WIRELESS_WITH_PGSQL
		prompt "with PostgreSQL database support"
		bool
		default n
		depends BR2_PACKAGE_SNORT_WIRELESS_CUSTOM
		select BR2_PACKAGE_LIBPQ

endchoice

endmenu
