Commit Graph
633 Commits
Author SHA1 Message Date
Roberto Andrei Bolda ae4cdd5434 fluent-bit: bump to 5.1.5
Bump from 5.0.8 to 5.1.5. There are no patches in the package.

Changelog: https://github.com/fluent/fluent-bit/releases/tag/v5.1.5

Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
2026-11-18 15:01:17 +02:00
Josef Schlehofer 1073e61fb3 netdata: use the system SQLite
netdata compiles its own copy of SQLite 3.36.0 from June 2021 into the
daemon. Link the daemon against libsqlite3 instead, so that SQLite gets
its updates from the sqlite3 package.

On aarch64_generic the daemon shrinks from 2386355 to 1365700 bytes.
libsqlite3 has 1110402 bytes there, so an installation without it grows
by about 90 kB in total and one that already has it saves 1 MB.

The OpenWrt library is built without UPDATE and DELETE with LIMIT. The
only statement that needs it is in the cloud code, which the package
does not build, and the unit test skips its two LIMIT statements when
the library lacks the option.

Tested on aarch64 with libsqlite3 3.54.1: upgrade from the previous
release over an existing database, health log written and read back
after a restart, a streaming parent with one child and the built-in
unit tests.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:19:47 +01:00
Josef Schlehofer e38cd49e04 netdata: drop the unused libmnl dependency
libmnl was added to DEPENDS with the update to 1.9.0. Its only user in
netdata is the nfacct plugin, which the package turns off with
--disable-plugin-nfacct since the update to 1.11.0.

None of the installed binaries link against libmnl. A build with libmnl
removed from the staging directory produces the same 445 files as
before, byte for byte.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:19:47 +01:00
Josef Schlehofer dca0b8b404 netdata: do not install the dashboard source maps
The dashboard comes with 14 source map files that take 13.4 MB, which
is half of the installed size of the package. Only the developer tools
of a browser read them, the dashboard works without them.

On aarch64_generic the package shrinks from 8.0 MB to 4.5 MB and its
installed size from 26.9 MB to 13.4 MB.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-17 10:43:28 +01:00
Josef Schlehofer 9b5c822c7f netdata: backport fixes for CVE-2023-22496 and CVE-2023-22497
Both issues are in the streaming receiver, which is disabled by default,
and both were fixed upstream in 1.37.0.

CVE-2023-22497 [1]: a parent accepted the MACHINE GUID of a child that
had connected before as an API key. Backport the upstream fix [2],
which gives every section of stream.conf a type. The GUID of a
connected child is now refused as an API key without any change to the
configuration. Sections that stream.conf holds for single machines
should get the new "type = machine" line. Without it such a section
still works as an API key as long as its machine has not connected.

CVE-2023-22496 [3]: the arguments of the alert notification command
were not sanitized, so a streaming child was able to change the command
that the parent runs. It also needs health to be enabled, which this
package turns off by default. Backport the upstream fix [4]. health.c
is ported by hand to the argument list of 1.33.1, and the sanitizing
function is taken from upstream master, where it was hardened later [5].

As in upstream, a leading dash is removed from every argument, '$' is
replaced by '_', and the script named by "exec" is quoted, so it can no
longer carry arguments of its own. An argument that contains an
apostrophe now reaches the notification script in one piece.

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-22497
[2] https://github.com/netdata/netdata/commit/811028aea2
[3] https://nvd.nist.gov/vuln/detail/CVE-2023-22496
[4] https://github.com/netdata/netdata/commit/4de2ce54d5
[5] https://github.com/netdata/netdata/commit/3e508c8f95

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-17 10:43:28 +01:00
Ming Di Leom 95c18b6621 rsyslog: handle empty uci config
to prevent 'out of range' warning,
ensure `tcp_input` and `udp_input` are not null
before checking whether they're enabled.

based on openwrt-ai's suggestion
https://github.com/openwrt/packages/pull/31072#discussion_r4482368780

bump to 8.2606.0-3

Signed-off-by: Ming Di Leom <leommd@purelymail.com>
2026-11-07 08:08:43 +02:00
Josef Schlehofer f10b48f792 monit: add missing CONFLICTS between variants
monit and monit-nossl both install /usr/bin/monit, but nothing marks
them as conflicting, so they can be selected and installed together.

