Commit Graph

73 Commits

Author SHA1 Message Date
Daniel F. Dickinson 801be7011f zabbix: tweak frontend dependencies
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>
(cherry picked from commit 33b868d540)
2025-12-26 23:01:33 +01:00
Daniel F. Dickinson 0db8f21380 zabbix: transfer maintenance to myself
With previous maintainer's blessing:
https://github.com/openwrt/packages/pull/28041#issuecomment-3650645784

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit b961c4e1b5)
2025-12-21 03:31:38 +02:00
Daniel F. Dickinson fdc246b0c6 zabbix: update to 7.0.21 (lts)
Updates Zabbix to 7.0.21-r1 (latest 7.0 LTS version)

Note that for the frontend, clearing browser cache, cookies and other
site data for the zabbix frontend server may be necessary.

Security fixes compared to 7.0.12 (most are frontend only):

* CVE-2025-27238: API hostprototype.get lists data to users with
  insufficient authorization https://support.zabbix.com/browse/ZBX-26988
* CVE-2025-27236: User information disclosure via api_jsonrpc.php on
  method user.get with param search:
  https://support.zabbix.com/browse/ZBX-27060
* CVE-2025-27231: LDAP 'Bind password' field value can be leaked by a
  Zabbix Super Admin: https://support.zabbix.com/browse/ZBX-27062
* CVE-2025-49641: Insufficient permission check for the
  problem.view.refresh action:
  https://support.zabbix.com/browse/ZBX-27063
* CVE-2025-49643: Frontend DoS vulnerability due to asymmetric
  resource consumption: https://support.zabbix.com/browse/ZBX-27284

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 0488c96b08)
2025-12-21 03:31:38 +02:00
Thlv Alivs 7c268c3ac2 zabbix: update to 7.0.12
also fix build error

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
2025-05-18 16:25:10 +02:00
Yanase Yuki 4948edf6ff zabbix: update to 7.0.0
License has been changed to AGPL-3.0-only

Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Yanase Yuki e1d7c7ec89 zabbix: update to 6.4.15
Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Yanase Yuki 808c315436 zabbix: update to 6.4.14
Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Yanase Yuki d8d5538f5a zabbix: update to 6.4.13
Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Yanase Yuki 956c5f9bf7 zabbix: update to 6.4.12
Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Yanase Yuki e61c3ea01c zabbix: zabbix-agentd: depend on libevent2-pthreads
zabbix-agentd requires libevent2-pthreads to build
correctly, so add it to DEPENDS.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2024-06-23 11:28:47 -07:00
Tony Ambardar 3cf17ad130 zabbix: zabbix_helper_mac80211.c: use POSIX <libgen.h> header
The musl libc only implements POSIX basename() but provided a GNU header
kludge in <string.h>, which was removed in musl 1.2.5 [1]. Use the standard
<libgen.h> header to avoid compilation warnings like:

zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:11: warning:
 implicit declaration of function 'basename' [-Wimplicit-function-declaration]
   37 |     phy = basename(phy);
      |           ^~~~~~~~
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:9: warning:
 assignment to 'char *' from 'int' makes pointer from integer without a cast
 [-Wint-conversion]
   37 |     phy = basename(phy);
      |         ^
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:38:10: warning:
 assignment to 'char *' from 'int' makes pointer from integer without a cast
 [-Wint-conversion]
   38 |     stat = basename(stat);
      |          ^

Link 1: https://git.musl-libc.org/cgit/musl/log/?qt=grep&q=basename

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2024-03-06 05:44:46 -08:00
Florian Eckert 4f9ced5cf9 zabbix: update to version 6.4.7
Switch to current stable version 6.4.7.
See release notes:
https://www.zabbix.com/rn/rn6.4.7

So that the new version builds cleanly. The 'libevent2-pthreads' must be
added as dependency.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-31 11:57:20 +01:00
Christian Marangi 3dfb00c6c6 zabbix: move to PCRE2 library
Move to PCRE2 library as PCRE is not EOL and won't receive any security
updates anymore.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-29 15:45:45 +01:00
Jeffery To c196aac4b1 zabbix: Add "oldstable" source URL
Zabbix moved the 6.2 directory from "stable" into "oldstable". This adds
the "oldstable" URL to PKG_SOURCE_URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:51:57 +08:00
Florian Eckert 3c11092560 zabbix: add sqlite3 support
This change makes it possible to build zabbix with sqlite3 support.

