Commit Graph

82608 Commits

Author SHA1 Message Date
Peter Korsgaard
e5c017f663 support/testing: test_octave.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:18 +02:00
Peter Korsgaard
75ae817eb2 support/testing: test_nftables.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:15 +02:00
Peter Korsgaard
ae1ff2d8dc support/testing: test_mtools.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:13 +02:00
Peter Korsgaard
0853612155 support/testing: test_mariadb.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:10 +02:00
Peter Korsgaard
aae70a3ab5 support/testing: test_lsof.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:08 +02:00
Peter Korsgaard
a0b5a634f0 support/testing: test_libgpgme.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:05 +02:00
Peter Korsgaard
c566e5c645 support/testing: test_kmod.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:03 +02:00
Peter Korsgaard
cab36bc293 support/testing: test_jq.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:03:00 +02:00
Peter Korsgaard
75ae191b5f support/testing: test_iptables.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:57 +02:00
Peter Korsgaard
f3942975c4 support/testing: test_iproute2.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:54 +02:00
Peter Korsgaard
cb791850ad support/testing: test_gnupg2.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:52 +02:00
Peter Korsgaard
9a1d42e5d4 support/testing: test_fping.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:49 +02:00
Peter Korsgaard
0b1ea65f3a support/testing: test_dos2unix.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:47 +02:00
Peter Korsgaard
d7284778a1 support/testing: test_ddrescue.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:44 +02:00
Peter Korsgaard
69948ba028 support/testing: test_cryptsetup.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:42 +02:00
Peter Korsgaard
2889d0f052 support/testing: test_connman.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:39 +02:00
Peter Korsgaard
830e0f49bb support/testing: test_bitcoin.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:37 +02:00
Peter Korsgaard
eb0ef1fd98 support/testing: test_audit.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:34 +02:00
Peter Korsgaard
8caecb62a3 support/testing: test_acl.py: use assertRunNotOk()
Use the helper to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:32 +02:00
Peter Korsgaard
8c301eed0e support/testing: test_systemd.py: use assertRun{, Not}Ok()
Use the helpers to simplify the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:27 +02:00
Peter Korsgaard
03783de150 support/testing: infra: add assertRunNotOk()
There are a number of runtime tests that checks that a command fails as
expected, so add an assertRunNotOk() similar to the existing assertRunOk()
to handle that instead of open coding it everywhere.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-19 11:02:25 +02:00
Yann E. MORIN
32bdc4710a package/network-manager: drop initrd-related services when unneeded
Since NetworkManager 1.54, packaged since commit 24827ae398
(package/network-manager: bump to 1.56.0), new services related to
running in an initrd are now installed, which prevents proper startup,
with systemd reporting that two units declare the same BusName.

When systemd is configured without initrd support, drop the
NetworkManager initrd-related services.

Fixes: 24827ae398

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Fiona Klute <fiona.klute@gmx.de>
Cc: Marcus Hoffmann <buildroot@bubu1.eu>
Acked-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
2026-06-19 01:00:38 +02:00
Bernd Kuhls
1e7187e1ad package/llvm-project: bump version to 22.1.8
https://discourse.llvm.org/t/llvm-22-1-8-released/91084

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-18 21:48:43 +02:00
Bernd Kuhls
c9bbc8c0ac package/squid: security bump version to 7.6
https://github.com/squid-cache/squid/blob/SQUID_7_6/ChangeLog
https://seclists.org/oss-sec/2026/q2/896

Fixes CVE-2026-47729 and CVE-2026-50012.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-18 21:46:21 +02:00
Giulio Benetti
09a13526b8 package/bind: security bump to version 9.18.50
Release notes:
https://ftp.isc.org/isc/bind9/9.18.50/doc/arm/html/notes.html

Changelog:
https://ftp.isc.org/isc/bind9/9.18.50/doc/arm/html/changelog.html

Security fix:
GL #5934
https://gitlab.isc.org/isc-projects/bind9/-/issues/5934

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-18 21:42:07 +02:00
Giulio Benetti
40ce6355c9 package/util-linux: security bump to 2.41.5
Security fixes:

 CVE-2026-53613 - mount(8) TOCTOU race on target path.
   The SUID mount does not pin the mount target directory, allowing a
   race between path resolution and the actual mount syscall.  A local
   attacker can swap an ancestor directory component between these
   steps to redirect a mount to an arbitrary location.
   Reported-by: Xinyao Hu

 CVE-2026-53612 - mount(8) TOCTOU race on post-mount owner/mode change.
   The X-mount.owner, X-mount.group, and X-mount.mode options use
   path-based lchown()/chmod() after mounting.  An attacker can swap
   the target between mount and the ownership/mode change to gain
   control of arbitrary files.
   Reported-by: Xinyao Hu

 CVE-2026-53614 - mount(8) SUID bypass via LIBMOUNT_FORCE_MOUNT2.
   The environment variable LIBMOUNT_FORCE_MOUNT2 is not filtered
   via safe_getenv() in SUID context.  A local attacker can force
   the legacy mount(2) code path, which uses a two-step bind+remount
   or propagation sequence with a window where security flags (nosuid,
   noexec, ...) are not yet applied.
   Reported-by: Xinyao Hu

