Fix for file injection is broken on centos computes with Cirros images LP #1587960
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / bandwidthd / Config.in
1 config BR2_PACKAGE_BANDWIDTHD
2         bool "bandwidthd"
3         depends on BR2_USE_MMU # fork()
4         select BR2_PACKAGE_LIBPNG
5         select BR2_PACKAGE_LIBPCAP
6         select BR2_PACKAGE_GD
7         help
8           BandwidthD - Bandwidth monitoring
9
10           Provides a method to measure the bandwidth that travels
11           through the machine, grouped by subnet and IP. This
12           information can be stored locally in /var/lib/bandwidthd and
13           can be configured to generate static HTML pages which can be
14           hosted by a web server.
15
16           It is highly recommended that the target has some way of
17           retaining the time between reboots. (e.g. NTP on boot or an
18           RTC)
19
20           It is suggested to use sqlite for logfile storage but works
21           fine without, and can be completely ignored if the
22           postgresql portion is used.
23
24           As upstream is no longer actively maintained, a fork is
25           available on github that works on making BandwidthD's build
26           process more compatible with buildroot's.
27
28           Upstream: http://bandwidthd.sourceforge.net/
29           Github fork: http://github.com/nroach44/bandwidthd
30
31 if BR2_PACKAGE_BANDWIDTHD
32
33 config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
34         bool "enable postgresql log target support"
35         select BR2_PACKAGE_POSTGRESQL
36         depends on !BR2_STATIC_LIBS
37         help
38           Enable support for logging the bandwidthd data to a remote
39           (or local) postgresql server. This data can then be viewed
40           through a php site. See README in the source code
41           (github.com/nroach44/bandwidthd) for more information.
42
43 comment "postgresql support needs a toolchain w/ dynamic library"
44         depends on BR2_STATIC_LIBS
45
46 config BR2_PACKAGE_BANDWIDTHD_SQLITE3
47         bool "enable sqlite3 log storage"
48         select BR2_PACKAGE_SQLITE
49         help
50           Enable support for storing the aggregated data in an sqlite
51           db instead of a plain text file.
52
53 endif