Commit Graph

76915 Commits

Author SHA1 Message Date
Julien Olivain
196043d0e8 Config.in: introduce BR2_HOST_GCC_AT_LEAST_{12..15}
Fedora 42 is planned to be released on 2025-04-22 [1].
It is also planned to include the upcoming gcc 15 release.
Gcc 15 is changing the default C language from -std=gnu17
to -std=gnu23 [2].

This change is expected to possibly introduce build failures [3].
In order to be prepared to fix those, this commit introduces the
BR2_HOST_GCC_AT_LEAST_{12..15} symbols.

[1] https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html
[2] https://gcc.gnu.org/gcc-15/changes.html#c
[3] https://savannah.gnu.org/support/?111150

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit cca8d68461)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:23 +02:00
Bernd Kuhls
1f565bda6e package/ghostscript: security bump to version 10.05.1
Release notes: https://ghostscript.readthedocs.io/en/gs10.05.1/News.html

"This release addresses CVEs: CVE-2025-27835, CVE-2025-27832,
 CVE-2025-27831, CVE-2025-27836, CVE-2025-27830, CVE-2025-27833,
 CVE-2025-27837, CVE-2025-27834, CVE-2025-46646"

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a1c7168760)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:19 +02:00
Patrik Olsson
4c033376a3 configs: rock4se: bump Linux versions
This patch bumps:
- Linux kernel to version 6.12.28 (LTS)

Signed-off-by: Patrik Olsson <johan.patrik.olsson@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 595dd3ae88)
[tperale: Only bump linux]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:15 +02:00
Bernd Kuhls
9c435793aa {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 176c61266e)
[tperale: Dropped linux 6.13]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:11 +02:00
Doug Kehn
d1804e401f package/nss-pam-ldapd: bump version to 0.9.13
See the release announce:
https://arthurdejong.org/nss-pam-ldapd/release-0-9-13

Signed-off-by: Doug Kehn <rdkehn@gmail.com>
[Julien: add link to release announce]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit badda6da8e)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:07 +02:00
Thomas Petazzoni
0161ac7af3 package/tpm2-pkcs11: bump to version 1.9.1
1.9.0..1.9.1 changes described at:

  https://github.com/tpm2-software/tpm2-pkcs11/releases/tag/1.9.1

Update suggested by https://gitlab.com/magerkraut at
https://gitlab.com/buildroot.org/buildroot/-/issues/109 as "There is a
issue with the database LOCK file".

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/issues/109

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 07eb63935a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:06:02 +02:00
Thomas Petazzoni
212e493ea0 package/netsnmp: backport patch fixing runtime with Linux >= 6.7
This issue has been reported in
https://gitlab.com/buildroot.org/buildroot/-/issues/110, where netsnmp
would not work on Linux >= 6.7 systems due to an issue in parsing
/proc/net/snmp. We simply backport a fix that's upstream, but not yet
in any stable release.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/issues/110

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit af674f3ecf)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:58 +02:00
Kadambini Nema
476163fc7e package/hwdata: bump version to 0.395
Release notes:
https://github.com/vcrhonek/hwdata/releases/tag/v0.395

Changelog:
https://github.com/vcrhonek/hwdata/compare/v0.394...v0.395

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1df9852cc4)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:54 +02:00
Thomas Petazzoni
b8a4a82cb6 support/dependencies/dependencies.sh: awk is needed by Buildroot
A basic Fedora 42 container does not have 'awk' installed, but it is
needed by Buildroot. First by check-host-python3.sh:

support/dependencies/check-host-python3.sh: line 6: awk: command not found
support/dependencies/check-host-python3.sh: line 19: awk: command not found
support/dependencies/check-host-python3.sh: line 19: awk: command not found

but then even building host-expat assumes awk is available:

config.status: creating Makefile
./config.status: line 1404: awk: command not found
config.status: creating expat.pc
./config.status: line 1404: awk: command not found

