]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agowpa-supplicant: Use upstream defconfig
Alex Kiernan [Tue, 12 Apr 2022 13:03:13 +0000 (14:03 +0100)] 
wpa-supplicant: Use upstream defconfig

The copy of defconfig we were carrying was from 2014 and very out of
date; drop it and use the upstream version with appropriate edits for
our PACKAGECONFIG.

Switch PACKAGECONFIG to using a default (?=) rather than weak default
(??=) as per current recommendation.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Build static library if not DISABLE_STATIC
Alex Kiernan [Tue, 12 Apr 2022 13:03:12 +0000 (14:03 +0100)] 
wpa-supplicant: Build static library if not DISABLE_STATIC

Build the static library if the configuration indicates we should.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Backport libwpa/clean build fixes
Alex Kiernan [Tue, 12 Apr 2022 13:03:11 +0000 (14:03 +0100)] 
wpa-supplicant: Backport libwpa/clean build fixes

Enabling CONFIG_BUILD_WPA_CLIENT_SO or CONFIG_NO_WPA_PASSPHRASE do
nothing in the released 2.10 wpa-supplicant; backport the fixes for
this.

Also backport the fixes for `make clean` when `wpa_passphrase` is
built.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}
Alex Kiernan [Tue, 12 Apr 2022 13:03:10 +0000 (14:03 +0100)] 
wpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}

Use PACKAGE_BEFORE_PN for packages which need to capture files early,
switch to idiomatic ${PN} for additional packages.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Avoid changing directory in do_install
Alex Kiernan [Tue, 12 Apr 2022 13:03:09 +0000 (14:03 +0100)] 
wpa-supplicant: Avoid changing directory in do_install

Changing directory leads to anyone coming later needing to be explicit
in their directory usage as the working directory is no longer ${B}.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Reorder/group following style guide
Alex Kiernan [Tue, 12 Apr 2022 13:03:08 +0000 (14:03 +0100)] 
wpa-supplicant: Reorder/group following style guide

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: Disable FORTIFY_SOURCES on mips
Khem Raj [Tue, 12 Apr 2022 03:13:40 +0000 (20:13 -0700)] 
gnupg: Disable FORTIFY_SOURCES on mips

This is a workaround for issue reported with gcc12 [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

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 agosystemtap: Fix build with gcc-12
Khem Raj [Tue, 12 Apr 2022 00:39:17 +0000 (17:39 -0700)] 
systemtap: Fix build with gcc-12

Backport a patch to fix
| ../git/util.cxx:1766:56: error: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]' is deprecated: use 'std::function' instea
d [-Werror=deprecated-declarations]
|  1766 |                        std::not1(std::ptr_fun<int, int>(std::isspace))));
|       |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

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 agoxserver-xorg: Fix build with gcc12
Khem Raj [Tue, 12 Apr 2022 00:39:16 +0000 (17:39 -0700)] 
xserver-xorg: Fix build with gcc12

backport patch to silence new array-bounds warnings

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 agobabeltrace: Disable warnings as errors
Khem Raj [Tue, 12 Apr 2022 00:39:15 +0000 (17:39 -0700)] 
babeltrace: Disable warnings as errors

