]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 years agoruby: update 3.1.2 -> 3.1.3
Alexander Kanavin [Tue, 13 Dec 2022 11:11:14 +0000 (12:11 +0100)] 
ruby: update 3.1.2 -> 3.1.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoruby: merge .inc into .bb
Alexander Kanavin [Tue, 13 Dec 2022 11:11:13 +0000 (12:11 +0100)] 
ruby: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-dbusmock: update 0.28.4 -> 0.28.6
Alexander Kanavin [Tue, 13 Dec 2022 11:11:12 +0000 (12:11 +0100)] 
python3-dbusmock: update 0.28.4 -> 0.28.6

Convert to python_setuptools_build_meta.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxcrypt: update PV to match SRCREV
Alexander Kanavin [Tue, 13 Dec 2022 11:11:10 +0000 (12:11 +0100)] 
libxcrypt: update PV to match SRCREV

When SRCREV was updated, only libxcrypt-compat was renamed to match,
but not libxcrypt proper.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobluez: update 5.65 -> 5.66
Alexander Kanavin [Tue, 13 Dec 2022 11:11:07 +0000 (12:11 +0100)] 
bluez: update 5.65 -> 5.66

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxrandr: update 1.5.2 -> 1.5.3
Alexander Kanavin [Tue, 13 Dec 2022 11:11:06 +0000 (12:11 +0100)] 
libxrandr: update 1.5.2 -> 1.5.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxpm: update 3.5.13 -> 3.5.14
Alexander Kanavin [Tue, 13 Dec 2022 11:11:05 +0000 (12:11 +0100)] 
libxpm: update 3.5.13 -> 3.5.14

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxdmcp: update 1.1.3 -> 1.1.4
Alexander Kanavin [Tue, 13 Dec 2022 11:11:04 +0000 (12:11 +0100)] 
libxdmcp: update 1.1.3 -> 1.1.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibnewt: update 0.52.21 -> 0.52.23
Alexander Kanavin [Tue, 13 Dec 2022 11:11:02 +0000 (12:11 +0100)] 
libnewt: update 0.52.21 -> 0.52.23

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotcl: update 8.6.12 -> 8.6.13
Alexander Kanavin [Tue, 13 Dec 2022 11:11:01 +0000 (12:11 +0100)] 
tcl: update 8.6.12 -> 8.6.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-poetry-core: update 1.3.2 -> 1.4.0
Alexander Kanavin [Tue, 13 Dec 2022 11:11:00 +0000 (12:11 +0100)] 
python3-poetry-core: update 1.3.2 -> 1.4.0

Upstream has changed the tarball and the dir inside it to poetry_core
(with underscore).

License-Update: formatting, copyright years.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-numpy: fix upstream version check
Alexander Kanavin [Tue, 13 Dec 2022 11:10:59 +0000 (12:10 +0100)] 
python3-numpy: fix upstream version check

Default regex is also considering numpy release candidates.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodevtool/upgrade: correctly handle recipes where S is a subdir of upstream tree
Alexander Kanavin [Tue, 13 Dec 2022 11:10:56 +0000 (12:10 +0100)] 
devtool/upgrade: correctly handle recipes where S is a subdir of upstream tree

'devtool modify' writes additional settings to workspace .bbappend so that this
can be handled correctly, but 'devtool upgrade' does not. This adds the missing
settings.

In particular, local files should not anymore mysteriously disappear from
SRC_URIs on upgrades.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolinux-libc-headers: add 6.x fetch location
Bruce Ashfield [Tue, 13 Dec 2022 04:05:54 +0000 (23:05 -0500)] 
linux-libc-headers: add 6.x fetch location

The next libc-headers bumps will be in the 6.x series, so we
udpate our fetching list to handle that major version number.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocairo: update patch for CVE-2019-6461 with upstream solution
Quentin Schulz [Tue, 13 Dec 2022 15:53:52 +0000 (16:53 +0100)] 
cairo: update patch for CVE-2019-6461 with upstream solution

Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.

This patch is part of snapshot 1.17.6.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpcre2: Upgrade to 10.42
Khem Raj [Wed, 14 Dec 2022 03:20:29 +0000 (19:20 -0800)] 
libpcre2: Upgrade to 10.42

10.41 regressed apps which were using pcre2posix.h without pcre2.h
mariadb is one such application in meta-oe which broke, this immediate
upgrade helps fixing these sort of apps. See [1] and [2]

[1] https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.42
[2] https://github.com/PCRE2Project/pcre2/commit/cd8dc40b901bdedf5bcc0b3acdd9eede16802f39

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomeson: no need to rebuild on install
Ross Burton [Tue, 13 Dec 2022 16:14:07 +0000 (16:14 +0000)] 
meson: no need to rebuild on install

On install, Meson will rebuild targets which don't define their
dependencies, as it can't know if they need to be rebuilt or not.

This includes gtk-doc, which can be slow to run.  As we control the
execution of meson we know that a rebuild isn't required, so we can pass
--no-rebuild and speed up the install task.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoefibootmgr: update compilation with musl
Marta Rybczynska [Wed, 14 Dec 2022 18:45:19 +0000 (19:45 +0100)] 
efibootmgr: update compilation with musl

Since the commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d
(efivar: add musl libc compatibility) efibootmgr compiles with
musl too. Update the variable to take that into account.

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: update 1.65.0 -> 1.66.0
Alex Kiernan [Fri, 16 Dec 2022 12:06:32 +0000 (12:06 +0000)] 
rust: update 1.65.0 -> 1.66.0

Drop backported patch ENOTSUP constant for riscv32/musl.

Release notes:
  https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html

License-Update: Upstream has added Unicode Terms of Use license
  (Unicode-TOU).
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: Install target.json for target rustc
Alex Kiernan [Fri, 16 Dec 2022 12:06:31 +0000 (12:06 +0000)] 
rust: Install target.json for target rustc