Since it's a pretty basic tool, make it part of the tools checked by
dependencies.sh. One minor annoyance is that check-host-python3.sh is
executed *before* dependencies.sh does its thing, so when 'awk' is not
available, we end up seeing:

support/dependencies/check-host-python3.sh: line 6: awk: command not found
support/dependencies/check-host-python3.sh: line 19: awk: command not found
support/dependencies/check-host-python3.sh: line 19: awk: command not found
which: no awk in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
You must install 'awk' on your build machine
make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1

It would be nice to have the awk check *before* it gets used in
check-host-python3.sh, but that's a topic for another patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 448ceefa78)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:49 +02:00
Thomas Petazzoni
0bcad41800 package/gdb: bump 15.x series to 15.2
Changes:

 Set GDB version number to 15.2.
 [gdb/python] Make sure python sys.exit makes gdb exit
 [gdb/symtab] Revert "Change handling of DW_TAG_enumeration_type in DWARF scanner"
 [gdb/testsuite] Add regression test for PR32158
 [gdb/testsuite] Add gdb.dwarf2/enum-type-c++.exp, regression test for PR31900.
 gdb-15-branch: Clear the X86_XSTATE_MPX bit in XCRO for x32
 Recognize -2 as a tombstone value in .debug_line
 [gdb] Handle ^C during disassembly
 Mark unavailable bytes of limited-length arrays when allocating contents
 gdb/solib-frv: move lm_info object to solib
 Fix loading a saved recording
 Bump GDB's version number to 15.1.90.DATE-git.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e40bf89e40)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:45 +02:00
Thomas Petazzoni
d8d201c95b package/gdb: bump 16.x series to 16.3
Changes:

 Set GDB version number to 16.3.
 gstack: [downstream regression] Output file names and line numbers
 Fix build failure for gdbserver's raw_compare self test
 Fix gdbserver crashes on SVE/SME-enabled systems
 gdb: allow selecting default fg/bg colors in tui mode
 gdb: Fix assertion failure when inline frame #0 is duplicated
 [gdb/tdep] Rewrite i386_canonicalize_syscall
 [gdb/record] Fix out-of-bounds write in aarch64_record_asimd_load_store
 gdb/dwarf: save DWARF version in dwarf2_loclist_baton, remove it from dwarf2_per_cu
 Fix segfault if target_fileio_read_alloc fails
 gdb/tui: use wrefresh if output is not surpressed
 [gdb/corefiles] Fix segfault in core_target_open
 Bump GDB's version number to 16.2.90.DATE-git.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b793160964)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:41 +02:00
Romain Naour
664d66bee5 configs/qemu: update defconfigs to Linux 6.12.27
Update all qemu defconfigs to the latest Kernel LTS version
where first patches fixing gcc 15 builds were backported [1][2].

Fixing kernel builds with gcc 15 is a prerequisite to build
and test new Bootlin bleeding-edge toolchains [3].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=247abefeb50d56c83ce7abda5a378e395ee8af72
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=593d852f7fe21a225df4866799b6b539de6b8255
[3] https://toolchains.bootlin.com

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5dacd8e056)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:37 +02:00
Titouan Christophe
7f914a368c package/sqlite: add patch to fix CVE-2025-29087
This patch was commited upstream, and released as part of sqlite 3.49.1

However, the configuration system changed between sqlite 3.48 and 3.49
from autotools to autosetup, and this has proven challenging to support
in Buildroot (see `git log package/sqlite`), hence why we are still on
sqlite 3.48.

Therefore, until the package build infrastructure correctly supports
building sqlite 3.49, let's simply import the upstream patch to address
the CVE.

Note: the upstream patch is on the orignal sqlite sources. Buildroot is
using the sqlite "amalgamation" source archive, which basically
concatenate all the source files in a single "sqlite3.c" file. So the
patch was reformated to apply correctly on the sqlite release archive.

