Commit Graph

80131 Commits

Author SHA1 Message Date
Thomas Perale
d464e5e856 boot/grub2: add CVE trailer in patch
Since Buildroot commit [1] the patches that fixes a security
vulnerability needs to reference the fixed vulnerability.

This patch adds the relevant information to the patch header.

[1] 1167d0ff3d docs/manual: mention CVE trailer

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 22:00:03 +01:00
Thomas Perale
0669124d77 package/openvmtools: add CVE trailer in patch
Since Buildroot commit [1] the patches that fixes a security
vulnerability needs to reference the fixed vulnerability.

This patch adds the relevant information to the patch header.

[1] 1167d0ff3d docs/manual: mention CVE trailer

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 22:00:02 +01:00
Thomas Perale
f2e442a14d package/mupdf: remove stale IGNORE_CVES
The fixes for the CVE-2024-24258 & CVE-2024-24259 were introduced in [1]
and targeted the package libfreeglut.

The patches that fixed CVE-2024-24258 & CVE-2024-24259 in libfreeglut
were removed in Buildroot commit [2]. With this bump the IGNORE_CVES
entries for mupdf were not removed.

[1] 0f4fef076f package/libfreeglut: add upstream security fix for CVE-2024-2425{8, 9}
[2] b1c77090ef package/libfreeglut: bump version to 3.6.0

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 22:00:01 +01:00
Thomas Perale
1b656345ec package/yasm: add CVE trailer in patch
Since Buildroot commit [1] the patches that fixes a security
vulnerability needs to reference the fixed vulnerability.

This patch adds the relevant information to the patch header.

[1] 1167d0ff3d docs/manual: mention CVE trailer

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 22:00:01 +01:00
Thomas Perale
77d1dcd2ea package/cpp-httplib: remove stale IGNORE_CVES
Buildroot commit [1] removed the stale cpp-httplib patched but the
IGNORE_CVES entry wasn't removed.

[1] 8988278241 package/cpp-httplib: remove stale patch

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 22:00:00 +01:00
Bernd Kuhls
bca4631208 package/intel-vpl-gpu-rt: bump version to 25.4.6
For release notes, see:
https://github.com/intel/vpl-gpu-rt/releases/tag/intel-onevpl-25.4.6

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-28 19:39:46 +01:00
Bernd Kuhls
4e1f33f707 package/intel-mediadriver: bump version to 25.4.6
For release notes, see:
https://github.com/intel/media-driver/releases/tag/intel-media-25.4.6

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-28 19:39:45 +01:00
Bernd Kuhls
5335dd1733 package/irqbalance: fix build with gcc >= 15.x
When the ncurses UI code in irqbalance is enabled, the build fails
with gcc >= 15.x, for example with:

BR2_arm=y
BR2_cortex_a53=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_NCURSES_WCHAR=y
BR2_PACKAGE_IRQBALANCE=y

Backport two upstream patches that fix those issues.

Fixes:

  https://autobuild.buildroot.net/results/3b609fe191e03330480f647b09dd06916da13317/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 19:15:03 +01:00
Thomas Devoogdt
306138d415 package/yq: new package
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 15:16:39 +01:00
Bernd Kuhls
814eef2adf package/qt5/qt5enginio: update SITE
Old URL returns 404.

Fixes:
https://autobuild.buildroot.net/results/064/0647daa54deb9df953d43b438ac05ebefb81b6ce/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 15:12:39 +01:00
Bernd Kuhls
62db5ae567 package/xvkbd: fix build with gcc >= 14.x
Fixes:

  https://autobuild.buildroot.net/results/86f2ba051e864375bda620dd92e01cb7b8532ac3/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 14:45:23 +01:00
