Commit Graph

528 Commits

Author SHA1 Message Date
Daniel F. Dickinson 8ae47467dd zabbix: bump version
Update to version 7.0.26 (latest LTS).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit c79ea3a86c)
2026-05-24 09:23:16 +02:00
Daniel F. Dickinson b967fd509c zabbix: update to 7.0.25 (LTS)
Bump version to latest LTS.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 1568fb9816)
2026-05-24 09:23:12 +02:00
Daniel F. Dickinson fbf98163ae zabbix: update to 7.0.24
Bump version and refresh patches.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit e4130e53bf)
2026-05-24 09:23:07 +02:00
Daniel F. Dickinson 3c997408eb zabbix: tweak server configuration
* Fix path to fping and use fping as fping6
* For privacy, disable call to public API to check for Zabbix version update

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 2aadd0d97f)
2026-05-24 09:23:03 +02:00
Daniel F. Dickinson 35ba79d632 zabbix: fix username for ubus acls
When we updated the zabbix agent to use username zabbix-agent
we neglected to update ubus acls for zabbix-extra-network.

Therefore update the username for the network and wifi acls.

Will close #29058 once backported to 25.12.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 0268b7cbc4)
2026-05-24 09:22:59 +02:00
Daniel F. Dickinson ae9f7c9678 zabbix: tweak ubus acl json whitespace
Ensure consist JSON formatting by using jq --tab . <filename>.json.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 6b555ae5e0)
2026-05-24 09:22:54 +02:00
Daniel F. Dickinson 782401428d zabbix: hide CONFIG symbols when no Zabbix package selected
As noted in #28709 OpenWrt  contains CONFIG_
symbols for Zabbix even when no Zabbix package is selected.
This fixes and Closes #28709.

We add a 'guard' symbol for the menus and choices so the only
generate CONFIG symbols when 'Enable Zabbix'
(CONFIG_ZABBIX_ENABLE_ZABBIX) is selected.

We also make all the Zabbix packages depend on this symbol,
for consistency.

This operates much as the pseudo-package solution, but without
a pseudo-package required.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit f0576eb36b)
2026-05-24 09:22:50 +02:00
Daniel F. Dickinson 0dd33aff3f zabbix: change spaces to tabs in Config.in
This seems to be more standard for Config.in.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 32abd6408f)
2026-05-24 09:22:45 +02:00
Daniel F. Dickinson 3f3c75b795 zabbix: move small config-xx.in back to Makefile
Based on https://github.com/openwrt/packages/issues/28709#issuecomment-4060013105
it has been noted that the number config.in files was high compared to actual
config selections.

Therefore move smaller selection back into the Makefile. They are still kept
with the most appropriate package which they configure.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit ee93470984)
2026-05-24 09:22:41 +02:00
Tianling Shen 2fd0b421e2 btop: Update to 1.4.7
Refreshed patches.

Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.7

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit aa239844a8)
2026-05-20 10:21:21 +08:00
XCas13 2a5a0405bd btop: patch to move the log file to tmpfs
The log file path is hardcoded as $HOME/.local/state/btop.log, i.e. to the router’s flash storage rather than to tmpfs. This patch sets the log file path to /tmp/log/btop.log

Signed-off-by: XCas13 <xcas13@gmail.com>
(cherry picked from commit 7c3e376967)
2026-05-20 10:21:17 +08:00
Tianling Shen eeea37d0d7 btop: Update to 1.4.6
Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.6

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 11e0bc7948)
2026-05-20 10:21:15 +08:00
Federico Capoano b9c1973ac4 openwisp-monitoring: upgrade to 0.3.1
Change log:
https://github.com/openwisp/openwrt-openwisp-monitoring/releases/tag/0.3.1

Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
(cherry picked from commit 2063d77936)
2026-05-09 13:52:52 +02:00
Daniel F. Dickinson 9e7cff0c72 zabbix: bump version to 7.0.23 (LTS)
Update version to 7.0.23 - latest LTS.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 5eaff0b9c0)
2026-05-05 23:01:58 +02:00
Daniel F. Dickinson 7f2afb6412 zabbix: add full variants and add-on support for other
Rather than having a database selection for SQLITE which prevents
the server or frontend from building, we add a 'basic'
variant for the proxy which uses sqlite3, and have the database
Kconfig affect only the server and frontend.