Fixes:
https://www.cve.org/CVERecord?id=CVE-2025-29087

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
[Julien:
 - reformat patch to be applicable on amalgamated sqlite sources
 - add comment in commit log about patch format
 - add "Fixes:" in commit log
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 835b5659ea)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:05:32 +02:00
Julien Olivain
b80e9d6299 configs/friendlyarm_nanopi_r3s: fix host linux headers custom version
Since its introduction in commit [1], the
friendlyarm_nanopi_r3s_defconfig is failing to build with error:

    Incorrect selection of kernel headers: expected 6.12.x, got 6.13.x

The error happens because the defconfig has:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
and
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.13.4"

This commit fixes the issue by setting instead:
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.28"

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/9887216429

[1] 41734e00c0

Cc: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 74c4dd4150)
[Thomas:
  Since this has been introduced in LTS branch I set the kernel
  version to 6.12.x present in LTS instead of changing the linux header
  version.
]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-15 17:03:44 +02:00
Peter Korsgaard
7109348aaf package/jo: bump version to 1.9
Mainly bugfixes (1.8 was deleted):

https://github.com/jpmens/jo/releases/tag/1.9
https://github.com/jpmens/jo/releases/tag/1.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b8134a1195)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:05:45 +02:00
Kadambini Nema
c70f032092 package/tzdata: bump version to 2025b
Release notes:
https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/6JVHNHLB6I2WAYTQ75L6KEPEQHFXAJK3/

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 4acbe7a35c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:05:43 +02:00
Kadambini Nema
83acde521f package/zic: bump version to 2025b
Release notes:
https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/6JVHNHLB6I2WAYTQ75L6KEPEQHFXAJK3/

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 36c969cc4c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:05:41 +02:00
Julien Olivain
9da761ed3d configs/imx28evk: enable BR2_DOWNLOAD_FORCE_CHECK_HASHES
This commit adds BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in the defconfig
and adds custom hash files. The exception entry in .checkpackageignore
is also removed.

Cc: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 683681261b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:05:19 +02:00
Thomas Perale
6e18929f04 package/bird: fix build failure with bfd
The 'bird' package with only the `BR2_PACKAGE_BIRD_BFD=y` protocol
enabled fails to build with the following error

```
bison  -Dparse.lac=full -Dparse.error=verbose -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y
proto/bfd/config.Y:204.27-33: error: symbol 'ADDRESS' is used, but is not defined as a token and has no rules
  204 |  | bfd_show_sessions_args ADDRESS net_or_ipa { net_copy(&($$->address...
      |                           ^~~~~~~
```

The `ADDRESS` token is defined only when certain protocols (e.g. OSPF,
RIP, RPKI, or BGP) are enabled. As a result, builds including any of
these protocols do not encounter the issue.

The issue can be reproduced with the commands:

    cat >.config <<EOF
    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_PACKAGE_BIRD=y
    BR2_PACKAGE_BIRD_BFD=y
    # BR2_PACKAGE_BIRD_BGP is not set
    EOF
    make olddefconfig
    make bird

This patch backports upstream commits that define the `ADDRESS` token
for the BFD protocol.

Fixes:
https://autobuild.buildroot.org/results/68c5dd84585a7018ad57ea3e7134748c08858ef7/

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
[Julien: add commands to reproduce the issue]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 80cfdcb86b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:45 +02:00
Alexander Mukhin
0716a6f838 DEVELOPERS: remove Alexander Mukhin from tinyproxy and zfs
Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 9d3c4130d7)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:43 +02:00
Kadambini Nema
be132ec5ba package/traceroute: bump to version 2.1.6
For change log since 2.1.3, see:
https://sourceforge.net/projects/traceroute/files/traceroute/traceroute%202.1.4/
https://sourceforge.net/projects/traceroute/files/traceroute/traceroute%202.1.5/
https://sourceforge.net/projects/traceroute/files/traceroute/traceroute%202.1.6/

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
[Julien: add links to change logs]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a31dc4c21a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:41 +02:00
Kadambini Nema
561dd7fa07 package/hwdata: bump version to 0.394
Release notes:
https://github.com/vcrhonek/hwdata/releases/tag/v0.394