As part of the merging builds, installation of target.json was lost
causing `rustc` to fail on startup with:

  error: Error loading target specification: Could not find specification for target "aarch64-poky-linux-gnu". Run `rustc --print target-list` for a list of built-in targets

We know the full target specification, so just install it directly
rather than using the glob approach from previously.

Fixes: b9b0cd99cdc7 ("rust: Enable nativesdk and target builds + replace rust-tools-cross-canadian")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk+3: port to Meson
Ross Burton [Fri, 16 Dec 2022 15:58:28 +0000 (15:58 +0000)] 
gtk+3: port to Meson

GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve
and switch to Meson.

The tarball is missing one meson.build file so add that explictly for
now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocurl: Correct LICENSE from MIT-open-group to curl
Ranjitsinh Rathod [Fri, 16 Dec 2022 07:33:25 +0000 (13:03 +0530)] 
curl: Correct LICENSE from MIT-open-group to curl

LICENSE for curl is set to MIT-open-group which is wrong and proper
license is 'curl'

I check below link and the line "Curl and libcurl are licensed under
the license below, which is inspired by MIT/X, but not identical." says
that the license is identical to MIT but actual license is identical
from the file "meta/files/common-licenses/curl"
Link: https://curl.se/docs/copyright.html
Also, I do not find the MIT-open-group license text in the entire
source-code

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackage_rpm: Fix Linux 6.1.0 perf 1.0 version mistranslation
Marek Vasut [Sat, 17 Dec 2022 04:57:38 +0000 (05:57 +0100)] 
package_rpm: Fix Linux 6.1.0 perf 1.0 version mistranslation

With Linux 6.1.0 and perf 1.0-r9, a build which includes perf-dev fails due
to perf-dev depending on perf 6.6.1.0-r9 . This is because translate_vers()
operates on perf-dev and mangles its version. The following scenario occurs:

  ver=6.1.0-r9
  pv=1.0
  pkgv=6.1.0
  reppv=6.1.0

With Linux 6.1.0, a corner case is hit where pv is a substring of ver, which
yields this corrupted version 6.6.1.0-r9 . Example in python3:

  >>> "6.1.0-r9".replace("1.0", "6.1.0")
  '6.6.1.0-r9'
  >>> "6.0.13-r9".replace("1.0", "6.0.13")
  '6.0.13-r9'

The fix is to only replace pv with reppv in case pv is at the beginning
of ver , instead of replacing all occurences.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64: Rename to a .inc file to match the others
Richard Purdie [Sat, 17 Dec 2022 11:12:02 +0000 (11:12 +0000)] 
time64: Rename to a .inc file to match the others

I meant to do this whilst merging but messed up the patches. This
file is a .inc file and should match the others.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoepiphany: use gcr3
Markus Volk [Fri, 9 Dec 2022 14:11:17 +0000 (15:11 +0100)] 
epiphany: use gcr3

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogcr: add recipe for gcr-4, needed to build with gtk4
Markus Volk [Fri, 9 Dec 2022 14:11:15 +0000 (15:11 +0100)] 
gcr: add recipe for gcr-4, needed to build with gtk4

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogcr: rename gcr -> gcr3
Markus Volk [Fri, 9 Dec 2022 14:11:14 +0000 (15:11 +0100)] 
gcr: rename gcr -> gcr3

gcr-3 recipe is still needed for gnome projects that stick to gtk+3, rename to gcr3.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk4: import recipe from meta-gnome
Markus Volk [Fri, 9 Dec 2022 14:11:13 +0000 (15:11 +0100)] 
gtk4: import recipe from meta-gnome

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agographene: import from meta-oe
Markus Volk [Fri, 9 Dec 2022 14:11:12 +0000 (15:11 +0100)] 
graphene: import from meta-oe

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotime64.conf: Include to enable 64 bit time flags
Ola x Nilsson [Thu, 8 Dec 2022 07:11:36 +0000 (08:11 +0100)] 
time64.conf: Include to enable 64 bit time flags

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoinsane: Add QA check for 32 bit time and file offset functions
Ola x Nilsson [Thu, 8 Dec 2022 07:11:35 +0000 (08:11 +0100)] 
insane: Add QA check for 32 bit time and file offset functions

Check for known symbols that should have been redirected to 64bit
variants when -D_FILE_OFFSET_BITS=64 and -D_TIME_BITS=64 are set.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobitbake.conf: Add module function vardepsexclude entries
Richard Purdie [Fri, 16 Dec 2022 11:15:26 +0000 (11:15 +0000)] 
bitbake.conf: Add module function vardepsexclude entries

Now that bitbake can look into python module code variable and function
dependencies, there are a few extra basic variables we need to exclude.
This is done per function since it keeps the main exclusion list cleaner
and is also slightly faster.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoRevert "kernel-fitimage: reduce dependency to the cpio"
Richard Purdie [Tue, 13 Dec 2022 23:49:19 +0000 (23:49 +0000)] 
Revert "kernel-fitimage: reduce dependency to the cpio"

This reverts commit ef0d0734866505c1c6e0528a0423e7248afb3ff8.

We can't do this since the initramfs needs to use DEPLOY_DIR_IMAGE which isnt
ready until do_image_complete.

2 years agokernel-fitimage: reduce dependency to the cpio
Patrick Williams [Mon, 12 Dec 2022 22:18:08 +0000 (16:18 -0600)] 
kernel-fitimage: reduce dependency to the cpio

In order to build a fitimage, we don't need the image to be "complete"
but we need the cpio portion of it built since the cpio is what ends
up inside the FIT.  By reducing the dependency to `do_image_cpio` we
are able to include an image's rootfs as the ramdisk for a FIT and
then bundle that FIT into a larger SPI flash layout.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogptfdisk: Enable largefile support functions
Khem Raj [Mon, 12 Dec 2022 21:03:03 +0000 (13:03 -0800)] 
gptfdisk: Enable largefile support functions