These settings are good for developers/maintainers but for distributions
generally disabling them turns out to be better especially when there is
a knob to do so. This fixes build with gcc-12 which find additional
warnings

    inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6,
    inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3:
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
  141 |                 if (child->parent) {
      |                     ~~~~~^~~~~~~~
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
cc1: all warnings being treated as errors

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 agobuildtools: Add standalone make tarball
Richard Purdie [Tue, 12 Apr 2022 13:45:51 +0000 (14:45 +0100)] 
buildtools: Add standalone make tarball

Some versions of make have bugs. Add a way to provide a make tarball
that can be used on it's own in these cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildtools-tarball: Only add cert envvars if certs are included
Richard Purdie [Tue, 12 Apr 2022 13:44:53 +0000 (14:44 +0100)] 
buildtools-tarball: Only add cert envvars if certs are included

Users may or may not include the certificates in buildtools. Only set the
appropriate variables if they're present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: update 4.5 -> 4.5.1
Alexander Kanavin [Thu, 7 Apr 2022 17:00:16 +0000 (19:00 +0200)] 
squashfs-tools: update 4.5 -> 4.5.1

Drop backports.

Correctly set source and installation directories.

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 agoselftest/lic_checksum: Add test for filename containing space
Paulo Neves [Sun, 6 Feb 2022 13:45:07 +0000 (14:45 +0100)] 
selftest/lic_checksum: Add test for filename containing space

A fix is being added to bitbake to correctly handle spaces inside
checksum filenames. Add a test to oe-selftest to ensure this is
tested and doesn't regress in future.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.39.5 -> 6.41.0
Xu Huan [Thu, 7 Apr 2022 06:19:13 +0000 (14:19 +0800)] 
python3-hypothesis: upgrade 6.39.5 -> 6.41.0

Changelog:
=========
This release changes the implementation of "infer" to be an alias for
"Ellipsis". E.g. "@given(a=infer)" is now equivalent to
"@given(a=...)". Furthermore, "@given(...)" can now be specified so
that "@given" will infer the strategies for all arguments of the
decorated function based on its annotations.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-zipp: upgrade 3.7.0 -> 3.8.0
Xu Huan [Thu, 7 Apr 2022 06:19:16 +0000 (14:19 +0800)] 
python3-zipp: upgrade 3.7.0 -> 3.8.0

Changelog:
=========
Removed compatibility code.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopoky-tiny: enable qemuarmv5/qemuarm64 and cleanups
Jon Mason [Fri, 8 Apr 2022 19:25:21 +0000 (15:25 -0400)] 
poky-tiny: enable qemuarmv5/qemuarm64 and cleanups

Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific
entries, as it should be generic now.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemuarm64: use virtio pci interfaces
Jon Mason [Fri, 8 Apr 2022 19:25:18 +0000 (15:25 -0400)] 
qemuarm64: use virtio pci interfaces

The virtio PCI devices seemed to be required for this machine for some
versions of qemu (based on errors from running qemu saying that the
devices don't exist).  Changes to the entries here is all that is needed
to get it working.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agollvm: use default install paths
Alexander Kanavin [Thu, 7 Apr 2022 17:00:15 +0000 (19:00 +0200)] 
llvm: use default install paths

There was a very brittle sed hack against cpp source code
that allowed installing multiple llvm versions into the same
target/sysroot. Patching with sed is prone to silent
regressions as it can change both too little and too much,
and it indeed it broke with llvm 14. It's also difficult to tell
what the 'right' change should look like.

If this feature is actually needed somewhere, please do it properly:
proper patch and upstream first.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agollvm: update 13.0.1 -> 14.0.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:14 +0000 (19:00 +0200)] 
llvm: update 13.0.1 -> 14.0.0

llvm-config no longer links with libLLVM, so there is no need
to install it in -native (and it isn't built in the first place).
This also significantly speeds up llvm-native build.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 22.0.3 -> 22.0.4
Xu Huan [Thu, 7 Apr 2022 06:19:14 +0000 (14:19 +0800)] 
python3-pip: upgrade 22.0.3 -> 22.0.4

Changelog:
=========
- Deprecations and Removals
  Drop the doctype check, that presented a warning for index pages that use
  non-compliant HTML 5.
- Vendored Libraries
  Downgrade distlib to 0.3.3.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbusmock: upgrade 0.27.3 -> 0.27.5
Xu Huan [Thu, 7 Apr 2022 06:19:12 +0000 (14:19 +0800)] 
python3-dbusmock: upgrade 0.27.3 -> 0.27.5

Changelog:
=========
bluez and accountsservice templates: Drop default arguments from D-Bus methods

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysvinit: upgrade 3.01 -> 3.02
wangmy [Mon, 4 Apr 2022 10:38:36 +0000 (18:38 +0800)] 
sysvinit: upgrade 3.01 -> 3.02

pidof-add-m-option.patch
refreshed for new version.

Add 0001-Fixed-compile-error-on-GNU-Hurd.patch
to fix compile error on GNU Hurd due to missing MAX_PATH
definition.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-boot: remove outdated EFI_LD comment
Martin Jansa [Thu, 7 Apr 2022 14:24:19 +0000 (16:24 +0200)] 
systemd-boot: remove outdated EFI_LD comment

* efi-ld meson option was changed in systemd 250:
  https://github.com/systemd/systemd/commit/fe330f02dfebbaa462e0f4590de1049e47da54b9

  the value was changed with the systemd upgrade in:
  https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcrypt: upgrade 1.9.4 -> 1.10.1
Alexander Kanavin [Thu, 7 Apr 2022 17:00:27 +0000 (19:00 +0200)] 
libgcrypt: upgrade 1.9.4 -> 1.10.1

License-Update: formatting

Add another chunk to pthread fixing patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: upgrade 2.52.7 -> 2.54.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:28 +0000 (19:00 +0200)] 
librsvg: upgrade 2.52.7 -> 2.54.0

Upstream has replaced gtk-doc with gi-docgen however it is not possible to
configure. So it's disabled until the merge request to do so lands:
https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: upgrade 2.42.6 -> 2.42.8
Alexander Kanavin [Thu, 7 Apr 2022 17:00:26 +0000 (19:00 +0200)] 
gdk-pixbuf: upgrade 2.42.6 -> 2.42.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update license hashes
Alexandre Belloni [Thu, 14 Apr 2022 10:05:55 +0000 (12:05 +0200)] 
cmake: update license hashes

The cmjsoncpp license changes are only whitespaces while the cmlibuv
license dropped:
"""
  - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
    Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
    n° 289016). Three clause BSD license.
"""

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.22.3 -> 3.23.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:24 +0000 (19:00 +0200)] 
cmake: update 3.22.3 -> 3.23.0