Vincent Jardin
adc2d87190 package/sysrepo-cpp: new package
Add a Buildroot package for sysrepo-cpp, providing modern C++ RAII
bindings for the sysrepo YANG datastore library.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 14:20:09 +01:00
Vincent Jardin
fda322795a package/libyang-cpp: new package
Add C++ RAII bindings for libyang (v4).

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 14:20:02 +01:00
Julien Olivain
b42bfbc5e1 package/ddrescue: bump version to 1.29.1
For release announces, see:
1.29: https://lists.gnu.org/archive/html/info-gnu/2025-01/msg00003.html
1.29.1: https://lists.gnu.org/archive/html/info-gnu/2025-03/msg00011.html

This commit switches _SITE from savannah to use BR2_GNU_MIRROR.
At the time of this commit, the savannah mirror does not include the
1.29.1 archive. This will also use https by default.

This commit also updates the license hash, after the FSF address update.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:39:35 +01:00
Julien Olivain
c3d5f2c254 support/testing: ddrescue: use f-string for test config
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:39:21 +01:00
Julien Olivain
289b5aab18 support/testing: ddrescue: bump test kernel to 6.18.2
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:39:14 +01:00
Julien Olivain
4fc6e8637b support/testing: ddrescue: use dmsetup from lvm2
The ddresue runtime test is using the `dmsetup` command provided by the
dmraid package. This package is outdated and will be removed. This
command is also provided by the lvm2 package, which is still maintained.

This commit replaces the dmraid package by lvm2 in the test config.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:39:07 +01:00
Bernd Kuhls
c0ab8bb2ee package/matchbox-lib: bump version to 1.14
Changelog: https://git.yoctoproject.org/libmatchbox/log/?h=1.14

Updated license hash due to upstream commit:
https://git.yoctoproject.org/libmatchbox/commit/COPYING?h=1.14&id=bd46fea025212dac5e2a218a41f971d4cba92b76

Drop patch that is upstream.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:23 +01:00
Thomas Petazzoni
2bfdadab43 package/matchbox-lib: fix build failure with GCC 15.x
Backport upstream patch fixing:

hash.c:76:6: error: conflicting types for ‘hash_empty’; have ‘void(struct hash *)’
   76 | void hash_empty(struct hash *h)
      |      ^~~~~~~~~~
In file included from hash.c:22:
hash.h:41:6: note: previous declaration of ‘hash_empty’ with type ‘void(void)’
   41 | void hash_empty();
      |      ^~~~~~~~~~

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:22 +01:00
Thomas Petazzoni
d5bb2902ec package/matchbox-panel: add patch fixing GCC 14.x build issue
Fixes:

mb-applet-launcher.c: In function ‘get_launch_window’:
mb-applet-launcher.c:269:18: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
  269 |   time_t stime = time(NULL);
      |                  ^~~~

No autobuilder failures, it was hidden by other failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:22 +01:00
Bernd Kuhls
e235a191dd package/matchbox-panel: fix build with GCC 14.x
No autobuild errors recorded due to download errors with dependencies.

Patch not sent anymore, original project has no updates since 2010:
https://git.yoctoproject.org/matchbox-panel

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:21 +01:00
Bernd Kuhls
446fea34aa package/matchbox-keyboard: switch to gz tarball
Switched _SOURCE to .gz, upstream does not provide bz2 tarballs
anymore. This means in fact _SOURCE can be dropped, as it's now the
default value.

No autobuild errors recorded due to previous download error with
matchbox-lib.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:20 +01:00
Bernd Kuhls
c687f2fcf5 package/matchbox-fakekey: switch to gz tarball
Switched _SOURCE to .gz, upstream does not provide bz2 tarballs anymore.

No autobuild errors recorded due to previous download error with
matchbox-lib.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:19 +01:00
Thomas Petazzoni
4b33839f12 package/matchbox-lib: switch to gz tarball
Switched _SOURCE to .gz, upstream does not provide bz2 tarballs anymore.

Fixes:

  https://autobuild.buildroot.net/results/66ac5ae4b1cd053122ccebad9f61af02fa5fe7f6/