Declare the conflict so that they cannot be selected or installed
together.

Checked the Conflicts field in the generated package metadata.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-03 08:49:33 +01:00
Daniel Golle 3c88ccaa05 bottom: use the build system's Rust support
Build with rust-package.mk of the build system from a vendor tarball
generated from the GitHub tag archive, so that cargo builds offline.
bottom builds with the Rust toolchain of the build system when one is
selected, and with rust/host of this feed otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-11-02 07:40:35 +00:00
Sander van Deijck a0895dc2f1 rsyslog: drop libdbi support
libdbi and its drivers are being removed from the feed: neither has had
a release since 2013. rsyslog keeps its native MySQL and PostgreSQL
output modules (RSYSLOG_mysql and RSYSLOG_pgsql).

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-11-01 15:36:37 +02:00
Sander van Deijck 5629f4d5c9 syslog-ng: drop unused libdbi dependency
syslog-ng is built with --disable-sql, so the libdbi dependency and
LIBDBI_CFLAGS have no effect beyond pulling libdbi onto every device
that installs syslog-ng.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-11-01 15:36:37 +02:00
Daniel F. Dickinson 21ccc3e912 zabbix: bump to version 7.0.32
Bump to latest LTS version (7.0.32). This is a bug fix version. See the release notes:
https://www.zabbix.com/rn/rn7.0.32

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-11-01 09:13:04 +02:00
Tianling Shen a07832959f btop: update to 1.4.8
Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.8

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-10-30 15:32:38 +08:00
Josef Schlehofer f9faf3fc28 htop: update to 3.5.3
3.5.3 hardens the htoprc parser, which upstream lists as the fix for
CVE-2024-37676. 3.5.2 also fixes terminal escape injection through the
process name and a stack underflow on very narrow terminals.

Fixes: CVE-2024-37676

Changelog: https://github.com/htop-dev/htop/compare/3.5.1...3.5.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-10-26 10:26:01 -04:00
Jon Henrik Bjørnstad 8d2dbcca8e qbee-agent: bump version to 2026.41
Bump version to 2026.41

Signed-off-by: Jon Henrik Bjørnstad <jonhenrik@qbee.io>
2026-10-19 16:40:00 +08:00
Jean Thomas 8fca16cd8a rsyslog: add an option to enable periodic statistics module support
The periodic statistics module allows to generate periodic output of
rsyslog internal counters in a file. See rsyslog configuration [1]
for further details.

[1]: https://docs.rsyslog.com/doc/configuration/modules/impstats.html

Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
2026-10-14 15:35:12 +02:00
Daniel F. Dickinson dbd1a89a05 zabbix: bump version to 7.0.31
Bug fix release. See release notes: https://www.zabbix.com/rn/rn7.0.31

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-10-09 17:24:05 +03:00
Gagan DeepandFederico Capoano bc29809524 openwisp-config: fetch release tarball instead of git clone
Switch source fetch from git clone to the upstream release tarball
published for every tag, as recommended by the feed guidelines.
This replaces PKG_MIRROR_HASH with a plain PKG_HASH of the
codeload tarball.

Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
2026-09-13 09:00:47 +02:00
Gagan Deep 5c25f05e1e openwisp-config: upgrade to 1.3.0
Change log: https://github.com/openwisp/openwisp-config/releases/tag/1.3.0

Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
2026-09-13 09:00:47 +02:00
Daniel F. Dickinson b3087fee99 zabbix: remove unneeded postinsts
Handling uci-defaults scripts in package postinst is not needed in
modern OpenWrt and in fact results in error messages on install since
the common postinst processes and deletes uci-defaults scripts before
package-specific postinsts are executed.