License-Update: copyright years, contributors.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoat-spi2-core: update 2.42.0 -> 2.44.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:22 +0000 (19:00 +0200)] 
at-spi2-core: update 2.42.0 -> 2.44.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsndfile1: update 1.0.31 -> 1.1.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:21 +0000 (19:00 +0200)] 
libsndfile1: update 1.0.31 -> 1.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxvmc: update 1.0.12 -> 1.0.13
Alexander Kanavin [Thu, 7 Apr 2022 17:00:20 +0000 (19:00 +0200)] 
libxvmc: update 1.0.12 -> 1.0.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:19 +0000 (19:00 +0200)] 
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:18 +0000 (19:00 +0200)] 
piglit: update to latest revision

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoethtool: upgrade 5.16 -> 5.17
zhengruoqin [Wed, 6 Apr 2022 12:19:20 +0000 (20:19 +0800)] 
ethtool: upgrade 5.16 -> 5.17

avoid_parallel_tests.patch
refreshed for new version.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: upgrade 2.4.7 -> 2.4.8
zhengruoqin [Wed, 6 Apr 2022 12:19:07 +0000 (20:19 +0800)] 
expat: upgrade 2.4.7 -> 2.4.8

Changelog:
=========
 Other changes:
     #587  pkg-config: Move "-lm" to section "Libs.private"
     #587  CMake|MSVC: Fix pkg-config section "Libs"
 #55 #582  CMake|macOS: Start using linker arguments
             "-compatibility_version <version>" and
             "-current_version <version>" in a way compatible with
             GNU Libtool
#590 #591  Version info bumped from 9:7:8 to 9:8:8;
             see https://verbump.de/ for what these numbers do

 Infrastructure:
     #589  CI: Upgrade Clang from 13 to 14

 Special thanks to:
     evpobr
     Kai Pastor
     Sam James

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreaterepo-c: upgrade 0.19.0 -> 0.20.0
zhengruoqin [Wed, 6 Apr 2022 12:18:44 +0000 (20:18 +0800)] 
createrepo-c: upgrade 0.19.0 -> 0.20.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: upgrade 5.16 -> 5.17
wangmy [Sun, 3 Apr 2022 18:47:29 +0000 (02:47 +0800)] 
strace: upgrade 5.16 -> 5.17

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshared-mime-info: upgrade 2.1 -> 2.2
wangmy [Sun, 3 Apr 2022 18:47:28 +0000 (02:47 +0800)] 
shared-mime-info: upgrade 2.1 -> 2.2

0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
removed since it's included in 2.2