Attention:
By selecting "SQLite" as "Database Software" you are not able
to build the zabbix-server and zabbix-server-frontend package anymore.
This database is not supported for this service.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-10-17 13:50:42 +02:00
Scott Roberts cd48d03f01 zabbix: add variants for SSL support
opkg does not offer ssl varients:
zabbix-agentd
zabbix-sender
zabbix-get
zabbix-proxy
zabbix-server

resolve this by adding ssl varients.

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2022-10-06 06:44:03 -06:00
Scott Roberts 475d1cc0e9 zabbix: update to 6.2.3
Refreshed patches.

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2022-09-26 09:41:21 -06:00
Florian Eckert 672a655d6b zabbix: add fping dependency
If fping is not installed on the system the following message is show if
hosts should be monitored via icmp.

Log-Message:
"At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both
are missing in the system."

To fix this also, add a dependency to 'fping' for 'zabbix-server' and
'zabbix-proxy' for installation to allow icmp hosts monitoring.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-08-03 09:40:59 +02:00
Sergey V. Lobanov 2d680d787f zabbix: update to 5.0.18
Updated to latest 5.0 LTS minor release

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2021-12-21 21:38:54 +01:00
Jacek Konieczny 30007d3804 zabbix: fix 6in4 network interface discovery
Those devices don't have 'device' propery, only 'l3_device', which
causes 'attempt to concatenate field 'device' (a nil value)' lua error.

Use 'l3_device' as a fallback in this case.

Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
2021-11-21 11:00:53 -05:00
Michael Heimpold ceb4c2b2df zabbix: switch dependencies to php8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-10-05 23:19:09 +02:00
Jan Baier 641f75d98a zabbix: Call killall with the -s
Some versions of killall do support the `killall -SIGNAL` syntax and
have only `-s SIGNAL` which should be supported everywhere.

I see the problem with *killall (PSmisc) 23.3* on latest TurrisOS 5.2

Signed-off-by: Jan Baier <jan.baier@amagical.net>
2021-08-18 10:37:40 -04:00
Rosen Penev 0ce5d5e203 zabbix: update to 5.0.7
Remove pointless uClibc-ng dependency as it's gone now.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-17 15:08:28 -08:00
Rosen Penev 889676ecc7 zabbix: do not build with uClibc-ng
It's missing functionality necessary for zabbix.

Remove now pointless patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:41:33 -07:00
Scott Roberts 9694ae7afa zabbix: update to 5.0 LTS
Updated to 5.0 LTS version.

Removed 120-uclibc-res.patch
Frontend moved from frontend to ui
zabbix-proxy added libevent dependencie
refresh patches

Compile tested: aarch64 cortex-a53
Run tested: aarch64 cortex-a53

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2020-06-19 07:55:35 -06:00
Rosen Penev f846ced1c8 zabbix: remove configure patch
Allows removing autoreconf.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-06 12:44:24 -08:00
Rosen Penev 8bc32479ea zabbix: Fix compilation with uClibc-ng
This is similar to a patch that was previously carried.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-30 16:37:36 -08:00
Krystian Kozak e6303c0290 zabbix: update to 4.0.16
Updated to 4.0.16 LTS version.

Compile tested: Yes, x86_64
Run tested: Yes, x86_64

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-12-27 00:38:40 +01:00
Leong Hui Wong a6f1ff5a85 treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-11-29 09:16:02 +08:00
Krystian Kozak 64c9295c34 zabbix: update to 4.0.11
Updated to 4.0.11 LTS version.

Deleted 003-change-user-and-foreground.patch in according to [ZBX-10611] fixed changing process user owner on startup in foreground when AllowRoot disabled.

Compile tested: Yes, lantiq
Run tested: Yes, lantiq

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-08-20 17:04:22 +02:00
Eneas U de Queiroz 2593eabd6b treewide: Capitalize submenus
Fixed a typo in tcpreplay.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-25 09:35:40 +08:00
Rosen Penev 7f852fc1aa zabbix: Specify zlib location to fix buildbots
The buildbots do not have zlib installed and therefore cannot build zabbix

checking for zlib support... no
configure: error: Unable to use zlib (zlib check failed)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 15:12:12 -07:00
Josef Schlehofer 5e166b3c63 zabbix: update to version 4.0.6
Refreshed patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-29 20:50:25 +01:00
Krystian Kozak 9aa9107772 zabbix: update to 4.0.3
Updated to 4.0.3 LTS version.