Ensures it builds/works fine when _LARGEFILE64_SUPPORT is disabled.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorpcsvc-proto: Use autoconf knob to enable largefile support
Khem Raj [Mon, 12 Dec 2022 21:03:02 +0000 (13:03 -0800)] 
rpcsvc-proto: Use autoconf knob to enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk+3: upgrade 3.24.34 -> 3.24.35
Ross Burton [Mon, 12 Dec 2022 17:35:47 +0000 (17:35 +0000)] 
gtk+3: upgrade 3.24.34 -> 3.24.35

The gtktypefuncs.c removal is obsolete as that file isn't in the tarball
anymore, so remove it.

However the wayland-scanner files are still in the tarball despite
efforts to stop this, so generalise the removal to ensure it covers all
files which may be affected.  Further investigation will be needed to
see if this is still an issue.

Rebase 0003-Add-disable-opengl-configure-option.patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibepoxy: remove upstreamed patch
Ross Burton [Mon, 12 Dec 2022 17:35:46 +0000 (17:35 +0000)] 
libepoxy: remove upstreamed patch

This patch was upstreamed in 6b09a8bc, 1.5.5 onwards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomeson: always use meson subcommands
Ross Burton [Mon, 12 Dec 2022 15:25:42 +0000 (15:25 +0000)] 
meson: always use meson subcommands

Invoking meson with just paths is a deprecated use of the binary and
causes warnings, so call 'meson setup' explicitly.

Whilst doing this cleanup, we can also call 'meson compile' and 'meson
install' instead of ninja.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomeson: drop redundant is_debianlike() patch
Ross Burton [Mon, 12 Dec 2022 15:25:41 +0000 (15:25 +0000)] 
meson: drop redundant is_debianlike() patch

This patch disables is_debianlike() so that it always returns False in the
name of deterministic builds.  However, the caller default_libdir() then
looks at the host filesystem to decide if /usr/lib64 exists and will
return either lib or lib64, so it still isn't deterministic.

This is only used for the default libdir value and meson.bbclass
always passes an explicit --libdir, so this is moot.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxrandr: upgrade 1.5.1 -> 1.5.2
Wang Mingyu [Mon, 12 Dec 2022 07:33:18 +0000 (15:33 +0800)] 
xrandr: upgrade 1.5.1 -> 1.5.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxshmfence: upgrade 1.3.1 -> 1.3.2
Wang Mingyu [Mon, 12 Dec 2022 07:33:17 +0000 (15:33 +0800)] 
libxshmfence: upgrade 1.3.1 -> 1.3.2

Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxkbfile: upgrade 1.1.1 -> 1.1.2
Wang Mingyu [Mon, 12 Dec 2022 07:29:56 +0000 (15:29 +0800)] 
libxkbfile: upgrade 1.1.1 -> 1.1.2

Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxau: upgrade 1.0.10 -> 1.0.11
Wang Mingyu [Mon, 12 Dec 2022 07:29:55 +0000 (15:29 +0800)] 
libxau: upgrade 1.0.10 -> 1.0.11

Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibpng: upgrade 1.6.38 -> 1.6.39
Wang Mingyu [Mon, 12 Dec 2022 07:29:54 +0000 (15:29 +0800)] 
libpng: upgrade 1.6.38 -> 1.6.39

Changelog:
==========
*  Changed the error handler of oversized chunks (i.e. larger than
   PNG_USER_CHUNK_MALLOC_MAX) from png_chunk_error to png_benign_error.
*  Fixed a buffer overflow error in contrib/tools/pngfix.
*  Fixed a memory leak (CVE-2019-6129) in contrib/tools/pngcp.
*  Disabled the ARM Neon optimizations by default in the CMake file,
   following the default behavior of the configure script.
*  Allowed configure.ac to work with the trunk version of autoconf.
*  Removed the support for "install" targets from the legacy makefiles;
   removed the obsolete makefile.cegcc.
*  Cleaned up the code and updated the internal documentation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibpcre2: upgrade 10.40 -> 10.41
Wang Mingyu [Mon, 12 Dec 2022 07:29:53 +0000 (15:29 +0800)] 
libpcre2: upgrade 10.40 -> 10.41

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibfontenc: upgrade 1.1.6 -> 1.1.7
Wang Mingyu [Mon, 12 Dec 2022 07:29:52 +0000 (15:29 +0800)] 
libfontenc: upgrade 1.1.6 -> 1.1.7

Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogo-crosssdk: avoid host contamination by GOCACHE
Robert Andersson [Sun, 11 Dec 2022 17:02:47 +0000 (18:02 +0100)] 
go-crosssdk: avoid host contamination by GOCACHE

By default GOCACHE is set to $HOME/.cache.

Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]

but that commit missed go-crosssdk recipe.

Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosanity: Update minimum python version to 3.8
Richard Purdie [Sun, 11 Dec 2022 17:37:08 +0000 (17:37 +0000)] 
sanity: Update minimum python version to 3.8

Bitbake is moving to a minimum python version of 3.8, update OE-Core
to match to make things consistent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib/sstatesig: Drop OEBasic siggen
Richard Purdie [Fri, 9 Dec 2022 16:05:24 +0000 (16:05 +0000)] 
lib/sstatesig: Drop OEBasic siggen

We're now used to using hashes as part of the task hashes and the sstate code
relies on this. The older OEBasic hash approach therefore wouldn't work and
can be removed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus: Add missing CVE product name
Mathieu Dubois-Briand [Fri, 9 Dec 2022 15:25:47 +0000 (16:25 +0100)] 
dbus: Add missing CVE product name

Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoopenssh: remove RRECOMMENDS to rng-tools for sshd package
Xiangyu Chen [Fri, 9 Dec 2022 07:05:38 +0000 (15:05 +0800)] 
openssh: remove RRECOMMENDS to rng-tools for sshd package

