summaryrefslogtreecommitdiff
path: root/package/pmacct/Config.in
blob: 3c1f9532bbd057ba09e660266dbb4719ac616ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
config BR2_PACKAGE_PMACCT
	prompt "pmacct - 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 - 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 - IP accounting daemon (libpcap based)"
	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 - 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