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