Therefore remove the unneeded postinsts in this package.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-09-05 18:37:50 +03:00
Daniel F. Dickinson 070a2991e0 zabbix: bump to version 7.0.30
Bug-fix update: https://www.zabbix.com/rn/rn7.0.30

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-08-29 14:14:22 +02:00
Josef Schlehofer 397c29176b syslog-ng: install the configuration with INSTALL_CONF
/etc/syslog-ng.conf is installed with INSTALL_DATA, so it ends up
world readable at 0644. The file holds the credentials of every
destination that needs them, so install it with INSTALL_CONF and
0600 instead, as the rest of the tree does for configuration under
/etc.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-18 15:00:51 +02:00
Josef Schlehofer 7105157393 syslog-ng: do not install syslog-ng-update-virtualenv
The script creates and updates the private Python virtualenv that the
Python module runs from, but the package is built with --disable-python,
so there is nothing for it to do. It cannot even parse its arguments on
a stock image:

  /usr/bin/syslog-ng-update-virtualenv: line 30: getopt: not found
  Error parsing arguments

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-18 10:13:38 +02:00
Josef Schlehofer 121382fd7e syslog-ng: add version check override
The package ships ten executables and only the daemon reports a
version, so the generic per-executable probe warns for the other nine:

  syslog-ng: 9/10 executables are missing version 4.12.0

The tools next to the daemon print their usage instead, which the probe
cannot read a version from. Assert the version on syslog-ng itself.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-18 10:12:50 +02:00
Josef Schlehofer d2327b45c6 syslog-ng: update to version 4.12.0
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.12.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-18 09:20:18 +02:00
Josef Schlehofer 7cb0c183a9 tree-wide: rename version check test.sh to test-version.sh
In actions-shared-workflows the version is now checked in
test-version.sh, while test.sh is left for the generic tests.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-13 15:21:26 +02:00
Alexandru Ardelean 8c8875c1f6 sudo: add test-version.sh and stop running sudo in tests
PKG_VERSION substitutes p->_p (1.9.17_p2) for a valid apk version, but the
binaries print the real 1.9.17p2, so the generic per-executable version
probe reports "no executables provided version" and fails. Add a
test-version.sh that matches the version string compiled into the binary.

Executing sudo under QEMU emulation (e.g. mips_24kc) hangs indefinitely, so
neither test-version.sh nor test.sh runs it any more: the version is read
from the binary and test.sh only checks the installed files.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-10 20:17:56 +03:00
Alexandru Ardelean bfb4cce23a sudo: drop 020-no-owner-change.patch for a make override
The patch blanked INSTALL_OWNER in Makefile.in so the staged install does
not chown to install_uid/install_gid, which fails when building as an
unprivileged user. sudo already supports this: the top-level install rule
recurses with "INSTALL_OWNER=$(INSTALL_OWNER)" into every sub-make, and
sudo's own "package" target does "make install INSTALL_OWNER=" for exactly
this fakeroot case. Pass INSTALL_OWNER= via MAKE_INSTALL_FLAGS instead of
carrying a patch.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-10 20:17:56 +03:00
Josef Schlehofer 308a5db965 tree-wide: remove quiet mode from grep in test version checks
Remove the quiet mode flag (-q) from grep in version check commands
to ensure that their stdout output is visible.

While at it, switch the remaining regex matches (perl, sscep, awscli) to
fixed-string matching where appropriate, so that special characters in the
version string are matched literally.

For libzip, the zipcmp and zipmerge branches ran grep and then
unconditionally exited 0, so a version mismatch was never reported and
the version check override always passed.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-10 10:01:46 +02:00
Daniel F. Dickinson 5e84a9851b zabbix: bump version to 7.0.29
July 28, 2026 LTS release: https://www.zabbix.com/rn/rn7.0.29

Patches refreshed (no changes required).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-08-09 07:43:25 +02:00
Michael Pfeifroth 900251a607 rsyslog: track config files for procd restart
Add 'procd_set_param file' for both the base config and the generated
config file so procd detects config changes and restarts rsyslogd.

Without this, procd_add_reload_trigger fires on config changes but
procd does not restart the service because the command line is
identical. This leaves stale configuration active until a manual
restart.

Signed-off-by: Michael Pfeifroth <michael.pfeifroth@westermo.com>
2026-08-07 13:37:49 +03:00
Michael Pfeifroth 6b5954ef81 sudo: create sudo group
Add a 'sudo' system group at package-install time using the USERID
mechanism.

