Date   

[meta-python][PATCH 4/5] python3-paramiko: Upgrade 2.9.1 -> 2.9.2

Leon Anavi
 

Upgrade to release 2.9.2:

- Enhanced log output when connecting to servers that do not
support server-sig-algs extensions, making the new-as-of-2.9
defaulting to SHA2 pubkey algorithms more obvious when it
kicks in.
- Connecting to servers which support server-sig-algs but which
have no overlap between that list and what a Paramiko client
supports, now raise an exception instead of defaulting to
rsa-sha2-512 (since the use of server-sig-algs allows us to
know what the server supports).

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../{python3-paramiko_2.9.1.bb => python3-paramiko_2.9.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-paramiko_2.9.1.bb => python3-paramiko_2.9.2.bb} (82%)

diff --git a/meta-python/recipes-devtools/python/python3-paramiko_2.9.1.bb b/meta-python/recipes-devtools/python/python3-paramiko_2.9.2.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-paramiko_2.9.1.bb
rename to meta-python/recipes-devtools/python/python3-paramiko_2.9.2.bb
index 8cf004aa3..0a54efde8 100644
--- a/meta-python/recipes-devtools/python/python3-paramiko_2.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-paramiko_2.9.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/paramiko/paramiko/"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5"

-SRC_URI[sha256sum] = "a1fdded3b55f61d23389e4fe52d9ae428960ac958d2edf50373faa5d8926edd0"
+SRC_URI[sha256sum] = "944a9e5dbdd413ab6c7951ea46b0ab40713235a9c4c5ca81cfe45c6f14fa677b"

PYPI_PACKAGE = "paramiko"

--
2.30.2


[meta-python][PATCH 3/5] python3-pycocotools: Upgrade 2.0.2 -> 2.0.4

Leon Anavi
 

Upgrade to release 2.0.4:

- Revamp Python build system to fix multiple build problems
- Update config.yml

Signed-off-by: Leon Anavi <leon.anavi@...>
---
...thon3-pycocotools_2.0.2.bb => python3-pycocotools_2.0.4.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pycocotools_2.0.2.bb => python3-pycocotools_2.0.4.bb} (76%)

diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.4.bb
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
rename to meta-python/recipes-devtools/python/python3-pycocotools_2.0.4.bb
index d47b7b563..ec8585e61 100644
--- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.4.bb
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb5

inherit setuptools3 pypi

-SRC_URI[md5sum] = "33858f23c8b99ce8116b70c32f6b6dd9"
-SRC_URI[sha256sum] = "24717a12799b4471c2e54aa210d642e6cd4028826a1d49fcc2b0e3497e041f1a"
+SRC_URI[sha256sum] = "2ab586aa389b9657b6d73c2b9a827a3681f8d00f36490c2e8ab05902e3fd9e93"

DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt"
RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile"
--
2.30.2


[meta-python][PATCH 2/5] imageio: Upgrade 2.13.5 -> 2.14.0

Leon Anavi
 

Upgrade to release 2.14.0:

