reorganize/rationalize/format package menuconfig,
[openwrt/svn-archive/archive.git] / openwrt / package / snort / Config.in
1 menu "snort............................. Ligthweight Network Intrusion Detection System (NIDS)"
2
3 config BR2_COMPILE_SNORT
4 bool
5 default n
6 depends BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM
7
8 choice
9 prompt "snort............................. Ligthweight Network Intrusion Detection System (NIDS)"
10 tristate
11 optional
12 help
13
14 A ligthweight Network Intrusion Detection System (NIDS)
15
16 http://www.snort.org/
17
18 Depends:
19 - libmysqlclient (for MySQL database logging support)
20 - libnet
21 - libpcap
22 - libpcre
23 - libpq (for PostgreSQL database logging support)
24
25 config BR2_PACKAGE_SNORT_BASIC
26 prompt "snort........................... without database support"
27 tristate
28 select BR2_COMPILE_SNORT
29 select BR2_PACKAGE_LIBNET
30 select BR2_PACKAGE_LIBPCAP
31 select BR2_PACKAGE_LIBPCRE
32
33 config BR2_PACKAGE_SNORT_MYSQL
34 prompt "snort-mysql..................... with MySQL database support"
35 tristate
36 select BR2_COMPILE_SNORT
37 select BR2_PACKAGE_LIBNET
38 select BR2_PACKAGE_LIBPCAP
39 select BR2_PACKAGE_LIBPCRE
40 select BR2_PACKAGE_LIBMYSQLCLIENT
41
42 config BR2_PACKAGE_SNORT_PGSQL
43 prompt "snort-pgsql..................... with PostgreSQL database support"
44 tristate
45 select BR2_COMPILE_SNORT
46 select BR2_PACKAGE_LIBNET
47 select BR2_PACKAGE_LIBPCAP
48 select BR2_PACKAGE_LIBPCRE
49 select BR2_PACKAGE_LIBPQ
50
51 config BR2_PACKAGE_SNORT_CUSTOM
52 prompt "snort-custom.................... customized to your needs"
53 tristate
54 select BR2_COMPILE_SNORT
55 select BR2_PACKAGE_LIBNET
56 select BR2_PACKAGE_LIBPCAP
57 select BR2_PACKAGE_LIBPCRE
58
59 config BR2_PACKAGE_SNORT_ENABLE_DEBUG
60 prompt "debug (enable debugging options, useful for bugreports)"
61 bool
62 default n
63 depends BR2_PACKAGE_SNORT_CUSTOM
64
65 config BR2_PACKAGE_SNORT_ENABLE_INLINE
66 prompt "Inline mode (read packets from iptables instead of libpcap)"
67 bool
68 default n
69 depends BR2_PACKAGE_SNORT_CUSTOM
70 select BR2_PACKAGE_IPTABLES
71
72 config BR2_PACKAGE_SNORT_WITH_MYSQL
73 prompt "MySQL database support"
74 bool
75 default n
76 depends BR2_PACKAGE_SNORT_CUSTOM
77 select BR2_PACKAGE_LIBMYSQLCLIENT
78
79 config BR2_PACKAGE_SNORT_WITH_PGSQL
80 prompt "PostgreSQL database support"
81 bool
82 default n
83 depends BR2_PACKAGE_SNORT_CUSTOM
84 select BR2_PACKAGE_LIBPQ
85
86 endchoice
87
88 endmenu