Rationale: sudoers configurations that grant privileges to the 'sudo'
group -- the near-universal Debian/Ubuntu idiom, e.g.

    %sudo ALL=(ALL:ALL) NOPASSWD: ALL

-- fail silently on OpenWrt today because no 'sudo' group exists in
/etc/group.  sudo(8) logs 'unknown group: sudo' and the rule is skipped.
Users also cannot 'usermod -aG sudo <user>' without the group present,
so there is no straightforward way to delegate root without hand-editing
/etc/group or writing per-user sudoers snippets.

Seeding the group here matches how OpenWrt already handles other
service accounts (chrony, dbus, ntpd, ...): the USERID mechanism
creates them lazily via add_group_and_user in the postinst script.

No privileges are granted by default -- an administrator still has to
add users to the group and ship a sudoers rule that references it.

No numeric GID is pinned. The group name is what sudoers, addgroup(1),
and getgrnam() operate on; the numeric GID is invisible to sudo's
authorisation path and matters only for on-disk group ownership
metadata (e.g. 'chgrp sudo' persisted to shared storage) -- something
this package does not do. Letting add_group_and_user pick a dynamic
GID in the 32768+ range keeps sudo out of base-files' reserved
low-range group space and avoids any name-vs-number collision debate.

Bump PKG_RELEASE.