Full release notes: https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.5-ReleaseNotes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-06-18 21:34:53 +02:00
Fiona Klute
67449130e9 docs/manual/migrating.adoc: document iwd network config change for 2026.08
With 8536a5d04a the upstream default
config is used, changing EnableNetworkConfiguration.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 16:41:01 +02:00
Fiona Klute
c0f95301ec package/iwd: make openresolv optional
In a standalone iwd setup having openresolv or systemd-resolved to
apply DNS config is useful, but if iwd is used with another network
management service (e.g. NetworkManager) the dependency is
unnecessary.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 15:15:50 +02:00
Fiona Klute
8536a5d04a package/iwd: install upstream main.conf
Note this changes EnableNetworkConfiguration from true to false
according to the upstream default, users who want a standalone iwd
setup which handles DHCP will need to adjust the config. Adjusting
NameResolvingService according to selected packages is unlikely to
have unexpected effects, so keep that.

This makes iwd work as a drop-in replacement for wpa_supplicant with
NetworkManager.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 15:14:11 +02:00
Fiona Klute
2c80df91c2 package/iwd/S40iwd: implement restart command
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:52:14 +02:00
Fiona Klute
59bc42f1a6 package/iwd/S40iwd: on stop wait for daemon to exit and delete PID file
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:52:14 +02:00
Fiona Klute
dabaf4ab46 package/iwd/S40iwd: log to syslog by default
The built-in default of iwd is to log to stderr, which is lost when
sent to the background.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:52:14 +02:00
Fiona Klute
3e2cc4e46f package/openrc/sysv-rcs: fix shellcheck 0.10 warnings
* Explicitly set shell type. Shellcheck doesn't know OpenRC, but the
  script as such is POSIX shell.
* Override warnings not applicable in context.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:18:29 +02:00
Fiona Klute
b4884a2937 package/mdnsd/S50mdnsd: rewrite to match current guidelines
With the action function as the last command in the script its return
code automatically becomes that of the script, and without explicit
exit shellcheck does not complain about unused functions.

Also wait for the process to stop in "stop", and simplify restart.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:18:29 +02:00
Fiona Klute
b2d84525f9 package/mpd/S95mpd: do not wait for exit if sending stop failed
If sending the stop signal failed for whatever reason, waiting for an
existing PID file to disappear is likely to block indefinitely.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Tested-by: Andreas Ziegler <br025@umbiko.net>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:18:25 +02:00
Fiona Klute
118ffb20b5 package/mpd/S95mpd: avoid unnecessary exit
The exit status of the last command automatically becomes the exit
status of the script. And if there is no explicit exit shellcheck
accepts unused functions (here: start/stop/... called via variable).

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Tested-by: Andreas Ziegler <br025@umbiko.net>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 14:18:14 +02:00
Bernd Kuhls
b94ada7608 package/usbutils: only needs libudev, not udev daemon
libudev-zero version 1.0.4 added support for usb.ids with commit
2bebebc9e0

Also select hwdata when libudev-zero implementation for udev is used to
more useful output from usbutils. This is strictly speaking an optional
dependency but would be confusing if it weren't working.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Marcus: add note about selecting hwdata]
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 13:39:53 +02:00
Bernd Kuhls
3dd9f98978 package/libudev-zero: bump version to 1.0.4
https://github.com/illiliti/libudev-zero/releases/tag/1.0.4

Removed patch which is included in this release.

Added buildroot-specific PREFIX to _BUILD_CMDS to override default
'/usr/local' in upstream Makefile to be compatible with the install
location of usb.ids provided by the hwdata package.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
2026-06-17 13:39:53 +02:00
Arnout Vandecappelle
20811dd818 CHANGES: Update for 2025.02.15
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>

(cherry picked from commit 62ef29936b)
2026-06-16 23:14:05 +02:00
Arnout Vandecappelle
c1f82f7ae2 Update news.html and download.html for 2025.02.15
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2026-06-16 23:14:04 +02:00
Arnout Vandecappelle
2448f2d2b0 CHANGES: Update for 2026.02.3
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>