Co-developed-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-28 00:15:19 +01:00
Andrea Ricchi
147236691d package/cutekeyboard: bump version to 1.5.0
For change log, see:
https://github.com/amarula/cutekeyboard/releases/tag/v1.5.0

Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
[Julien: add link to change log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 23:48:23 +01:00
Yann E. MORIN
dab0feeae8 package/skopeo: needs NPTL
So far, skopeo inherited the thread dependency from its runtime
dependencies. However, skopeo uses pthread_getattr_np(3), which
is only available with NPTL on uClibc. glibc and musl have had
it for ages (and only implement NPTL anyway).

Fixes: https://autobuild.buildroot.org/results/b9d123986c2a65427bfca32ee3ea792a988e6890/

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 23:17:03 +01:00
Giulio Benetti
d60dc5e618 package/xr819-xradio: bump to version 2025-10-11
Drop upstreamed patch.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 22:29:13 +01:00
Thomas Petazzoni
225f8a1899 DEVELOPERS: add missing entry for varlink test
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 21:58:05 +01:00
Marcus Hoffmann
33479613d4 support/testing: python-varlink: new runtime test
Add new runtime test for python-varlink.

As always when we need to start a separate server process inside a test
case this gets slightly fiddly.

We override the test_run() function to first start the varlink example server,
then call the packages cli interface to do a varlink call against the
server. The cli defaults to pretty printing the result, which makes it
more annoying to compare to the expected result in the test case, so we
un-prettyprint it with python's builtin json.tool module.

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 21:54:20 +01:00
Marcus Hoffmann
ec0872b0e0 package/python-varlink: new package
There are currently problems in updating the pypi.org release[1], so we
pull the package from the github generated tarball instead. This in turn
then requires manually setting the version for setuptools_scm in the
environment.

[1] https://github.com/varlink/python/issues/81

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 21:54:20 +01:00
Alexander Shirokov
673adebb0c package/broot: bump version to 1.54.0
Changelog:
https://github.com/Canop/broot/blob/v1.54.0/CHANGELOG.md

Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com>
[Julien: update changelog URL to use tag]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 20:07:34 +01:00
Bernd Kuhls
3fb7422f07 package/intel-gmmlib: bump version to 22.9.0
https://github.com/intel/gmmlib/releases/tag/intel-gmmlib-22.9.0

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 19:42:55 +01:00
Bernd Kuhls
38f485d216 package/libvpl: bump version to 2.16.0
https://github.com/intel/libvpl/releases/tag/v2.16.0

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 19:42:53 +01:00
Bernd Kuhls
e859686460 package/alsa-utils: bump version to 1.2.15.1
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-utils
https://www.alsa-project.org/wiki/Changes_v1.2.15_v1.2.15.1#alsa-utils

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 19:21:45 +01:00
Bernd Kuhls
5a9e80a8c9 package/alsa-lib: bump version to 1.2.15.1
https://www.alsa-project.org/wiki/Changes_v1.2.14_v1.2.15#alsa-lib
https://www.alsa-project.org/wiki/Changes_v1.2.15_v1.2.15.1#alsa-lib

Rebased patch 0001.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 19:21:43 +01:00
Adrian Perez de Castro
d582de6838 package/wpebackend-fdo: bump to version 1.16.1
This maintenance release introduces support for newer versions of the
Mesa library. Release notes:

  https://wpewebkit.org/release/wpebackend-fdo-1.16.1.html

Also imports an upstream patch that is needed at least to successfully
build when using the Musl libc.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 16:57:48 +01:00
Marcus Hoffmann
a4cdb412f1 package/python-can: remove msgpack dependency
Dependency was made optional in 4.6.0 release here:
6058ab9dfe

python-can has a lot of optional dependencies, most of which are not
represented in buildroot. As msgpack is used for the virtual multicast
udp can interface[1], which does seem like a bit of a niche usecase,
just drop the mandatory dependency without introducing a user-visible
config option to enable it.

[1] https://python-can.readthedocs.io/en/4.0.0/interfaces/udp_multicast.html

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:57:27 +01:00
Marcus Hoffmann
61966c2133 support/testing: add libiio python bindings runtime test
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:54:13 +01:00
Marcus Hoffmann
193df1cbec package/libiio: fix python bindings without glibc utils
Libiio python bindings use ctypes and specifically the find_library()
function from there to load the libiio.so shared library. This is not
working unless glibc utils (specifically ldconfig) is installed to the
target (alternatively the target would need gcc or binutils, for objdump
or ld).

The easy fix here is to just bypass the find_library() machinery
altogether as it's not needed on a buildroot system.

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Tested-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:54:06 +01:00
Bernd Kuhls
016365cfe3 package/upmpdcli: bump version to 1.9.7
Release notes:
https://www.lesbonscomptes.com/upmpdcli/pages/releases.html

Switched _SITE to https.

Switched build system to meson after autotools were removed in version
1.8.10:
https://www.lesbonscomptes.com/upmpdcli/pages/releases.html#_2024_04_03_switching_the_build_tools_from_gnu_autotools_to_meson

Remove spotify-related configure option after upstream removed spotify
support:
https://www.lesbonscomptes.com/upmpdcli/pages/releases.html#UPMPDCLI-1.7.0

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:53:17 +01:00
Bernd Kuhls
9c9ec28579 package/libupnpp: bump version to 1.0.3
Release notes:
https://www.lesbonscomptes.com/upmpdcli/pages/releases.html

Switched _SITE to https.

Switched build system to meson after autotools were removed in version
0.26.4.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:53:16 +01:00
Bernd Kuhls
2774502344 package/libnpupnp: bump version to 6.2.3
Release notes:
https://www.lesbonscomptes.com/upmpdcli/pages/releases.html

Switched _SITE to https.

Switched build system to meson after autotools were removed in version
6.1.2.

This bump fixes a gerbera build error introduced to buildroot by the
gerbera bump to 2.6.1 with buildroot commit
f8bf789115.

Fixes:
https://autobuild.buildroot.net/results/b6b/b6bd96cb9dbcaff9351ef156edaec7d1b5290b9e/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:53:15 +01:00
Bernd Kuhls
29e9566a00 package/open-lldp: bump version to 1.1.1
https://github.com/intel/openlldp/blob/v1.1.1/ChangeLog

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:53:14 +01:00
Bernd Kuhls
fe917c3671 package/open-lldp: fix musl build with >= gcc-14.x
GCC >= 14.x is stricter amount having access to the prototypes of
functions being used, causing a build failure in open-lldp due to a
missing <string.h> include. This is only visible with musl probably
because with other C libraries <string.h> end up being included by
some other header.

Fixes:
https://autobuild.buildroot.net/results/0f8/0f88cbe9152ab816b4ae17e1d84e8257f458eb4a/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:53:13 +01:00
Thomas Petazzoni
2667cab664 toolchain/Config.in: drop BR2_TOOLCHAIN_HAS_GCC_BUG_121567
GCC bug 121567 is actually a duplicate of GCC bug 81426, which already
existed upstream, and for which we already had
BR2_TOOLCHAIN_HAS_GCC_BUG_81246.

In addition, BR2_TOOLCHAIN_HAS_GCC_BUG_81246 is correctly defined as
affecting SuperH regardless of the optimization level. Indeed, when
BR2_TOOLCHAIN_HAS_GCC_BUG_121567 was introduced, it was thought that
only -O2 and -O3 levels are affected, but -Og, -O1 and -Ofast are also
affected, causing the python3 build to fail.

Fixes:

  https://autobuild.buildroot.net/results/aca1812415ee84eef223b0fdff88f31a39775294/ (-O1 build)

  https://autobuild.buildroot.net/results/3fd91ce3ff8727d2f9c12f6721df922c60282d70/ (-Ofast build)

  https://autobuild.buildroot.net/results/e5536dcf598a51f5006343513a76f4e223e80a55/ (-Og build)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 16:26:15 +01:00
Thomas Petazzoni
0f938aed25 package/python3: make SuperH tweak actually effective
In commit a68899d49e ("package/python3:
work around GCC bug 121567"), we introduced a work around for a gcc
bug, by reducing to -O1 the optimization level on SuperH.

However, it turns out that this is not sufficient, as the build will
only succeeded at -O0.

Fixes:

  https://autobuild.buildroot.net/results/31f/31f34a983036b4135c12e5797b5c2258ab33e6c2/

Which is a config with BR2_OPTIMIZE_2=y, which means
BR2_TOOLCHAIN_HAS_GCC_BUG_121567=y, and therefore -O1 is passed, but
still the build fails. At -O0 the build doesn't fail.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 16:26:14 +01:00
Sébastien Szymanski
d297569eb4 package/pixman: really enable NEON support on AArch64
The test to enable NEON on AArch64 is as following:

ifeq ($(BR2_aarch64)$(BR2_ARM_CPU_HAS_NEON),yy)

It cannot be to true as $(BR2_aarch64) and $(BR2_ARM_CPU_HAS_NEON) are
mutually exclusive. NEON is compulsory on AArch64 so remove
$(BR2_ARM_CPU_HAS_NEON) from the test.

Fixes: ba2fb599cd ("package/pixman: bump to version 0.44.2")
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 16:14:26 +01:00
Bernd Kuhls
0e5eef911c package/libselinux: allow pip to use system-provided packages
Since the bump of pip to version 25.3 in commit
285097051d, the build of the Python
bindings of libselinux is broken for both the host and target
variants.

For the host variant, because "pip install" no longer finds the
system-provided setuptools and tries to download setuptools by itself,
causing build issues because our host-python doesn't have SSL support:

  Could not fetch URL https://pypi.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

For the target variant, because "pip install" no longer finds the
sysconfigdata package:

  ModuleNotFoundError: No module named '_sysconfigdata__linux_sparc64-linux-gnu'
  [end of output]

We fix this by taking a patch from Debian, which is slightly tweaked
to also cover our host package (the original Debian patch was passing
--no-build-isolation only when DESTDIR was not empty, but in Buildroot
host packages are built with DESTDIR empty, and we do need
--no-build-isolation).

Fixes:

  https://autobuild.buildroot.net/results/0e9de0c0d8b6ec57eea9f8834f02076b296ba4f1/ (host-libselinux)
  https://autobuild.buildroot.org/results/1b87c659f1901b0bf33fa4a2ff0ed40b13114bba/ (libselinux)

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Co-Authored-By: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 15:58:23 +01:00
Thomas Petazzoni
55d84aa4bd Revert "package/libselinux: host-python3 needs SSL support"
This reverts commit fd991649d3, which
isn't the correct fix: indeed, host-libselinux can be built without
BR2_PACKAGE_PYTHON3 being enabled. And also having to use the network
during the build is anyway not correct.

A follow-up commit will fix this issue in a proper way.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-27 15:58:23 +01:00
Thomas Perale
2668d121e5 package/linenoise: add CPE
The CPE 'cpe:2.3:a:antirez:linenoise:1.0:*:*:*:*:*:*:*' is valid for the
package linenoise [1].

Since the latest version is '1.0' since 2015 the CPE_ID_VERSION is set
to that version.

The CVE that applies on version 1.0 were checked with the 'cve-check'
script:

```
echo '{"components": [{"bom-ref": "linenoise", "name": "linenoise", "version": "1.0", "cpe": "cpe:2.3:a:antirez:linenoise:1.0:-:*:*:*:*:*:*"}]}' | support/scripts/cve-check | jq -r '.vulnerabilities[].id'
```

Only the CVE-2025-9810 exists and that was fixed in [2].

[1] https://nvd.nist.gov/products/cpe/detail/10423C23-6AAA-439E-B723-1FCDEB3A769F
[2] 3c7cbf97d7 package/linenoise: security bump to version e26268de5e

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-27 15:51:40 +01:00