Changelog:
https://github.com/vcrhonek/hwdata/compare/v0.392...v0.394

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b18f95c155)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:39 +02:00
Kadambini Nema
591a7634d6 package/mtools: bump version to 4.0.48
Release notes:
https://lists.gnu.org/archive/html/info-mtools/2025-02/msg00019.html

Changelog:
https://svn.savannah.gnu.org/viewvc/mtools/tags/4.0.48/NEWS?view=markup

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit ee595c95ae)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:37 +02:00
Waldemar Brodkorb
1c040b187d package/ruby: update to 3.4.3
See here for a changelog:
https://github.com/ruby/ruby/releases/tag/v3_4_3

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 93cd246dc7)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:35 +02:00
Giulio Benetti
41f8b8daa3 package/sunxi-mali-utgard-driver: bump to version 2025-05-02
It builds up to Linux 6.13

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 50c7542326)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:33 +02:00
José Luis Salvador Rufo
5ca8d70907 package/zfs: add upstream patch to fix musl
This patch fixes the `S_IFMT` undeclared error in `statx.c` when musl
is used.

Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 9a672635a1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:31 +02:00
José Luis Salvador Rufo
c1e2a6e251 package/zfs: bump version to 2.3.2
For release note, see:
https://github.com/openzfs/zfs/releases/tag/zfs-2.3.2

Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 18ecf1c648)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:28 +02:00
José Luis Salvador Rufo
d7892184a0 package/zfs: bump version to 2.3.1
For release note, see:
https://github.com/openzfs/zfs/releases/tag/zfs-2.3.1

Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e74584288c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 21:03:11 +02:00
James Hilliard
c54ef55dfc package/hiredis: bump to version 1.3
For change log, see:
https://github.com/redis/hiredis/releases/tag/v1.3.0

Note this version raises the minimum cmake version from 3.0.0 to 3.7.0.
This change fixes build with a host-cmake 4.0.0 (which has removed
compatibility with cmake < 3.5). Such a failure happens on Arch Linux
which is now providing cmake 4.0.

Fixes:
https://autobuild.buildroot.org/results/662fc308807866f9e25655541f6a8ef9ff32e55a/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Julien: add details in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 11c7d00a59)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:59:07 +02:00
Titouan Christophe
13dfeece13 package/yasm: add patch for CVE-2021-33454
This fixes a potential NULL pointer dereference

As a side note, this package has many opened CVEs, but upstream doesn't seem
to really consider them as security issues, see their disclaimer here:
https://github.com/yasm/yasm/blob/master/SECURITY.md

We could speculate that this disclaimer has been written as a consequence of
the many small CVEs opened in a short time, that don't have a substantial
security impact (besides the command line tool crashing). All of these small
CVEs have been opened for bug reports issued by a third party who used a
fuzzy tester to manipulate the assembler input

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 875f5670aa)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:59:05 +02:00
Titouan Christophe
ee918fbfea DEVELOPERS: update email for Titouan Christophe
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b8e8cf6ea0)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:59:03 +02:00
Titouan Christophe
b9c2c3caa8 package/wireshark: security bump to v4.2.11
This fixes the following CVE:

- CVE-2025-1492: The Bundle Protocol and CBOR dissectors could crash

    It may be possible to make Wireshark crash by injecting a malformed
    packet onto the wire or by convincing someone to read a malformed
    packet trace file.

See https://www.wireshark.org/security/wnpa-sec-2025-01

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 032b268890)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:59:01 +02:00
Christian Hitz
4df388d240 package/libxml2: security bump to version 2.13.8
Fixes the following security vulnerabilities:

[CVE-2025-32414] Buffer overflow when parsing text streams with Python API
https://gitlab.gnome.org/GNOME/libxml2/-/issues/889