* There are now only three variants:
  1. full, which is the default. It includes the full monitoring feature
     set currently available on openwrt, including netsnmp, curl-based
     checks, and ldap. In addition these features, plus the choice of
     database and ssl provider (or no ssl) are configuration options for
     this variant.
  2. basic, which provides basic functions with openssl support
  3. no-configure, for packages which are not part of the main Zabbix
     compile process (including the WebUI which only requires copying
     files for use by a web server with PHP CGI support).

* Full is the default variant for agentd and proxy, which are the only
  packages with a choice between full and basic. All other packages only
  are part of one variant.

* Full variants are the base version of the packages (that is
  zabbix-agentd is the 'full' version while zabbix-agentd-basic is the
  core version). The proxy version is named zabbix-proxy-basic-sqlite to
  announce that it is using the sqlite3 database and not a database
  server.

* get and sender only build if at least one of agentd, server, or proxy
are built. Therefore prevent selection get or sender when they would not
build.

* Zabbix's use of NetSNMP requires that Zabbix be build with OpenSSL

* While we are here, enable support for dates after 2038 (64-bit time_t)

* https://github.com/openwrt/packages/pull/28585#issuecomment-3984978895
  * we updated the name to reflect that it is for basic functionality
    that can standalone, rather then being a core the other packages
    build on.
  * basic has been used rather than tiny or small since the sentence
    'Provides only tiny/small functionality with SSL/TLS' in the
    description, sounds strange, but using basic this reads properly.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit c98e9d68a0)
2026-05-05 23:01:52 +02:00
Daniel F. Dickinson 223e7f3714 zabbix: update php8 dependencies
Using the php8 dependency allows use to go back to using the
+ZABBIX_POSTGRESQL:php8-mod-pgsql (and like dependency for
mysql/mariadb).

This has the benefit of being an apk dependency so the user does not
install the frontend without a php8 database module.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 4afdeb7d19)
2026-05-05 23:01:31 +02:00
Daniel F. Dickinson 30922226d1 zabbix: fix unnecessary virtual provides
We aren't using packages with the same name as the provides, so don't
use an virtual (@) provides for providing zabbix-get

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 696e549e9d)
2026-05-05 23:01:25 +02:00
Daniel F. Dickinson d39922e5d1 zabbix: set PKGARCH all for non-binary packages
For non-compiled package that are architecture independant, set
PKGARCH:=all.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 4635838819)
2026-05-05 23:01:20 +02:00
Michael Heimpold 3c734521a3 zabbix: fix no-configure build variant
When selecting only a package of "no-configure" build variant, e.g.
CONFIG_PACKAGE_zabbix-frontend-server=y
but not any other zabbix package, then the build fails.
The sources are not extracted and the install fails finally with:

make[4]: Entering directory '/srv/openwrt/openwrt-2.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[4]: *** No rule to make target 'install'.  Stop.
make[4]: Leaving directory '/srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[3]: *** [Makefile:522: /srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22/.built] Error 2

This PR fixes this by always running the standard Prepare stage,
but skip the Install one when nothing needs to be compiled.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 849db7361d)
2026-05-05 23:01:13 +02:00
Daniel F. Dickinson 8012c8a2cd zabbix: fix recursive depedency warning on build
The error in the #24828 patch series left Kconfig recursive depedency
error on zabbix-frontend-server. We fix this by update the database
depedencies on zabbix-frontend-server. Now, you must select the PHP8
database module you want _before_ zabbix-frontend-server will be
visible in menuconfig.

This is not a big problem, because zabbix-frontend-server already
depends on having php8 slected before the frontend can be built.

Closes: #28458

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit ff7353dbbc)
2026-05-05 23:01:08 +02:00
Daniel F. Dickinson 6573d494b5 zabbix: fix package rename missed database config
Due to package renaming the selection of database for the server and
proxy was missing from the Kconfig menu. This caused build failures for
proxy and server.

We now fix that.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit b032682381)
2026-05-05 23:01:03 +02:00
Daniel F. Dickinson 9429ca8049 zabbix: fix compile skipped due to line continuation
Using line continuation (\\) in GNU Make \$(foreach ...) and
\$(call ...) resulted in the install section for many of the packages
not being defined. This resulted in 'skipping [package-name] no install
section' messages and no new package being generated.

