Files
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

88 lines
2.5 KiB
Plaintext

config BR2_PACKAGE_ZABBIX
bool "zabbix"
depends on BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_PCRE2
help
Zabbix is an enterprise-class open source distributed
monitoring solution. Zabbix is free of cost. Zabbix is
written and distributed under the GPL General Public License
version 2.
https://zabbix.com
if BR2_PACKAGE_ZABBIX
comment "zabbix server needs C++ and threads or wchar and dynamic libs"
depends on BR2_USE_MMU
depends on \
!(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) && \
!(BR2_USE_WCHAR && !BR2_STATIC_LIBS)
config BR2_PACKAGE_ZABBIX_SERVER
bool "zabbix server"
depends on BR2_USE_MMU # mysql, postgresql
depends on \
(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) || \
(BR2_USE_WCHAR && !BR2_STATIC_LIBS && !BR2_OPTIMIZE_FAST)
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBEVENT
if BR2_PACKAGE_ZABBIX_SERVER
choice
prompt "server database backend"
config BR2_PACKAGE_ZABBIX_SERVER_MYSQL
bool "mysql"
depends on BR2_INSTALL_LIBSTDCPP # mysql
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
select BR2_PACKAGE_MARIADB
config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL
bool "postgresql"
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
endchoice
config BR2_PACKAGE_ZABBIX_SERVER_COPY_DUMPS
bool "install SQL dumps"
help
Copy initial database dumps to /var/lib/zabbix/schema
These still need to be imported into the database by hand.
config BR2_PACKAGE_ZABBIX_SERVER_COPY_FRONTEND
bool "install web UI to target"
depends on BR2_PACKAGE_PHP # runtime
select BR2_PACKAGE_PHP_EXT_MYSQLI if BR2_PACKAGE_ZABBIX_SERVER_MYSQL
select BR2_PACKAGE_PHP_EXT_PGSQL if BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL
select BR2_PACKAGE_PHP_EXT_BCMATH
select BR2_PACKAGE_PHP_EXT_SOCKETS
select BR2_PACKAGE_PHP_EXT_MBSTRING
select BR2_PACKAGE_PHP_EXT_GD
select BR2_PACKAGE_PHP_EXT_LIBXML2
select BR2_PACKAGE_PHP_EXT_CTYPE
select BR2_PACKAGE_PHP_EXT_SESSION
select BR2_PACKAGE_PHP_EXT_XMLREADER
select BR2_PACKAGE_PHP_EXT_XMLWRITER
help
Copy web-UI to /var/www/zabbix. You need to set up a web
server to access it.
comment "zabbix web UI requires PHP"
depends on !BR2_PACKAGE_PHP
endif
endif
comment "zabbix need glibc"
depends on !BR2_TOOLCHAIN_USES_GLIBC