[CVE-2025-32415] Heap-based Buffer Overflow in xmlSchemaIDCFillNodeTables
https://gitlab.gnome.org/GNOME/libxml2/-/issues/890

https://www.openwall.com/lists/oss-security/2025/04/17/3

For release notes since 2.13.6, see:
https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.7.news
https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.8.news

Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
[Julien: add links to release notes]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 8e1ad23f2a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:59 +02:00
Raphaël Mélotte
0934ce7321 support/scripts/pkg-stats: fix typo in --disable help text
Annoyingly, using "--disable warning" does not disable the warnings
checks.

It turns out that we look for "warnings" (i.e. with an 's') to know if
we should disable the warnings check, so update the help text
accordingly.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 92e7ab78d6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:57 +02:00
Kadambini Nema
7f04b42fde package/expat: bump to version 2.7.1
Changelog:
https://github.com/libexpat/libexpat/blob/R_2_7_1/expat/Changes

Update hash of the COPYING file (year updated):
2b2a24691a

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit de3e07d6fd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:55 +02:00
Yegor Yefremov
ef267ae564 package/ncftp: bump to version 3.3.0
For change log, see:
https://www.ncftp.com/ncftp/doc/changelog.html

Fixes:
https://autobuild.buildroot.org/results/103b86c5473077cd95a245a762059a23f78c1a44/build-end.log

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Julien: add link to change log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 78d3861173)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:53 +02:00
Dario Binacchi
ea608f3cb4 package/armadillo: bump to version 14.4.2
Release notes:
https://arma.sourceforge.net/docs.html#changelog

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 609ea9789f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:51 +02:00
Thomas Bonnefille
f9df4870a2 package/mpv: switch to meson from waf
Since commit fd562315, which updated waf to v2.1.1, Buildroot has
encountered issues building mpv, likely due to an outdated version of
the waf build system.

Starting with mpv v0.35, meson was introduced as an alternative to waf,
and in mpv v0.37, waf was completely removed.

This commit updates the mpv makefile to use meson, resolving the build
issues and simplifying future updates to newer versions of mpv.

All options previously used for Waf have been translated to the new
build system by replacing `--disable-feature` with `-Dfeature=disabled`
(and similarly for enabling features). Some features have special
handling:

- The `/usr` prefix is automatically passed to meson packages by
  default.
- The Android feature "has been removed since meson can detect if a
  machine is Android"[1].
- The `libmpv` parameter has been enabled in the makefile as `libmpv`
  must be built by default with mpv.
- Meson packages automatically set whether the library should be built
  statically using the `default_library` meson parameter.
- Meson automatically detects the presence of `libatomic` and passes the
  correct argument to the linker. However, it is possible to set the
  `stdatomic` meson parameter to specify whether `libatomic` must or
  must not be used.

Fixes:
    https://autobuild.buildroot.org/results/68d42441fc0da34e1bf2a4247726f5f4ec3b8e77/

[1]: 140ec21c89/DOCS/build-system-differences.md (L48)

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Tested-by: J. Neuschäfer <j.ne@posteo.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 8f69974c20)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:49 +02:00
Titouan Christophe
f5297b9685 package/waf: bump to v2.1.5
For change log, see:
https://gitlab.com/ita1024/waf/-/blob/waf-2.1.5/ChangeLog