Changelog:
=========
* model/3mf: new
* Match shared libraries with version suffix
* model/obj: add mtllib and Blender comment based magic
* model/mtl: add Blender comment magic, increase newmtl range
* model/obj, model/mtl: new types
* Add Electron Archive Format type application/x-asar
* text/x-qml: Lower match priority to avoid conflicts with Python
* Move '*.blend' to top of Blender glob list
* Adding SPARQL media types
* application/zip: Add '*.zipx' glob and test fixture
* Added DSD mime type
* Differentiate comic book archives
* FITS: Add missing 'application/fits' and legacy globs
* Add Godot engine files
* Add FlashForge "xgcode" mime-type
* text/x-objc++src: new type
* image/heif: test .hif extension too
* image/hif: add *.hif glob
* image/heif: add another test case
* image/heif: add magics
* Add a build-tools option to allow installing only the mime data
* Add compressed SVG glob pattern '*.svg.gz'
* Add Apple Wallet pass type application/vnd.apple.pkpass
* migrate from custom itstool to builtin msgfmt for creating translated XML
* Make the remaining plain text types subclasses of text/plain
* audio/mobile-xmf: separate from audio/x-xmf
* Adding ZIM file
* Make text/x-mrml a subclass of application/xml
* image/avif: move acronym and expansion to separate fields from comment
* freedesktop_generate.sh: Don't hardcode ninja
* Add text/x-mpl2
* application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in plist
* image/jpeg: add test case with embedded property list XML
* audio/vnd.dts.hd: include parent type magic in magic match
* model/gltf+json: new type
* model/gltf-binary: new type
* application/x-object: add *.mod and a test case
* application/x-mod: add some ProTracker magics and a test case
* image/jxl: include test files in test list
* tests: add trailing linefeed to mime-detection list
* Make application/x-mswinurl a subclass of text/plain
* Change description for *.desktop files to "desktop entry"
* application/x-x509-ca-cert: add magics and test cases
* application/pkix-cert: add BEGIN/END X509 CERTIFICATE magic
* application/pkix-crl: add magic and test case
* application/pkix-cert: add magic and test case
* image/jxl: new type
* Added .sc filename extension for Scala source code, as it is occasionally used
* application/schema+json: new type
* Add text/x-crystal
* application/x-krita: remove stray period from comment
* adding org-mode
* Add Elixir source code mime type
* Add two new offsets for .kra and .krz
* text/x-python3: add *.pyi glob (Python stub files)
* image/x-canon-cr3: new
* image/x-xpixmap: make XPM3 magic more specific
* image/x-xpixmap: add XPM2 magic
* application/x-troff-man: add *.[1-9] glob
* application/toml: new type
* Lower priority of "BEGIN {" for perl, awk uses that too
* Add Smacker video type video/vnd.radgamettools.smacker
* Clarify database license
* meson: make xmlto optional, build spec only if found
* application/x-7z-compressed: add *.7z.001 glob
* Add Bink video type video/vnd.radgamettools.bink
* image/x-nikon-nrw: add test case
* image/x-nikon-nrw: new type
* application/x-vhdx-disk: improve acronym and its expansion
* application/ovf: new
* application/x-qed-disk: new
* application/x-vdi-disk: new
* application/x-vmdk-disk: new
* application/x-vhd-disk, /x-vhdx-disk: new
* application/vnd.apple.numbers, .pages: add older magics and test cases
* Add text/x-dart
* application/vnd.apple.numbers, /vnd.apple.pages: new types
* xdgmime: configure as submodule

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomc: upgrade 4.8.27 -> 4.8.28
wangmy [Sun, 3 Apr 2022 18:47:27 +0000 (02:47 +0800)] 
mc: upgrade 4.8.27 -> 4.8.28

Remove unsupported option of smb

0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch
removed since it's included in 4.8.28

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofontconfig: upgrade 2.13.1 -> 2.14.0
wangmy [Sun, 3 Apr 2022 18:45:39 +0000 (02:45 +0800)] 
fontconfig: upgrade 2.13.1 -> 2.14.0

License-Update:
- COPYING:
 *  year updated
 *  the following files added:
     fontconfig/fc-case/CaseFolding.txt
     fontconfig/src/fcatomic.h
     fontconfig/src/fcfoundry.h
     fontconfig/src/fcmd5.h
     fontconfig/src/fcmutex.h
     fontconfig/src/ftglue.[ch]
- fcfreetype.c
 * description of Copyright removed
 * include files added
- fccache.c
 * description of Copyright removed
 * source code changed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: upgrade 1.21.4 -> 1.21.7
wangmy [Sun, 3 Apr 2022 18:45:38 +0000 (02:45 +0800)] 
dpkg: upgrade 1.21.4 -> 1.21.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: upgrade 2.4.3 -> 2.4.4
wangmy [Sun, 3 Apr 2022 18:45:37 +0000 (02:45 +0800)] 
apt: upgrade 2.4.3 -> 2.4.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoacpica: upgrade 20211217 -> 20220331
wangmy [Sun, 3 Apr 2022 18:45:36 +0000 (02:45 +0800)] 
acpica: upgrade 20211217 -> 20220331

License-Update: year updated to 2022.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: upgrade 1.7.3.1 -> 1.7.5
wangmy [Sun, 3 Apr 2022 18:43:11 +0000 (02:43 +0800)] 
libx11: upgrade 1.7.3.1 -> 1.7.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsoup: upgrade 3.0.5 -> 3.0.6
wangmy [Sun, 3 Apr 2022 18:43:10 +0000 (02:43 +0800)] 
libsoup: upgrade 3.0.5 -> 3.0.6

Changelog:
=========
* Misc HTTP/2 fixes
* Add PUT/POST support to examples/get
* Add `--user-agent` option to examples/get
* Misc meson improvements
* Fix build with Visual Studio

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoghostscript: upgrade 9.55.0 -> 9.56.1
wangmy [Sun, 3 Apr 2022 18:43:09 +0000 (02:43 +0800)] 
ghostscript: upgrade 9.55.0 -> 9.56.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofreetype: upgrade 2.11.1 -> 2.12.0
wangmy [Sun, 3 Apr 2022 18:43:08 +0000 (02:43 +0800)] 
freetype: upgrade 2.11.1 -> 2.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: upgrade to 1.2.12
Ross Burton [Tue, 29 Mar 2022 13:45:23 +0000 (14:45 +0100)] 
zlib: upgrade to 1.2.12

