1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 18:14:10 +03:00

Standardize config structure

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1014 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-05-22 09:26:11 +00:00
parent 4b522d401b
commit 5740e07504
2 changed files with 6 additions and 9 deletions

View File

@ -11,11 +11,10 @@ config BR2_PACKAGE_PMACCT
Depends: libpcap Depends: libpcap
choice choice
depends BR2_PACKAGE_PMACCT
prompt "nfacctd - NetFlow accounting daemon" prompt "nfacctd - NetFlow accounting daemon"
tristate tristate
default m if CONFIG_DEVEL default m if CONFIG_DEVEL
default n depends BR2_PACKAGE_PMACCT
optional optional
config BR2_PACKAGE_NFACCTD_BASIC config BR2_PACKAGE_NFACCTD_BASIC
@ -66,12 +65,11 @@ choice
endchoice endchoice
choice choice
depends BR2_PACKAGE_PMACCT
prompt "pmacctd - IP accounting daemon (libpcap based)" prompt "pmacctd - IP accounting daemon (libpcap based)"
tristate tristate
default m if CONFIG_DEVEL
default n
optional optional
default m if CONFIG_DEVEL
depends BR2_PACKAGE_PMACCT
config BR2_PACKAGE_PMACCTD_BASIC config BR2_PACKAGE_PMACCTD_BASIC
prompt "pmacctd: without database support" prompt "pmacctd: without database support"
@ -121,10 +119,10 @@ choice
endchoice endchoice
config BR2_PACKAGE_PMACCT_CLIENT config BR2_PACKAGE_PMACCT_CLIENT
depends BR2_PACKAGE_PMACCT
prompt "pmacct-client - Command-line client to gather data from the IMT plugin" if BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_NFACCTD_CUSTOM || BR2_PACKAGE_PMACCTD_BASIC || BR2_PACKAGE_PMACCTD_MYSQL || BR2_PACKAGE_PMACCTD_PGSQL || BR2_PACKAGE_PMACCTD_CUSTOM prompt "pmacct-client - Command-line client to gather data from the IMT plugin" if BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_NFACCTD_CUSTOM || BR2_PACKAGE_PMACCTD_BASIC || BR2_PACKAGE_PMACCTD_MYSQL || BR2_PACKAGE_PMACCTD_PGSQL || BR2_PACKAGE_PMACCTD_CUSTOM
tristate tristate
default n default m if CONFIG_DEVEL
depends BR2_PACKAGE_PMACCT
config BR2_PACKAGE_PMACCT_BASIC config BR2_PACKAGE_PMACCT_BASIC
tristate tristate

View File

@ -1,8 +1,8 @@
choice choice
prompt "snort - Ligthweight Network Intrusion Detection System (NIDS)" prompt "snort - Ligthweight Network Intrusion Detection System (NIDS)"
tristate tristate
default n
optional optional
default m if CONFIG_DEVEL
help help
A ligthweight Network Intrusion Detection System (NIDS) A ligthweight Network Intrusion Detection System (NIDS)
@ -73,4 +73,3 @@ endchoice
config BR2_PACKAGE_SNORT config BR2_PACKAGE_SNORT
tristate tristate
default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM