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