We remove the line continuation from the parts foreach and call, in
ordeer to restore compilation and creation of packages.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 8bc0c6c7cf)
2026-05-05 23:00:57 +02:00
Daniel F. Dickinson 4c25ad9cca zabbix: deduplicate and reorganize package defines
In preparation for further changes, deduplicate package definitions,
and reorganize them. At the same time make use of provides to ensure
both existing names are preserved, and that it is possible to be
specific about the variant of the package one wants.

Also, condense the package conffiles, install, postinst, etc handling.
This is more maintainable (less copy and paste and less to modify).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 75146ea2be)
2026-05-05 23:00:52 +02:00
Daniel F. Dickinson 658a397679 zabbix: drop unwanted file and wrong BUILD_VARIANT
cspell.json was accidentally include in a previous commit, so remove it.

VARIANT is to be used in package definitions, and BUILD_VARIANT
for checking which VARIANT is currently being built. BUILD_VARIANT was
incorrectly used in a package definition, so we fix that.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 0a897f7042)
2026-05-05 23:00:47 +02:00
Daniel F. Dickinson d9353f848c zabbix: fix agentd default user and minor issues
The last PR (https://github.com/openwrt/packages/pull/28370) missed
including two needed changes, and had a minor packaging Makefile
mistake.

The Zabbix Agent needs to drop privileges to the zabbix-agent user.
Similarly, if run as root (not the default), the Zabbix server needs to
drop privileges to the zabbix-server user.

There are also, in the Makefile, three instances of using BUILD_VARIANT
instead of VARIANT in package definitions.

So we fix those issues.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit a2685bfad2)
2026-05-05 23:00:23 +02:00
Daniel F. Dickinson bf526c1dc7 zabbix: avoid unnecessary configure/compile
For items which are only copied from the source code, avoid the
prepare, configure, and compile steps, while preserving the special
behaviour of the mac80211 addon, which has a unique prepare and
compile.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 8ab5a3d7c3)
2026-05-05 23:00:18 +02:00
Daniel F. Dickinson 76b5e63636 zabbix: deduplicate zabbix-agentd Makefile parts
Avoid unnecessary duplication on zabbix-agentd package definitions by
using a common zabbix-agentd/Default and extending it for different
zabbix-agentd flavours.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit f798e17379)
2026-05-05 23:00:12 +02:00
Daniel F. Dickinson 83237c2552 zabbix: use separate users for agent and server
For security, per upstream recommendations, use a separate user for the
agent daemon and the server daemon.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 907e9c6b1e)
2026-05-05 23:00:06 +02:00
Daniel F. Dickinson b1bb50638d zabbix: bump to 7.0.22 LTS
Bump Zabbix to the latest released 7.0.x LTS version.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 1f3251545d)
2026-05-05 23:00:00 +02:00
Daniel F. Dickinson a5629f79ca zabbix: add initscript for server
Adds an initscript for zabbix_server, and related helper files

+ uses a zabbix_server uci conf to enable/disable startup
+ updates the default zabbix_server.conf to work with initscript
+ add a sysctl.d conf to set max-files more appropriate for zabbix_server

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit ffdb7209a4)
2026-05-05 22:59:54 +02:00
Daniel F. Dickinson a58e171fb5 zabbix: fix agentd PidFile creation
Addresses the issue pointed out in #28165, which is that zabbix_agentd
always creates a PidFile and has no option to disable PidFile creation.
Therefore update the configuration file to default to create a PidFile
where we want it.

Close #28165

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 1ff6a92251)
2026-05-05 22:59:50 +02:00
Florian Eckert 1e0e70f6a6 zabbix: zabbix-server-frontend: update dependency
Only show zabbix-server-frontend if the build dependency 'PACKEGE_php8' is
fulfilled. This means that 'zabbix-server-frotend' can only be selected if
PHP has also been enabled for building.

This change is needed to fix the following recursive dependency warning.