It appears that rngd is not needed as of linux-5.6 and later[1]
and should not be installed by default since the purpose of rngd
is to provide additional trusted sources of entropy.

We did some testing on real hardware, the result seems to support that
we no longer need rngd by default on kernel v5.6 and later.

Testing result as below:

1. observing the crng init stage.
 the "random: crng init done" always available before fs being mounted.

2. generating random number without rngd.
 testing command: dd if=/dev/random of=/dev/null status=progress
   on Marvell CN96xx RDB board, speed almost 20.4 MB/s without block
   on NXP i.mx6q board, speed almost 31.9 MB/s without block
   on qemu x86-64, speed almost 2.6MB/s without block

3. using rngtest command without rngd
 testing command: rngtest -c 1000 </dev/random
   on Marvell CN96xx RDB board:
      rngtest: input channel speed: (min=4.340; avg=135.364; max=146.719)Mibits/s
      rngtest: FIPS tests speed: (min=8.197; avg=69.020; max=72.800)Mibits/s
      rngtest: Program run time: 418771 microseconds

   on NXP i.mx6q board:
      rngtest: input channel speed: (min=96.820; avg=326.769; max=340.598)Mibits/s
      rngtest: FIPS tests speed: (min=15.090; avg=37.543; max=40.324)Mibits/s
      rngtest: Program run time: 570229 microseconds

   on qemu x86-64:
      rngtest: input channel speed: (min=37.769; avg=101.136; max=136.239)Mibits/s
      rngtest: FIPS tests speed: (min=10.288; avg=30.682; max=40.155)Mibits/s
      rngtest: Program run time: 836800 microseconds

4. observing sshd service.
  using "systemctl disable rng-tools" disable service and reboot system.
  system boot up normal, sshd service also start in normal time without
  block.

Reference:
[1] https://github.com/torvalds/linux/commit/30c08efec8884fb106b8e57094baa51bb4c44e32

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-cryptography: remove python3-tomli RDEPENDS
Ross Burton [Thu, 8 Dec 2022 19:30:23 +0000 (19:30 +0000)] 
python3-cryptography: remove python3-tomli RDEPENDS

The test suite doesn't use tomli, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hatchling: remove python3-tomli DEPENDS
Ross Burton [Thu, 8 Dec 2022 19:30:22 +0000 (19:30 +0000)] 
python3-hatchling: remove python3-tomli DEPENDS

Now that we have Python 3.11, hatchling will use the internal tomllib
instead of tomli.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobaremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES
Alejandro Hernandez Samaniego [Thu, 8 Dec 2022 18:43:47 +0000 (11:43 -0700)] 
baremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES

Since qemuboot is part of IMAGE_CLASSES via qemu.inc it is being
inherited before we set the QB_FOO variables.
Since our variables have conditional definitions and at that point
they've already been defined by qemuboot, we can no longer define
them in our class.

Move the IMAGE_CLASSES inherit to execute it after we set the
QB_FOO variables to fix booting via runqemu.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-packaging: upgrade to 22.0
Ross Burton [Thu, 8 Dec 2022 13:00:15 +0000 (13:00 +0000)] 
python3-packaging: upgrade to 22.0

This has been ported from setuptools to flit_core, and now contains a
hand-written parser instead of using pyparsing.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobitbake.conf: remove SERIAL_CONSOLE variable
Michael Opdenacker [Thu, 8 Dec 2022 12:35:34 +0000 (13:35 +0100)] 
bitbake.conf: remove SERIAL_CONSOLE variable

This variable has been deprecated since version 2.6
Use SERIAL_CONSOLES instead.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxml2: add more testing
Ross Burton [Thu, 8 Dec 2022 12:10:39 +0000 (12:10 +0000)] 
libxml2: add more testing

Backport more test cases fixes from upstream, and add runsuite to the
ptests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoyocto-check-layer: Allow OE-Core to be tested
Richard Purdie [Thu, 8 Dec 2022 11:54:32 +0000 (11:54 +0000)] 
yocto-check-layer: Allow OE-Core to be tested

For unknown reasons we've never seemingly run the check layer script
against OE-Core itself. This isn't entirely straightforward as the core
layer is a bit of a special case, we can't for example compare signatures
against ourselve and we can't remove core from bblayers.conf.

Core does have distro, machine and software components too, in the case
of distro, our fallback default settings. Whilst the qemu machines could
be split into a seperate layer directory, core wouldn't then parse at all
standalone due to the lack of any machine so it seems a bit pointless to
do that.

These changes tweak the script to handle core's special cases, specifically
to allow distro and machine directories and to account for the README placed
a directory level higher than other layers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglibc: Add ppoll fortify symbol for 64 bit time_t
Ola x Nilsson [Thu, 8 Dec 2022 07:11:34 +0000 (08:11 +0100)] 
glibc: Add ppoll fortify symbol for 64 bit time_t

Patch so ppoll is properly redirected to it's 64bit time variant even
when source fortification is active.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoopkg: upgrade to version 0.6.1
Alex Stewart [Wed, 7 Dec 2022 22:33:33 +0000 (16:33 -0600)] 
opkg: upgrade to version 0.6.1

Opkg 0.6.1 Changes:
- Opkg will no longer complain when trying to clean up the temporary
  directory, if the directory does not exist.
- Fixed a SEGFAULT when parsing package indexes with invalid `Size` or
  `Installed-Size` fields. These indexes will now produce a
  comprehensible error.
- Fixed an inconsistecy in .list generation where files would sometimes
  be entered with/without a trailing slash. The trailng slash should now
  always be removed.
