Corrected missing dependency
[openwrt.git] / package / pmacct / Config.in
1 menu "pmacct............................ IPv4/IPv6 accounting and aggregation tools"
2
3 config BR2_COMPILE_PMACCT
4 tristate
5 default n
6 depends BR2_COMPILE_PMACCT_BASIC || BR2_COMPILE_PMACCT_MYSQL || BR2_COMPILE_PMACCT_PGSQL || BR2_COMPILE_PMACCT_CUSTOM
7
8 config BR2_COMPILE_PMACCT_BASIC
9 tristate
10 default n
11 depends BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC
12 select BR2_COMPILE_PMACCT
13
14 config BR2_COMPILE_PMACCT_MYSQL
15 tristate
16 default n
17 depends BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL
18 select BR2_COMPILE_PMACCT
19
20 config BR2_COMPILE_PMACCT_PGSQL
21 tristate
22 default n
23 depends BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL
24 select BR2_COMPILE_PMACCT
25
26 config BR2_COMPILE_PMACCT_CUSTOM
27 tristate
28 default n
29 depends BR2_PACKAGE_NFACCTD_CUSTOM || BR2_PACKAGE_PMACCTD_CUSTOM
30 select BR2_COMPILE_PMACCT
31
32 choice
33 prompt "nfacctd......................... NetFlow accounting daemon"
34 tristate
35 default m if CONFIG_DEVEL
36 optional
37 help
38
39 An IPv4/IPv6 Netflow accounting and aggregation daemon
40
41 http://www.ba.cnr.it/~paolo/pmacct/
42
43 Depends:
44 - libmysqlclient (for MySQL database logging support)
45 - libpq (for PostgreSQL database logging support)
46
47 config BR2_PACKAGE_NFACCTD_BASIC
48 prompt "nfacctd....................... built without database support"
49 tristate
50 select BR2_COMPILE_PMACCT_BASIC
51 select BR2_PACKAGE_LIBPCAP
52
53 config BR2_PACKAGE_NFACCTD_MYSQL
54 prompt "nfacctd-mysql................. built with MySQL database support"
55 tristate
56 select BR2_COMPILE_PMACCT_MYSQL
57 select BR2_PACKAGE_LIBPCAP
58 select BR2_PACKAGE_LIBMYSQLCLIENT
59
60 config BR2_PACKAGE_NFACCTD_PGSQL
61 prompt "nfacctd-pgsql................. built with PostgreSQL database support"
62 tristate
63 select BR2_COMPILE_PMACCT_PGSQL
64 select BR2_PACKAGE_LIBPCAP
65 select BR2_PACKAGE_LIBPQ
66
67 config BR2_PACKAGE_NFACCTD_CUSTOM
68 prompt "nfacctd-custom................ customized to your needs"
69 tristate
70 select BR2_COMPILE_PMACCT_CUSTOM
71 select BR2_PACKAGE_LIBPCAP
72
73 config BR2_COMPILE_NFACCTD_ENABLE_DEBUG
74 prompt "debug (enable debugging options, useful for bugreports)"
75 bool
76 default n
77 depends BR2_PACKAGE_NFACCTD_CUSTOM
78
79 config BR2_COMPILE_NFACCTD_ENABLE_IPV6
80 prompt "IPv6 support"
81 bool
82 default n
83 depends BR2_PACKAGE_NFACCTD_CUSTOM
84
85 config BR2_COMPILE_NFACCTD_WITH_MYSQL
86 prompt "MySQL database support"
87 bool
88 default n
89 depends BR2_PACKAGE_NFACCTD_CUSTOM
90 select BR2_PACKAGE_LIBMYSQLCLIENT
91
92 config BR2_COMPILE_NFACCTD_WITH_PGSQL
93 prompt "PostgreSQL database support"
94 bool
95 default n
96 depends BR2_PACKAGE_NFACCTD_CUSTOM
97 select BR2_PACKAGE_LIBPQ
98
99 endchoice
100
101 choice
102 prompt "pmacctd......................... IP accounting daemon (libpcap based)"
103 tristate
104 default m if CONFIG_DEVEL
105 optional
106 help
107
108 An IPv4/IPv6 libpcap-based accounting and aggregation daemon
109
110 http://www.ba.cnr.it/~paolo/pmacct/
111
112 Depends:
113 - libpcap
114 - libmysqlclient (for MySQL database logging support)
115 - libpq (for PostgreSQL database logging support)
116
117
118 config BR2_PACKAGE_PMACCTD_BASIC
119 prompt "pmacctd....................... built without database support"
120 tristate
121 select BR2_COMPILE_PMACCT_BASIC
122 select BR2_PACKAGE_LIBPCAP
123
124 config BR2_PACKAGE_PMACCTD_MYSQL
125 prompt "pmacctd-mysql................. built with MySQL database support"
126 tristate
127 select BR2_COMPILE_PMACCT_MYSQL
128 select BR2_PACKAGE_LIBPCAP
129 select BR2_PACKAGE_LIBMYSQLCLIENT
130
131 config BR2_PACKAGE_PMACCTD_PGSQL
132 prompt "pmacctd-pgsql................. built with PostgreSQL database support"
133 tristate
134 select BR2_COMPILE_PMACCT_PGSQL
135 select BR2_PACKAGE_LIBPCAP
136 select BR2_PACKAGE_LIBPQ
137
138 config BR2_PACKAGE_PMACCTD_CUSTOM
139 prompt "pmacctd-custom................ customized to your needs"
140 tristate
141 select BR2_COMPILE_PMACCT_CUSTOM
142 select BR2_PACKAGE_LIBPCAP
143
144 config BR2_COMPILE_PMACCTD_ENABLE_DEBUG
145 prompt "debug (enable debugging options, useful for bugreports)"
146 bool
147 default n
148 depends BR2_PACKAGE_PMACCTD_CUSTOM
149
150 config BR2_COMPILE_PMACCTD_ENABLE_IPV6
151 prompt "IPv6 support"
152 bool
153 default n
154 depends BR2_PACKAGE_PMACCTD_CUSTOM
155
156 config BR2_COMPILE_PMACCTD_WITH_MYSQL
157 prompt "MySQL database support"
158 bool
159 default n
160 depends BR2_PACKAGE_PMACCTD_CUSTOM
161 select BR2_PACKAGE_LIBMYSQLCLIENT
162
163 config BR2_COMPILE_PMACCTD_WITH_PGSQL
164 prompt "PostgreSQL database support"
165 bool
166 default n
167 depends BR2_PACKAGE_PMACCTD_CUSTOM
168 select BR2_PACKAGE_LIBPQ
169
170 endchoice
171
172 config BR2_PACKAGE_PMACCT_CLIENT
173 prompt "pmacct-client................... Command-line client to gather data from the IMT plugin"
174 tristate
175 default n
176 select BR2_COMPILE_PMACCT
177
178 endmenu
This page took 0.065931 seconds and 5 git commands to generate.