First upstream release since 2017!
- Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
- Fix a deflate bug when the window is full in deflate_stored().
- Speed up CRC-32 computations by a factor of 1.5 to 3.
- Use the hardware CRC-32 instruction on ARMv8 processors.
- Speed up crc32_combine() with powers of x tables.
- Add crc32_combine_gen() and crc32_combine_op() for fast combines.

Drop CVE-2018-25032 as this is in the .12 release.

Rebase 0001-configure-Pass-LDFLAGS-to-link-tests.patch to apply cleanly.

Backport cc.patch to fix compilation with our CC.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolua: fix CVE-2022-28805
Steve Sakoman [Mon, 18 Apr 2022 19:04:08 +0000 (09:04 -1000)] 
lua: fix CVE-2022-28805

singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup
call, leading to a heap-based buffer over-read that might affect a system that
compiles untrusted Lua code.

https://nvd.nist.gov/vuln/detail/CVE-2022-28805

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: fix CVE-2022-28391
Steve Sakoman [Mon, 18 Apr 2022 19:04:07 +0000 (09:04 -1000)] 
busybox: fix CVE-2022-28391

BusyBox through 1.35.0 allows remote attackers to execute arbitrary code
if netstat is used to print a DNS PTR record's value to a VT compatible
terminal. Alternatively, the attacker could choose to change the terminal's colors.

