Config.in 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_USE_MMU # postgresql
  31. depends on BR2_USE_WCHAR # postgresql
  32. depends on BR2_ENABLE_LOCALE # postgresql
  33. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
  34. depends on !BR2_STATIC_LIBS # postgresql
  35. depends on !BR2_OPTIMIZE_FAST # postgresql
  36. select BR2_PACKAGE_POSTGRESQL
  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. comment "postgresql support needs a toolchain w/ dynamic library, wchar"
  43. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  44. comment "postgresql support can't be built with Optimize for fast"
  45. depends on BR2_OPTIMIZE_FAST
  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. endif