- Fixed [a bug](https://bugzilla.yoctoproject.org/show_bug.cgi?id=10461)
  in package removal, where empty common directories would be left on
  disk, even after all owning packages were removed.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/checklayer: Update to match bitbake changes
Richard Purdie [Thu, 8 Dec 2022 11:46:07 +0000 (11:46 +0000)] 
scripts/checklayer: Update to match bitbake changes

Bitbake additions for the addpylib API mean we need to update the parsing
function call to be clear we're parsing in configuration context.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodevtool/friends: Use LAYERSERIES_CORENAMES when generating LAYERSERIES_COMPAT entries
Richard Purdie [Thu, 1 Dec 2022 17:11:07 +0000 (17:11 +0000)] 
devtool/friends: Use LAYERSERIES_CORENAMES when generating LAYERSERIES_COMPAT entries

It seems some layers want to subvert the intent of LAYERSERIES_COMPAT
so bitbake is going to have to become stricter about the values there.
To work with this, use LAYERSERIES_CORENAMES to generate the entries in
LAYERSERIES_COMPAT instead of the current magic LAYERSERIES_COMPAT_core
value which may not continue to work.

The downside to this is when migating between releases, people would
need to update devtool workspace layer.conf files. I guess you could
argue this is a feature!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobase: Switch to use addpylib directive and BB_GLOBAL_PYMODULES
Richard Purdie [Sun, 27 Nov 2022 17:08:42 +0000 (17:08 +0000)] 
base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES

Since bitbake now supports an official method to inject python modules,
switch to it.

Anyone using OE_EXTRA_IMPORTS will need to adjust their code accordingly,
probably switching to their own module namespace.

Also switch to using BB_GLOBAL_PYMODULES to list the global modules
to import.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxml2: upgrade 2.9.14 -> 2.10.3
Ross Burton [Wed, 7 Dec 2022 16:57:55 +0000 (16:57 +0000)] 
libxml2: upgrade 2.9.14 -> 2.10.3

Change ptest away from using the upstream Makefiles to manually running
the tests: they're not actually integrated with automake anyway so this
didn't gain us anything apart from patches we can't send upstream. Drops
the following patches:
- 0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
- 0001-Port-gentest.py-to-Python-3.patch
- fix-execution-of-ptests.patch
- remove-fuzz-from-ptests.patch
- runtest.patch

Add a simple patch to install the test binaries via the Makefile:
- install-tests.patch

The Python module is built differently and a number of patches no longer
apply and appear to be redundant, remove:
- python-sitepackages-dir.patch

libxml-m4-use-pkgconfig.patch has been sent upstream now, mark as
backport.

Remove obsolete --without-docbook option.

Remove obsolete xml2Conf.sh packaging.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocombo-layer: add sync-revs command
Ross Burton [Wed, 7 Dec 2022 16:36:50 +0000 (16:36 +0000)] 
combo-layer: add sync-revs command

When starting to use combo-layer, or if someone else is using it too,
the local last_revision may be incorrect.

This command will forcibly update the last_revision config values to the
latest SHA on the remote branch that is tracked.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocombo-layer: dont use bb.utils.rename
Ross Burton [Wed, 7 Dec 2022 16:36:49 +0000 (16:36 +0000)] 
combo-layer: dont use bb.utils.rename

Bitbake may not be configured, and bb isn't imported anyway.

Instead just use os.rename(), and take the filename from the file object
instead of duplicating logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocombo-layer: remove unused import
Ross Burton [Wed, 7 Dec 2022 16:36:48 +0000 (16:36 +0000)] 
combo-layer: remove unused import

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogrub: backport patches to fix CVE-2022-28736
Xiangyu Chen [Wed, 7 Dec 2022 03:42:54 +0000 (11:42 +0800)] 
grub: backport patches to fix CVE-2022-28736

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agooeqa/selftest/externalsrc: add test for srctree_hash_files
Peter Marko [Mon, 5 Dec 2022 21:38:15 +0000 (22:38 +0100)] 
oeqa/selftest/externalsrc: add test for srctree_hash_files

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoexternalsrc: fix lookup for .gitmodules
Peter Marko [Thu, 1 Dec 2022 14:04:40 +0000 (15:04 +0100)] 
externalsrc: fix lookup for .gitmodules

Commit 0533edac277080e1bd130c14df0cbac61ba01a0c broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules

The check needs to search for .gitmodules in sources path, not cwd.

iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibarchive: fix CVE-2022-36227
Joe Slater [Tue, 6 Dec 2022 19:49:06 +0000 (11:49 -0800)] 
libarchive: fix CVE-2022-36227

Import patch applied to libarchive after the 3.6.1 release.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolib/buildstats: fix parsing of trees with reduced_proc_pressure directories
Ross Burton [Mon, 5 Dec 2022 14:59:32 +0000 (14:59 +0000)] 
lib/buildstats: fix parsing of trees with reduced_proc_pressure directories

The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.

Explicitly skip this directory to solve the problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel.bbclass: remove empty module directories to prevent QA issues
Ovidiu Panait [Mon, 5 Dec 2022 14:56:49 +0000 (16:56 +0200)] 
kernel.bbclass: remove empty module directories to prevent QA issues

Currently, allyesconfig test runs for x86_64 fail with:
ERROR: linux-yocto-5.19.17+gitAUTOINC+0cba9aa404_aaf4490d18-r0 do_package:
QA Issue: linux-yocto: Files/directories were installed but not shipped in any
package:
  /lib/modules/5.19.17/kernel/drivers/nvdimm

With CONFIG_NVDIMM_TEST_BUILD=m, an empty nvdimm directory is created during
modules_install, which triggers the QA issue.

Extend kernel_do_install() to also remove inner empty directories that might
get created by modules_install.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorm_work: adjust dependency to make do_rm_work_all depend on do_rm_work
Chen Qi [Mon, 5 Dec 2022 04:58:56 +0000 (20:58 -0800)] 
rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work

For now, if we use rm_work and `bitbake core-image-minimal', some
recipes' WORKDIRs are not cleaned up, e.g., makedevs-native.

Adjust the dependency to make do_rm_work_all depend on do_rm_work
to solve this problem.

Below are the detailed explanation of why this would work.

Without this patch, the dependency chain is like:
[other deps] -> [do_rm_work] -+-> [do_build]
                              |
[do_rm_work_all] -------------+

With this patch, the depedency chain is like:
[other deps] -> [do_rm_work] -> [do_rm_work_all] -> [do_build]

Such dependency chain adjustment fixes the issue because do_rm_work_all
now depends on [other deps] and thus the [depends] of these [other deps].
Take core-image-minimal as an example. Before this adjustment,
do_rm_work_all does not have any relationship with do_rootfs, and we have
do_rootfs[depends] += "makedevs-native:do_populate_sysroot ..."
This essentially prevents 'recrdeptask' setting of do_rm_work_all extend
to makedevs-native. With this patch, the do_rm_work_all now depends
on do_rm_work which in turn depends on do_rootfs, and so do_rm_work_all's
recrdeptask could have effect on makedevs-native.

With this patch, all built recipes WORKDIR will be cleaned up with
a few expected exceptions such as kernel and qemu-helper-native.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognu-config: upgrade to latest revision
Wang Mingyu [Tue, 6 Dec 2022 05:48:42 +0000 (13:48 +0800)] 
gnu-config: upgrade to latest revision

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobluez5: enable position independent executables flag
Khem Raj [Tue, 6 Dec 2022 05:45:50 +0000 (21:45 -0800)] 
bluez5: enable position independent executables flag

texrels are generated while compiling on x86/clang because pic/pie flags
that are passed via bitbake do not make it everywhere evenly.
--enable-pie is default way of getting it enabled in bluez5
PIE is enabled by default which ensures that textrels are not generated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibdrm: Remove libdrm-kms package
Sandeep Gundlupet Raju [Mon, 5 Dec 2022 23:03:18 +0000 (16:03 -0700)] 
libdrm: Remove libdrm-kms package

libkms library is deprecated in 2.4.111 version. Hence remove
libdrm-kms package.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemu: Ensure libpng dependency is deterministic
Richard Purdie [Wed, 7 Dec 2022 21:15:33 +0000 (21:15 +0000)] 
qemu: Ensure libpng dependency is deterministic

If the host has libpng, because of the way we handle the GL dependency in qemu,
it can cause determinism issues. Add a specific PACKAGECONFIG entry for libpng
to avoid this (and the associated autobuilder/uninative glibc symbol mismatch
failures).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3targetconfig.bbclass: use PYTHONPATH to point to the target config
Alexander Kanavin [Wed, 9 Nov 2022 20:21:10 +0000 (21:21 +0100)] 
python3targetconfig.bbclass: use PYTHONPATH to point to the target config

There is no need to patch native python so that it looks in the target
sysroot; the same can be achieved with just an environment variable.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: use the standard shell version of python3-config
Alexander Kanavin [Wed, 9 Nov 2022 20:21:09 +0000 (21:21 +0100)] 
python3: use the standard shell version of python3-config

There is really no reason why we can't: it only needs to be available
in two versions (native/target), and the correct one can be picked
via PATH priority order.

This eliminates two un-upstreamable patches, one of which relies
on soon to be removed distutils.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobuild-appliance-image: Update to master head revision
Ross Burton [Wed, 7 Dec 2022 13:38:45 +0000 (13:38 +0000)] 
build-appliance-image: Update to master head revision

Signed-off-by: Ross Burton <ross.burton@arm.com>
2 years agowayland-protocols: upgrade 1.28 -> 1.31
Wang Mingyu [Mon, 5 Dec 2022 02:32:41 +0000 (10:32 +0800)] 
wayland-protocols: upgrade 1.28 -> 1.31

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxz: upgrade 5.2.7 -> 5.2.9
Wang Mingyu [Mon, 5 Dec 2022 02:32:40 +0000 (10:32 +0800)] 
xz: upgrade 5.2.7 -> 5.2.9

Changelog:
=========
 * liblzma:

     - Fixed an infinite loop in LZMA encoder initialization
       if dict_size >= 2 GiB. (The encoder only supports up
       to 1536 MiB.)

     - Fixed two cases of invalid free() that can happen if
       a tiny allocation fails in encoder re-initialization
       or in lzma_filters_update(). These bugs had some
       similarities with the bug fixed in 5.2.7.

     - Fixed lzma_block_encoder() not allowing the use of
       LZMA_SYNC_FLUSH with lzma_code() even though it was
       documented to be supported. The sync-flush code in
       the Block encoder was already used internally via
       lzma_stream_encoder(), so this was just a missing flag
       in the lzma_block_encoder() API function.

     - GNU/Linux only: Don't put symbol versions into static
       liblzma as it breaks things in some cases (and even if
       it didn't break anything, symbol versions in static
       libraries are useless anyway). The downside of the fix
       is that if the configure options --with-pic or --without-pic
       are used then it's not possible to build both shared and
       static liblzma at the same time on GNU/Linux anymore;
       with those options --disable-static or --disable-shared
       must be used too.

 * New email address for bug reports is <xz@tukaani.org> which
   forwards messages to Lasse Collin and Jia Tan.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agousbutils: upgrade 014 -> 015
Wang Mingyu [Mon, 5 Dec 2022 02:32:39 +0000 (10:32 +0800)] 
usbutils: upgrade 014 -> 015

Changelog:
==========
  usb-devices: list the root devices in numerical order
  usb-devices: use 'local' variable type to handle recursion
  lsusb: remove unused wireless check
  lsusb: remove wireless descriptor information
  usb-devices: fix field width on device speed field
  lsusb: fix up Midi Device specification devices
  Fix an runtime error reported by undefind sanitizer
  lsusb: Improve status display for SuperSpeedPlus hubs
  lsusb-t: Fix recursive sorting on child devices.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotexinfo: upgrade 7.0 -> 7.0.1
Wang Mingyu [Mon, 5 Dec 2022 02:32:38 +0000 (10:32 +0800)] 
texinfo: upgrade 7.0 -> 7.0.1

dont-depend-on-help2man.patch
refreshed for 7.0.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoswig: upgrade 4.1.0 -> 4.1.1
Wang Mingyu [Mon, 5 Dec 2022 02:30:42 +0000 (10:30 +0800)] 
swig: upgrade 4.1.0 -> 4.1.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agostress-ng: upgrade 0.14.06 -> 0.15.00
Wang Mingyu [Mon, 5 Dec 2022 02:30:41 +0000 (10:30 +0800)] 
stress-ng: upgrade 0.14.06 -> 0.15.00

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosqlite3: upgrade 3.39.4 -> 3.40.0
Wang Mingyu [Mon, 5 Dec 2022 02:30:40 +0000 (10:30 +0800)] 
sqlite3: upgrade 3.39.4 -> 3.40.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoshaderc: upgrade 2022.3 -> 2022.4
Wang Mingyu [Mon, 5 Dec 2022 02:30:39 +0000 (10:30 +0800)] 
shaderc: upgrade 2022.3 -> 2022.4

Changelog:
==========
 - Update to Glslang 11
 - Update SPIRV-Tools, SPIRV-Headers dependencies
 - Add Cmake BUNDLE DESTINATION option for target install
 - The code coverage build is no longer being tested

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopciutils: upgrade 3.8.0 -> 3.9.0
Wang Mingyu [Mon, 5 Dec 2022 02:30:38 +0000 (10:30 +0800)] 
pciutils: upgrade 3.8.0 -> 3.9.0

configure.patch
refreshed for 3.9.0

Changelog:
==========
* We decode Compute Express Link (CXL) capabilities.
* The tree mode of lspci is now compatible with filtering options.
* When setpci is used with a named register, it checks whether
  the register is present in the particular header type.
* Linux: The intel-conf[12] back-ends prefer to use ioperm() instead
  of iopl() to gain access to I/O ports.
* Windows: We have two new back-ends
  One uses the NT SysDbg interface, the other uses kldbgdrv.sys
  (which is a part of the Microsoft WinDbg tool).
* Windows: We support building libpci as a DLL. Also, Windows
  binaries now include meta-data with version.
* Hurd: The Hurd back-end works again.
* mmio-conf1(-ext): Added a new back-end implementing the intel-conf1
  interface over MMIO. This is useful on some ARM machines, but it
  requires manual configuration of the MMIO addresses.
* As usually, updated pci.ids to the current snapshot of the database.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopatchelf: upgrade 0.16.1 -> 0.17.0
Wang Mingyu [Mon, 5 Dec 2022 02:28:53 +0000 (10:28 +0800)] 
patchelf: upgrade 0.16.1 -> 0.17.0

Changelog:
==========
 fix pagesize on ia64
 write out replace sections in original order
 patchelf: correct page size for sparc64/sparc32
 update vendored elf file
 add workaround for readelf from binutils 2.30
 make objdump/objcopy/readelf configurable and respect cross-compiling
 build patchelf on windows

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxcrypt-compat: upgrade 4.4.30 -> 4.4.33
Wang Mingyu [Mon, 5 Dec 2022 02:28:52 +0000 (10:28 +0800)] 
libxcrypt-compat: upgrade 4.4.30 -> 4.4.33

Changelog:
==========
* Fix -Werror=sign-conversion in lib/alg-yescrypt-platform.c.
  With commit 894aee75433b4dc8d9724b126da6e79fa5f6814b we introduced some
  changes to huge page handling, that show this error when building with
  GCC v12.2.1, and thus need a small fix.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-2.0: upgrade 2.74.1 -> 2.74.3
Wang Mingyu [Mon, 5 Dec 2022 02:28:51 +0000 (10:28 +0800)] 
glib-2.0: upgrade 2.74.1 -> 2.74.3

Changelog:
===========
* Fix regression in type checking 'g_str_equal()' from C++ projects (#2820)

* Bugs fixed:
  - #2820 g_str_equal: New macro version breaks compilation in C++ projects
  - !3096 Backport !3094 "gstrfuncs: Fix regression in C++ types accepted by
    g_str_equal()" to glib-2-74

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agompfr: upgrade 4.1.0 -> 4.1.1
Wang Mingyu [Mon, 5 Dec 2022 02:28:50 +0000 (10:28 +0800)] 
mpfr: upgrade 4.1.0 -> 4.1.1

Changelog:
=========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.1.0/#fixed> and/or the
  ChangeLog file), in particular for macros implementing functions.
- Improved manual formatting.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxft: upgrade 2.3.6 -> 2.3.7
Wang Mingyu [Mon, 5 Dec 2022 02:28:49 +0000 (10:28 +0800)] 
libxft: upgrade 2.3.6 -> 2.3.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibinput: upgrade 1.21.0 -> 1.22.0
Wang Mingyu [Mon, 5 Dec 2022 02:24:54 +0000 (10:24 +0800)] 
libinput: upgrade 1.21.0 -> 1.22.0

Changelog:
==========
 CI: prettify the include of templates
 CI: remove one occurrence of fedora instead of distro.name
 CI: make freebsd slightly more in line with others
 CI: remove unused test
 CI: do not retry the qemu runs
 CI: rely on b2c to start qemu tests
 CI: include systemd-udev in the fedora image
 CI: start a full systemd environment before running the testsuite
 CI: in b2c, compile on the host, then test in qemu
 quirks: update quirks for Lenovo IdeaPad Duet 3
 quirks: add Lenovo Legion 7 keyboard
 libwacom: fix warnings building without libwacom
 tablet: check libevdev_get_abs_info() return value
 tablet: avoid errors calling libevdev_get_abs_info()
 meson.build: always set HAVE_GTK_WAYLAND
 tools: hide debug-gui help when building with -Ddebug-gui=false
 debug-gui: avoid locking pointer twice
 util: use ck_assert_ptr_eq() instead of ck_assert_ptr_null()
 touchpad: add escape and asterisk to the DWT blacklist
 libinput 1.22.0
 quirks: add quirks for Acer Spin 513 (Lazor)
 quirks: add generic quirks for ARM based chromebooks
 quirks: add volume rocker quirk for Lenovo IdeaPad Duet 3i
 quirks: Add quirks for Surface Laptop Studio touchpad
 quirks: Add quirks to improve tablet-mode on the Surface Laptop Studio
 gitlab CI: drop the manual meson to junit conversion
 meson.build: drop listing of header files from compilation targets
 meson.build: fix build without Wayland
 gitlab CI: dnf remove gtk4-devel for the no-debug-gui deps job
 CODING_STYLE: update with a better description for variable assignments
 evdev: fix a tab vs space indentation issue
 doc/user: minor rewording of the pointer accel profile list
 gitlab ci: drop EOL'd ubuntu 21.10
 tools: add missing dwtp option setting
 evdev: remove duplicate "device is a switch" message
 gitlab-ci: export MESON_TESTTHREADS so meson actually sees it
 gitlab-ci: explicitly call "meson setup" to improve readability
 gitlab-ci: add commandline options to the meson-build.sh script
 CI: drop the job count for the valgrind test suite to 2
 filter: a few whitespace fixes and extra comments
 filter: fix the mix of normalized vs device coordinates
 filter: remove an unnecessary layer of indirection
 filter: constify the tracker API
 filter: localize a few variables
 evdev: rename post_trackpoint_scroll to post_button_scroll
 filter: constify the interfaces and make them static
 filter: don't normalize the const filter approach
 evdev: use filter_dispatch_constant() for button scrolling
 evdev: use filter_dispatch_constant() for the lenovo trackpoint "wheel"
 filter: don't normalize the speed again in the default mouse filter
 filter: apply the same factor for constant motion as for normal motion
 filter: add a flat trackpoint accel
 gitlab CI: don't install valgrind, it's already in the template
 gitlab CI: update freebsd to 13.1
 gitlab CI: pre-install all packages we need
 Fix Framework quirk so it wirks with 12 gen intel
 util: return the number of elements from strv_from_string
 meson: use install_emptydir to create directory
 test: exclude the two high-delay debounce tests from the valgrind CI run

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodropbear: upgrade 2022.82 -> 2022.83
Wang Mingyu [Mon, 5 Dec 2022 02:24:52 +0000 (10:24 +0800)] 
dropbear: upgrade 2022.82 -> 2022.83

0007-Fix-X11-build-failure-use-DROPBEAR_PRIO_LOWDELAY.patch
removed since it's included in 2022.83

Changelog:
==========
- Disable DROPBEAR_DSS by default
- Added DROPBEAR_RSA_SHA1 option to allow disabling sha1 rsa signatures.
- Add option for requiring both password and pubkey (-t)
- Add 'no-touch-required' and 'verify-required' options for sk keys
  DROPBEAR_SK_KEYS config option now replaces separate DROPBEAR_SK_ECDSA
  and DROPBEAR_SK_ED25519 options.
- Add 'permitopen' option for authorized_keys to restrict forwarded ports
- Added LTM_CFLAGS configure argument to set flags for building
  bundled libtommath. This also restores the previous arguments used
  in 2020.81 (-O3 -funroll-loops). That gives a big speedup for RSA
  key generation, which regressed in 2022.82.
  There is a tradeoff with code size, so -Os can be used if required.
- Add '-z' flag to disable setting QoS traffic class. This may be necessary
  to work with broken networks or network drivers, exposed after changes to use
  AF21 in 2022.82
- Allow overriding user shells with COMPAT_USER_SHELLS
- Improve permission error message
- Remove HMAC_MD5 entirely

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoccache: upgrade 4.7.2 -> 4.7.4
Wang Mingyu [Mon, 5 Dec 2022 02:24:51 +0000 (10:24 +0800)] 
ccache: upgrade 4.7.2 -> 4.7.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobind: upgrade 9.18.8 -> 9.18.9
Wang Mingyu [Mon, 5 Dec 2022 02:24:50 +0000 (10:24 +0800)] 
bind: upgrade 9.18.8 -> 9.18.9

Changelog:
===========
  Fix a crash that could happen when you change
  a dnssec-policy zone with NSEC3 to start using
  inline-signing. [GL #3591]

  Don't trust a placeholder KEYDATA from the managed-keys
  zone by adding it into secroots. [GL #2895]

  Fixed a race condition that could cause a crash
  in dns_zone_synckeyzone(). [GL #3617]

  Don't enforce the jemalloc use on NetBSD. [GL #3634]

  Fix an inheritance bug when setting the port on
  remote servers in configuration. [GL #3627]

  Fix a resolver prefetch bug when the record's TTL value
  is equal to the configured prefetch eligibility value,
  but the record was erroneously not treated as eligible
  for prefetching. [GL #3603]

  Always call dns_adb_endudpfetch() after calling
  dns_adb_beginudpfetch() for UDP queries in resolver.c,
  in order to adjust back the quota. [GL #3598]

  Fix a startup issue on Solaris systems with many
  (reportedly > 510) CPUs. Thanks to Stacey Marshall from
  Oracle for deep investigation of the problem. [GL #3563]

  rpz-ip rules could be ineffective in some scenarios
  with CD=1 queries. [GL #3247]

  The RecursClients statistics counter could overflow
  in certain resolution scenarios. [GL #3584]

  Less ceremonial UNEXPECTED_ERROR() and FATAL_ERROR()
  reporting macros. [GL !6914]

  Fix a couple of bugs in cfg_print_duration(), which
  could result in generating incomplete duration values
  when printing the configuration using named-checkconf.
  [GL !6880]

  Refactor the isc_httpd implementation used in the
  statistics channel. [GL !6879]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>