Standardize config structure
[openwrt.git] / package / pmacct / Config.in
1 config BR2_PACKAGE_PMACCT
2 prompt "pmacct - IPv4/IPv6 accounting and aggregation tools"
3 bool
4 default y if CONFIG_DEVEL
5 select BR2_PACKAGE_LIBPCAP
6 help
7 A small set of IPv4/IPv6 accounting and aggregation tools
8
9 http://www.ba.cnr.it/~paolo/pmacct/
10
11 Depends: libpcap
12
13 choice
14 prompt "nfacctd - NetFlow accounting daemon"
15 tristate
16 default m if CONFIG_DEVEL
17 depends BR2_PACKAGE_PMACCT
18 optional
19
20 config BR2_PACKAGE_NFACCTD_BASIC
21 prompt "nfacctd: without database support"
22 tristate
23
24 config BR2_PACKAGE_NFACCTD_MYSQL
25 prompt "nfacctd-mysql: with MySQL database support"
26 tristate
27 select BR2_PACKAGE_LIBMYSQLCLIENT
28
29 config BR2_PACKAGE_NFACCTD_PGSQL
30 prompt "nfacctd-pgsql: with PostgreSQL database support"
31 tristate
32 select BR2_PACKAGE_LIBPQ
33
34 config BR2_PACKAGE_NFACCTD_CUSTOM
35 prompt "nfacctd-custom: customized to your needs"
36 tristate
37
38 config BR2_PACKAGE_NFACCTD_ENABLE_DEBUG
39 prompt "debug (enable debugging options, useful for bugreports)"
40 bool
41 default n
42 depends BR2_PACKAGE_NFACCTD_CUSTOM
43
44 config BR2_PACKAGE_NFACCTD_ENABLE_IPV6
45 prompt "IPv6 support"
46 bool
47 default n
48 depends BR2_PACKAGE_NFACCTD_CUSTOM
49 select BR2_PACKAGE_IPTABLES
50
51 config BR2_PACKAGE_NFACCTD_WITH_MYSQL
52 prompt "MySQL database support"
53 bool
54 default n
55 depends BR2_PACKAGE_NFACCTD_CUSTOM
56 select BR2_PACKAGE_LIBMYSQLCLIENT
57
58 config BR2_PACKAGE_NFACCTD_WITH_PGSQL
59 prompt "PostgreSQL database support"
60 bool
61 default n
62 depends BR2_PACKAGE_NFACCTD_CUSTOM
63 select BR2_PACKAGE_LIBPQ
64
65 endchoice
66
67 choice
68 prompt "pmacctd - IP accounting daemon (libpcap based)"
69 tristate
70 optional
71 default m if CONFIG_DEVEL
72 depends BR2_PACKAGE_PMACCT
73
74 config BR2_PACKAGE_PMACCTD_BASIC
75 prompt "pmacctd: without database support"
76 tristate
77
78 config BR2_PACKAGE_PMACCTD_MYSQL
79 prompt "pmacctd-mysql: with MySQL database support"
80 tristate
81 select BR2_PACKAGE_LIBMYSQLCLIENT
82
83 config BR2_PACKAGE_PMACCTD_PGSQL
84 prompt "pmacctd-pgsql: with PostgreSQL database support"
85 tristate
86 select BR2_PACKAGE_LIBPQ
87
88 config BR2_PACKAGE_PMACCTD_CUSTOM
89 prompt "pmacctd-custom: customized to your needs"
90 tristate
91
92 config BR2_PACKAGE_PMACCTD_ENABLE_DEBUG
93 prompt "debug (enable debugging options, useful for bugreports)"
94 bool
95 default n
96 depends BR2_PACKAGE_PMACCTD_CUSTOM
97
98 config BR2_PACKAGE_PMACCTD_ENABLE_IPV6
99 prompt "IPv6 support"
100 bool
101 default n
102 depends BR2_PACKAGE_PMACCTD_CUSTOM
103 select BR2_PACKAGE_IPTABLES
104
105 config BR2_PACKAGE_PMACCTD_WITH_MYSQL
106 prompt "MySQL database support"
107 bool
108 default n
109 depends BR2_PACKAGE_PMACCTD_CUSTOM
110 select BR2_PACKAGE_LIBMYSQLCLIENT
111
112 config BR2_PACKAGE_PMACCTD_WITH_PGSQL
113 prompt "PostgreSQL database support"
114 bool
115 default n
116 depends BR2_PACKAGE_PMACCTD_CUSTOM
117 select BR2_PACKAGE_LIBPQ
118
119 endchoice
120
121 config BR2_PACKAGE_PMACCT_CLIENT
122 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
123 tristate
124 default m if CONFIG_DEVEL
125 depends BR2_PACKAGE_PMACCT
126
127 config BR2_PACKAGE_PMACCT_BASIC
128 tristate
129 default BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC
130
131 config BR2_PACKAGE_PMACCT_MYSQL
132 tristate
133 default BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL
134
135 config BR2_PACKAGE_PMACCT_PGSQL
136 tristate
137 default BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL
138
This page took 0.059869 seconds and 5 git commands to generate.