Tested with `./utils/test-pkg -p ntpsec` (ntpsec is a waf-package)

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
[Julien: add link to change log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3d90ae79a8)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-14 20:58:47 +02:00
Lance Fredrickson
f01337e8b4 package/ubus: bump version to afa57cc
Changelog:

 - afa57cc libubus: add support for using channels
 - d996988 libubus: close file descriptor after sending it from a request
 - 252a9b0 libubus: Make UBUS_* macros work cleanly in C++
 - 65bb027 CMakeLists.txt: bump minimum cmake version
 - f84eb59 libubus: fix initial subscribe with autosubscribe
 - 2b39a27 libubus: fix reconnect with auto subscribe
 - b3e8c4e Add auto subscribe support

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9af9b4b304)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:45:18 +02:00
Lance Fredrickson
dd0368e1ed package/libubox: bump version to 3868f47
Changelog:

 - 3868f47 blob: constify attr argument to blob_memdup
 - eb9bcb6 ustream: prevent recursive calls to the read callback
 - 12bda4b CI: add CodeQL workflow tests
 - a2fce00 CI: add build test run
 - c1be505 udebug: fix crash in udebug_entry_vprintf with longer strings
 - 6339204 CMakeLists.txt: bump minimum cmake version
 - ca3f6d0 udebug: fix file descriptor initialization for __udebug_buf_map
 - df5b714 udebug: add mips specific quirk
 - d27acfe udebug: add more checks for uninitialized buffers
 - 40acbe3 udebug: wait for response after buffer add/remove
 - e84c000 udebug: add inline helper function to test if a buffer is allocated
 - 325fea5 udebug: add functions for manipulating entry length
 - e80dc00 link librt if needed for shm_open
 - 260ad5b udebug: add ulog support
 - b77f2a4 uloop: fix build using C++ compilers
 - d4c3066 udebug: add udebug library code
 - b3fa3d9 uloop: reset flags after __uloop_fd_delete call
 - 8a5a431 uloop: fix typo in signal handling rework
 - f7d1569 uloop: properly initialize signal handler mask
 - 13d9b04 uloop: add support for user defined signal handlers
 - 82fa648 uloop: add support for interval timers

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 44c11a6862)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:44:18 +02:00
Lance Fredrickson
d22837db90 package/libuci: bump version to f3fc0b7
Changelog:

 - f3fc0b7 libuci: fix false positive warning on older gcc versions
 - 16ff0ba CMakeLists: add support for including ABIVERSION in the library version number
 - 047b2ef CMakeLists.txt: bump minimum cmake version
 - fb3c234 add support for an override config directory
 - 10f7996 file: Ignore config file with '.' in name
 - 5781664 remove internal usage of redundant uci_ptr.last
 - 3cda251 file: Fix uci -m import command
 - 04d0c46 uci: macro uci_alloc_element not in uci.h
 - ae61e1c uci: optimize update section in uci_set
 - 16e8a3b uci: fix memory leak uci_set on update section
 - b2f3417 uci: maintain option position in uci_add_list
 - 74f2797 uci: fix atomicity of uci_add_list
 - 47697e6 uci: fix use-after-free uci_add_list
 - 7e01d66 uci: optimize update option in uci_set
 - b7ceda9 uci: maintain option position in uci_set
 - 9b6605e uci: fix use-after-free uci_set on update option
 - f49a2fd delta: simplify uci_load_delta() by using a helper
 - 5de3871 cli: drop redundant uci_add_delta_path() call for -P
 - f84f49f cmake: Allow override of install directories

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3e2e593409)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:32:34 +02:00
Vincent Fazio
7872c76641 package/python-setuptools: bump to 79.0.1
This version of setuptools includes an update to distutils [0] which
fixes an issue with determining the linker command for C++ targets when
a wrapper, such as ccache, is in the command.

Fixes: https://autobuild.buildroot.org/results/5f017fca3d708388c9f66afea39b090f0976d496/

[0]: b8c06fffe4

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3672945a8d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:26:14 +02:00
J. Neuschäfer
22216cedc4 package/ffmpeg: add support for libopenmpt
Configure ffmpeg to use libopenmpt if available.

Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5621fe94af)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:24:42 +02:00
Lance Fredrickson
1a407c28e5 package/wireless-regdb: bump version to 2025.02.20
See release announce:
https://lists.infradead.org/pipermail/wireless-regdb/2025-February/001686.html

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 770c1525e6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:23:13 +02:00
Lance Fredrickson
f62d80c3e7 package/dnsmasq: bump version to 2.91
Changelog: https://thekelleys.org.uk/dnsmasq/CHANGELOG

