summaryrefslogtreecommitdiffstats
path: root/openwrt/package/snort/Config.in
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 06:41:36 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 06:41:36 +0000
commit7eaccfbb4e6544d4af3e389c1020e76d95f89fe6 (patch)
tree7447f09ef9421fb72eadde3de35efc00f30e37d1 /openwrt/package/snort/Config.in
parentb10d5eeac9f5b4d71e7568e38a0f1ee4be704841 (diff)
Add snort package, with experimental -custom package for build-time package customizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@667 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/snort/Config.in')
-rw-r--r--openwrt/package/snort/Config.in63
1 files changed, 63 insertions, 0 deletions
diff --git a/openwrt/package/snort/Config.in b/openwrt/package/snort/Config.in
new file mode 100644
index 000000000..6107842a5
--- /dev/null
+++ b/openwrt/package/snort/Config.in
@@ -0,0 +1,63 @@
+choice
+ prompt "snort"
+ tristate
+ default n
+ optional
+ help
+ A ligthweight Network Intrusion Detection System (NIDS)
+
+ http://www.snort.org/
+
+ Depends: libnet, libpcap, libpcre
+
+
+ config BR2_PACKAGE_SNORT_BASIC
+ prompt "snort: without database support"
+ tristate
+ select BR2_PACKAGE_LIBNET
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBPCRE
+
+ config BR2_PACKAGE_SNORT_MYSQL
+ prompt "snort-mysql: with MySQL database support"
+ tristate
+ select BR2_PACKAGE_LIBNET
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBPCRE
+ select BR2_PACKAGE_LIBMYSQLCLIENT
+
+ config BR2_PACKAGE_SNORT_PGSQL
+ prompt "snort-pgsql: with PostgreSQL database support"
+ tristate
+ select BR2_PACKAGE_LIBNET
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBPCRE
+ select BR2_PACKAGE_LIBPQ
+
+ config BR2_PACKAGE_SNORT_CUSTOM
+ prompt "snort-custom: customized to your needs"
+ tristate
+ select BR2_PACKAGE_LIBNET
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBPCRE
+
+ config BR2_PACKAGE_SNORT_WITH_MYSQL
+ prompt "MySQL database support"
+ bool
+ default y
+ depends BR2_PACKAGE_SNORT_CUSTOM
+ select BR2_PACKAGE_LIBMYSQLCLIENT
+
+ config BR2_PACKAGE_SNORT_WITH_PGSQL
+ prompt "PostgreSQL database support"
+ bool
+ default y
+ depends BR2_PACKAGE_SNORT_CUSTOM
+ select BR2_PACKAGE_LIBPQ
+
+endchoice
+
+config BR2_PACKAGE_SNORT
+ tristate
+ default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL
+