]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agolibtirpc: Mark CVE-2021-46828 as resolved
Richard Purdie [Mon, 22 Aug 2022 14:31:25 +0000 (15:31 +0100)] 
libtirpc: Mark CVE-2021-46828 as resolved

This CVE only applied to pre 1.3.3rc1 and we're on 1.3.3 so we're sorted
but the rc versions make the automated matching fail. Therefore handle
manually.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicu: Drop binconfig support (icu-config)
Richard Purdie [Mon, 22 Aug 2022 14:09:49 +0000 (15:09 +0100)] 
icu: Drop binconfig support (icu-config)

Upstream have indicated icu-config is deprecated and they don't intend
people to use it any more. Drop our code for it to flush out users and
clean up our recipe a bit. pkg-config is a much better alternative.

(https://github.com/unicode-org/icu/pull/2150)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Upgrade 9.0.0115 -> 9.0.0242
Richard Purdie [Mon, 22 Aug 2022 13:25:39 +0000 (14:25 +0100)] 
vim: Upgrade 9.0.0115 -> 9.0.0242

Includes fixes for:

CVE-2022-2816
CVE-2022-2817
CVE-2022-2819
CVE-2022-2845
CVE-2022-2849
CVE-2022-2862
CVE-2022-2874
CVE-2022-2889

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo_common.bbclass: Add missing space in shell conditional code
Khem Raj [Sat, 20 Aug 2022 07:19:01 +0000 (00:19 -0700)] 
cargo_common.bbclass: Add missing space in shell conditional code

Fixes cofigure errors in rust recipes e.g.

tmp/work/riscv32-yoe-linux-musl/rust/1.62.1-r0/temp/run.setup_cargo_environment.3047487: line 215: [: missing `]'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct
Shubham Kulkarni [Thu, 18 Aug 2022 07:52:38 +0000 (13:22 +0530)] 
sanity: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct

In sanity.bbclass, in function check_connectivity :
Connectivity is tested by fetching URIs in variable CONNECTIVITY_CHECK_URIS.
If none is accessible, the status error is ambiguous.

It says to ensure the host's network is correctly configured but
never if the remote is available.

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Upgrade to latest on 2.39 release branch
Khem Raj [Fri, 19 Aug 2022 19:40:50 +0000 (12:40 -0700)] 
binutils: Upgrade to latest on 2.39 release branch

This brings in few bugfixes which we need e.g. fix elfutils ptests we
need

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e8cf73215187b0c08679d726a5cc7c019fa3ea2e

changsets in this update

9e855cffa1f PR29466, APP/NO_APP with .linefile
e3b5d935247 PR29462, internal error in relocate, at powerpc.cc:10796
e8cf7321518 gas/Dwarf: properly skip zero-size functions
9284b63ea39 ld: fix NEWS typos

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: Add regression test for rpm filesnames
Pavel Zhukov [Fri, 19 Aug 2022 13:15:38 +0000 (15:15 +0200)] 
selftest: Add regression test for rpm filesnames

Escaping globs and quoting in rpm spec files is tricky and requires a
bit of dancing. In addition to that it changes from time to time.
Adding (simple) regression test for different types of filename
patterns. Cover brackets and parentheses in first iteration

[Yocto #13746]

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_rpm: Do not replace square brackets in %files
Pavel Zhukov [Fri, 19 Aug 2022 13:15:36 +0000 (15:15 +0200)] 
package_rpm: Do not replace square brackets in %files

This reverts commit f95adb749619e70920c6cc6cd01c6d02cd348fd8.
At some point RPM stopped treating "[]?" characters in quoted text as a glob
This causes rpmbuild error [1] in oe-core if package contains filenames
with such characters [Yocto #13746]. Reverting commit which replaces "[]" with "?"
fixes the issue.
It should be safe now becuase rpm tries to use filename directly if not
found by glob [2].

[1]
| error: File not found: /mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42 All-Time Classics (E) ?v1.1?.cht
|     File not found: /mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42 All-Time Classics (E) ?v1.1?.cht
|

[2] https://github.com/rpm-software-management/rpm/commit/c16c70cbd6b31cd93541d5c22d23ba98d212ad3d

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: do not leave behind source trees in workspace/sources
Alexander Kanavin [Fri, 19 Aug 2022 07:27:27 +0000 (09:27 +0200)] 
devtool: do not leave behind source trees in workspace/sources

These are typically auto-extracted with modify/upgrade from recipes
and can be easily recreated. On the rare occasions where they need
to be reused, they are still available under workspace/attic (which
is already used for old recipes and appends), so nothing gets lost.

This avoids the annoyance of devtool refusing to proceed because
there is a previous source tree in workspace/sources.

For independent source trees behave as before: do nothing.

Adjust the test that previously deleted those trees by hand.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: update 63.4.1 -> 65.0.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:26 +0000 (09:27 +0200)] 
python3-setuptools: update 63.4.1 -> 65.0.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hatchling: update 1.6.0 -> 1.8.0
Alexander Kanavin [Fri, 19 Aug 2022 07:27:25 +0000 (09:27 +0200)] 
python3-hatchling: update 1.6.0 -> 1.8.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpebackend-fdo: upgrade 1.12.0 -> 1.12.1
Alexander Kanavin [Fri, 19 Aug 2022 07:27:23 +0000 (09:27 +0200)] 
wpebackend-fdo: upgrade 1.12.0 -> 1.12.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowireless-regdb: upgrade 2022.06.06 -> 2022.08.12
Alexander Kanavin [Fri, 19 Aug 2022 07:27:22 +0000 (09:27 +0200)] 
wireless-regdb: upgrade 2022.06.06 -> 2022.08.12

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysklogd: upgrade 2.4.2 -> 2.4.4
Alexander Kanavin [Fri, 19 Aug 2022 07:27:20 +0000 (09:27 +0200)] 
sysklogd: upgrade 2.4.2 -> 2.4.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: upgrade 5.18 -> 5.19
Alexander Kanavin [Fri, 19 Aug 2022 07:27:19 +0000 (09:27 +0200)] 
strace: upgrade 5.18 -> 5.19

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytz: upgrade 2022.1 -> 2022.2.1
Alexander Kanavin [Fri, 19 Aug 2022 07:27:18 +0000 (09:27 +0200)] 
python3-pytz: upgrade 2022.1 -> 2022.2.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyelftools: upgrade 0.28 -> 0.29
Alexander Kanavin [Fri, 19 Aug 2022 07:27:17 +0000 (09:27 +0200)] 
python3-pyelftools: upgrade 0.28 -> 0.29

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pbr: upgrade 5.9.0 -> 5.10.0
Alexander Kanavin [Fri, 19 Aug 2022 07:27:16 +0000 (09:27 +0200)] 
python3-pbr: upgrade 5.9.0 -> 5.10.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.23.1 -> 1.23.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:15 +0000 (09:27 +0200)] 
python3-numpy: upgrade 1.23.1 -> 1.23.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-more-itertools: upgrade 8.13.0 -> 8.14.0
Alexander Kanavin [Fri, 19 Aug 2022 07:27:14 +0000 (09:27 +0200)] 
python3-more-itertools: upgrade 8.13.0 -> 8.14.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2022.8 -> 2022.8.1
Alexander Kanavin [Fri, 19 Aug 2022 07:27:12 +0000 (09:27 +0200)] 
python3-dtschema: upgrade 2022.8 -> 2022.8.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopkgconf: upgrade 1.8.0 -> 1.9.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:11 +0000 (09:27 +0200)] 
pkgconf: upgrade 1.8.0 -> 1.9.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
Alexander Kanavin [Fri, 19 Aug 2022 07:27:10 +0000 (09:27 +0200)] 
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: upgrade 1.50.8 -> 1.50.9
Alexander Kanavin [Fri, 19 Aug 2022 07:27:09 +0000 (09:27 +0200)] 
pango: upgrade 1.50.8 -> 1.50.9

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agompg123: upgrade 1.30.1 -> 1.30.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:08 +0000 (09:27 +0200)] 
mpg123: upgrade 1.30.1 -> 1.30.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: upgrade 0.63.0 -> 0.63.1
Alexander Kanavin [Fri, 19 Aug 2022 07:27:07 +0000 (09:27 +0200)] 
meson: upgrade 0.63.0 -> 0.63.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 22.1.5 -> 22.1.6
Alexander Kanavin [Fri, 19 Aug 2022 07:27:06 +0000 (09:27 +0200)] 
mesa: upgrade 22.1.5 -> 22.1.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: upgrade 1.4.65 -> 1.4.66
Alexander Kanavin [Fri, 19 Aug 2022 07:27:05 +0000 (09:27 +0200)] 
lighttpd: upgrade 1.4.65 -> 1.4.66

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibwebp: upgrade 1.2.3 -> 1.2.4
Alexander Kanavin [Fri, 19 Aug 2022 07:27:04 +0000 (09:27 +0200)] 
libwebp: upgrade 1.2.3 -> 1.2.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjpeg-turbo: upgrade 2.1.3 -> 2.1.4
Alexander Kanavin [Fri, 19 Aug 2022 07:27:03 +0000 (09:27 +0200)] 
libjpeg-turbo: upgrade 2.1.3 -> 2.1.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogpgme: upgrade 1.17.1 -> 1.18.0
Alexander Kanavin [Fri, 19 Aug 2022 07:27:02 +0000 (09:27 +0200)] 
gpgme: upgrade 1.17.1 -> 1.18.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-efi: upgrade 3.0.14 -> 3.0.15
Alexander Kanavin [Fri, 19 Aug 2022 07:27:01 +0000 (09:27 +0200)] 
gnu-efi: upgrade 3.0.14 -> 3.0.15

Drop lib-Makefile-fix-parallel-issue.patch
as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-networking: upgrade 2.72.1 -> 2.72.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:00 +0000 (09:27 +0200)] 
glib-networking: upgrade 2.72.1 -> 2.72.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: upgrade 2.37.1 -> 2.37.2
Alexander Kanavin [Fri, 19 Aug 2022 07:26:59 +0000 (09:26 +0200)] 
git: upgrade 2.37.1 -> 2.37.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: upgrade 42.3 -> 42.4
Alexander Kanavin [Fri, 19 Aug 2022 07:26:58 +0000 (09:26 +0200)] 
epiphany: upgrade 42.3 -> 42.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Fri, 19 Aug 2022 07:26:57 +0000 (09:26 +0200)] 
vulkan-samples: update to latest revision

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: update 1.79.0 -> 1.80.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:56 +0000 (09:26 +0200)] 
boost: update 1.79.0 -> 1.80.0

Drop boost-CVE-2012-2677.patch; fixed upstream after 10 years:
https://github.com/boostorg/pool/pull/42

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost-build-native: update 4.4.1 -> 1.80.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:55 +0000 (09:26 +0200)] 
boost-build-native: update 4.4.1 -> 1.80.0

Due to the changed versioned scheme, we have missed a few versions,
and latest boost finally detects that.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxorgproto: update 2022.1 -> 2022.2
Alexander Kanavin [Fri, 19 Aug 2022 07:26:54 +0000 (09:26 +0200)] 
xorgproto: update 2022.1 -> 2022.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: update 2.42.8 -> 2.42.9
Alexander Kanavin [Fri, 19 Aug 2022 07:26:53 +0000 (09:26 +0200)] 
gdk-pixbuf: update 2.42.8 -> 2.42.9

Disable manpages, as they require rst2man.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxz: update 5.2.5 -> 5.2.6
Alexander Kanavin [Fri, 19 Aug 2022 07:26:52 +0000 (09:26 +0200)] 
xz: update 5.2.5 -> 5.2.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoslang: update 2.3.2 -> 2.3.3
Alexander Kanavin [Fri, 19 Aug 2022 07:26:51 +0000 (09:26 +0200)] 
slang: update 2.3.2 -> 2.3.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: update 4.11.1 -> 4.12.1
Alexander Kanavin [Fri, 19 Aug 2022 07:26:50 +0000 (09:26 +0200)] 
shadow: update 4.11.1 -> 4.12.1

Combine two username relaxing patches into one, rebase, and submit upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools-rust: update 1.4.1 -> 1.5.1
Alexander Kanavin [Fri, 19 Aug 2022 07:26:49 +0000 (09:26 +0200)] 
python3-setuptools-rust: update 1.4.1 -> 1.5.1

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcgroup: update 2.0.2 -> 3.0.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:48 +0000 (09:26 +0200)] 
libcgroup: update 2.0.2 -> 3.0.0

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: upgrade 2022a -> 2022b
Alexander Kanavin [Fri, 19 Aug 2022 07:26:47 +0000 (09:26 +0200)] 
tzdata: upgrade 2022a -> 2022b

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: add support for config snippet includes to ssh and sshd
Jan Luebbe [Thu, 18 Aug 2022 11:17:03 +0000 (13:17 +0200)] 
openssh: add support for config snippet includes to ssh and sshd

This makes it simpler to set specific ssh/sshd config options by adding
snippet files to /etc/ssh/ssh_config.d/ or /etc/ssh/sshd_config.d/
instead of modifying a copy of the full configuration file. As new
snippets can be added from separate recipes, targeted changes can be
done in multiple layers.

These specific directories are also used in Debian's default
configuration.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: sync local ssh_config + sshd_config files with upstream 8.7p1
Jan Luebbe [Thu, 18 Aug 2022 11:17:02 +0000 (13:17 +0200)] 
openssh: sync local ssh_config + sshd_config files with upstream 8.7p1

Changes are caused by the removal of deprecated options.

ChallengeResponseAuthentication was replaced by
KbdInteractiveAuthentication in the SSHv2 protocol, see
https://www.openssh.com/txt/release-8.7

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Disable gprofng on musl systems
Khem Raj [Thu, 18 Aug 2022 20:27:57 +0000 (13:27 -0700)] 
binutils: Disable gprofng on musl systems

disable gprofng, as it depends on few glibc apis

| ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
|    78 |   ssize_t (*pwrite64)();
|       |             ^~~~~~~~
| ../../../gprofng/libcollector/dispatcher.c: In function 'collector_timer_create':
| ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
|   578 |   sigev._sigev_un._tid = __collector_gettid ();
|       |        ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Update to tip
Khem Raj [Thu, 18 Aug 2022 18:58:07 +0000 (11:58 -0700)] 
musl: Update to tip

brings in these fixes

37e18b7b freopen: reset stream orientation (byte/wide) and encoding rule
bf992585 ldso: process RELR only for non-FDPIC archs
d32dadd6 ldso: support DT_RELR relative relocation format
2404d9d6 use syscall_arg_t and __scc macro for arguments to __alt_socketcall

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Upgrade to 2.36.6 minor update
Khem Raj [Thu, 18 Aug 2022 17:49:32 +0000 (10:49 -0700)] 
webkitgtk: Upgrade to 2.36.6 minor update

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: Remove debug lines
Jacob Kroon [Thu, 18 Aug 2022 01:45:39 +0000 (03:45 +0200)] 
python3-cython: Remove debug lines

Fixes: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8
       ("python3-cython: Update code to match debug path changes")
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub2: fix several CVEs
Yongxin Liu [Fri, 5 Aug 2022 02:42:19 +0000 (10:42 +0800)] 
grub2: fix several CVEs

Backport CVE patches from upstream to fix:
  CVE-2021-3695
  CVE-2021-3696
  CVE-2021-3697
  CVE-2022-28733
  CVE-2022-28734
  CVE-2022-28735

Backport the following 5 patches to make CVE patches be applied smoothly.
  video-Remove-trailing-whitespaces.patch
  video-readers-jpeg-Abort-sooner-if-a-read-operation-.patch
  video-readers-jpeg-Refuse-to-handle-multiple-start-o.patch

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonfs-utils: Upgrade to 2.6.2
Khem Raj [Wed, 17 Aug 2022 16:24:37 +0000 (09:24 -0700)] 
nfs-utils: Upgrade to 2.6.2

Fix build with clang
Package new rpcctl utility into a new package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/parselogs: add qemuarmv5 arm-charlcd masking
Jon Mason [Wed, 17 Aug 2022 16:00:31 +0000 (12:00 -0400)] 
oeqa/parselogs: add qemuarmv5 arm-charlcd masking

On qemuarmv5, arm-charlcd is logging an error because the device isn't
present on the virtual machine.  Mask it off, as that device could be
present on the physical hardware (and we want to use the same kernel
config as the real hardware).

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Add missing prototypes to function declarations
Khem Raj [Wed, 17 Aug 2022 07:04:40 +0000 (00:04 -0700)] 
rsync: Add missing prototypes to function declarations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautoconf: Fix strict prototype errors in generated tests
Khem Raj [Wed, 17 Aug 2022 07:04:39 +0000 (00:04 -0700)] 
autoconf: Fix strict prototype errors in generated tests

This will fix issues with autoconf tests which fail due to lacking
prototypes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils-cross-canadian: Package up new gprofng.rc file
Khem Raj [Wed, 17 Aug 2022 07:04:38 +0000 (00:04 -0700)] 
binutils-cross-canadian: Package up new gprofng.rc file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Disable gprofng when using clang
Khem Raj [Wed, 17 Aug 2022 07:04:37 +0000 (00:04 -0700)] 
binutils: Disable gprofng when using clang

It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported
formatted output of built-in functions check is failing with clang
somehow it seems to be compiler limitation. Therefore disable building
this component with clang for now

(From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Package up gprofng
Khem Raj [Wed, 17 Aug 2022 07:04:36 +0000 (00:04 -0700)] 
binutils: Package up gprofng

(From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils-cross: Disable gprofng for when building cross binutils
Khem Raj [Wed, 17 Aug 2022 07:04:35 +0000 (00:04 -0700)] 
binutils-cross: Disable gprofng for when building cross binutils

This does not work in cross settings yet

(From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Upgrade to 2.39 release
Khem Raj [Wed, 17 Aug 2022 07:04:34 +0000 (00:04 -0700)] 
binutils: Upgrade to 2.39 release

Details of changes [1]

[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html

(From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-fitimage.bbclass: only package unique DTBs
Awais Belal [Tue, 16 Aug 2022 13:58:55 +0000 (18:58 +0500)] 
kernel-fitimage.bbclass: only package unique DTBs

The KERNEL_DEVICETREE and related variables could potentially have a device
tree listed multiple times and this works okay for most scenarios. However,
when we create FIT entries for these we get duplicate nodes and uboot-mkimage
fails with

fit-image-initramfs-image.its:219.58-229.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:307.50-317.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:362.54-372.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:417.56-427.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
fit-image-initramfs-image.its:648.59-658.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:744.51-754.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:804.55-814.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:864.57-874.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
ERROR: Input tree has errors, aborting (use -f to force output)
uboot-mkimage: Can't open arch/arm64/boot/fitImage.tmp: No such file or directory

We fix this by tracking the DTBs we're compiling in the FIT and only picking
up unique ones.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: apply proposed patch from upstream instead of revert
Martin Jansa [Sat, 13 Aug 2022 12:38:48 +0000 (14:38 +0200)] 
glibc: apply proposed patch from upstream instead of revert

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysvinit-inittab/start_getty: Fix respawn too fast
Bertrand Marquis [Thu, 11 Aug 2022 09:47:21 +0000 (10:47 +0100)] 
sysvinit-inittab/start_getty: Fix respawn too fast

When an entry in /dev does not exist, start_getty is returning directly.
As it is started from init in a respawn mode, it will loop infinitely.
In this case add a sleep inside start_getty to prevent the "Respawning
too fast" message popping up every 5 minutes.

This case is happening quite often when the system is started as an
hypervisor guest as the standard serial line is usually taken by it and
removed from the configuration.

This was triggered quite often running linux as dom0 on top of Xen on
arm as the serial line is taken by Xen and removed from the device tree.

Use the opportunity to replace one tab with spaces as the rest of the
file is using spaces.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: Remove -Wimplicit-function-declaration warnings
Khem Raj [Tue, 16 Aug 2022 16:58:53 +0000 (09:58 -0700)] 
rpm: Remove -Wimplicit-function-declaration warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistrooverrides: Move back to classes whilst it's usage is clarified
Richard Purdie [Thu, 18 Aug 2022 09:38:28 +0000 (10:38 +0100)] 
distrooverrides: Move back to classes whilst it's usage is clarified

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Fix sys/mount.h and linux/mount.h conflict
Khem Raj [Tue, 16 Aug 2022 16:58:56 +0000 (09:58 -0700)] 
ltp: Fix sys/mount.h and linux/mount.h conflict

backport needed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: Do not use std::binary_function
Khem Raj [Tue, 16 Aug 2022 16:58:55 +0000 (09:58 -0700)] 
apt: Do not use std::binary_function

This feature is removed from c++17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: Qualify move as std::move
Khem Raj [Tue, 16 Aug 2022 16:58:52 +0000 (09:58 -0700)] 
vulkan-samples: Qualify move as std::move

Fixes build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: Compile out stdlib unary/binary_functions for c++11 and newer
Khem Raj [Tue, 16 Aug 2022 16:58:51 +0000 (09:58 -0700)] 
boost: Compile out stdlib unary/binary_functions for c++11 and newer

These base classes are deprecated/removed from libcpp15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: Remove default copy constructor in header
Khem Raj [Tue, 16 Aug 2022 17:27:54 +0000 (10:27 -0700)] 
spirv-tools: Remove default copy constructor in header

Fixes build with when clang libc++ runtime is used.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2022.1 -> 2022.2
Jose Quaresma [Tue, 16 Aug 2022 08:14:57 +0000 (09:14 +0100)] 
shaderc: upgrade 2022.1 -> 2022.2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpect: Fix implicit-function-declaration warnings
Khem Raj [Tue, 16 Aug 2022 03:30:03 +0000 (20:30 -0700)] 
expect: Fix implicit-function-declaration warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetserial: Fix build with clang
Khem Raj [Tue, 16 Aug 2022 03:30:02 +0000 (20:30 -0700)] 
setserial: Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscreen: Add missing include files in configure checks
Khem Raj [Tue, 16 Aug 2022 03:30:01 +0000 (20:30 -0700)] 
screen: Add missing include files in configure checks

Fixes builds with -Werror

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotime: Add missing include for memset
Khem Raj [Tue, 16 Aug 2022 03:30:00 +0000 (20:30 -0700)] 
time: Add missing include for memset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Upgrade to 251.4 and fix build with binutils 2.39
Khem Raj [Tue, 16 Aug 2022 03:35:51 +0000 (20:35 -0700)] 
systemd: Upgrade to 251.4 and fix build with binutils 2.39

The mount.h conflict patch is now upstream so drop it.
Additionally this version fixes build with binutils-2.39 [1]

[1] https://github.com/systemd/systemd-stable/commit/8a6f966be404897b5333c218701965ac3b5a0806

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomsmtp: upgrade 1.8.20 -> 1.8.22
wangmy [Tue, 16 Aug 2022 00:05:39 +0000 (08:05 +0800)] 
msmtp: upgrade 1.8.20 -> 1.8.22

Changelog:
==========
- The msmtpq script was updated.
- Added a new configuration command 'eval' to replace the current configuration
  file line with the output of a command (similar to passwordeval, but more
  general).
- Added a new configuration command 'set_msgid_header' with the default setting
  'auto'. This adds a Message-ID header to the mail if none is present.
- msmtpd now adds a Received header

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoskeleton/service: Ensure debug path handling works as intended
Richard Purdie [Tue, 16 Aug 2022 09:30:25 +0000 (10:30 +0100)] 
skeleton/service: Ensure debug path handling works as intended

DEBUG_PREFIX_MAP uses ${S} but that wasn't set correctly for this
recipe meaning cwd during the build (WORKDIR) was encoded into the
binary leading to buildpath warnings in debug symbols. Set S correctly
to avoid this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Update to match debug file layout changes
Richard Purdie [Wed, 17 Aug 2022 17:18:31 +0000 (18:18 +0100)] 
valgrind: Update to match debug file layout changes

Update the recpie to match the recent debug files layout change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Disable drd/tests/std_thread2 ptest
Richard Purdie [Wed, 17 Aug 2022 17:17:39 +0000 (18:17 +0100)] 
valgrind: Disable drd/tests/std_thread2 ptest

After improvements to debug sources handling I suspect that extra debug
information became available and is confusing this test. Disable it
for now until someone with more knowledge can resolve the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Update patch status to submitted for two patches
Richard Purdie [Wed, 17 Aug 2022 12:17:48 +0000 (13:17 +0100)] 
gcc: Update patch status to submitted for two patches

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Add a patch to avoid hardcoded paths in libgcc on powerpc
Richard Purdie [Tue, 16 Aug 2022 09:29:14 +0000 (10:29 +0100)] 
gcc: Add a patch to avoid hardcoded paths in libgcc on powerpc

Tweak the powerpc code to just include filenames rather than full paths
to avoid build reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Resolve relative prefix-map filenames
Richard Purdie [Fri, 12 Aug 2022 16:17:20 +0000 (17:17 +0100)] 
gcc: Resolve relative prefix-map filenames

Add a patch to gcc so that relative paths are handled by -fdebug-prefix-map
and friends. In OE we use relative paths in autotools and removing that
creates a lot of issues we'd have to fix. This alternative allows us to
fix the paths within gcc and improve our debug file coverage (and SPDX
manifests) accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross: Fix relative links
Richard Purdie [Thu, 21 Jul 2022 14:27:10 +0000 (15:27 +0100)] 
gcc-cross: Fix relative links

Now that we're using absolute paths to run configure, there are absolute
path symlinks within gcc's output. Use our script that fixes these so
that the sstate objects work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: Update code to match debug path changes
Richard Purdie [Tue, 16 Aug 2022 09:30:02 +0000 (10:30 +0100)] 
python3-cython: Update code to match debug path changes

Match the changes to debug prefixes in bitbake.conf.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Handle S and B separately for debug mapping
Richard Purdie [Wed, 20 Jul 2022 12:28:03 +0000 (13:28 +0100)] 
bitbake.conf: Handle S and B separately for debug mapping

We don't really need to keep S and B separate for debug source purposes
and there shouldn't be source references in WORKDIR that isn't S and B
either.

Separating these out simplifies the shared-work directory handling for
gcc and should also help fix external source usage. Therefore handle
S and B in DEBUG_PREFIX_MAP separately and clean up other code.

Indentation is reduced here as it is introduced on every compiler
commandline so minimising it is helpful.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcc/gcc-runtime: Improve source reference handling
Richard Purdie [Wed, 20 Jul 2022 11:29:39 +0000 (12:29 +0100)] 
libgcc/gcc-runtime: Improve source reference handling

This code was some of the earliest reproducible build work we did. To
correctly handle the encoding of file paths, we used relative build
paths to run configure which resulted in relative build paths in the
binaries.

We now have more modern approaches used elsewhere with the prefix remapping
options. These work best with absolute paths, not relative ones. As such,
drop the relative path mangling and switch to using prefix mapping
exclusively on absolute paths.

This makes the code matc the rest of the system and triggers the correct
code to be added in /usr/src/debug.

We have to include both file-prefix and debug-prefix since the assembler
only looks at debug-prefix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Switch debug source handling to use prefix map
Richard Purdie [Tue, 19 Jul 2022 16:32:32 +0000 (17:32 +0100)] 
package: Switch debug source handling to use prefix map

Reproducible builds are no longer a configuration option but are required.
We also rely on the prefix mapping capability of the compilers now.

As such, rewrite the source locating code to use the prefix maps instead
of taking a guess about WORKDIR which isn't correct for kernels, gcc,
externalsrc and probably more.

Instead, iterate the maps to locate any matching source code, keeping
in mind that multiple maps may map to one target location.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: Backports for security fixes
Khem Raj [Sun, 14 Aug 2022 23:43:04 +0000 (16:43 -0700)] 
connman: Backports for security fixes

Fixes
CVE: CVE-2022-32292, CVE-2022-32293

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-self-hosted: update for strace
Kai Kang [Sun, 14 Aug 2022 15:18:02 +0000 (23:18 +0800)] 
packagegroup-self-hosted: update for strace

strace has been set imcompatible with riscv32, so update in
packagegroup-self-hosted.bb accordingly.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Add packageconfig for libbfd support and use disabled as default
Khem Raj [Mon, 15 Aug 2022 03:48:46 +0000 (20:48 -0700)] 
perf: Add packageconfig for libbfd support and use disabled as default

Disable it by default, libbfd changes with binutils major releases and
sometimes it creates a dependency to fix it. See [1]

This will help building with binutils 2.39

[1] https://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com/T/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Upgrade to 1.3.3
Khem Raj [Sun, 14 Aug 2022 22:20:37 +0000 (15:20 -0700)] 
libtirpc: Upgrade to 1.3.3

In this release a large number of deadlocks in the
in the multi-thread code were fix. A number of
memory leaks were plugged and a DoS was eliminated.
As well as a large number of bug fixes.

Release notes:

http://sourceforge.net/projects/libtirpc/files/libtirpc/1.3.3/Release-1.3.3.txt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Backport a patch for CVE-2022-34526
Khem Raj [Sun, 14 Aug 2022 22:20:36 +0000 (15:20 -0700)] 
tiff: Backport a patch for CVE-2022-34526

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Ignore CVE-2016-3709
Khem Raj [Sun, 14 Aug 2022 22:20:35 +0000 (15:20 -0700)] 
libxml2: Ignore CVE-2016-3709

This is fixed via a revert in 2.9.11 [1]

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/c1ba6f54d32b707ca6d91cb3257ce9de82876b6f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Backport fix for CVE-2021-46828
Khem Raj [Sun, 14 Aug 2022 22:20:34 +0000 (15:20 -0700)] 
libtirpc: Backport fix for CVE-2021-46828

CVE: CVE-2021-46828
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Upgrade to 3.2.5
Khem Raj [Sun, 14 Aug 2022 22:20:32 +0000 (15:20 -0700)] 
rsync: Upgrade to 3.2.5

Changlog is here [1]
[1] https://download.samba.org/pub/rsync/NEWS#3.2.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Backport fix to address CVE-2022-29154
Khem Raj [Sun, 14 Aug 2022 22:20:31 +0000 (15:20 -0700)] 
rsync: Backport fix to address CVE-2022-29154

CVE: CVE-2022-29154

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: Fix function prototypes
Khem Raj [Sun, 14 Aug 2022 22:20:28 +0000 (15:20 -0700)] 
json-c: Fix function prototypes

This is flagged with clang 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>