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