https://nvd.nist.gov/vuln/detail/CVE-2022-28391

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Sat, 16 Apr 2022 13:30:48 +0000 (14:30 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: Upgrade 2.35.1 -> 2.35.2
Richard Purdie [Fri, 15 Apr 2022 11:19:31 +0000 (12:19 +0100)] 
git: Upgrade 2.35.1 -> 2.35.2

This includes a fix for CVE-2022-24765

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Correct BB_SIGNATURE_EXCLUDE_FLAGS
Richard Purdie [Fri, 15 Apr 2022 08:38:58 +0000 (09:38 +0100)] 
bitbake.conf: Correct BB_SIGNATURE_EXCLUDE_FLAGS

Some of the flags listed here do change the output and hence do need to
be included in task checksums.

This means we start including the following flags in function/task/variable
checksums:

type, func, export, unexport, noexec, dirs, cleandirs

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxshmfence: Correct LICENSE to HPND
Richard Purdie [Fri, 15 Apr 2022 08:43:23 +0000 (09:43 +0100)] 
libxshmfence: Correct LICENSE to HPND

The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-tools: Ensure we install correctly
Richard Purdie [Fri, 15 Apr 2022 08:09:18 +0000 (09:09 +0100)] 
alsa-tools: Ensure we install correctly

With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: Do not auto detect graphics if publicvnc is specified
Scott Murray [Thu, 14 Apr 2022 23:37:10 +0000 (19:37 -0400)] 
runqemu: Do not auto detect graphics if publicvnc is specified

The graphics option auto detection logic added in 7f78bb7a was not
checking if the publicvnc option had been specified, meaning that
it would be ignored and the auto detection result used instead.
Add setting a flag variable in the argument parsing and check
it along with the ones for the other graphics backend options.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: Disable the use of syslog() for the native tools
Peter Kjellerstedt [Thu, 14 Apr 2022 23:34:02 +0000 (01:34 +0200)] 
shadow: Disable the use of syslog() for the native tools

An attempt to disable the use of syslog() was made in commit 8f181686
(shadow-native: Simplify and fix syslog disable patch). However,
because the code checks if USE_SYSLOG is defined rather than checking
if it evaluates to TRUE the patch did not work as intended.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 14 Apr 2022 20:58:17 +0000 (21:58 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez5: Add fix for startup issues under systemd
Richard Purdie [Thu, 14 Apr 2022 16:10:00 +0000 (17:10 +0100)] 
bluez5: Add fix for startup issues under systemd

The systemd bluetooth service failed to start. Add a workaround for this whilst the
final fix is discussed upstream, https://github.com/bluez/bluez/issues/329.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 14 Apr 2022 15:46:38 +0000 (16:46 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: support kernel 5.18+
Bruce Ashfield [Tue, 12 Apr 2022 21:46:02 +0000 (17:46 -0400)] 
lttng-modules: support kernel 5.18+

Backporting changes from lttng master to support building against
the 5.18+ kernel. No changes required to the patches. Once a new
-stable 2.13.x is released, we can drop these patches. To enable
newer kernel development against the LTS, it is worth pulling these
in while we wait for an upstream release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-dev: update to v5.18+
Bruce Ashfield [Tue, 12 Apr 2022 21:46:03 +0000 (17:46 -0400)] 
linux-yocto-dev: update to v5.18+

5.18-rc2 has been released, so we bump the -dev kernel to allow
easier testing of our components against the latest korg.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 14 Apr 2022 14:24:20 +0000 (15:24 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: Drop broken icon
Richard Purdie [Thu, 14 Apr 2022 09:41:54 +0000 (10:41 +0100)] 
puzzles: Drop broken icon

The renaming left a broken desktop file behind (the others are overwritten).
Fix this by removing it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorxvt-unicode: Fix icon name
Richard Purdie [Thu, 14 Apr 2022 09:41:53 +0000 (10:41 +0100)] 
rxvt-unicode: Fix icon name

There was no icon being displayed for this, fix the name so that
is corrected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: Allow auto detection of the correct graphics options
Richard Purdie [Wed, 13 Apr 2022 14:45:03 +0000 (15:45 +0100)] 
runqemu: Allow auto detection of the correct graphics options

Running "runqemu qemux86 kvm" when qemu is configured for sdl and/or gtk
display output currently leads to a poor user experience with no cursor
and corrupted fonts in the gtk case. This is due to no options being
passed to qemu which leads to the loss of the font envirornment variable
and the show-cursor option.

If the user hasn't specified a display type, grep the output of
"qemu-system-xxx --help" for the display types and pick the "best"
which ensures our config is passed in. That resolves the gtk font issue
and the cursor issue with both sdl and gtk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: add missing licenses
Konrad Weihmann [Wed, 13 Apr 2022 17:32:20 +0000 (19:32 +0200)] 
cmake: add missing licenses

in target and native variant a different set of vendored libraries
is pulled from the cmake sources.
Add those licenses and there texts

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: correct license
Konrad Weihmann [Wed, 13 Apr 2022 17:08:49 +0000 (19:08 +0200)] 
python3-pip: correct license

as described in src/pip/_vendor/README.rst pip ships plenty
of vendored copies of other python modules.
Correct the license of the resulting package and
reference all the vendor copy license files correctly

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogettext: add MIT conditional as license
Konrad Weihmann [Wed, 13 Apr 2022 15:34:53 +0000 (17:34 +0200)] 
gettext: add MIT conditional as license

depending on the actual PACKAGECONFIG some
internal vendor copies of libxml, libcroco and glib will
be used.
In the case of libxml this adds MIT to the license.
Reference the license statements based on the actual choosen
PACKAGECONFIG

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibidn2: add Unicode-DFS-2016 license
Konrad Weihmann [Wed, 13 Apr 2022 15:34:52 +0000 (17:34 +0200)] 
libidn2: add Unicode-DFS-2016 license

as COPYING clearly states that unicode data is baked into
the lib.
Add the license and reference the COPYING file for that

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: fix license
Konrad Weihmann [Wed, 13 Apr 2022 15:34:51 +0000 (17:34 +0200)] 
libsdl2: fix license

by default libsdl2 is build with code from src/video/yuv2rgb, which
is licensed under BSD-2-Clause.
Additional by default hidapi is build, which is licensed under
GPL3 | BSD-2-Clause | HIDAPI license, pick the least restrictive
and best matching BSD-2-Clause.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: add pam_cap license
Konrad Weihmann [Wed, 13 Apr 2022 07:08:51 +0000 (09:08 +0200)] 
libcap: add pam_cap license

If libcap is compiled with pam in PACKAGECONFIG
one additional license text becomes effective,
add that as a conditional

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoitstool: add missing COPYING.GPL3
Konrad Weihmann [Tue, 12 Apr 2022 07:09:55 +0000 (09:09 +0200)] 
itstool: add missing COPYING.GPL3

to LIC_FILES_CHKSUM.
Format the list for better readability.
Remove useless line continuation from SRC_URI

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogmp: add missing COPYINGv3
Konrad Weihmann [Tue, 12 Apr 2022 07:09:54 +0000 (09:09 +0200)] 
gmp: add missing COPYINGv3

add COPYINGv3 license text to LIC_FILES_CHKSUM

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokern-tools-native: add missing license
Konrad Weihmann [Tue, 12 Apr 2022 07:09:53 +0000 (09:09 +0200)] 
kern-tools-native: add missing license

add the Kconfiglib license, as this was missing in before.
Add MIT identifier to LICENSE

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel: Delete unused KERNEL_LOCALVERSION variable
Alex Kiernan [Tue, 12 Apr 2022 13:08:18 +0000 (14:08 +0100)] 
kernel: Delete unused KERNEL_LOCALVERSION variable

This has been unused since:

  commit fb61dc1430f81ae2ee59766ffab8404fd79ff1b1
  Author: Richard Purdie <richard@openedhand.com>
  Date:   Mon Jan 8 21:05:18 2007 +0000

      kernel.bbclass: Drop KERNEL_RELEASE variable

      git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: Check for gen_vdso_offsets.sh before copying on riscv
Khem Raj [Mon, 11 Apr 2022 16:59:02 +0000 (09:59 -0700)] 
kernel-devsrc: Check for gen_vdso_offsets.sh before copying on riscv

This file is introduced in newer kernels >= 5.15 but some RISCV machines
still use 5.13 kernels, this ensures that kernel-devsrc can build on
older kernels for RISCV

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 agoitstool: correct upstream version check
Alexander Kanavin [Mon, 11 Apr 2022 10:13:35 +0000 (12:13 +0200)] 
itstool: correct upstream version check

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 agosanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems
Richard Purdie [Wed, 13 Apr 2022 16:27:11 +0000 (17:27 +0100)] 
sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems

We keep seeing hangs on the autobuilder with make 4.2.1 on Centos8, Alma8
and OpenSuse workers. The hang occurs in perl and kernel builds in particular.
The issue is fixed in 4.3 and has been patched on Ubuntu systems:

https://git.savannah.gnu.org/cgit/make.git/commit/?id=78b5fec6898c26956d00548427cda1101cb80f8a
https://savannah.gnu.org/bugs/?51400

Add a sanity test for make 4.2.1 and error for non-ubuntu systems. We're
making a buildtools-make-tarball available which can be used to
allow systems with the broken version to use the project.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexternalsrc/devtool: Fix to work with fixed export funcition flags handling
Richard Purdie [Mon, 11 Apr 2022 22:02:26 +0000 (23:02 +0100)] 
externalsrc/devtool: Fix to work with fixed export funcition flags handling

If we fix bitbake to correctly handle the cleandirs and fakeroot flags
for tasks handled by EXPORT_FUNCTIONS, we break devtool since it only
considers these for top level functions. Add in extra code to intercept
the cleandirs flags for commonly used sub functions too.

[YOCTO #8621]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: Remove unnecessary, commented out qemuarm entry
Jon Mason [Fri, 8 Apr 2022 19:25:16 +0000 (15:25 -0400)] 
linux-yocto: Remove unnecessary, commented out qemuarm entry

The line in question is already in place in qemuarm.conf.  Remove it
from here, as it is not necessary and references an older kernel.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "adwaita-icon-theme: upgrade 41.0 -> 42.0"
Richard Purdie [Wed, 13 Apr 2022 12:46:19 +0000 (13:46 +0100)] 
Revert "adwaita-icon-theme: upgrade 41.0 -> 42.0"

This reverts commit 131b143b6ea37963a0380975718cbf8420e5b87f.

Upstream dropped many 'legacy' low res bitmap icons and also plans to
phase out 'generic app' icons in the svg format, saying that all apps
must carry their own icons. This breaks the icons displayed in sato
so revert for now until we have a plan to mitigate that.

[YOCTO #14782]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: Ignore CVE-2022-24975
Richard Purdie [Tue, 12 Apr 2022 10:21:13 +0000 (11:21 +0100)] 
git: Ignore CVE-2022-24975

Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Add marker for CVE-2022-1056 being fixed
Richard Purdie [Tue, 12 Apr 2022 10:11:50 +0000 (11:11 +0100)] 
tiff: Add marker for CVE-2022-1056 being fixed

As far as I can tell, the patches being applied also fix CVE-2022-1056 so
mark as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Add fix for CVE-2022-1050
Richard Purdie [Tue, 12 Apr 2022 10:01:51 +0000 (11:01 +0100)] 
qemu: Add fix for CVE-2022-1050

Add a fix queued upstream for the issue in this CVE:

"""
Guest driver might execute HW commands when shared buffers are not yet
allocated.
This might happen on purpose (malicious guest) or because some other
guest/host address mapping.
We need to protect againts such case.
"""

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: Do not detect multiarch when cross compiling
Khem Raj [Sat, 9 Apr 2022 19:27:17 +0000 (12:27 -0700)] 
python3: Do not detect multiarch when cross compiling

This was a long standing problem seen on aarch64 build hosts when
compiling python3 with clang cross compiler. The issue is not seen with
gcc because native glibc headers are still compatible with gcc cross compiler

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Add missing header locale.h
Khem Raj [Sat, 9 Apr 2022 15:16:56 +0000 (08:16 -0700)] 
webkitgtk: Add missing header locale.h

This fixes build issues seen on mips, but problem is generic

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: upgrade 41.3 -> 42.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:25 +0000 (19:00 +0200)] 
epiphany: upgrade 41.3 -> 42.0

The new version uses printenv from coreutils during builds.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: update 2.34.6 -> 2.36.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:23 +0000 (19:00 +0200)] 
webkitgtk: update 2.34.6 -> 2.36.0

Drop patches:
0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
(both merged upstream)

reduce-memory-overheads.patch
(rejected by upstream, there's no use case - see the discussion)

Rebase to version submitted upstream:
0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch

Add:
0001-When-building-introspection-files-do-not-quote-CFLAG.patch

angle is no longer needed for x11-less setups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Move to 1.2.3 release tag
Khem Raj [Mon, 11 Apr 2022 05:15:15 +0000 (22:15 -0700)] 
musl: Move to 1.2.3 release tag

This actually are just 2 patches on top of what we have thus far

7a43f6fe release 1.2.3
01b14242 accept null pointer as message argument to gettext functions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agokernel.bbclass: Fix the do_strip() malfunction
Kevin Hao [Sat, 9 Apr 2022 06:04:40 +0000 (14:04 +0800)] 
kernel.bbclass: Fix the do_strip() malfunction

The BB variable can't be referenced directly in a python function,
this misusage of the variable reference causes strip function to be
always skipped.

Fixed: b9c3db4953e4 ("kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path")
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibarchive: Upgrade to 3.6.1
Khem Raj [Sun, 10 Apr 2022 23:16:58 +0000 (16:16 -0700)] 
libarchive: Upgrade to 3.6.1

Changes in this release [1]

[1] https://github.com/libarchive/libarchive/releases/tag/v3.6.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolicense_image.bbclass: close package.manifest file
Martin Jansa [Thu, 7 Apr 2022 14:31:50 +0000 (16:31 +0200)] 
license_image.bbclass: close package.manifest file

* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest' mode='w+' encoding='UTF-8'>
    'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

[YOCTO #14772]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: fix to use sdk-1.3.204 branch
Chen Qi [Fri, 8 Apr 2022 03:41:02 +0000 (20:41 -0700)] 
spirv-tools: fix to use sdk-1.3.204 branch

Just as pointed out in a previous commit:
"""
We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together.
"""

Now the repo has updated and the 'stable' branch is forcely overriden.
We need to use the 'sdk-1.3.204' branch.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cryptography: backport fix for leaky test
Ross Burton [Fri, 8 Apr 2022 13:38:21 +0000 (14:38 +0100)] 
python3-cryptography: backport fix for leaky test

The leaking test case has been fixed upstream, so backport the patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_ipk/deb: Fix specific version handling
Richard Purdie [Thu, 7 Apr 2022 16:33:21 +0000 (17:33 +0100)] 
package_ipk/deb: Fix specific version handling

We recently added a "xxx (= 1.2.3)" style dependency to a recipe and have
been having trouble with the opkg and debian backends with it.

The issues is that for debian, "=" really does mean equals and includes the
PR field. One bitbake recipe does not know the PR of another, nor shoud it.
In other words 1.2.3 != 1.2.3-r0. Debian defaults to a PR of "0", not our
"r0".

The only way I can think of to make this work is to change "=" dependencies
without revision information (no "-r" in the version) into things like:
"xxx (>= 1.2.3), xxx (<< 1.2.3.0)". This appears to work even if it is a
pretty horrible workaround.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.6 with gcc 12 support
Richard Purdie [Sat, 9 Apr 2022 20:26:24 +0000 (21:26 +0100)] 
uninative: Upgrade to 3.6 with gcc 12 support

There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogzip: upgrade 1.11 -> 1.12
Ralph Siemsen [Sat, 9 Apr 2022 02:16:44 +0000 (22:16 -0400)] 
gzip: upgrade 1.11 -> 1.12

This includes a fix for CVE-2022-1271.

The existing "wrong path" patch needed to be refreshed, because the
context changed due to the following upstream change:
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=31193bbd13cd2807d8ccaa2ba5b072303d5425e7

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxz: fix CVE-2022-1271
Ralph Siemsen [Sat, 9 Apr 2022 02:16:33 +0000 (22:16 -0400)] 
xz: fix CVE-2022-1271

Malicious filenames can make xzgrep to write to arbitrary files
or (with a GNU sed extension) lead to arbitrary code execution.

Upstream-Status: Backport [https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch]
CVE: CVE-2022-1271

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>