- Handle pillow9 GIFs
- Allow mode=None when writing with pillow
- Add repo to PYTHONPATH in should_release?
- Reorganize commit tags
- Reduce release frequency to weekly

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../{python3-imageio_2.13.5.bb => python3-imageio_2.14.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-imageio_2.13.5.bb => python3-imageio_2.14.0.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-imageio_2.13.5.bb b/meta-python/recipes-devtools/python/python3-imageio_2.14.0.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-imageio_2.13.5.bb
rename to meta-python/recipes-devtools/python/python3-imageio_2.14.0.bb
index 72d10f70f..f0ac37026 100644
--- a/meta-python/recipes-devtools/python/python3-imageio_2.13.5.bb
+++ b/meta-python/recipes-devtools/python/python3-imageio_2.14.0.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"

-SRC_URI[sha256sum] = "c7ec2be58e401b6eaa838f8eaf8368ed54b2de4a1b001fe6551644f1a30a843d"
+SRC_URI[sha256sum] = "1a612b46c24805115701ed7c4e1f2d7feb53bb615d52bfef9713a6836e997bb1"

inherit pypi setuptools3

--
2.30.2


[meta-python][PATCH 1/5] python3-pillow: Upgrade 8.3.2 -> 9.0.0

Leon Anavi
 

Upgrade to release 9.0.0:

- Restrict builtins for ImageMath.eval()
- Ensure JpegImagePlugin stops at the end of a truncated file
- Fixed ImagePath.Path array handling
- Remove consecutive duplicate tiles that only differ by their
offset
- Removed redundant part of condition
- Explicitly enable strip chopping for large uncompressed TIFFs
- Use the Windows method to get TCL functions on Cygwin
- Changed error type to allow for incremental WebP parsing
- Improved I;16 operations on big endian
- Ensure that BMP pixel data offset does not ignore palette
- Limit quantized palette to number of colors
- Use latin1 encoding to decode bytes
- Fixed palette index for zeroed color in FASTOCTREE quantize
- When saving RGBA to GIF, make use of first transparent palette
entry
- Pass SAMPLEFORMAT to libtiff
- Added rounding when converting P and PA
- Improved putdata() documentation and data handling
- Exclude carriage return in PDF regex to help prevent ReDoS
- Image.NONE is only used for resampling and dithers
- Fixed freeing pointer in ImageDraw.Outline.transform
- Add Tidelift alignment action and badge
- Replaced further direct invocations of setup.py
- Added ImageShow support for xdg-open
- Switched from deprecated "setup.py install" to "pip install ."
- Support 16-bit grayscale ImageQt conversion
- Fixed raising OSError in _safe_read when size is greater than
SAFEBLOCK
- Convert subsequent GIF frames to RGB or RGBA
- WebP: Fix memory leak during decoding on failure
- Do not prematurely return in ImageFile when saving to stdout
- Added support for top right and bottom right TGA orientations
- Corrected ICNS file length in header
- Block tile TIFF tags when saving
- Added line width argument to ImageDraw polygon
- Do not redeclare class each time when converting to NumPy
- Only prevent repeated polygon pixels when drawing with
transparency
- Fix pushes_fd method signature
- Add support for pickling TrueType fonts
- Only prefer command line tools SDK on macOS over default
MacOSX SDK
- Fix compilation on 64-bit Termux
- Replace 'setup.py sdist' with '-m build --sdist'
- Use declarative package configuration
- Use title for display in ImageShow
- Fix for PyQt6
- Rename master to main

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../{python3-pillow_8.3.2.bb => python3-pillow_9.0.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pillow_8.3.2.bb => python3-pillow_9.0.0.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb
index bc6c801c3..de3c92c3d 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_8.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb
@@ -3,13 +3,13 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \
Contributors."
HOMEPAGE = "https://pillow.readthedocs.io"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"

-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.0.x;protocol=https \
file://0001-support-cross-compiling.patch \
file://0001-explicitly-set-compile-options.patch \
"
-SRCREV ?= "8013f130a5077b238a4346b73e149432b180a8ea"
+SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"

inherit setuptools3

--
2.30.2


Re: [meta-networking] [PATCH] cifs-utils: upgrade 6.13 -> 6.14

Vincent Prince
 

Hi all, 

Am I the only one with some error on cifs-utils?

| (cd /yocto/build/tmp/work/corei7-64-cube-linux/cifs-utils/6.13-r0/image/sbin && ln -sf mount.cifs mount.smb3)
| /bin/bash: line 0: cd: /yocto/build/tmp/work/corei7-64-cube-linux/cifs-utils/6.13-r0/image/sbin: No such file or directory

From Makefile.in
install-exec-hook: install-sbinPROGRAMS
        (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)

In case we don't use usrmerge feature, shouldn't we create ${sbinbir} first?

Kind regards,
Vincent  

Le jeu. 30 sept. 2021 à 07:54, zhengruoqin <zhengrq.fnst@...> a écrit :
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
 .../cifs/{cifs-utils_6.13.bb => cifs-utils_6.14.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-support/cifs/{cifs-utils_6.13.bb => cifs-utils_6.14.bb} (97%)

diff --git a/meta-networking/recipes-support/cifs/cifs-utils_6.13.bb b/meta-networking/recipes-support/cifs/cifs-utils_6.14.bb
similarity index 97%
rename from meta-networking/recipes-support/cifs/cifs-utils_6.13.bb
rename to meta-networking/recipes-support/cifs/cifs-utils_6.14.bb
index a8d3e91ebb..5fafb4ef69 100644
--- a/meta-networking/recipes-support/cifs/cifs-utils_6.13.bb
+++ b/meta-networking/recipes-support/cifs/cifs-utils_6.14.bb
@@ -4,7 +4,7 @@ SECTION = "otherosfs"
 LICENSE = "GPLv3 & LGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

-SRCREV = "464a60344a324311a6f5bb326fdf5f422a3c9005"
+SRCREV = "8c06dce7d596e478c20bc54bdcec87ad97f80a1b"
 SRC_URI = "git://git.samba.org/cifs-utils.git"

 S = "${WORKDIR}/git"
--
2.25.1





[meta-networking][dunfell][PATCH v3] strongswan: Fix for CVE-2021-41990 and CVE-2021-41991

virendra thakur
 

From: Virendra Thakur <virendrak@...>

Add patch to fix CVE-2021-41990 and CVE-2021-41991

Signed-off-by: virendra thakur <thakur.virendra1810@...>
---
.../strongswan/files/CVE-2021-41990.patch | 62 +++++++++++++++++++
.../strongswan/files/CVE-2021-41991.patch | 41 ++++++++++++
.../strongswan/strongswan_5.8.4.bb | 2 +
3 files changed, 105 insertions(+)
create mode 100644 meta-networking/recipes-support/strongswan/files/CVE-2021-41990.patch
create mode 100644 meta-networking/recipes-support/strongswan/files/CVE-2021-41991.patch

diff --git a/meta-networking/recipes-support/strongswan/files/CVE-2021-41990.patch b/meta-networking/recipes-support/strongswan/files/CVE-2021-41990.patch
new file mode 100644
index 000000000..b7118ba1f
--- /dev/null
+++ b/meta-networking/recipes-support/strongswan/files/CVE-2021-41990.patch
@@ -0,0 +1,62 @@
+From 423a5d56274a1d343e0d2107dfc4fbf0df2dcca5 Mon Sep 17 00:00:00 2001
+From: Tobias Brunner <tobias@...>
+Date: Tue, 28 Sep 2021 17:52:08 +0200
+Subject: [PATCH] Reject RSASSA-PSS params with negative salt length
+
+The `salt_len` member in the struct is of type `ssize_t` because we use
+negative values for special automatic salt lengths when generating
+signatures.
+
+Not checking this could lead to an integer overflow. The value is assigned
+to the `len` field of a chunk (`size_t`), which is further used in
+calculations to check the padding structure and (if that is passed by a
+matching crafted signature value) eventually a memcpy() that will result
+in a segmentation fault.
+
+Fixes: a22316520b91 ("signature-params: Add functions to parse/build ASN.1 RSASSA-PSS params")
+Fixes: 7d6b81648b2d ("gmp: Add support for RSASSA-PSS signature verification")
+Fixes: CVE-2021-41990
+
+Upstream-Status: Backport [https://download.strongswan.org/security/CVE-2021-41990]
+CVE: CVE-2021-41990
+
+Signed-off-by: Virendra Thakur <virendra.thakur@...>
+
+---
+ src/libstrongswan/credentials/keys/signature_params.c | 6 +++++-
+ src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c | 2 +-
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/src/libstrongswan/credentials/keys/signature_params.c b/src/libstrongswan/credentials/keys/signature_params.c
+index d89bd2c96bb5..837de8443d43 100644
+--- a/src/libstrongswan/credentials/keys/signature_params.c
++++ b/src/libstrongswan/credentials/keys/signature_params.c
+@@ -322,7 +322,11 @@ bool rsa_pss_params_parse(chunk_t asn1, int level0, rsa_pss_params_t *params)
+ case RSASSA_PSS_PARAMS_SALT_LEN:
+ if (object.len)
+ {
+- params->salt_len = (size_t)asn1_parse_integer_uint64(object);
++ params->salt_len = (ssize_t)asn1_parse_integer_uint64(object);
++ if (params->salt_len < 0)
++ {
++ goto end;
++ }
+ }
+ break;
+ case RSASSA_PSS_PARAMS_TRAILER:
+diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
+index f9bd1d314dec..3a775090883e 100644
+--- a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
++++ b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
+@@ -168,7 +168,7 @@ static bool verify_emsa_pss_signature(private_gmp_rsa_public_key_t *this,
+ int i;
+ bool success = FALSE;
+
+- if (!params)
++ if (!params || params->salt_len < 0)
+ {
+ return FALSE;
+ }
+--
+2.25.1
+
diff --git a/meta-networking/recipes-support/strongswan/files/CVE-2021-41991.patch b/meta-networking/recipes-support/strongswan/files/CVE-2021-41991.patch
new file mode 100644
index 000000000..2d898fa5c
--- /dev/null
+++ b/meta-networking/recipes-support/strongswan/files/CVE-2021-41991.patch
@@ -0,0 +1,41 @@
+From b667237b3a84f601ef5a707ce8eb861c3a5002d3 Mon Sep 17 00:00:00 2001
+From: Tobias Brunner <tobias@...>
+Date: Tue, 28 Sep 2021 19:38:22 +0200
+Subject: [PATCH] cert-cache: Prevent crash due to integer overflow/sign change
+
+random() allocates values in the range [0, RAND_MAX], with RAND_MAX usually
+equaling INT_MAX = 2^31-1. Previously, values between 0 and 31 were added
+directly to that offset before applying`% CACHE_SIZE` to get an index into
+the cache array. If the random value was very high, this resulted in an
+integer overflow and a negative index value and, therefore, an out-of-bounds
+access of the array and in turn dereferencing invalid pointers when trying
+to acquire the read lock. This most likely results in a segmentation fault.
+
+Fixes: 764e8b2211ce ("reimplemented certificate cache")
+Fixes: CVE-2021-41991
+
+Upstream-Status: Backport [https://download.strongswan.org/security/CVE-2021-41991]
+CVE: CVE-2021-41991
+
+Signed-off-by: Virendra Thakur <virendra.thakur@...>
+
+---
+ src/libstrongswan/credentials/sets/cert_cache.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libstrongswan/credentials/sets/cert_cache.c b/src/libstrongswan/credentials/sets/cert_cache.c
+index f1579c60a9bc..ceebb3843725 100644
+--- a/src/libstrongswan/credentials/sets/cert_cache.c
++++ b/src/libstrongswan/credentials/sets/cert_cache.c
+@@ -151,7 +151,7 @@ static void cache(private_cert_cache_t *this,
+ for (try = 0; try < REPLACE_TRIES; try++)
+ {
+ /* replace a random relation */
+- offset = random();
++ offset = random() % CACHE_SIZE;
+ for (i = 0; i < CACHE_SIZE; i++)
+ {
+ rel = &this->relations[(i + offset) % CACHE_SIZE];
+--
+2.25.1
+
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb b/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
index 8a8809243..b45b8074c 100644
--- a/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
+++ b/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
@@ -11,6 +11,8 @@ SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \
file://fix-funtion-parameter.patch \
file://0001-memory.h-Include-stdint.h-for-uintptr_t.patch \
file://0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch \
+ file://CVE-2021-41990.patch \
+ file://CVE-2021-41991.patch \
"

SRC_URI[md5sum] = "0634e7f40591bd3f6770e583c3f27d29"
--
2.17.1


[meta-oe] [PATCH] fmt: upgrade 8.0.1 -> 8.1.1

wangmy
 

Changelog:
=========
Restored ABI compatibility with version 8.0.x
Fixed chrono formatting on big endian systems
Fixed a linkage error with mingw

Signed-off-by: Wang Mingyu <wangmy@...>
---
meta-oe/recipes-support/fmt/{fmt_8.0.1.bb => fmt_8.1.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/fmt/{fmt_8.0.1.bb => fmt_8.1.1.bb} (90%)

diff --git a/meta-oe/recipes-support/fmt/fmt_8.0.1.bb b/meta-oe/recipes-support/fmt/fmt_8.1.1.bb
similarity index 90%
rename from meta-oe/recipes-support/fmt/fmt_8.0.1.bb
rename to meta-oe/recipes-support/fmt/fmt_8.1.1.bb
index ee14ad55b..c53dd3890 100644
--- a/meta-oe/recipes-support/fmt/fmt_8.0.1.bb
+++ b/meta-oe/recipes-support/fmt/fmt_8.1.1.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=af88d758f75f3c5c48a967501f24384b"

SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https"
-SRCREV = "d141cdbeb0fb422a3fb7173b285fd38e0d1772dc"
+SRCREV = "b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9"

S = "${WORKDIR}/git"

--
2.25.1


[meta-oe] [PATCH] sdbus-c++-tools: upgrade 1.0.0 -> 1.1.0

wangmy
 

Changelog:
=========
Fix timeout handling for asynchronous method calls
Add support for unregistering signal handler
Add support for chrono literals in sdbus-c++-xml2cpp generator
Additional little fixes and improvements in code, build system, and documentation

Signed-off-by: Wang Mingyu <wangmy@...>
---
.../{sdbus-c++-tools_1.0.0.bb => sdbus-c++-tools_1.1.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-tools_1.0.0.bb => sdbus-c++-tools_1.1.0.bb} (88%)

diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.0.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.1.0.bb
similarity index 88%
rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.0.0.bb
rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.1.0.bb
index 35e940160..1064b85b3 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.0.0.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.1.0.bb
@@ -8,7 +8,7 @@ inherit cmake

DEPENDS += "expat"

-SRCREV = "65782bbf435d91e5eb6af9ddab110df406a824a9"
+SRCREV = "bca8e81037766a0454740c40307eea32831c101f"
SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;subpath=tools"

S = "${WORKDIR}/tools"
--
2.25.1


[meta-oe] [PATCH] sdbus-c++-libsystemd: upgrade 249 -> 250.3

wangmy
 

Signed-off-by: Wang Mingyu <wangmy@...>
---
...us-c++-libsystemd_249.bb => sdbus-c++-libsystemd_250.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-libsystemd_249.bb => sdbus-c++-libsystemd_250.3.bb} (97%)

diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_249.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_250.3.bb
similarity index 97%
rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_249.bb
rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_250.3.bb
index a3ef6a747..0cd96f528 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_249.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_250.3.bb
@@ -10,8 +10,8 @@ inherit meson pkgconfig

DEPENDS += "gperf-native gettext-native util-linux libcap util-linux python3-jinja2-native"

-SRCREV = "00b0393e65252bf631670604f58b844780b08c50"
-SRCBRANCH = "v249-stable"
+SRCREV = "1b003bbc806198dbdd57b405d968f30565495e70"
+SRCBRANCH = "v250-stable"
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \
file://static-libsystemd-pkgconfig.patch \
"
--
2.25.1


[meta-oe] [PATCH] dlt-daemon: upgrade 2.18.7 -> 2.18.8

wangmy
 

Changelog:
=========
lib: Fix wrong type alert from lgtm
gtest_dlt_daemon_gateway: fix gtest build failed
lib: generate dlt library internal log file
tests: add stdlib to dlt_cpp_extension
dlt_user: Make dlt_init thread safe
remove clang-tidy analyzer warnings: incompatible pointer type
debian: improve debian build package
dlt-control-common: shutdown and close socket
dlt_common: improve function description
gtest: Bring-in changes
gtest: Rework WORKING_DIRECTORY
gtest: Correct data amount in gtest_dlt_common
cmake: Set empty to systemd_SRCS
gtest: Refactor tests/CMakeLists.txt
lib: Add SOCK_CLOEXEC to socket
daemon: Create parent directory for unix socket
cmake: Correct added subdirectories
console: Add cmake options for control and timestamp
tests: Adapt to DLT_DISABLE_MACRO
header: Adapt to DLT_DISABLE_MACRO
include: Refactor CMakeLists.txt
gtest: Change script name to gtest_dlt_daemon_offline_log.sh
daemon: Enable to use FIFO on QNX
tests: Add new test case with given buffer
tests: Enable macro disabling
lib: Add new interfaces with given buffer
Implemention of tests for the dlt-qnx-system module
lib: Add MaxFileSize handling
client: pthread_join for deinit
doc: update initial log level document
dlt-system: Fix memory leak in dlt-system config
dlt_common: remove duplicate stdbool header
dlt-control: Add option to config port
system: use signalfd for dlt-system
console: provides args option to enable send/receive serial header
fix malformed printf format strings (#295)
cmake: Set WITH_LEGACY_INCLUDE_PATH to ON as default (#334)
Make the legacy include path a CMake option (#332)
daemon: Call dlt_daemon_configuration_load() properly (#330)
dlt_user: Use pthread_setname_np() if available (#326)
libdlt: Add legacy include path in exported CMake config file (#327)
lib: Set TYLE to 1 for BOOL type (#320)
file-transfer: Abort file transfer if get serial number failed
dlt_user.c: fixing casting wrong type
dlt-sortbytimestamp: Remove duplicated conditional statements code
dlt-convert: Remove duplicated conditional statements code
doc: Minor fix in dlt_for_developers.md (#321)
dlt-control-common.c: Fix build failure due to out-of-bound write -Werror=stringop-truncation
Extend include path in *.pc file (#319)

Signed-off-by: Wang Mingyu <wangmy@...>
---
.../dlt-daemon/dlt-daemon/317.patch | 43 -------------------
...-daemon_2.18.7.bb => dlt-daemon_2.18.8.bb} | 9 ++--
2 files changed, 4 insertions(+), 48 deletions(-)
delete mode 100644 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/317.patch
rename meta-oe/recipes-extended/dlt-daemon/{dlt-daemon_2.18.7.bb => dlt-daemon_2.18.8.bb} (93%)

diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/317.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/317.patch
deleted file mode 100644
index fe40334b6..000000000
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/317.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Origin: https://github.com/GENIVI/dlt-daemon/pull/317
-From 55d31216823841a1547fe261cdf8e3b1002d5f94 Mon Sep 17 00:00:00 2001
-From: Gianfranco Costamagna <costamagnagianfranco@...>
-Date: Thu, 1 Jul 2021 12:58:20 +0200
-Subject: [PATCH] dlt-control-common.c: Fix build failure due to out-of-bound
- write -Werror=stringop-truncation
-
-cd /build/dlt-daemon-2.18.7/obj-x86_64-linux-gnu/src/console/logstorage && /usr/bin/cc -DCONFIGURATION_FILES_DIR=\"/etc\" -DDLT_DAEMON_USE_FIFO_IPC -DDLT_LIB_USE_FIFO_IPC -DDLT_NETWORK_TRACE_ENABLE -DDLT_SYSTEMD_ENABLE -DDLT_SYSTEMD_JOURNAL_ENABLE -DDLT_UNIT_TESTS -DDLT_USER_IPC_PATH=\"/tmp\" -DDLT_USE_IPv6 -DEXTENDED_FILTERING -D_GNU_SOURCE -I/build/dlt-daemon-2.18.7 -I/build/dlt-daemon-2.18.7/obj-x86_64-linux-gnu/include/dlt -I/build/dlt-daemon-2.18.7/include/dlt -I/build/dlt-daemon-2.18.7/src/shared -I/build/dlt-daemon-2.18.7/src/core_dump_handler -I/build/dlt-daemon-2.18.7/src/offlinelogstorage -I/build/dlt-daemon-2.18.7/src/lib -I/build/dlt-daemon-2.18.7/src/daemon -I/build/dlt-daemon-2.18.7/src/console -I/build/dlt-daemon-2.18.7/src/gateway -I/build/dlt-daemon-2.18.7/systemd/3rdparty -g -O2 -ffile-prefix-map=/build/dlt-daemon-2.18.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -std=gnu99 -Wall -Wextra -Wno-variadic-macros -Wno-strict-aliasing -o CMakeFiles/dlt-logstorage-ctrl.dir/__/dlt-control-common.c.o -c /build/dlt-daemon-2.18.7/src/console/dlt-control-common.c
-make[3]: Leaving directory '/build/dlt-daemon-2.18.7/obj-x86_64-linux-gnu'
-In file included from /usr/include/string.h:495,
- from /build/dlt-daemon-2.18.7/src/console/dlt-control-common.c:56:
-In function 'strncpy',
- inlined from 'dlt_json_filter_load' at /build/dlt-daemon-2.18.7/src/console/dlt-control-common.c:716:13:
-/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 4 equals destination size [-Werror=stringop-truncation]
- 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-In function 'strncpy',
- inlined from 'dlt_json_filter_load' at /build/dlt-daemon-2.18.7/src/console/dlt-control-common.c:721:13:
-/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 4 equals destination size [-Werror=stringop-truncation]
- 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@...>
-Signed-off-by: Gianfranco Costamagna <locutusofborg@...>
----
- src/console/dlt-control-common.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c
-index 8a9d29f0..f58d8268 100644
---- a/src/console/dlt-control-common.c
-+++ b/src/console/dlt-control-common.c
-@@ -671,8 +671,8 @@ DltReturnValue dlt_json_filter_load(DltFilter *filter, const char *filename, int
- struct json_object *j_payload_max;
- enum json_tokener_error jerr;
-
-- char app_id[DLT_ID_SIZE] = "";
-- char context_id[DLT_ID_SIZE] = "";
-+ char app_id[DLT_ID_SIZE + 1] = "";
-+ char context_id[DLT_ID_SIZE + 1] = "";
- int32_t log_level = 0;
- int32_t payload_max = INT32_MAX;
- int32_t payload_min = 0;
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.7.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.8.bb
similarity index 93%
rename from meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.7.bb
rename to meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.8.bb
index e5a3c7c29..fc90d30b8 100644
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.7.bb
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.8.bb
@@ -15,11 +15,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8184208060df880fe3137b93eb88aeea"
DEPENDS = "zlib gzip-native json-c"

SRC_URI = "git://github.com/GENIVI/${BPN}.git;protocol=https;branch=master \
- file://0002-Don-t-execute-processes-as-a-specific-user.patch \
- file://0004-Modify-systemd-config-directory.patch \
- file://317.patch \
-"
-SRCREV = "24d197214bfdcec7430d31b42e5c87df27287aaf"
+ file://0002-Don-t-execute-processes-as-a-specific-user.patch \
+ file://0004-Modify-systemd-config-directory.patch \
+ "
+SRCREV = "1438fcf8c88cd47b20b2984180a8457c3eb9193d"

S = "${WORKDIR}/git"

--
2.25.1


Re: [PATCH] runqemu: automatically turn on "kvm" on x86 CPUs with VT

Michael Opdenacker
 

Sorry, wrong list. Sent to openembedded-core@ instead.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


[PATCH] runqemu: automatically turn on "kvm" on x86 CPUs with VT

Michael Opdenacker
 

This automatically turns on the "kvm" option when emulating
an x86 system on x86 CPUs with VT capability.

On an Intel i7-5600U CPU at 2.60GHz, using the "kvm"
option is at least 4x faster, booting "core-image-minimal" for qemux86-64.
The performance difference can even be bigger for larger systems.

Rather than changing the documentation to remind users
to use this option, that's easier to enable this option by
default on suitable systems.

A "noautokvm" option is added to disable this default,
and keep the previous behavior.

Signed-off-by: Michael Opdenacker <michael.opdenacker@...>
---
scripts/runqemu | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 4e05c1bb15..b500ba2afa 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -78,8 +78,9 @@ of the following environment variables (in any order):
serialstdio - enable a serial console on the console (regardless of graphics mode)
slirp - enable user networking, no root privileges is required
snapshot - don't write changes to back to images
- kvm - enable KVM when running x86/x86_64 (VT-capable CPU required)
+ kvm - enable KVM. Enabled by default when running x86/x86_64 with a VT-capable CPU
kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required)
+ noautokvm - don't enable KVM automatically on x86/x86_64 with a VT-capable CPU
publicvnc - enable a VNC server open to all hosts
audio - enable audio
[*/]ovmf* - OVMF firmware file or base name for booting with UEFI
@@ -170,6 +171,7 @@ class BaseConfig(object):
self.fstype = ''
self.kvm_enabled = False
self.vhost_enabled = False
+ self.noautokvm = False
self.slirp_enabled = False
self.net_bridge = None
self.nfs_instance = 0
@@ -506,6 +508,8 @@ class BaseConfig(object):
self.kvm_enabled = True
elif arg == 'kvm-vhost':
self.vhost_enabled = True
+ elif arg == 'noautokvm':
+ self.noautokvm = True
elif arg == 'slirp':
self.slirp_enabled = True
elif arg.startswith('bridge='):
@@ -550,8 +554,18 @@ class BaseConfig(object):
if s:
self.set("DEPLOY_DIR_IMAGE", s.group(1))

+ def kvm_cap_x86(self):
+ with open('/proc/cpuinfo', 'r') as f:
+ return re.search('vmx|svm', "".join(f.readlines()))
+
def check_kvm(self):
- """Check kvm and kvm-host"""
+ """Check kvm and kvm-vhost"""
+ # Turn on KVM by default emulating x86 on x86 CPUs with VT
+ # Can be disabled with the "noautokvm" option
+ if self.qemu_system.endswith(('i386', 'x86_64')) and not self.noautokvm:
+ if self.kvm_cap_x86():
+ self.kvm_enabled = True
+
if not (self.kvm_enabled or self.vhost_enabled):
self.qemu_opt_script += ' %s %s %s' % (self.get('QB_MACHINE'), self.get('QB_CPU'), self.get('QB_SMP'))
return
@@ -565,9 +579,7 @@ class BaseConfig(object):
dev_kvm = '/dev/kvm'
dev_vhost = '/dev/vhost-net'
if self.qemu_system.endswith(('i386', 'x86_64')):
- with open('/proc/cpuinfo', 'r') as f:
- kvm_cap = re.search('vmx|svm', "".join(f.readlines()))
- if not kvm_cap:
+ if not self.kvm_cap_x86():
logger.error("You are trying to enable KVM on a cpu without VT support.")
logger.error("Remove kvm from the command-line, or refer:")
raise RunQemuError(yocto_kvm_wiki)
--
2.25.1


[meta-python][PATCH 2/2] python3-twine: Upgrade 3.4.1 -> 3.7.1

Leon Anavi
 

Upgrade to release 3.7.1:

- Fix broken link to packaging tutorial
- Add support for core metadata version 2.2, defined in PEP 643.
- Add support for Python 3.10
- Show more helpful messages for invalid passwords
- Allow the --skip-existing option to work with GCP Artifact
Registry
- Add a helpful error message when an upload fails due to missing
a trailing slash in the URL
- Generalize --verbose suggestion when an upload fails

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../python/python3-twine_3.4.1.bb | 14 -----------
.../python/python3-twine_3.7.1.bb | 23 +++++++++++++++++++
2 files changed, 23 insertions(+), 14 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-twine_3.4.1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-twine_3.7.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb
deleted file mode 100644
index 111366dba..000000000
--- a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "Utilities for interacting with PyPI"
-HOMEPAGE = "https://twine.readthedocs.io/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c"
-
-SRC_URI[sha256sum] = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b"
-
-inherit pypi setuptools3
-
-DEPENDS += "\
- ${PYTHON_PN}-setuptools-scm-native \
-"
-
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb
new file mode 100644
index 000000000..bcc881e44
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Utilities for interacting with PyPI"
+HOMEPAGE = "https://twine.readthedocs.io/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c"
+
+SRC_URI[sha256sum] = "28460a3db6b4532bde6a5db6755cf2dce6c5020bada8a641bb2c5c7a9b1f35b8"
+
+inherit pypi setuptools3
+
+DEPENDS += "\
+ ${PYTHON_PN}-setuptools-scm-native \
+"
+
+RDEPENDS:${PN} += " \
+ ${PYTHON_PN}-importlib-metadata \
+"
+
+do_compile:prepend() {
+ echo "from setuptools import setup" > ${S}/setup.py
+ echo "setup()" >> ${S}/setup.py
+}
+
+BBCLASSEXTEND = "native"
--
2.30.2


[meta-python][PATCH 1/2] python3-simpleeval: Upgrade 0.9.10 -> 0.9.12

Leon Anavi
 

Upgrade to release 0.9.12:

- Remove Cyclic references (memory leak)
- Add left & right shift operations (<< and >>)
- Switch to GH actions & CodeCov.io for CI tests
- Add extra contributors details
- Reformat w/ Black + isort, and have linting of those in CI

Signed-off-by: Leon Anavi <leon.anavi@...>
---
...simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
rename to meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
index 36512cba9..8ad6acc87 100644
--- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
+++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
@@ -3,8 +3,7 @@ HOMEPAGE = "https://pypi.org/project/simpleeval/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7"

-SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691"
-SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea"
+SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36"

inherit pypi setuptools3 ptest

@@ -14,12 +13,18 @@ SRC_URI += " \
file://run-ptest \
"

+RDEPENDS:${PN} += " \
+ ${PYTHON_PN}-math \
+"
+
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
+
do_configure:prepend() {
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
}
+
do_install_ptest() {
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
}
--
2.30.2


[meta-python][PATCH] python3-lxml: check the return value

Yu, Mingli
 

From: Mingli Yu <mingli.yu@...>

Check the return value in subprocess to guarantee the subprocess
execute successfully or not as after [1] introduced to limit the
netowork, there some difference during do_compile phase as below.
Before the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b''
>>>

After the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
>>>

[1] https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543

Signed-off-by: Mingli Yu <mingli.yu@...>
---
...-setupinfo.py-check-the-return-value.patch | 46 +++++++++++++++++++
.../python/python3-lxml_4.7.1.bb | 3 ++
2 files changed, 49 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch

diff --git a/meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch b/meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch
new file mode 100644
index 000000000..7d9121846
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch
@@ -0,0 +1,46 @@
+From 057872fa40e061100d61117cee5c3413ef2e40fc Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@...>
+Date: Thu, 20 Jan 2022 15:18:20 +0800
+Subject: [PATCH] setupinfo.py: check the return value
+
+Use the return value altogether to check the subprocess execute
+successfully or not as in some case it will print some noise
+message though run successfully as below.
+
+ # python
+ Python 3.8.10 (default, Nov 26 2021, 20:14:08)
+ [GCC 9.3.0] on linux
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>> import subprocess
+ >>> cmd = "pkg-config --modversion libxml-2.0"
+ >>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ >>> stdout_data, errors = p.communicate()
+ >>> print(stdout_data)
+ b'2.9.12\n'
+ >>> print(errors)
+ b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
+ >>>
+
+Upstream-Status: Submitted [https://github.com/lxml/lxml/pull/336]
+
+Signed-off-by: Mingli Yu <mingli.yu@...>
+---
+ setupinfo.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setupinfo.py b/setupinfo.py
+index 8c2a36fb..c1247c6d 100644
+--- a/setupinfo.py
++++ b/setupinfo.py
+@@ -365,7 +365,7 @@ def run_command(cmd, *args):
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ stdout_data, errors = p.communicate()
+
+- if errors:
++ if p.returncode != 0 and errors:
+ return ''
+ return decode_input(stdout_data).strip()
+
+--
+2.17.1
+
diff --git a/meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb b/meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb
index cb33fcc3c..43f071281 100644
--- a/meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb
@@ -20,6 +20,9 @@ DEPENDS += "libxml2 libxslt"

SRC_URI[sha256sum] = "a1613838aa6b89af4ba10a0f3a972836128801ed008078f8c1244e65958f1b24"

+SRC_URI += " \
+ file://0001-setupinfo.py-check-the-return-value.patch \
+"
inherit pkgconfig pypi setuptools3

# {standard input}: Assembler messages:
--
2.17.1


[PATCH 5/5] [oe] [meta-python] [PATCH] python3-google-api-python-client: upgrade 2.33.0 -> 2.36.0

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

changelog:
====================================================================
see changes at
https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md

Features
analyticsadmin: update the api 981bbe3 (4d5c983)
artifactregistry: update the api 0d1152f (4d5c983)
content: update the api 195bfc2 (4d5c983)
datapipelines: update the api 3bb1937 (4d5c983)
dataproc: update the api 2fc3a16 (4d5c983)
datastream: update the api d51a6ee (4d5c983)
displayvideo: update the api 459a636 (4d5c983)
drive: update the api 92ec7cf (4d5c983)
eventarc: update the api 8fd4b62 (4d5c983)
metastore: update the api b7f92e4 (4d5c983)
ondemandscanning: update the api e8a2008 (4d5c983)
osconfig: update the api 974f389 (4d5c983)
privateca: update the api f48c528 (4d5c983)
recaptchaenterprise: update the api edd3d24 (4d5c983)
redis: update the api 0a68f42 (4d5c983)
run: update the api 59c518f (4d5c983)
sasportal: update the api 1517d9d (4d5c983)
servicedirectory: update the api 298a0e1 (4d5c983)

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
...ent_2.33.0.bb => python3-google-api-python-client_2.36.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-google-api-python-client_2.33.0.bb => python3-google-api-python-client_2.36.0.bb} (86%)

diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.33.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.36.0.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_2.33.0.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_2.36.0.bb
index 913c3719fd..502ebad3f0 100644
--- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.33.0.bb
+++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.36.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

-SRC_URI[sha256sum] = "38e98611794632a12479fafbabe0b5027e8fcfc412e8375f1b23db0bc0209181"
+SRC_URI[sha256sum] = "533c69e8ddce6630a2ce5b98348f6a58a23df49cb92040a0086315df979404af"

inherit pypi setuptools3

--
2.25.1


[PATCH 4/5] [oe] [meta-python] [PATCH] python3-engineio: upgrade 4.3.0 -> 4.3.1

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

changelog:
Fix support for Sanic v21.9.0 and up
Include example code in flake8 pass
Remove unused __version__ constant #262

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
.../{python3-engineio_4.3.0.bb => python3-engineio_4.3.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-engineio_4.3.0.bb => python3-engineio_4.3.1.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-engineio_4.3.0.bb b/meta-python/recipes-devtools/python/python3-engineio_4.3.1.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-engineio_4.3.0.bb
rename to meta-python/recipes-devtools/python/python3-engineio_4.3.1.bb
index 95edb860ac..a16306effb 100644
--- a/meta-python/recipes-devtools/python/python3-engineio_4.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-engineio_4.3.1.bb
@@ -17,4 +17,4 @@ RDEPENDS:${PN} += " \
python3-asyncio \
"

-SRC_URI[sha256sum] = "fed35eeacfa21f53f1fc05ef0cadd65a50780364da3a2be7650eb92f928fdb11"
+SRC_URI[sha256sum] = "6e1d26977ffefe3b7da1b5df7a8750aedc7686da8201cd90daf36693db122489"
--
2.25.1


[PATCH 3/5] [oe] [meta-python] [PATCH] python3-async-timeout: upgrade 4.0.0 -> 4.0.2

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
.../python/python3-async-timeout_4.0.2.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-async-timeout_4.0.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-async-timeout_4.0.2.bb b/meta-python/recipes-devtools/python/python3-async-timeout_4.0.2.bb
new file mode 100644
index 0000000000..7355f00131
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-async-timeout_4.0.2.bb
@@ -0,0 +1,18 @@
+SUMMARY = "asyncio-compatible timeout context manager"
+DESCRIPTION = "\
+The context manager is useful in cases when you want to apply \
+timeout logic around block of code or in cases when asyncio.wait_for() \
+is not suitable. Also it's much faster than asyncio.wait_for() because \
+timeout doesn't create a new task."
+HOMEPAGE = "https://github.com/aio-libs/async-timeout"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fa41f15bb5f23b6d3560c5845eb8d57"
+
+SRC_URI[sha256sum] = "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15"
+
+PYPI_PACKAGE = "async-timeout"
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = "\
+ ${PYTHON_PN}-asyncio \
+"
--
2.25.1


[PATCH 1/5] [oe] [meta-python] [PATCH] python3-socketio: upgrade 5.5.0 -> 5.5.1

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

changelogs:
Support multiple Kafka servers
Include example code in flake8 pass

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
.../{python3-socketio_5.5.0.bb => python3-socketio_5.5.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-socketio_5.5.0.bb => python3-socketio_5.5.1.bb} (89%)

diff --git a/meta-python/recipes-devtools/python/python3-socketio_5.5.0.bb b/meta-python/recipes-devtools/python/python3-socketio_5.5.1.bb
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-socketio_5.5.0.bb
rename to meta-python/recipes-devtools/python/python3-socketio_5.5.1.bb
index 425dadc4f1..ebbb5c047a 100644
--- a/meta-python/recipes-devtools/python/python3-socketio_5.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-socketio_5.5.1.bb
@@ -9,7 +9,7 @@ inherit pypi setuptools3

PYPI_PACKAGE = "python-socketio"

-SRC_URI[sha256sum] = "ce972ea1b82aa1811fa10d30cf0d5c251b9a1558c3d66829b6fe70854bcccf0b"
+SRC_URI[sha256sum] = "ac8e64d59a15d1c31a4fe8434f4ff16d0f640c824ba517dce7ca99e95f0cd36a"

PACKAGECONFIG ?= "asyncio_client client"
PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets"
--
2.25.1


[PATCH 2/5] [oe] [meta-python] [PATCH] python3-argcomplete upgrade 1.12.3 -> 2.0.0

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

changelogs:
=============================================================
Truncate input after cursor. Fixes #351 (#352)
Support of path completion in fish #327 (#359)
Drop support for Python 2.7 and 3.5 (#361)
Add support for Python 3.10 (#356)
Test, documentation, and release infrastructure improvements

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
...thon3-argcomplete_1.12.3.bb => python3-argcomplete_2.0.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-argcomplete_1.12.3.bb => python3-argcomplete_2.0.0.bb} (83%)

diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_1.12.3.bb b/meta-python/recipes-devtools/python/python3-argcomplete_2.0.0.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-argcomplete_1.12.3.bb
rename to meta-python/recipes-devtools/python/python3-argcomplete_2.0.0.bb
index aff0c97ec9..4eab34f488 100644
--- a/meta-python/recipes-devtools/python/python3-argcomplete_1.12.3.bb
+++ b/meta-python/recipes-devtools/python/python3-argcomplete_2.0.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/kislyuk/argcomplete"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93"

-SRC_URI[sha256sum] = "2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445"
+SRC_URI[sha256sum] = "6372ad78c89d662035101418ae253668445b391755cfe94ea52f1b9d22425b20"

PYPI_PACKAGE = "argcomplete"

--
2.25.1