diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-16 02:31:54 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-16 02:31:54 +0000 |
commit | b418a072de49818898dc7c0226f5da285e5c3be9 (patch) | |
tree | 2ea8f0cf2e68565de065624a8ebb880c3d63bcba /openwrt/package/pmacct/Config.in | |
parent | f57a147ad85b7efc787714b93fc50eaf06067d64 (diff) |
Add pmacct package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@915 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/pmacct/Config.in')
-rw-r--r-- | openwrt/package/pmacct/Config.in | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/openwrt/package/pmacct/Config.in b/openwrt/package/pmacct/Config.in new file mode 100644 index 000000000..fb88a073b --- /dev/null +++ b/openwrt/package/pmacct/Config.in @@ -0,0 +1,140 @@ +config BR2_PACKAGE_PMACCT + prompt "pmacct - a set of IPv4/IPv6 accounting and aggregation tools" + bool + default y if CONFIG_DEVEL + select BR2_PACKAGE_LIBPCAP + help + A small set of IPv4/IPv6 accounting and aggregation tools + + http://www.ba.cnr.it/~paolo/pmacct/ + + Depends: libpcap + +choice + depends BR2_PACKAGE_PMACCT + prompt "nfacctd - a NetFlow accounting daemon" + tristate + default m if CONFIG_DEVEL + default n + optional + + config BR2_PACKAGE_NFACCTD_BASIC + prompt "nfacctd: without database support" + tristate + + config BR2_PACKAGE_NFACCTD_MYSQL + prompt "nfacctd-mysql: with MySQL database support" + tristate + select BR2_PACKAGE_LIBMYSQLCLIENT + + config BR2_PACKAGE_NFACCTD_PGSQL + prompt "nfacctd-pgsql: with PostgreSQL database support" + tristate + select BR2_PACKAGE_LIBPQ + + config BR2_PACKAGE_NFACCTD_CUSTOM + prompt "nfacctd-custom: customized to your needs" + tristate + + config BR2_PACKAGE_NFACCTD_ENABLE_DEBUG + prompt "debug (enable debugging options, useful for bugreports)" + bool + default n + depends BR2_PACKAGE_NFACCTD_CUSTOM + + config BR2_PACKAGE_NFACCTD_ENABLE_IPV6 + prompt "IPv6 support" + bool + default n + depends BR2_PACKAGE_NFACCTD_CUSTOM + select BR2_PACKAGE_IPTABLES + + config BR2_PACKAGE_NFACCTD_WITH_MYSQL + prompt "MySQL database support" + bool + default n + depends BR2_PACKAGE_NFACCTD_CUSTOM + select BR2_PACKAGE_LIBMYSQLCLIENT + + config BR2_PACKAGE_NFACCTD_WITH_PGSQL + prompt "PostgreSQL database support" + bool + default n + depends BR2_PACKAGE_NFACCTD_CUSTOM + select BR2_PACKAGE_LIBPQ + +endchoice + +choice + depends BR2_PACKAGE_PMACCT + prompt "pmacctd - an IP accounting daemon" + tristate + default m if CONFIG_DEVEL + default n + optional + + config BR2_PACKAGE_PMACCTD_BASIC + prompt "pmacctd: without database support" + tristate + + config BR2_PACKAGE_PMACCTD_MYSQL + prompt "pmacctd-mysql: with MySQL database support" + tristate + select BR2_PACKAGE_LIBMYSQLCLIENT + + config BR2_PACKAGE_PMACCTD_PGSQL + prompt "pmacctd-pgsql: with PostgreSQL database support" + tristate + select BR2_PACKAGE_LIBPQ + + config BR2_PACKAGE_PMACCTD_CUSTOM + prompt "pmacctd-custom: customized to your needs" + tristate + + config BR2_PACKAGE_PMACCTD_ENABLE_DEBUG + prompt "debug (enable debugging options, useful for bugreports)" + bool + default n + depends BR2_PACKAGE_PMACCTD_CUSTOM + + config BR2_PACKAGE_PMACCTD_ENABLE_IPV6 + prompt "IPv6 support" + bool + default n + depends BR2_PACKAGE_PMACCTD_CUSTOM + select BR2_PACKAGE_IPTABLES + + config BR2_PACKAGE_PMACCTD_WITH_MYSQL + prompt "MySQL database support" + bool + default n + depends BR2_PACKAGE_PMACCTD_CUSTOM + select BR2_PACKAGE_LIBMYSQLCLIENT + + config BR2_PACKAGE_PMACCTD_WITH_PGSQL + prompt "PostgreSQL database support" + bool + default n + depends BR2_PACKAGE_PMACCTD_CUSTOM + select BR2_PACKAGE_LIBPQ + +endchoice + +config BR2_PACKAGE_PMACCT_CLIENT + depends BR2_PACKAGE_PMACCT + prompt "pmacct-client: a 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 + +config BR2_PACKAGE_PMACCT_BASIC + tristate + default BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC + +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 + |