(cherry picked from commit dad077f48d)
2026-06-16 23:09:12 +02:00
Arnout Vandecappelle
ced5db1f77 Update news.html and download.html for 2026.02.3
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2026-06-16 23:09:11 +02:00
Bernd Kuhls
5cd9188c3e package/python3: security bump version to 3.14.6
https://www.python.org/downloads/release/python-3146/
https://docs.python.org/release/3.14.6/whatsnew/changelog.html

Removed patches which are included in this release.

Fixes CVE-2026-9669:
157a5df8cb
https://seclists.org/oss-sec/2026/q2/846

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 21:02:04 +02:00
Giulio Benetti
dc43bd6f05 package/libnvme: bump version to 1.16.2
Release notes:
https://github.com/linux-nvme/libnvme/releases/tag/v1.16.2

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 20:50:11 +02:00
Bernd Kuhls
63dfdedd51 package/strace: bump version to 7.1
https://github.com/strace/strace/releases/tag/v7.1

Switched to sha256 tarball hash provided by upstream.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 18:52:23 +02:00
Bernd Kuhls
2dc34a18e7 package/strace: needs headers >= 5.1
Buildroot commit aa5e3eec63 bumped the
package to version 7.0 which includes commit
33b950714a
that adds an include of linux/time_types.h.

This header file was added in linux kernel version 5.1:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ca5e9aba753ed15d173c7a7b88e4d402b7ca8121

Fixes build errors:

In file included from ../bundled/linux/include/uapi/linux/cgroupstats.h:20:0,
                 from netlink_nlctrl.c:11:
../bundled/linux/include/uapi/linux/taskstats.h:21:30: fatal error:
 linux/time_types.h: No such file or directory

detected by the Gitlab pipelines with the following defconfigs:
- br-arm-full-static
- bootlin-aarch64-glibc-old

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 18:52:23 +02:00
Bernd Kuhls
206ac6a19f package/binutils: bump version to 2.46.1
https://sourceware.org/pipermail/binutils/2026-June/149568.html

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-16 18:49:59 +02:00
Bernd Kuhls
cbe867b895 linux: bump latest version to 7.1
For an overview of changes in 7.1, see:
https://kernelnewbies.org/Linux_7.1

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-15 23:17:55 +02:00
Bernd Kuhls
9530d74ddb {toolchain, linux-headers}: add support for 7.1 headers
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-15 23:17:55 +02:00
Bernd Kuhls
7ee8e9f12a linux: select host-openssl for all architectures when building latest CIP version
This is a follow-up for buildroot commit
bba86304b0 to extend the fix to CIP
kernels.

Fixes:
aarch64: https://autobuild.buildroot.net/results/f91/f910c1e0e864055120e2deaf4d56b127cabb89bd/
aarch64_be: https://autobuild.buildroot.net/results/6e6/6e651c586f9b2a1c9b39cafaf5bebc8b501e8369/
arcbe: https://autobuild.buildroot.net/results/9fe/9fe7b4c66ac139926e9a3686bc951af703e78b29/
arm: https://autobuild.buildroot.net/results/288/2888b0b6f5473e9c7ec7c443b02b42e1f5d4c814/
armeb: https://autobuild.buildroot.net/results/d6c/d6cbbfdcbebe985d743232070824779e790aa5a8/
microblazeel: https://autobuild.buildroot.net/results/bf3/bf3b4c61cdaf3527e9e315050bf21456bbb24a48/
mips: https://autobuild.buildroot.net/results/c6b/c6b9c82352be01dd4bab2021a223e72dfaf1f522/
or1k: https://autobuild.buildroot.net/results/231/23144a8108c5837e3a9cf26ad6ac73fa16dc740f/
riscv: https://autobuild.buildroot.net/results/31c/31c3abdb23bfe16e248e094e9b0feafbbb0d6a94/
s390x: https://autobuild.buildroot.net/results/bda/bdaaf6767f8c239bbf22e4619b2d6944ef951b2e/
sparc: https://autobuild.buildroot.net/results/426/42614f77be9fa1b3a596cdcb40cfb81f5496b41b/
sparc64: https://autobuild.buildroot.net/results/1f2/1f226d028d85c085d82f3890e804b39bccd2c2dc/
x86_64: https://autobuild.buildroot.net/results/7be/7be86c261a42e1a16c3d38a640be226b5f51bccb/

Supersedes
https://patchwork.ozlabs.org/project/buildroot/patch/20251101102346.109307-1-bernd@kuhls.net/
and includes Edgar's comment.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-15 22:55:15 +02:00