error: recursive dependency detected!
   symbol PACKAGE_php8 is selected by PACKAGE_zabbix-server-frontend
   symbol PACKAGE_zabbix-server-frontend depends on PHP8_DOM
   symbol PHP8_DOM depends on PACKAGE_php8
For a resolution refer to Documentation/kbuild/kconfig-language.rst

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit dec74a7985)
2026-05-05 22:59:44 +02:00
Daniel F. Dickinson 294ac348c1 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)
2026-05-05 22:59:02 +02:00
Josef Schlehofer 0c77a74cdb syslog-ng: update to version 4.11.0
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.11.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 165cdb2d3e)
2026-04-28 23:16:20 +02:00
Federico Capoano 38cc8a3f5c openwisp-config: update to 1.2.1
Change log:
https://github.com/openwisp/openwisp-config/releases/tag/1.2.1

Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
(cherry picked from commit a9d2dbeeb4)
2026-04-27 11:16:31 +02:00
Daniel F. Dickinson 248c40bf49 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-30 15:26:57 +01:00
Daniel F. Dickinson 4e7e967ffd 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-30 15:26:57 +01:00
Tianling Shen f1248cf640 btop: Update to 1.4.5
Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.5

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 728dc6dd3a)
2025-11-07 21:34:16 +08:00
Gagan Deep 89871b5dbf openwisp-config: upgrade to 1.2.0
Upgrades openwisp-config package to 1.2.0

Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
(cherry picked from commit 61a81ccc7e)
2025-11-06 17:44:01 +02:00
Gagan Deep ae100b2150 openwisp-monitoring: upgrade to 0.3.0
Upgraded openwisp-monitoring package to 0.3.0

Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
(cherry picked from commit 74e6bcc011)
2025-11-06 17:43:17 +02:00
Josef Schlehofer 607aa2a4b3 syslog-ng: add dependency for ivykis
Replace embedded ivykis with a separate package to improve
dependency management and enable library reuse.

The ivykis library now properly supports io_uring when
CONFIG_KERNEL_IO_URING is enabled.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 8fcf45d05a)
2025-10-29 11:53:52 +01:00
Josef Schlehofer 80e392b49c syslog-ng: update to version 4.10.2
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.10.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b5d9b7cf9d)
2025-10-22 12:55:45 +02:00
Josef Schlehofer db71795485 syslog-ng: update to version 4.10.1
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.10.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2ba11a2da5)
2025-10-01 19:12:08 +02:00
Josef Schlehofer 0632797c89 syslog-ng: update to version 4.10.0
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.10.0

Makefile changes
----------------

1. Disable experimental feature: stackdump
due to issues, which were reported to upstream

2. Disabled example modules to avoid adding libstdc++.so.6 dependency
Fixes:
Package syslog-ng is missing dependencies for the following libraries:
libstdc++.so.6

Other changes
-------------

In syslog-ng 4.8.0, there was added possibility to use value "current"
as version in the config file, so use it, which confirm to use
the latest version instead of bumping the version in the file
manually.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b1cfb71f7b)
2025-09-26 00:54:25 +02:00
Josef Schlehofer 9da18e3229 syslog-ng: add runtime test
It adds a runtime test to verify that the compiled binary in
CI/CD runs without segfault and prints the version.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 971a2164f5)
2025-09-26 00:54:19 +02:00
Aleksey Vasilenko 793ae0e879 bottom: update to 0.11.1
update to 0.11.1

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
(cherry picked from commit 072b5c6f48)
2025-09-23 12:52:15 +02:00
Alexandru Ardelean 55dd83fb3a sudo: bump to version 1.9.17p2
This change bumps sudo to version 1.9.17p2

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 1e391d0520)
2025-09-11 08:00:58 +02:00
Robert Marko e8a705e21e atop: update to 2.12.0
2.11.0 will not compile with GCC15, so update to 2.12.0.
It also fixes CVE-2025-31160.

Fixes: #27085
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 90dfd41b51)
2025-07-30 12:03:14 +02:00
Rosen Penev fa86cd5abb atop: fix compilation with full NLS
nls.mk is missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8a0f28c78c)
2025-07-30 12:01:37 +02:00
Tianling Shen 0f5809232d btop: Update to 1.4.4
Removed upstreamed patch.

Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.4

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 062287375c)
2025-07-25 13:42:48 +08:00