aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-22 09:26:11 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-22 09:26:11 +0000
commit97f233b93cd62921230137249da9f109b6b76ef6 (patch)
treefc1c6669e5dc22daf60ac14910f61cae0b6c5144
parentf7a6b7ef3de01f3e1ba2016f8185210fe7ff8530 (diff)
downloadupstream-97f233b93cd62921230137249da9f109b6b76ef6.tar.gz
upstream-97f233b93cd62921230137249da9f109b6b76ef6.tar.bz2
upstream-97f233b93cd62921230137249da9f109b6b76ef6.zip
Standardize config structure
SVN-Revision: 1014
-rw-r--r--openwrt/package/pmacct/Config.in12
-rw-r--r--openwrt/package/snort/Config.in3
2 files changed, 6 insertions, 9 deletions
diff --git a/openwrt/package/pmacct/Config.in b/openwrt/package/pmacct/Config.in
index 3c1f9532bb..a0c7cbb5f0 100644
--- a/openwrt/package/pmacct/Config.in
+++ b/openwrt/package/pmacct/Config.in
@@ -11,11 +11,10 @@ config BR2_PACKAGE_PMACCT
Depends: libpcap
choice
- depends BR2_PACKAGE_PMACCT
prompt "nfacctd - NetFlow accounting daemon"
tristate
default m if CONFIG_DEVEL
- default n
+ depends BR2_PACKAGE_PMACCT
optional
config BR2_PACKAGE_NFACCTD_BASIC
@@ -66,12 +65,11 @@ choice
endchoice
choice
- depends BR2_PACKAGE_PMACCT
prompt "pmacctd - IP accounting daemon (libpcap based)"
tristate
- default m if CONFIG_DEVEL
- default n
optional
+ default m if CONFIG_DEVEL
+ depends BR2_PACKAGE_PMACCT
config BR2_PACKAGE_PMACCTD_BASIC
prompt "pmacctd: without database support"
@@ -121,10 +119,10 @@ choice
endchoice
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
tristate
- default n
+ default m if CONFIG_DEVEL
+ depends BR2_PACKAGE_PMACCT
config BR2_PACKAGE_PMACCT_BASIC
tristate
diff --git a/openwrt/package/snort/Config.in b/openwrt/package/snort/Config.in
index db6133545c..ff79cfafdc 100644
--- a/openwrt/package/snort/Config.in
+++ b/openwrt/package/snort/Config.in
@@ -1,8 +1,8 @@
choice
prompt "snort - Ligthweight Network Intrusion Detection System (NIDS)"
tristate
- default n
optional
+ default m if CONFIG_DEVEL
help
A ligthweight Network Intrusion Detection System (NIDS)
@@ -73,4 +73,3 @@ endchoice
config BR2_PACKAGE_SNORT
tristate
default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM
-