summaryrefslogtreecommitdiff
path: root/openwrt/package/pmacct/Config.in
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-23 23:54:50 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-23 23:54:50 +0000
commit2e3edee782be78ab9ccec5eadcdf30751107c872 (patch)
treeb5128d1dda74b9f72058ae56872683eabb1f7f5d /openwrt/package/pmacct/Config.in
parent4b015226a8908683267c80ce6685b7d31d8793e3 (diff)
Move complex packages to their own menu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1033 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/pmacct/Config.in')
-rw-r--r--openwrt/package/pmacct/Config.in93
1 files changed, 57 insertions, 36 deletions
diff --git a/openwrt/package/pmacct/Config.in b/openwrt/package/pmacct/Config.in
index b4b2e4daad..af4868e0fa 100644
--- a/openwrt/package/pmacct/Config.in
+++ b/openwrt/package/pmacct/Config.in
@@ -1,42 +1,65 @@
+menu "pmacct - IPv4/IPv6 accounting and aggregation tools"
+
config BR2_PACKAGE_PMACCT
- prompt "pmacct - IPv4/IPv6 accounting and aggregation tools"
bool
- default m if CONFIG_DEVEL
- help
- A small set of IPv4/IPv6 accounting and aggregation tools
-
- http://www.ba.cnr.it/~paolo/pmacct/
-
- Depends: libpcap
+ default n
+ select BR2_PACKAGE_LIBPCAP
+
+config BR2_PACKAGE_PMACCT_BASIC
+ bool
+ default n
+ depends BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC || BR2_PACKAGE_PMACCT_CLIENT
+ select BR2_PACKAGE_PMACCT
+
+config BR2_PACKAGE_PMACCT_MYSQL
+ bool
+ default n
+ depends BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL
+ select BR2_PACKAGE_PMACCT
+ select BR2_PACKAGE_LIBMYSQLCLIENT
+
+config BR2_PACKAGE_PMACCT_PGSQL
+ bool
+ default n
+ depends BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL
+ select BR2_PACKAGE_PMACCT
+ select BR2_PACKAGE_LIBPQ
choice
prompt "nfacctd - NetFlow accounting daemon"
tristate
default m if CONFIG_DEVEL
- depends BR2_PACKAGE_PMACCT
optional
+ help
+
+ An IPv4/IPv6 Netflow accounting and aggregation daemon
+
+ http://www.ba.cnr.it/~paolo/pmacct/
+
+ Depends:
+ - libmysqlclient (for MySQL database logging support)
+ - libpq (for PostgreSQL database logging support)
+
config BR2_PACKAGE_NFACCTD_BASIC
prompt "nfacctd: without database support"
tristate
- select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_PMACCT_BASIC
config BR2_PACKAGE_NFACCTD_MYSQL
prompt "nfacctd-mysql: with MySQL database support"
tristate
- select BR2_PACKAGE_LIBPCAP
- select BR2_PACKAGE_LIBMYSQLCLIENT
+ select BR2_PACKAGE_PMACCT_MYSQL
config BR2_PACKAGE_NFACCTD_PGSQL
prompt "nfacctd-pgsql: with PostgreSQL database support"
tristate
- select BR2_PACKAGE_LIBPCAP
- select BR2_PACKAGE_LIBPQ
+ select BR2_PACKAGE_PMACCT_PGSQL
config BR2_PACKAGE_NFACCTD_CUSTOM
prompt "nfacctd-custom: customized to your needs"
tristate
- select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_PMACCT
config BR2_PACKAGE_NFACCTD_ENABLE_DEBUG
prompt "debug (enable debugging options, useful for bugreports)"
@@ -70,30 +93,39 @@ choice
prompt "pmacctd - IP accounting daemon (libpcap based)"
tristate
default m if CONFIG_DEVEL
- depends BR2_PACKAGE_PMACCT
optional
+ help
+
+ An IPv4/IPv6 libpcap-based accounting and aggregation daemon
+
+ http://www.ba.cnr.it/~paolo/pmacct/
+
+ Depends:
+ - libpcap
+ - libmysqlclient (for MySQL database logging support)
+ - libpq (for PostgreSQL database logging support)
+
+
config BR2_PACKAGE_PMACCTD_BASIC
prompt "pmacctd: without database support"
tristate
- select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_PMACCT_BASIC
config BR2_PACKAGE_PMACCTD_MYSQL
prompt "pmacctd-mysql: with MySQL database support"
tristate
- select BR2_PACKAGE_LIBPCAP
- select BR2_PACKAGE_LIBMYSQLCLIENT
+ select BR2_PACKAGE_PMACCT_MYSQL
config BR2_PACKAGE_PMACCTD_PGSQL
prompt "pmacctd-pgsql: with PostgreSQL database support"
tristate
- select BR2_PACKAGE_LIBPCAP
- select BR2_PACKAGE_LIBPQ
+ select BR2_PACKAGE_PMACCT_PGSQL
config BR2_PACKAGE_PMACCTD_CUSTOM
prompt "pmacctd-custom: customized to your needs"
tristate
- select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_PMACCT
config BR2_PACKAGE_PMACCTD_ENABLE_DEBUG
prompt "debug (enable debugging options, useful for bugreports)"
@@ -126,18 +158,7 @@ endchoice
config BR2_PACKAGE_PMACCT_CLIENT
prompt "pmacct-client - Command-line client to gather data from the IMT plugin"
tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_PMACCT
-
-config BR2_PACKAGE_PMACCT_BASIC
- tristate
- default BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC || BR2_PACKAGE_PMACCT_CLIENT
-
-config BR2_PACKAGE_PMACCT_MYSQL
- tristate
- default BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL
-
-config BR2_PACKAGE_PMACCT_PGSQL
- tristate
- default BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL
+ default n
+ select BR2_PACKAGE_PMACCT
+endmenu