Release notes:
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2025q1/018079.html

Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3db7e675d5)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 17:22:59 +02:00
James Hilliard
6ea7024a34 package/python-cryptography: bump to version 44.0.1
For change log, see:
https://cryptography.io/en/44.0.1/changelog/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Julien: add link to change log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e0af35c76a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:28 +02:00
Thomas Perale
5d07dd437d package/strongswan: fix build w/ wolfssl
The package strongswan relies on the `wc_RsaKeyToDer` & `wc_MakeRsaKey`
functions of WolfSSL. Building this package with the WolfSSL backend
by selecting the variable `BR2_PACKAGE_STRONGSWAN_WOLFSSL` would give
the following error:

```
libtool: compile:  /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DWC_NO_RNG -rdynamic -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-pointer-sign -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -include /home/buildroot/instance-0/output-1/build/strongswan-5.9.14/config.h -c wolfssl_ed_public_key.c -o wolfssl_ed_public_key.o >/dev/null 2>&1
wolfssl_rsa_private_key.c: In function 'get_encoding':
wolfssl_rsa_private_key.c:366:31: error: implicit declaration of function 'wc_RsaKeyToDer'; did you mean 'wc_EccKeyToDer'? [-Wimplicit-function-declaration]
  366 |                         len = wc_RsaKeyToDer(&this->rsa, encoding->ptr, len);
      |                               ^~~~~~~~~~~~~~
      |                               wc_EccKeyToDer
libtool: compile:  /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DWC_NO_RNG -rdynamic -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-pointer-sign -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -include /home/buildroot/instance-0/output-1/build/strongswan-5.9.14/config.h -c wolfssl_ec_private_key.c -o wolfssl_ec_private_key.o >/dev/null 2>&1
wolfssl_rsa_private_key.c: In function 'wolfssl_rsa_private_key_gen':
wolfssl_rsa_private_key.c:490:13: error: implicit declaration of function 'wc_MakeRsaKey'; did you mean 'wc_FreeRsaKey'? [-Wimplicit-function-declaration]
  490 |         if (wc_MakeRsaKey(&this->rsa, key_size, WC_RSA_EXPONENT, &this->rng) < 0)
      |             ^~~~~~~~~~~~~
      |             wc_FreeRsaKey
```

Those functions are only present when building the WolfSSL library with
the keygen supports (`--enable-keygen`).

This patch change the selected package to enable all the option of
WolfSSL, which include the keygen as well.

Fixes:
  - https://autobuild.buildroot.org/results/d0e/d0e94f501ad1afd25ae4112443f9af101dfa5dea

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6c18375434)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:27 +02:00
Thomas Perale
43738bf6a1 package/micropython: bump to version 1.22.2
This version bump removes CVE-2023-7152, which was incorrectly associated
with the micropython package in pkg-stats.

Although the CVE fix was already present in 1.22.0 the CVE only applied
to the preview version of 1.22.0. The CPE ID of the 1.22.0 matched with the
CPE ID of the 1.22.0 preview version as well.

This patch bumps to the latest patch-level version available in the 1.22.x
series to include additional fixes, rather than just adding the CVE to the
'MICROPYTHON_IGNORE_CVES' list.

The LICENSE hash has been updated, as the licenses used for the ports and
libraries have also been updated in the LICENSE file.

For more details on the version bump, see the release notes:
  - https://github.com/micropython/micropython/releases/tag/v1.22.2
  - https://github.com/micropython/micropython/releases/tag/v1.22.1

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 294e3a40bb)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:26 +02:00
James Hilliard
0b19c2e6fc package/libubootenv: bump to version 0.3.6
For release note, see:
https://github.com/sbabic/libubootenv/releases/tag/v0.3.6

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Julien: add link to release note]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 72661cb424)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:25 +02:00