Files
buildroot/package/bandwidthd/Config.in
Bernd Kuhls 9e7172ceac package/postgresql: bump version to 18.1
Release notes:
https://www.postgresql.org/docs/release/18.0/
https://www.postgresql.org/docs/release/18.1/

Please note that upgrading a PostgreSQL server to a newer major version
requires a manual upgrade not provided by buildroot:
https://www.postgresql.org/docs/18/upgrading.html

Removed configure options for spinlocks:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e25626677f8076eb3ce94586136c5464ee154381

Upstream removed support for toolchains not providing atomics support:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=81385261362962deb9861b39b509aeffe213721d

Added dependency to !BR2_sparc to disable build with defconfig
bootlin-sparc-uclibc to fix a build error:

../src/include/port/atomics.h:99:2: error:
 #error "could not find an implementation of pg_atomic_uint32"

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-29 18:31:17 +01:00

67 lines
2.1 KiB
Plaintext

config BR2_PACKAGE_BANDWIDTHD
bool "bandwidthd"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_LIBPCAP
select BR2_PACKAGE_GD
help
BandwidthD - Bandwidth monitoring
Provides a method to measure the bandwidth that travels
through the machine, grouped by subnet and IP. This
information can be stored locally in /var/lib/bandwidthd and
can be configured to generate static HTML pages which can be
hosted by a web server.
It is highly recommended that the target has some way of
retaining the time between reboots. (e.g. NTP on boot or an
RTC)
It is suggested to use sqlite for logfile storage but works
fine without, and can be completely ignored if the
postgresql portion is used.
As upstream is no longer actively maintained, a fork is
available on github that works on making BandwidthD's build
process more compatible with buildroot's.
Upstream:
http://bandwidthd.sourceforge.net/
Github fork:
http://github.com/nroach44/bandwidthd
if BR2_PACKAGE_BANDWIDTHD
config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
bool "enable postgresql log target support"
depends on BR2_USE_MMU # postgresql
depends on !BR2_sparc # postgresql
depends on BR2_USE_WCHAR # postgresql
depends on BR2_ENABLE_LOCALE # postgresql
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
depends on !BR2_STATIC_LIBS # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Enable support for logging the bandwidthd data to a remote
(or local) postgresql server. This data can then be viewed
through a php site. See README in the source code
(github.com/nroach44/bandwidthd) for more information.
comment "postgresql support needs a toolchain w/ dynamic library, wchar"
depends on !BR2_sparc
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "postgresql support can't be built with Optimize for fast"
depends on !BR2_sparc
depends on BR2_OPTIMIZE_FAST
config BR2_PACKAGE_BANDWIDTHD_SQLITE3
bool "enable sqlite3 log storage"
select BR2_PACKAGE_SQLITE
help
Enable support for storing the aggregated data in an sqlite
db instead of a plain text file.
endif