Compile tested: Yes, ar71xx
Run tested: Yes, ar71xx

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-01-08 09:09:11 +01:00
Krystian Kozak 23c7d6a6d5 zabbix: update to 4.0 LTS
Updated to 4.0 LTS version.

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-12-03 18:49:35 +01:00
Krystian Kozak 18ce68a7cc zabbix: add server frontend
Added zabbix-server-frontend package, which allow to use website
interface.

To make frontend working, it is required to add some options to uhttpd
config witch allow php working.

uci add_list uhttpd.main.index_page='index.html, default.html,
index.php'
uci add_list uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
uci set uhttpd.main.index_file='index.html, default.html, index.php'
uci commit

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-10-29 21:13:08 +01:00
Krystian Kozak cee4353f15 zabbix: add mysql support
Allows to choose database management software and adds mysql support.
Proxy gets the same database management software as server, because it
must be the same type.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
[Keep postgresl as default / depend on libpq]
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-10-23 19:55:22 -04:00
Etienne Champetier 5d1aa99648 zabbix: use ubus for zabbix-extra-network
this allow us to stop using uci /var/state,
which is deprecated since forever

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 19:26:38 -04:00
Etienne Champetier 2df5d52b9e zabbix: fixup zabbix-extra-wifi dependencies
we use ubus since 2014 (af1fe70acb)
we don't use uci since 2015 (76150309a8)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 18:59:39 -04:00
Etienne Champetier 1afcc61601 zabbix: add proper ubus acl for zabbix-extra-wifi
This allow to run zabbix as non root
Thanks to Adrian Kirchner (@adriankirchner)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 11:14:51 -04:00
Oskari Lemmela dda7a55418 zabbix: Add SSL support for zabbix-agentd.
This fixes #5675.

[Etienne Champetier <champetier.etienne@gmail.com>]
zabbix --with-mbedtls configuration option is sadly for libpolarssl
Attemp at support for mbedtls 2.1+:
https://support.zabbix.com/browse/ZBX-13237
As OpenSSL / GnuTLS are pretty big dependencies, default to no ssl for now

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
2018-10-01 00:15:11 -04:00
Etienne Champetier caaa7d6c9b zabbix: add PKG_CPE_ID
thanks @neheb (#6814)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-09-30 21:28:59 -04:00
Krystian Kozak 41f8c0a2da zabbix: update to latest version
Updated to latest version and refreshed patches.

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-30 21:13:43 -04:00
Krystian Kozak b211914fd0 zabbix: Bump to latest version
This upgrade zabbix to the newest version. Changing SQLite for PostgreSQL, because of dropping SQLite support for server/frontend.
More info:https://www.zabbix.com/documentation/3.4/manual/installation/upgrade_notes_340#dropping_sqlite_support_for_serverfrontend
In addition added required dependencies.
More info:https://www.zabbix.com/documentation/3.4/manual/installation/requirements

Compile tested: Yes, brcm2708
Run tested: Yes, brcm2708

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-06-07 14:46:33 +02:00
Alexander Couzens 8d4814c26d zabbix: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 22:08:12 +01:00
Etienne Champetier bd4fd07f1b zabbix: update to 3.2.7
https://www.zabbix.com/rn3.2.7

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-13 14:51:46 -07:00
Etienne Champetier dbab191dce zabbix: update to 3.2.6
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-08 11:56:26 -07:00
Etienne Champetier 547f30b468 zabbix: partially fix zabbix-extra-mac80211
In kernel commit f1160434c7658af3f7b0926b88df49a66cb3c3e0 many stats
that we read with zabbix-extra-mac80211 have been renamed
One commit after (c206ca670974cefec7ac3732db5c8156e8081a8d) those renamed
stats have been hidden behind MAC80211_DEBUG_COUNTERS compile flag

For now you have to edit mac80211 Makefile / do a custom build to access
most of these stats

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-08 08:30:14 -07:00
Etienne CHAMPETIER 9b55b020a3 zabbix: update to 3.2.4, use PKG_HASH
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2017-03-04 09:32:28 -08:00
Etienne CHAMPETIER 18e9f6e1d0 zabbix: update to 3.0.3
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-06-28 23:07:05 +00:00