zabbix: tweak frontend dependencies
authorDaniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Tue, 9 Dec 2025 05:24:07 +0000 (00:24 -0500)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 26 Dec 2025 08:39:50 +0000 (09:39 +0100)
For zabbix-server-frontend, the absence of php8-mod-filter results in
many of the frontend's pages failing to render.  Therefore add this
module as a frontend dependency.

Without php8-mod-openssl the frontend fails with:

[13-Dec-2025 18:47:25 UTC] PHP Fatal error:  Uncaught Error: Call to
undefined function openssl_random_pseudo_bytes() in
/www/zabbix/include/classes/helpers/CEncryptHelper.php:89
Stack trace:
CEncryptHelper::generateKey()
  thrown in /www/zabbix/include/classes/helpers/CEncryptHelper.php on
  line 89

Therefore add php8-mod-openssl as a frontend dependency.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
admin/zabbix/Makefile

index fc07fe3e45fb9404f4d5fa75d164a6449e892924..8b7690d529dd782406333647448615d4d6d2e9c6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
 PKG_VERSION:=7.0.21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/$(basename $(PKG_VERSION))/ \
@@ -194,8 +194,10 @@ define Package/zabbix-server-frontend
     +php8-mod-gd \
     +php8-mod-bcmath \
     +php8-mod-ctype \
+    +php8-mod-filter \
     +php8-mod-xmlreader \
     +php8-mod-xmlwriter \
+    +php8-mod-openssl \
     +php8-mod-session \
     +php8-mod-sockets \
     +php8-mod-mbstring \