Config.in 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. Provides a method to measure the bandwidth that travels
  10. through the machine, grouped by subnet and IP. This
  11. information can be stored locally in /var/lib/bandwidthd and
  12. can be configured to generate static HTML pages which can be
  13. hosted by a web server.
  14. It is highly recommended that the target has some way of
  15. retaining the time between reboots. (e.g. NTP on boot or an
  16. RTC)
  17. It is suggested to use sqlite for logfile storage but works
  18. fine without, and can be completely ignored if the
  19. postgresql portion is used.
  20. As upstream is no longer actively maintained, a fork is
  21. available on github that works on making BandwidthD's build
  22. process more compatible with buildroot's.
  23. Upstream:
  24. http://bandwidthd.sourceforge.net/
  25. Github fork:
  26. http://github.com/nroach44/bandwidthd
  27. if BR2_PACKAGE_BANDWIDTHD
  28. config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
  29. bool "enable postgresql log target support"
  30. depends on !BR2_STATIC_LIBS
  31. depends on BR2_USE_WCHAR # postgresql
  32. depends on !BR2_OPTIMIZE_FAST # postgresql
  33. select BR2_PACKAGE_POSTGRESQL
  34. help
  35. Enable support for logging the bandwidthd data to a remote
  36. (or local) postgresql server. This data can then be viewed
  37. through a php site. See README in the source code
  38. (github.com/nroach44/bandwidthd) for more information.
  39. comment "postgresql support needs a toolchain w/ dynamic library, wchar"
  40. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  41. comment "postgresql support can't be built with Optimize for fast"
  42. depends on BR2_OPTIMIZE_FAST
  43. config BR2_PACKAGE_BANDWIDTHD_SQLITE3
  44. bool "enable sqlite3 log storage"
  45. select BR2_PACKAGE_SQLITE
  46. help
  47. Enable support for storing the aggregated data in an sqlite
  48. db instead of a plain text file.
  49. endif