Signed-off-by: Michael Pfeifroth <micpf@westermo.com>
2026-08-07 13:34:12 +03:00
Alexandru Ardelean 927fc5ea54 fluent-bit: fix HTTP output SIGSEGV on too-small coroutine stack
Each output flush runs in a coroutine whose stack was forced to 4096 (one
page). The HTTP output plugin overflows it and crashes with SIGSEGV after
the flush (issue #30113). Pin FLB_CORO_STACK_SIZE to upstream's own 64K
floor (FLB_CORO_STACK_SIZE_MIN_BYTE), which the musl-shrunk default undercuts.

Also add a regression test: drive the dummy input into the http output and
assert fluent-bit survives a few flush cycles instead of dying from a signal
(no listener needed -- the overflow happens while composing the request).

Fixes: https://github.com/openwrt/packages/issues/30113
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-01 21:19:47 +03:00
Daniel F. Dickinson 355665cfb5 zabbix: bring proxy to parity with server and agentd
* Add config file patch for proxy
* Add initscript for proxy
* Update Makefile and support files to bring proxy to parity with
  agentd and server.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-31 12:50:45 +03:00
Daniel F. Dickinson ec54972924 zabbix: tweak server initscript and bring agentd to parity
* Genericize zabbix_server initscript.
* Add shellcheck overrides where needed.
* Add a 'never_root' config option (default true) that determines
  whether server starts as an unprivileged user or starts as root and
  drops to an unprivileged user (unless config is changed so it always
  runs as root).
* Bring zabbix_agentd initscript to parity with zabbix_server for the
  initscript and configuration.
* Tweak Makefile to reduce repetition

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-31 12:50:45 +03:00
Daniel F. Dickinson 589cf9a73c zabbix: tweak patch agent and server patch configs
Tweak the agentd and server patch configurations and bring agentd and
server confgurations to parity.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-31 12:50:45 +03:00
Daniel F. Dickinson 1340781924 zabbix: use separate users for server and proxy
This is the upstream recommendation, and fits with our separation
of agent and server.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-31 12:50:45 +03:00
Daniel F. Dickinson 3e46007e60 zabbix: add php8-mod-simplexml dependency to frontend
While the frontend can mostly operate without php8-mod-simplexml, when
trying to import XML templates the user only gets unhelpful error
messages and is unlikely to realize the module is required for that
functionality. Therefore have the frontend depend on php8-mod-simplexml.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-23 01:04:06 +02:00
Daniel F. Dickinson f1bf9f56d8 zabbix: stop shipping sysctl.d conf in package
The sysctl file increases max files to allow the default full
complement of discovery workers, however this is probably not a
hard requirement and such a conf not shipped elsewhere in tree, so
leave that to the user to configure. (The syslog messages from
zabbix-server and/or zabbix-proxy provided the needed information).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-23 01:04:06 +02:00
Daniel F. Dickinson 2616169cd4 zabbix: reorganize files dir for clarity and to better follow the FHS
Reorganize the extra files under the 'files' dir so that it is more
clear where they go and what they are for, and to avoid having a
disorganized mass of files.

Move the extra C source file out of files and into 'src-extra'.

Avoid treating openwrt-supplied params files as configuration data.
Instead have them in a separate directory under /usr/share which is
included in the zabbix_agentd configuration by default. This also better
follows the FHS.

Hopefully these changes make sense on their own, as well as helping the
CI accept the changes.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-23 01:04:06 +02:00
Daniel F. Dickinson 9058162e11 zabbix: preserve user config files across sysupgrade
Add the user config file directories (/etc/zabbix_x.conf.d) to the
list of directories and files to preserve across sysupgrade.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-23 01:04:06 +02:00
Sebastian Hamann b442c043a7 fluent-bit: add init script
A init script allows running fluent-bit as a system service.

Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com>
2026-07-20 12:10:04 +03:00
Alexandru Ardelean 4417cbdb1b rsyslog: update to 8.2606.0
Drop 001-configure-make-libyaml-default-on-explicit.patch; it was a backport
of upstream commit c5c24486 which is now part of this release, so configure.ac
already makes libyaml default-on and fails fast when yaml-0.1 is missing.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-18 20:47:01 +03:00
Daniel F. Dickinson 69b555d22a zabbix: bump version to 7.0.28
Update to latest LTS. See release notes:
https://www.zabbix.com/rn/rn7.0.28

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-18 10:59:18 +02:00
Jon Henrik Bjørnstad 498af613ec qbee-agent: bump version to 2026.27
Upgrade qbee-agent to the newest version

Signed-off-by: Jon Henrik Bjørnstad <jonhenrik@qbee.io>
2026-07-16 16:42:46 +03:00
Daniel F. Dickinson 33fa804bdd zabbix: do not error in postinst when no ubusd
Now that post install is running properly, when CI executes the
tests the zabbix-extra-* packages that have a posinst exit the
post install with an error if ubusd is not running.

Drop the error code from killall with no usbd running to fix this.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-16 08:48:33 +02:00
Daniel F. Dickinson 9ec085718d zabbix: add version check override
Allow CI to pass the version check for packages with executables
with not version output.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-10 20:56:10 +02:00
Daniel F. Dickinson d5eb49a42d zabbix: remove dependency on symbol ZABBIX_ENABLE_ZABBIX
It results a failure to build due to
https://github.com/openwrt/gh-action-sdk/issues/70. This means there will be some
ZABBIX symbols in .config eveen when ZABBIX is not selected, but this is a
necessary tradeoff. See
https://github.com/openwrt/packages/pull/29803#issuecomment-4882201182.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-10 20:56:10 +02:00
Daniel F. Dickinson 13ee37072d zabbix: bump to 7.0.27 and fix Makefile
* Update version to latest upstream LTS version.

* The Makefile was using an overly clever means to be compact that the
  CI webhook, and possibly the CI test container, didn't understand. We
  unroll that logic, and have more usual install and conffiles sections.
  In the process we fix a missing conffile install for zbbix-proxy*
	packages.

* Whitespace fixups

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-07-10 20:56:10 +02:00
Alexandru Ardelean 7b5d7e39fb fluent-bit: update to 5.0.8, adopt maintainer, fix musl startup segfault
Update 4.2.0 -> 5.0.8 and adopt maintainership. fluent-bit segfaulted at
startup on every musl target: under GCC 14 the upstream C-TLS probe no longer
compiles (undeclared __tls_get_addr), so the pthread_key fallback calls
pthread_getspecific() before pthread_key_create() and derefs a NULL tsd array
on musl (glibc is unaffected). Force -DFLB_HAVE_C_TLS=Yes for __thread TLS.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-09 20:41:02 +03:00
Philip A. Prindeville c08761bfcc treewide: homogenize references to libfts for MUSL
The way we use -lfts isn't particularly consistent.  There's no reason
it shouldn't be.  glibc users shouldn't have to deal with someone else's
lack of rigor.

Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>
2026-07-05 22:45:59 -06:00