[OE-core] [PATCH] weston-init: Use pixman rendering for qemuppc64

2022-03-17 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta/recipes-graphics/wayland/weston-init.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb 
b/meta/recipes-graphics/wayland/weston-init.bb
index 20698b1020d..89fa1ac738b 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -16,6 +16,7 @@ S = "${WORKDIR}"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
+PACKAGECONFIG:append:qemuppc64 = " use-pixman"
 
 PACKAGECONFIG[no-idle-timeout] = ",,"
 PACKAGECONFIG[use-pixman] = ",,"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163439): 
https://lists.openembedded.org/g/openembedded-core/message/163439
Mute This Topic: https://lists.openembedded.org/mt/89862369/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] qemuriscv: Use virtio-tablet-pci for mouse

2022-03-17 Thread Khem Raj
This helps in making mouse response better where transition between host
and guest mouse is abrupt and not precise and as a result its difficult
to access stuff near the edges.

Signed-off-by: Khem Raj 
---
 meta/conf/machine/include/riscv/qemuriscv.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc 
b/meta/conf/machine/include/riscv/qemuriscv.inc
index 14eaf5d64a2..1d32b4a5820 100644
--- a/meta/conf/machine/include/riscv/qemuriscv.inc
+++ b/meta/conf/machine/include/riscv/qemuriscv.inc
@@ -36,4 +36,4 @@ QB_ROOTFS_OPT = "-drive 
id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device 
virtconsole,chardev=virtcon"
 QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev 
socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device 
virtconsole,chardev=virtcon"
 QB_GRAPHICS = "-device bochs-display"
-QB_OPT_APPEND = "-device virtio-mouse-pci -device virtio-keyboard-pci"
+QB_OPT_APPEND = "-device virtio-tablet-pci -device virtio-keyboard-pci"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163438): 
https://lists.openembedded.org/g/openembedded-core/message/163438
Mute This Topic: https://lists.openembedded.org/mt/89859236/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] openssh: Default to not using sandbox when cross compiling

2022-03-17 Thread Khem Raj
backport a patch to fix sandboxing issues seen on ppc32 and also on
riscv32 [1]

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=3398

Signed-off-by: Khem Raj 
---
 ...t-using-sandbox-when-cross-compiling.patch | 33 +++
 .../openssh/openssh_8.9p1.bb  |  4 +--
 2 files changed, 34 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/0001-Default-to-not-using-sandbox-when-cross-compiling.patch

diff --git 
a/meta/recipes-connectivity/openssh/openssh/0001-Default-to-not-using-sandbox-when-cross-compiling.patch
 
b/meta/recipes-connectivity/openssh/openssh/0001-Default-to-not-using-sandbox-when-cross-compiling.patch
new file mode 100644
index 000..0241c290ac4
--- /dev/null
+++ 
b/meta/recipes-connectivity/openssh/openssh/0001-Default-to-not-using-sandbox-when-cross-compiling.patch
@@ -0,0 +1,33 @@
+From 56194e9a6043873b0ec84f9d15c6e4caca2580c8 Mon Sep 17 00:00:00 2001
+From: Darren Tucker 
+Date: Tue, 8 Mar 2022 20:04:06 +1100
+Subject: [PATCH] Default to not using sandbox when cross compiling.
+
+On most systems poll(2) does not work when the number of FDs is reduced
+with setrlimit, so assume it doesn't when cross compiling and we can't
+run the test.  bz#3398.
+
+Signed-off-by: Khem Raj 
+Upstream-Status: Backport 
[https://anongit.mindrot.org/openssh.git/patch/?id=8cf5275452a950869cb90eeac7d220b01f77b12e]
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 17fb1e6..a165d08 100644
+--- a/configure.ac
 b/configure.ac
+@@ -3574,8 +3574,8 @@ AC_RUN_IFELSE(
+select_works_with_rlimit=yes],
+   [AC_MSG_RESULT([no])
+select_works_with_rlimit=no],
+-  [AC_MSG_WARN([cross compiling: assuming yes])
+-   select_works_with_rlimit=yes]
++  [AC_MSG_WARN([cross compiling: assuming no])
++   select_works_with_rlimit=no]
+ )
+ 
+ AC_CHECK_MEMBERS([struct pollfd.fd], [], [], [[
+-- 
+2.35.1
+
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb 
b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
index 6c5c1912e82..f306b1245ac 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
@@ -25,6 +25,7 @@ SRC_URI = 
"http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
file://sshd_check_keys \
file://add-test-support-for-busybox.patch \
file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \
+   file://0001-Default-to-not-using-sandbox-when-cross-compiling.patch 
\
"
 SRC_URI[sha256sum] = 
"fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7"
 
@@ -77,9 +78,6 @@ EXTRA_OECONF = "'LOGIN_PROGRAM=${base_bindir}/login' \
 # musl doesn't implement wtmp/utmp and logwtmp
 EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog"
 
-# https://bugzilla.mindrot.org/show_bug.cgi?id=3398
-EXTRA_OECONF:append:powerpc = " --with-sandbox=no"
-
 # Since we do not depend on libbsd, we do not want configure to use it
 # just because it finds libutil.h.  But, specifying --disable-libutil
 # causes compile errors, so...
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163437): 
https://lists.openembedded.org/g/openembedded-core/message/163437
Mute This Topic: https://lists.openembedded.org/mt/89857009/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] perl: generate alternative link for streamzip

2022-03-17 Thread Sakib Sajal
streamzip is also provided by io-compress-perl, so add
an alternative link for streamzip.

Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/perl/perl_5.34.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb 
b/meta/recipes-devtools/perl/perl_5.34.0.bb
index 8a1db7ed35..73fd2e0a79 100644
--- a/meta/recipes-devtools/perl/perl_5.34.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.34.0.bb
@@ -220,7 +220,7 @@ ALTERNATIVE_PRIORITY = "100"
 
 ALTERNATIVE:${PN}-misc = "corelist cpan enc2xs encguess h2ph h2xs instmodsh 
json_pp libnetcfg \
  piconv pl2pm pod2html pod2man pod2text pod2usage 
podchecker \
- prove ptar ptardiff ptargrep shasum splain xsubpp 
zipdetails"
+ prove ptar ptardiff ptargrep shasum splain streamzip 
xsubpp zipdetails"
 ALTERNATIVE_LINK_NAME[corelist] = "${bindir}/corelist"
 ALTERNATIVE_LINK_NAME[cpan] = "${bindir}/cpan"
 ALTERNATIVE_LINK_NAME[enc2xs] = "${bindir}/enc2xs"
@@ -243,6 +243,7 @@ ALTERNATIVE_LINK_NAME[ptardiff] = "${bindir}/ptardiff"
 ALTERNATIVE_LINK_NAME[ptargrep] = "${bindir}/ptargrep"
 ALTERNATIVE_LINK_NAME[shasum] = "${bindir}/shasum"
 ALTERNATIVE_LINK_NAME[splain] = "${bindir}/splain"
+ALTERNATIVE_LINK_NAME[streamzip] = "${bindir}/streamzip"
 ALTERNATIVE_LINK_NAME[xsubpp] = "${bindir}/xsubpp"
 ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"
 
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163436): 
https://lists.openembedded.org/g/openembedded-core/message/163436
Mute This Topic: https://lists.openembedded.org/mt/89856099/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] oeqa/selftest/tinfoil: Improve tinfoil event test debugging

2022-03-17 Thread Richard Purdie
We still see occasional test failures for unknown reasons. Add some debugging to
show whether the matching files event was received even if the command complete 
wasn't.

Also ensure any commandfailed/commandexit event is shown.

This will hopefully aid debugging the next time the issue occurs.

Signed-off-by: Richard Purdie 
---
 meta/lib/oeqa/selftest/cases/tinfoil.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py 
b/meta/lib/oeqa/selftest/cases/tinfoil.py
index 8fd48bb0540..63ceddf118a 100644
--- a/meta/lib/oeqa/selftest/cases/tinfoil.py
+++ b/meta/lib/oeqa/selftest/cases/tinfoil.py
@@ -87,7 +87,7 @@ class TinfoilTests(OESelftestTestCase):
 with bb.tinfoil.Tinfoil() as tinfoil:
 tinfoil.prepare(config_only=True)
 
-tinfoil.set_event_mask(['bb.event.FilesMatchingFound', 
'bb.command.CommandCompleted'])
+tinfoil.set_event_mask(['bb.event.FilesMatchingFound', 
'bb.command.CommandCompleted', 'bb.command.CommandFailed', 
'bb.command.CommandExit'])
 
 # Need to drain events otherwise events that were masked may still 
be in the queue
 while tinfoil.wait_event():
@@ -118,7 +118,7 @@ class TinfoilTests(OESelftestTestCase):
 else:
 self.fail('Unexpected event: %s' % event)
 
-self.assertTrue(commandcomplete, 'Timed out waiting for 
CommandCompleted event from bitbake server')
+self.assertTrue(commandcomplete, 'Timed out waiting for 
CommandCompleted event from bitbake server (Matching event received: %s)' % 
str(eventreceived))
 self.assertTrue(eventreceived, 'Did not receive FilesMatchingFound 
event from bitbake server')
 
 def test_setvariable_clean(self):
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163435): 
https://lists.openembedded.org/g/openembedded-core/message/163435
Mute This Topic: https://lists.openembedded.org/mt/89855183/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [dunfell][PATCH] openssl: fix CVE-2022-0778

2022-03-17 Thread Ralph Siemsen
* Fixed a bug in the BN_mod_sqrt() function that can cause it to loop
foreverfor non-prime moduli ([CVE-2022-0778])

Signed-off-by: Ralph Siemsen 
---
 .../openssl/openssl/CVE-2022-0778.patch   | 71 +++
 .../openssl/openssl_1.1.1l.bb |  1 +
 2 files changed, 72 insertions(+)
 create mode 100644 
meta/recipes-connectivity/openssl/openssl/CVE-2022-0778.patch

diff --git a/meta/recipes-connectivity/openssl/openssl/CVE-2022-0778.patch 
b/meta/recipes-connectivity/openssl/openssl/CVE-2022-0778.patch
new file mode 100644
index 00..86b90ccf8d
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl/CVE-2022-0778.patch
@@ -0,0 +1,71 @@
+From 3118eb64934499d93db3230748a452351d1d9a65 Mon Sep 17 00:00:00 2001
+From: Tomas Mraz 
+Date: Mon, 28 Feb 2022 18:26:21 +0100
+Subject: [PATCH] Fix possible infinite loop in BN_mod_sqrt()
+
+The calculation in some cases does not finish for non-prime p.
+
+This fixes CVE-2022-0778.
+
+Based on patch by David Benjamin .
+
+Reviewed-by: Paul Dale 
+Reviewed-by: Matt Caswell 
+
+Upstream-Status: Backport 
[https://git.openssl.org/gitweb/?p=openssl.git;a=patch;h=3118eb64934499d93db3230748a452351d1d9a65]
+CVE: CVE-2022-0778
+Signed-off-by: Ralph Siemsen 
+
+---
+ crypto/bn/bn_sqrt.c | 30 ++
+ 1 file changed, 18 insertions(+), 12 deletions(-)
+
+diff --git a/crypto/bn/bn_sqrt.c b/crypto/bn/bn_sqrt.c
+index 1723d5ded5a8..53b0f559855c 100644
+--- a/crypto/bn/bn_sqrt.c
 b/crypto/bn/bn_sqrt.c
+@@ -14,7 +14,8 @@ BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const 
BIGNUM *p, BN_CTX *ctx)
+ /*
+  * Returns 'ret' such that ret^2 == a (mod p), using the Tonelli/Shanks
+  * algorithm (cf. Henri Cohen, "A Course in Algebraic Computational Number
+- * Theory", algorithm 1.5.1). 'p' must be prime!
++ * Theory", algorithm 1.5.1). 'p' must be prime, otherwise an error or
++ * an incorrect "result" will be returned.
+  */
+ {
+ BIGNUM *ret = in;
+@@ -301,18 +302,23 @@ BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const 
BIGNUM *p, BN_CTX *ctx)
+ goto vrfy;
+ }
+ 
+-/* find smallest  i  such that  b^(2^i) = 1 */
+-i = 1;
+-if (!BN_mod_sqr(t, b, p, ctx))
+-goto end;
+-while (!BN_is_one(t)) {
+-i++;
+-if (i == e) {
+-BNerr(BN_F_BN_MOD_SQRT, BN_R_NOT_A_SQUARE);
+-goto end;
++/* Find the smallest i, 0 < i < e, such that b^(2^i) = 1. */
++for (i = 1; i < e; i++) {
++if (i == 1) {
++if (!BN_mod_sqr(t, b, p, ctx))
++goto end;
++
++} else {
++if (!BN_mod_mul(t, t, t, p, ctx))
++goto end;
+ }
+-if (!BN_mod_mul(t, t, t, p, ctx))
+-goto end;
++if (BN_is_one(t))
++break;
++}
++/* If not found, a is not a square or p is not prime. */
++if (i >= e) {
++BNerr(BN_F_BN_MOD_SQRT, BN_R_NOT_A_SQUARE);
++goto end;
+ }
+ 
+ /* t := y^2^(e - i - 1) */
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb 
b/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb
index 24466e11b1..669152ac5e 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz 
\
file://reproducible.patch \
file://reproducibility.patch \
file://CVE-2021-4160.patch \
+   file://CVE-2022-0778.patch \
"
 
 SRC_URI_append_class-nativesdk = " \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163434): 
https://lists.openembedded.org/g/openembedded-core/message/163434
Mute This Topic: https://lists.openembedded.org/mt/89853727/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH] openssl: update from 1.1.1l to 1.1.1n

2022-03-17 Thread Ralph Siemsen
Hi Steve

Somehow despite watching for replies, I managed to miss them until now.

On Wed, Mar 16, 2022 at 5:50 PM Steve Sakoman  wrote:
>
> Sigh, now I remember why we did the CVE only patch - this version
> update introduces a ptest regression. It's sad I can't remember things
> from just a month ago!
>
> See discussion here:
>
> https://lists.openembedded.org/g/openembedded-core/topic/89179173#162027
>
> If you can find a way to deal with the regression I'd be happy to take
> the upgrade!

I'm not sure I want to go down that rabbit hole right now.

I did a backport of just the CVE, it was straightforward. I'll post it.

Regards,
Ralph

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163433): 
https://lists.openembedded.org/g/openembedded-core/message/163433
Mute This Topic: https://lists.openembedded.org/mt/89825642/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][PATCH] iptables: use nft backend with libnftnl PACKAGECONFIG

2022-03-17 Thread Trevor Gamblin
Currently, when the libnftnl (part of meta-networking) PACKAGECONFIG is
enabled for iptables, both legacy and nft-based binaries are built and
installed in the image. However, the "iptables" symlink in this case
still points to xtables-legacy-multi, rather than xtables-nft-multi.
This patch adds a conditional check to replace the symlink to point to
the latter if iptables is built with libnftnl support, which is
consistent with other major distros (e.g. Fedora). The "iptables-legacy"
symlink remains present and unmodified.

Signed-off-by: tgamblin 
---
 meta/recipes-extended/iptables/iptables_1.8.7.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/iptables/iptables_1.8.7.bb 
b/meta/recipes-extended/iptables/iptables_1.8.7.bb
index 839733aaa8..3b41882841 100644
--- a/meta/recipes-extended/iptables/iptables_1.8.7.bb
+++ b/meta/recipes-extended/iptables/iptables_1.8.7.bb
@@ -66,6 +66,11 @@ do_install:append() {
 -e 's,@RULESDIR@,${IPTABLES_RULES_DIR},g' \
 ${D}${systemd_system_unitdir}/ip6tables.service
 fi
+
+# if libnftnl is included, make the iptables symlink point to the 
nft-based binary by default
+if ${@bb.utils.contains('PACKAGECONFIG', 'libnftnl', 'true', 'false', d)} 
; then
+ln -sf ${sbindir}/xtables-nft-multi ${D}${sbindir}/iptables 
+fi
 }
 
 PACKAGES =+ "${PN}-modules ${PN}-apply"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163432): 
https://lists.openembedded.org/g/openembedded-core/message/163432
Mute This Topic: https://lists.openembedded.org/mt/89853196/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libtool: Upgrade 2.4.6 -> 2.4.7

2022-03-17 Thread Richard Purdie
Libtool made a release after many years. Update to it, allowing us to drop two
backported patches. We also drop a performance optimistion patch since it is
too invasive to maintain separately.

Signed-off-by: Richard Purdie 
---
 .../{libtool-2.4.6.inc => libtool-2.4.7.inc}  |   6 +-
 ...-cross_2.4.6.bb => libtool-cross_2.4.7.bb} |   0
 ...ative_2.4.6.bb => libtool-native_2.4.7.bb} |   0
 ...-trailing-slashes-on-install-command.patch |  10 +-
 ...in.in-Parse-additional-clang-options.patch |  34 ++--
 ...e-the-with-sysroot-option-to-avoid-c.patch | 122 +++-
 ...-Add-missing-sysroot-to-library-path.patch |   9 +-
 ...sroot-paths-being-encoded-into-RPATH.patch |  21 +-
 ...encode-RATHS-which-match-default-lin.patch |  19 +-
 ...ool.m4-Handle-as-a-sysroot-correctly.patch |  17 +-
 ...tool-Fix-support-for-NIOS2-processor.patch |  11 +-
 ...r-static-libs-for-internal-compiler-.patch |   8 +-
 ...-sure-autoheader-run-before-autoconf.patch |   7 +-
 ...-sure-autoheader-run-before-automake.patch |   6 +-
 ...-prefix-map-compiler-options-correct.patch |  25 ++-
 ...eproducibility-stop-encoding-hostnam.patch |  15 +-
 ...AGS-use-cr-instead-of-cru-by-default.patch | 133 -
 .../libool.m4-add-ARFLAGS-variable.patch  |  77 
 .../libtool/libtool/unwind-opt-parsing.patch  | 179 --
 .../{libtool_2.4.6.bb => libtool_2.4.7.bb}|   0
 ...ol_2.4.6.bb => nativesdk-libtool_2.4.7.bb} |   0
 21 files changed, 130 insertions(+), 569 deletions(-)
 rename meta/recipes-devtools/libtool/{libtool-2.4.6.inc => libtool-2.4.7.inc} 
(87%)
 rename meta/recipes-devtools/libtool/{libtool-cross_2.4.6.bb => 
libtool-cross_2.4.7.bb} (100%)
 rename meta/recipes-devtools/libtool/{libtool-native_2.4.6.bb => 
libtool-native_2.4.7.bb} (100%)
 delete mode 100644 
meta/recipes-devtools/libtool/libtool/ARFLAGS-use-cr-instead-of-cru-by-default.patch
 delete mode 100644 
meta/recipes-devtools/libtool/libtool/libool.m4-add-ARFLAGS-variable.patch
 delete mode 100644 
meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch
 rename meta/recipes-devtools/libtool/{libtool_2.4.6.bb => libtool_2.4.7.bb} 
(100%)
 rename meta/recipes-devtools/libtool/{nativesdk-libtool_2.4.6.bb => 
nativesdk-libtool_2.4.7.bb} (100%)

diff --git a/meta/recipes-devtools/libtool/libtool-2.4.6.inc 
b/meta/recipes-devtools/libtool/libtool-2.4.7.inc
similarity index 87%
rename from meta/recipes-devtools/libtool/libtool-2.4.6.inc
rename to meta/recipes-devtools/libtool/libtool-2.4.7.inc
index ad6f5e6b6eb..a07df720acf 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.6.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.7.inc
@@ -17,20 +17,16 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://dont-depend-on-help2man.patch \
file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \
file://nohardcodepaths.patch \
-   file://unwind-opt-parsing.patch \
file://0007-libtool-Fix-support-for-NIOS2-processor.patch \

file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \

file://0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch \

file://0010-Makefile.am-make-sure-autoheader-run-before-automake.patch \

file://0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch \

file://0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch \
-   file://libool.m4-add-ARFLAGS-variable.patch \
-   file://ARFLAGS-use-cr-instead-of-cru-by-default.patch \
file://0001-ltmain.in-Parse-additional-clang-options.patch \
   "
 
-SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e"
-SRC_URI[sha256sum] = 
"e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3"
+SRC_URI[sha256sum] = 
"04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8"
 
 do_compile:prepend () {
# Sometimes this file doesn't get rebuilt, force the issue
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb 
b/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb
rename to meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb 
b/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
rename to meta/recipes-devtools/libtool/libtool-native_2.4.7.bb
diff --git 
a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
 
b/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
index eeb5ebf4161..2c5d4cfbf05 100644
--- 
a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
+++ 

Re: [OE-core] [PATCH 1/2] python3-cryptography-vectors: upgrade to 36.0.2

2022-03-17 Thread Khem Raj
On Thu, Mar 17, 2022 at 9:44 AM Ross Burton  wrote:
>
> This needs to be upgraded in lockstep with python3-cryptography.
>
> Signed-off-by: Ross Burton 
> ---
>  ...vectors_36.0.1.bb => python3-cryptography-vectors_36.0.2.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-cryptography-vectors_36.0.1.bb 
> => python3-cryptography-vectors_36.0.2.bb} (90%)
>
> diff --git 
> a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb 
> b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
> similarity index 90%
> rename from 
> meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb
> rename to meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
> index da6718fb90..be0eda056e 100644
> --- a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb
> +++ b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
> "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
>  # NOTE: Make sure to keep this recipe at the same version as 
> python3-cryptography
>  #   Upgrade both recipes at the same time
>
> -SRC_URI[sha256sum] = 
> "fc8490afd5424342b868215435bd174dcd76ab396b4ea9435498be5721dcd598"
> +SRC_URI[sha256sum] = 
> "2a7924449a03025faf7f8754a6f421cab210734a6ce6ac1f6bdacd3a68e4"
>

I think mine here [1] is better since it bumps up libc crate which
enables riscv64 as well

[1] 
https://patchwork.yoctoproject.org/project/oe-core/patch/20220316222526.264261-1-raj.k...@gmail.com/

>  PYPI_PACKAGE = "cryptography_vectors"
>
> --
> 2.25.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163430): 
https://lists.openembedded.org/g/openembedded-core/message/163430
Mute This Topic: https://lists.openembedded.org/mt/89849716/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] weston-init: Use pixman on riscv64 qemu

2022-03-17 Thread Khem Raj
Helps boot weston/wayland images

Signed-off-by: Khem Raj 
---
 meta/recipes-graphics/wayland/weston-init.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb 
b/meta/recipes-graphics/wayland/weston-init.bb
index c34582137db..20698b1020d 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -15,6 +15,7 @@ SRC_URI = "file://init \
 S = "${WORKDIR}"
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
 
 PACKAGECONFIG[no-idle-timeout] = ",,"
 PACKAGECONFIG[use-pixman] = ",,"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163429): 
https://lists.openembedded.org/g/openembedded-core/message/163429
Mute This Topic: https://lists.openembedded.org/mt/89850829/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] python3-sphinx: Work around reproducibility issue

2022-03-17 Thread Richard Purdie
The dict used in this recipe doesn't write into the cache consistently, work
around it until this issue is resolved in python upstream (similar to frozenset
issues).

Signed-off-by: Richard Purdie 
---
 meta/recipes-devtools/python/python3-sphinx_4.4.0.bb | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb 
b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
index 225e7737f60..97ec2619cb9 100644
--- a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
@@ -10,6 +10,12 @@ SRC_URI[sha256sum] = 
"6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0
 
 inherit setuptools3 pypi
 
+ 
+do_install:append () {
+   # The cache format of "{None, 'en', 'ja'}" doesn't seem to be 
consistent (dict ordering?)
+   rm 
${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
+}
+
 RDEPENDS:${PN} = "\
 python3-packaging python3-docutils python3-requests \
 python3-imagesize python3-alabaster python3-jinja2 \
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163428): 
https://lists.openembedded.org/g/openembedded-core/message/163428
Mute This Topic: https://lists.openembedded.org/mt/89850499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-03-17 Thread Markus Volk
Google perfetto recipes. They are quite crappy, but in case somebody 
wants to play around with it.


Am 17.03.22 um 17:44 schrieb Ross Burton:

python3-cryptography and python3-cryptography-vectors are actually the
same project but are on Pypi as two separate modules.

The test suite validates that they're the same version and fails if they
are not:

FAIL: tests/test_utils.py::test_vector_version
 def test_vector_version():

   assert cryptography.__version__ == cryptography_vectors.__version__

E   AssertionError: assert '36.0.2' == '36.0.1'

Catch this slightly earlier by mandating that python3-cryptography-ptest
pulls in an identically versioned python3-cryptography-vectors.

Signed-off-by: Ross Burton 
---
  meta/recipes-devtools/python/python3-cryptography_36.0.2.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb 
b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
index 940df60d44..cb3acdf7e2 100644
--- a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
@@ -91,7 +91,7 @@ RDEPENDS:${PN}:append:class-target = " \
  
  RDEPENDS:${PN}-ptest += " \

  ${PYTHON_PN}-bcrypt \
-${PYTHON_PN}-cryptography-vectors \
+${PYTHON_PN}-cryptography-vectors (= ${PV}) \
  ${PYTHON_PN}-hypothesis \
  ${PYTHON_PN}-iso8601 \
  ${PYTHON_PN}-pretend \




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163427): 
https://lists.openembedded.org/g/openembedded-core/message/163427
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] python3-cryptography-vectors: upgrade to 36.0.2

2022-03-17 Thread Ross Burton
This needs to be upgraded in lockstep with python3-cryptography.

Signed-off-by: Ross Burton 
---
 ...vectors_36.0.1.bb => python3-cryptography-vectors_36.0.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-cryptography-vectors_36.0.1.bb => 
python3-cryptography-vectors_36.0.2.bb} (90%)

diff --git 
a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb 
b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
similarity index 90%
rename from meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb
rename to meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
index da6718fb90..be0eda056e 100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.2.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
 # NOTE: Make sure to keep this recipe at the same version as 
python3-cryptography
 #   Upgrade both recipes at the same time
 
-SRC_URI[sha256sum] = 
"fc8490afd5424342b868215435bd174dcd76ab396b4ea9435498be5721dcd598"
+SRC_URI[sha256sum] = 
"2a7924449a03025faf7f8754a6f421cab210734a6ce6ac1f6bdacd3a68e4"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163425): 
https://lists.openembedded.org/g/openembedded-core/message/163425
Mute This Topic: https://lists.openembedded.org/mt/89849716/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-03-17 Thread Ross Burton
python3-cryptography and python3-cryptography-vectors are actually the
same project but are on Pypi as two separate modules.

The test suite validates that they're the same version and fails if they
are not:

FAIL: tests/test_utils.py::test_vector_version
def test_vector_version():
>   assert cryptography.__version__ == cryptography_vectors.__version__
E   AssertionError: assert '36.0.2' == '36.0.1'

Catch this slightly earlier by mandating that python3-cryptography-ptest
pulls in an identically versioned python3-cryptography-vectors.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-cryptography_36.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb 
b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
index 940df60d44..cb3acdf7e2 100644
--- a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
@@ -91,7 +91,7 @@ RDEPENDS:${PN}:append:class-target = " \
 
 RDEPENDS:${PN}-ptest += " \
 ${PYTHON_PN}-bcrypt \
-${PYTHON_PN}-cryptography-vectors \
+${PYTHON_PN}-cryptography-vectors (= ${PV}) \
 ${PYTHON_PN}-hypothesis \
 ${PYTHON_PN}-iso8601 \
 ${PYTHON_PN}-pretend \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163426): 
https://lists.openembedded.org/g/openembedded-core/message/163426
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] python3-cryptography: Upgrade to 36.0.2

2022-03-17 Thread Khem Raj
On Thu, Mar 17, 2022 at 8:22 AM Ross Burton  wrote:
>
> Note that python3-cryptography and -cryptography-vectors *need* to be
> updated in lockstep:
>
> FAIL: tests/test_utils.py::test_vector_version
> def test_vector_version():
> >   assert cryptography.__version__ == cryptography_vectors.__version__
> E   AssertionError: assert '36.0.2' == '36.0.1'
>

hmm, thanks for noticing it

> I'll send a corresponding upgrade shortly.
>


superb.

> Ross
>
> On Wed, 16 Mar 2022 at 22:25, Khem Raj  wrote:
> >
> > Signed-off-by: Khem Raj 
> > ---
> >  ...-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-cryptography_36.0.1.bb => 
> > python3-cryptography_36.0.2.bb} (96%)
> >
> > diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb 
> > b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > similarity index 96%
> > rename from meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> > rename to meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > index e33eaa50834..940df60d441 100644
> > --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> > +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
> > "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
> > "
> >  LDSHARED += "-pthread"
> >
> > -SRC_URI[sha256sum] = 
> > "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"
> > +SRC_URI[sha256sum] = 
> > "70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"
> >
> >  SRC_URI += " \
> >  file://run-ptest \
> > @@ -42,7 +42,7 @@ SRC_URI += " \
> >  crate://crates.io/indoc/0.3.6 \
> >  crate://crates.io/instant/0.1.12 \
> >  crate://crates.io/lazy_static/1.4.0 \
> > -crate://crates.io/libc/0.2.112 \
> > +crate://crates.io/libc/0.2.120 \
> >  crate://crates.io/lock_api/0.4.5 \
> >  crate://crates.io/num-integer/0.1.44 \
> >  crate://crates.io/num-traits/0.2.14 \
> > --
> > 2.35.1
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163424): 
https://lists.openembedded.org/g/openembedded-core/message/163424
Mute This Topic: https://lists.openembedded.org/mt/89833574/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe-core][dunfell][PATCH] qemu: backport fix for CVE-2020-13253

2022-03-17 Thread Davide Gardenal
Backport commits from the following MR:
https://git.qemu.org/?p=qemu.git;a=commit;h=3a9163af4e3dd61795a35d47b702e302f98f81d6

Two other commits have been backported in order to be able
to correctly apply the patches.

CVE: CVE-2020-13253

Signed-off-by: Davide Gardenal 
---
 meta/recipes-devtools/qemu/qemu.inc   |   4 +
 .../qemu/qemu/CVE-2020-13253_1.patch  |  50 +++
 .../qemu/qemu/CVE-2020-13253_2.patch  | 112 ++
 .../qemu/qemu/CVE-2020-13253_3.patch  |  86 +++
 .../qemu/qemu/CVE-2020-13253_4.patch  | 139 ++
 5 files changed, 391 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-13253_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-13253_2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-13253_3.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-13253_4.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index ef9bc3f64a..96a981e1a9 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -92,6 +92,10 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2020-27617.patch \
file://CVE-2020-28916.patch \
file://CVE-2021-3682.patch \
+   file://CVE-2020-13253_1.patch \
+   file://CVE-2020-13253_2.patch \
+   file://CVE-2020-13253_3.patch \
+   file://CVE-2020-13253_4.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_1.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_1.patch
new file mode 100644
index 00..7f8383987c
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_1.patch
@@ -0,0 +1,50 @@
+From 6dd3a164f5b31c703c7d8372841ad3bd6a57de6d Mon Sep 17 00:00:00 2001
+From: =?utf8?q?Philippe=20Mathieu-Daud=C3=A9?= 
+Date: Tue, 5 Jun 2018 22:28:51 -0300
+Subject: [PATCH 1/1] hw/sd/sdcard: Simplify realize() a bit
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+We don't need to check if sd->blk is set twice.
+
+Reviewed-by: Peter Maydell 
+Signed-off-by: Philippe Mathieu-Daudé 
+Reviewed-by: Alistair Francis 
+Message-Id: <20200630133912.9428-18-f4...@amsat.org>
+
+Upstram-Status: Backport:
+https://git.qemu.org/?p=qemu.git;a=commit;f=hw/sd/sd.c;h=6dd3a164f5b31c703c7d8372841ad3bd6a57de6d
+
+CVE: CVE-2020-13253
+
+Signed-off-by: Davide Gardenal 
+---
+ hw/sd/sd.c | 10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/hw/sd/sd.c b/hw/sd/sd.c
+index 1cc16bf..edd60a0 100644
+--- a/hw/sd/sd.c
 b/hw/sd/sd.c
+@@ -2105,12 +2105,12 @@ static void sd_realize(DeviceState *dev, Error **errp)
+ return;
+ }
+ 
+-if (sd->blk && blk_is_read_only(sd->blk)) {
+-error_setg(errp, "Cannot use read-only drive as SD card");
+-return;
+-}
+-
+ if (sd->blk) {
++if (blk_is_read_only(sd->blk)) {
++error_setg(errp, "Cannot use read-only drive as SD card");
++return;
++}
++
+ ret = blk_set_perm(sd->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE,
+BLK_PERM_ALL, errp);
+ if (ret < 0) {
+-- 
+1.8.3.1
+
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_2.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_2.patch
new file mode 100644
index 00..53145d059f
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2020-13253_2.patch
@@ -0,0 +1,112 @@
+From a9bcedd15a5834ca9ae6c3a97933e85ac7edbd36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 
+Date: Tue, 7 Jul 2020 13:02:34 +0200
+Subject: [PATCH] hw/sd/sdcard: Do not allow invalid SD card sizes
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+QEMU allows to create SD card with unrealistic sizes. This could
+work, but some guests (at least Linux) consider sizes that are not
+a power of 2 as a firmware bug and fix the card size to the next
+power of 2.
+
+While the possibility to use small SD card images has been seen as
+a feature, it became a bug with CVE-2020-13253, where the guest is
+able to do OOB read/write accesses past the image size end.
+
+In a pair of commits we will fix CVE-2020-13253 as:
+
+Read command is rejected if BLOCK_LEN_ERROR or ADDRESS_ERROR
+occurred and no data transfer is performed.
+
+Write command is rejected if BLOCK_LEN_ERROR or ADDRESS_ERROR
+occurred and no data transfer is performed.
+
+WP_VIOLATION errors are not modified: the error bit is set, we
+stay in receive-data state, wait for a stop command. All further
+data transfer is ignored. See the check on sd->card_status at the
+beginning of sd_read_data() and sd_write_data().
+
+While this is the correct behavior, in case QEMU create smaller SD
+cards, 

Re: [OE-core] [PATCH 1/5] qemu: Depend on virtual/egl

2022-03-17 Thread Khem Raj
On Wed, Mar 9, 2022 at 4:30 AM Ross Burton  wrote:
>
> On Tue, 8 Mar 2022 at 15:52, Khem Raj  wrote:
> > -PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,virtual/libgl"
> > +PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,virtual/egl"
>
> Either the packageconfig name is wrong, or this patch is wrong: GLX is
> explicitly big-GL not EGL.

Neither seems to be wrong. see
https://github.com/qemu/qemu/blob/master/configure#L2289-L2313

It's expecting epoxy with egl. So virtual/egl is a better
representation. Maybe we should
add epoxy to depends section of packageconfig separately.

>
> Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163422): 
https://lists.openembedded.org/g/openembedded-core/message/163422
Mute This Topic: https://lists.openembedded.org/mt/89640091/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH v2] libpam: use /run instead of /var/run in systemd tmpfiles

2022-03-17 Thread Ricardo Salveti
/var/run in deprecated by systemd, use /run instead, as suggested by systemd.

This fixes the following systemd boot warning:

systemd-tmpfiles[340]: /etc/tmpfiles.d/pam.conf:1: Line references path
below legacy directory /var/run/, updating /var/run/sepermit →
/run/sepermit; please update the tmpfiles.d/ drop-in file accordingly.

Signed-off-by: Ricardo Salveti 
---

Change in v2:
- Extended commit message to include the systemd boot warning when using
  /var/run

 meta/recipes-extended/pam/libpam/pam-volatiles.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/pam/libpam/pam-volatiles.conf 
b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
index d8b8259a93..1263feb03d 100644
--- a/meta/recipes-extended/pam/libpam/pam-volatiles.conf
+++ b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
@@ -1 +1 @@
-d /var/run/sepermit 0755 root root - -
+d /run/sepermit 0755 root root - -
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163421): 
https://lists.openembedded.org/g/openembedded-core/message/163421
Mute This Topic: https://lists.openembedded.org/mt/89847622/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] python3-cryptography: Upgrade to 36.0.2

2022-03-17 Thread Ross Burton
Note that python3-cryptography and -cryptography-vectors *need* to be
updated in lockstep:

FAIL: tests/test_utils.py::test_vector_version
def test_vector_version():
>   assert cryptography.__version__ == cryptography_vectors.__version__
E   AssertionError: assert '36.0.2' == '36.0.1'

I'll send a corresponding upgrade shortly.

Ross

On Wed, 16 Mar 2022 at 22:25, Khem Raj  wrote:
>
> Signed-off-by: Khem Raj 
> ---
>  ...-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-cryptography_36.0.1.bb => 
> python3-cryptography_36.0.2.bb} (96%)
>
> diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb 
> b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> similarity index 96%
> rename from meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> rename to meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> index e33eaa50834..940df60d441 100644
> --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
> "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
> "
>  LDSHARED += "-pthread"
>
> -SRC_URI[sha256sum] = 
> "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"
> +SRC_URI[sha256sum] = 
> "70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"
>
>  SRC_URI += " \
>  file://run-ptest \
> @@ -42,7 +42,7 @@ SRC_URI += " \
>  crate://crates.io/indoc/0.3.6 \
>  crate://crates.io/instant/0.1.12 \
>  crate://crates.io/lazy_static/1.4.0 \
> -crate://crates.io/libc/0.2.112 \
> +crate://crates.io/libc/0.2.120 \
>  crate://crates.io/lock_api/0.4.5 \
>  crate://crates.io/num-integer/0.1.44 \
>  crate://crates.io/num-traits/0.2.14 \
> --
> 2.35.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163420): 
https://lists.openembedded.org/g/openembedded-core/message/163420
Mute This Topic: https://lists.openembedded.org/mt/89833574/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/5] libsdl2: Depend on virtual/egl

2022-03-17 Thread Khem Raj
On Wed, Mar 9, 2022 at 4:31 AM Ross Burton  wrote:
>
> On Tue, 8 Mar 2022 at 15:52, Khem Raj  wrote:
> > -PACKAGECONFIG[opengl] = 
> > "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/libgl"
> > +PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl"
>
> What does libSDL2 look for, then? Is it EGL explicitly? Or GLX? Or
> something else.

it looks for egl implementation provider which in X case is same as
virtual/libgl provider ( mesa )
in next release I think we should make clear difference between openGL
implementations instead of
specifying pins on libraries

>
> I agree that the virtual/libgl thing is a mess, but if we're clearing
> it up we need to clear about what is changing.
>
> Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163419): 
https://lists.openembedded.org/g/openembedded-core/message/163419
Mute This Topic: https://lists.openembedded.org/mt/89640092/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH 0/6] Pull request

2022-03-17 Thread Anuj Mittal
The following changes since commit d0b1807edc10835beff9a55a105ac191b6ac2fe7:

  unfs3: correct configure option (2022-03-07 22:19:01 +0800)

are available in the Git repository at:

  git://push.openembedded.org/openembedded-core-contrib stable/hardknott-next

Bill Pittman (1):
  wic: Use custom kernel path if provided

Jose Quaresma (1):
  sstate: inside the threadedpool don't write to the shared localdata

Kai Kang (2):
  expat: fix CVE-2022-25235
  expat: fix CVE-2022-25236

Pavel Zhukov (1):
  patch.py: Prevent git repo reinitialization

Richard Purdie (1):
  vim: Update to 8.2.4524 for further CVE fixes

 .../recipes-test/gitrepotest/gitrepotest.bb   |  16 ++
 .../gitrepotest/0001-testpatch.patch  |   9 +
 meta/classes/sstate.bbclass   |   2 +-
 meta/lib/oe/patch.py  |  11 +-
 meta/lib/oeqa/selftest/cases/bbtests.py   |  18 +-
 .../expat/expat/CVE-2022-25235.patch  | 261 ++
 .../expat/expat/CVE-2022-25236-1.patch| 116 
 .../expat/expat/CVE-2022-25236-2.patch| 232 
 meta/recipes-core/expat/expat_2.2.10.bb   |   3 +
 meta/recipes-support/vim/vim.inc  |   4 +-
 scripts/wic   |   3 +
 11 files changed, 667 insertions(+), 8 deletions(-)
 create mode 100644 meta-selftest/recipes-test/gitrepotest/gitrepotest.bb
 create mode 100644 
meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
 create mode 100644 meta/recipes-core/expat/expat/CVE-2022-25235.patch
 create mode 100644 meta/recipes-core/expat/expat/CVE-2022-25236-1.patch
 create mode 100644 meta/recipes-core/expat/expat/CVE-2022-25236-2.patch

-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163418): 
https://lists.openembedded.org/g/openembedded-core/message/163418
Mute This Topic: https://lists.openembedded.org/mt/89846010/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 26/26] buildtools-docs-tarball: Add test for building documentation using sphinx

2022-03-17 Thread Quentin Schulz

Hi Richard,

On 3/17/22 12:57, Richard Purdie wrote:

Signed-off-by: Richard Purdie 
---
  meta/lib/oeqa/sdk/buildtools-docs-cases/README  |  2 ++
  .../lib/oeqa/sdk/buildtools-docs-cases/build.py | 17 +
  .../meta/buildtools-docs-tarball.bb |  4 +++-
  meta/recipes-core/meta/buildtools-tarball.bb|  5 -
  4 files changed, 26 insertions(+), 2 deletions(-)
  create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/README
  create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/build.py

diff --git a/meta/lib/oeqa/sdk/buildtools-docs-cases/README 
b/meta/lib/oeqa/sdk/buildtools-docs-cases/README
new file mode 100644
index 000..f8edbc7dad7
--- /dev/null
+++ b/meta/lib/oeqa/sdk/buildtools-docs-cases/README
@@ -0,0 +1,2 @@
+These test cases are used by build-docs-tarball, and are not used by the 
testsdk
+class.
diff --git a/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py 
b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py
new file mode 100644
index 000..5b0eca046fa
--- /dev/null
+++ b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py
@@ -0,0 +1,17 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+import tempfile
+from oeqa.sdk.case import OESDKTestCase
+from oeqa.utils.subprocesstweak import errors_have_output
+errors_have_output()
+
+class BuildTests(OESDKTestCase):
+"""
+Verify that our docs can build using our docs tools tarball.
+"""
+def test_docs_build(self):
+with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', 
dir=self.tc.sdk_dir) as testdir:
+self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % 
testdir)


I would suggest to pin a revision that is known to be buildable 
otherwise the test could fail just because a broken commit made it to 
the main branch.



+self._run('cd %s/documentation && make html' % testdir)


Also might want to turn off the -W flag which turns warnings into 
errors? (i.e. SPHINXOPTS="-j auto" only) I'd assume we let the 
autobuilder fail the doc builds if there are warnings and that we're not 
interested in that here?


Once this series is merged we should update the docs to explicit this is 
how we build the docs (which provides a known working environment).


Cheers,
Quentin


diff --git a/meta/recipes-core/meta/buildtools-docs-tarball.bb 
b/meta/recipes-core/meta/buildtools-docs-tarball.bb
index 72a256cf04a..72648e3b1cd 100644
--- a/meta/recipes-core/meta/buildtools-docs-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-docs-tarball.bb
@@ -13,4 +13,6 @@ TOOLCHAIN_HOST_TASK += "\
  
  TOOLCHAIN_OUTPUTNAME = "${SDK_ARCH}-buildtools-docs-nativesdk-standalone-${DISTRO_VERSION}"
  
-SDK_TITLE = "Docs Build tools tarball"

\ No newline at end of file
+SDK_TITLE = "Docs Build tools tarball"
+
+TESTSDK_CASES = "buildtools-docs-cases"
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb 
b/meta/recipes-core/meta/buildtools-tarball.bb
index 60f6aac837a..fac91cfc3cf 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -99,11 +99,14 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = ""
  # The recipe doesn't need any default deps
  INHIBIT_DEFAULT_DEPS = "1"
  
+# Directory in testsdk that contains testcases

+TESTSDK_CASES = "buildtools-cases"
+
  python do_testsdk() {
  import oeqa.sdk.testsdk
  testsdk = oeqa.sdk.testsdk.TestSDK()
  
-cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), "buildtools-cases")

+cases_path = 
os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), 
d.getVar("TESTSDK_CASES"))
  testsdk.context_executor_class.default_cases = cases_path
  
  testsdk.run(d)







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163417): 
https://lists.openembedded.org/g/openembedded-core/message/163417
Mute This Topic: https://lists.openembedded.org/mt/89843344/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles

2022-03-17 Thread Alexander Kanavin
On Thu, 17 Mar 2022 at 14:44, Ricardo Salveti  wrote:

> When using /var/run with systemd you will see the following message,
> which I can add to the commit message:
>
> systemd-tmpfiles[340]: /etc/tmpfiles.d/pam.conf:1: Line references
> path below legacy directory /var/run/, updating /var/run/sepermit →
> /run/sepermit; please update the tmpfiles.d/ drop-in file accordingly.

Yes please.

Thanks,
Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163416): 
https://lists.openembedded.org/g/openembedded-core/message/163416
Mute This Topic: https://lists.openembedded.org/mt/89838112/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles

2022-03-17 Thread Ricardo Salveti
On Thu, Mar 17, 2022 at 3:53 AM Alexander Kanavin
 wrote:
>
> A link to back up the claim would be helpful. Also, what makes this file and 
> setting systemd specific?

This file is installed under tmpfiles.d, which is only used when
systemd is enabled, which is why it is specific to it.

When using /var/run with systemd you will see the following message,
which I can add to the commit message:

systemd-tmpfiles[340]: /etc/tmpfiles.d/pam.conf:1: Line references
path below legacy directory /var/run/, updating /var/run/sepermit →
/run/sepermit; please update the tmpfiles.d/ drop-in file accordingly.

Thanks,
-- 
Ricardo Salveti

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163415): 
https://lists.openembedded.org/g/openembedded-core/message/163415
Mute This Topic: https://lists.openembedded.org/mt/89838112/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH v2] mesa: Allow building Mesa's OpenCL through PACKAGECONFIG

2022-03-17 Thread Zoltan Boszormenyi via lists.openembedded.org
From: Zoltán Böszörményi 

v2: Fix libopencl-mesa-dev packaging

Signed-off-by: Zoltán Böszörményi 
---
 meta/recipes-graphics/mesa/mesa.inc | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 2a89b8e8f0..d1d4276aeb 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -74,7 +74,6 @@ MESON_BUILDTYPE = "${@check_buildtype(d)}"
 
 EXTRA_OEMESON = " \
 -Dshared-glapi=enabled \
--Dgallium-opencl=disabled \
 -Dglx-read-only-text=true \
 -Dplatforms='${@",".join("${PLATFORMS}".split())}' \
 "
@@ -122,6 +121,9 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, 
-Dgles1=disabled -Dgles2
 # "egl" requires "opengl"
 PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"
 
+# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
+PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd 
-Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc 
spirv-tools"
+
 PACKAGECONFIG[broadcom] = ""
 PACKAGECONFIG[etnaviv] = ""
 PACKAGECONFIG[freedreno] = ""
@@ -190,6 +192,8 @@ RDEPENDS:${PN}-dev = ""
 # development package of libgles3.
 RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev"
 
+RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 
'libclc spirv-tools', '', d)}"
+
 PACKAGES =+ "libegl-mesa libegl-mesa-dev \
  libosmesa libosmesa-dev \
  libgl-mesa libgl-mesa-dev \
@@ -198,6 +202,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
  libgles1-mesa libgles1-mesa-dev \
  libgles2-mesa libgles2-mesa-dev \
  libgles3-mesa libgles3-mesa-dev \
+ libopencl-mesa libopencl-mesa-dev \
  libxatracker libxatracker-dev \
  mesa-megadriver mesa-vulkan-drivers \
  mesa-vdpau-drivers \
@@ -230,7 +235,8 @@ python __anonymous() {
   ("opengl", "libgl", "libgl1"),
   ("gles", "libgles1", "libglesv1-cm1"),
   ("gles", "libgles2", "libglesv2-2"),
-  ("gles", "libgles3",)):
+  ("gles", "libgles3",),
+  ("opencl", "libopencl",)):
 if not p[0] in pkgconfig:
 continue
 mlprefix = d.getVar("MLPREFIX")
@@ -290,6 +296,7 @@ FILES:libgbm = "${libdir}/libgbm.so.*"
 FILES:libgles1-mesa = "${libdir}/libGLESv1*.so.*"
 FILES:libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES:libgl-mesa = "${libdir}/libGL.so.*"
+FILES:libopencl-mesa = "${libdir}/libMesaOpenCL.so.* 
${sysconfdir}/OpenCL/vendors/mesa.icd"
 FILES:libglapi = "${libdir}/libglapi.so.*"
 FILES:libosmesa = "${libdir}/libOSMesa.so.*"
 FILES:libxatracker = "${libdir}/libxatracker.so.*"
@@ -302,6 +309,7 @@ FILES:libglapi-dev = "${libdir}/libglapi.*"
 FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES 
${libdir}/pkgconfig/glesv1*.pc"
 FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 
${libdir}/pkgconfig/glesv2.pc"
 FILES:libgles3-mesa-dev = "${includedir}/GLES3"
+FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so"
 FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h 
${libdir}/pkgconfig/osmesa.pc"
 FILES:libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
   ${includedir}/xa_tracker.h 
${includedir}/xa_composite.h ${includedir}/xa_context.h \
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163414): 
https://lists.openembedded.org/g/openembedded-core/message/163414
Mute This Topic: https://lists.openembedded.org/mt/89843828/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] mesa: Fix libopencl-mesa-dev packaging

2022-03-17 Thread Zoltan Boszormenyi via lists.openembedded.org

2022. 03. 17. 11:35 keltezéssel, Jose Quaresma írta:

Hi Zoltán,

This patch seems to be a fixup for the previous

https://lists.openembedded.org/g/openembedded-core/message/163331 



I think a v2 is more appropriate


I will send a v2 then. Thanks.



Jose

Zoltan Boszormenyi via lists.openembedded.org  
mailto:pr...@lists.openembedded.org>> escreveu no 
dia quinta, 17/03/2022 à(s) 10:29:


From: Zoltán Böszörményi mailto:zbos...@gmail.com>>

Signed-off-by: Zoltán Böszörményi mailto:zbos...@gmail.com>>
---
  meta/recipes-graphics/mesa/mesa.inc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index c6e85520f8..e8c07a4563 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -307,6 +307,7 @@ FILES:libglapi-dev = "${libdir}/libglapi.*"
  FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES
${libdir}/pkgconfig/glesv1*.pc"
  FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2
${libdir}/pkgconfig/glesv2.pc"
  FILES:libgles3-mesa-dev = "${includedir}/GLES3"
+FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so"
  FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h
${libdir}/pkgconfig/osmesa.pc"
  FILES:libxatracker-dev = "${libdir}/libxatracker.so 
${libdir}/libxatracker.la
 \
                            ${includedir}/xa_tracker.h 
${includedir}/xa_composite.h
${includedir}/xa_context.h \
-- 
2.35.1








--
Best regards,

José Quaresma



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163413): 
https://lists.openembedded.org/g/openembedded-core/message/163413
Mute This Topic: https://lists.openembedded.org/mt/89842284/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 26/26] buildtools-docs-tarball: Add test for building documentation using sphinx

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/lib/oeqa/sdk/buildtools-docs-cases/README  |  2 ++
 .../lib/oeqa/sdk/buildtools-docs-cases/build.py | 17 +
 .../meta/buildtools-docs-tarball.bb |  4 +++-
 meta/recipes-core/meta/buildtools-tarball.bb|  5 -
 4 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/README
 create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/build.py

diff --git a/meta/lib/oeqa/sdk/buildtools-docs-cases/README 
b/meta/lib/oeqa/sdk/buildtools-docs-cases/README
new file mode 100644
index 000..f8edbc7dad7
--- /dev/null
+++ b/meta/lib/oeqa/sdk/buildtools-docs-cases/README
@@ -0,0 +1,2 @@
+These test cases are used by build-docs-tarball, and are not used by the 
testsdk
+class.
diff --git a/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py 
b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py
new file mode 100644
index 000..5b0eca046fa
--- /dev/null
+++ b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py
@@ -0,0 +1,17 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+import tempfile
+from oeqa.sdk.case import OESDKTestCase
+from oeqa.utils.subprocesstweak import errors_have_output
+errors_have_output()
+
+class BuildTests(OESDKTestCase):
+"""
+Verify that our docs can build using our docs tools tarball.
+"""
+def test_docs_build(self):
+with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', 
dir=self.tc.sdk_dir) as testdir:
+self._run('git clone git://git.yoctoproject.org/yocto-docs %s' % 
testdir)
+self._run('cd %s/documentation && make html' % testdir)
diff --git a/meta/recipes-core/meta/buildtools-docs-tarball.bb 
b/meta/recipes-core/meta/buildtools-docs-tarball.bb
index 72a256cf04a..72648e3b1cd 100644
--- a/meta/recipes-core/meta/buildtools-docs-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-docs-tarball.bb
@@ -13,4 +13,6 @@ TOOLCHAIN_HOST_TASK += "\
 
 TOOLCHAIN_OUTPUTNAME = 
"${SDK_ARCH}-buildtools-docs-nativesdk-standalone-${DISTRO_VERSION}"
 
-SDK_TITLE = "Docs Build tools tarball"
\ No newline at end of file
+SDK_TITLE = "Docs Build tools tarball"
+
+TESTSDK_CASES = "buildtools-docs-cases"
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb 
b/meta/recipes-core/meta/buildtools-tarball.bb
index 60f6aac837a..fac91cfc3cf 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -99,11 +99,14 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = ""
 # The recipe doesn't need any default deps
 INHIBIT_DEFAULT_DEPS = "1"
 
+# Directory in testsdk that contains testcases
+TESTSDK_CASES = "buildtools-cases"
+
 python do_testsdk() {
 import oeqa.sdk.testsdk
 testsdk = oeqa.sdk.testsdk.TestSDK()
 
-cases_path = 
os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), 
"buildtools-cases")
+cases_path = 
os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), 
d.getVar("TESTSDK_CASES"))
 testsdk.context_executor_class.default_cases = cases_path
 
 testsdk.run(d)
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163412): 
https://lists.openembedded.org/g/openembedded-core/message/163412
Mute This Topic: https://lists.openembedded.org/mt/89843344/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 25/26] Add buildtools-docs-tarball recipe

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/conf/distro/include/maintainers.inc |  1 +
 .../recipes-core/meta/buildtools-docs-tarball.bb | 16 
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-core/meta/buildtools-docs-tarball.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 4a5a74aa49f..2c5e7308275 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -83,6 +83,7 @@ RECIPE_MAINTAINER:pn-build-sysroots = "Richard Purdie 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163411): 
https://lists.openembedded.org/g/openembedded-core/message/163411
Mute This Topic: https://lists.openembedded.org/mt/89843343/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 24/26] maintainers.inc: Add new python recipes

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/conf/distro/include/maintainers.inc | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 9ef7e206eb2..4a5a74aa49f 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -585,12 +585,16 @@ RECIPE_MAINTAINER:pn-pulseaudio = "Unassigned 
"
 RECIPE_MAINTAINER:pn-pulseaudio-client-conf-sato = "Unassigned 
"
 RECIPE_MAINTAINER:pn-puzzles = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-python3 = "Oleksandr Kravchuk 
"
+RECIPE_MAINTAINER:pn-python3-alabaster = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-async = "Oleksandr Kravchuk 
"
 RECIPE_MAINTAINER:pn-python3-asn1crypto = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-atomicwrites = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-attrs = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-babel = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-bcrypt = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-certifi = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-cffi = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-chardet = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-cryptography = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-cryptography-vectors = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-cython = "Oleksandr Kravchuk 
"
@@ -608,6 +612,7 @@ RECIPE_MAINTAINER:pn-python3-git = "Oleksandr Kravchuk 
"
 RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie 
"
 RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling 
"
+RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk 
"
 RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pathlib2 = "Tim Orling "
@@ -633,16 +639,21 @@ RECIPE_MAINTAINER:pn-python3-poetry-core = "Tim Orling 

 RECIPE_MAINTAINER:pn-python3-pretend = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-psutil = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-py = "Tim Orling "
-RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-pyasn1 = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pycairo = "Zang Ruochen "
 RECIPE_MAINTAINER:pn-python3-pycparser = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pyelftools = "Joshua Watt "
 RECIPE_MAINTAINER:pn-python3-pygments = "Oleksandr Kravchuk 
"
 RECIPE_MAINTAINER:pn-python3-pygobject = "Zang Ruochen 
"
+RECIPE_MAINTAINER:pn-python3-pyopenssl = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pyparsing = "Oleksandr Kravchuk 
"
+RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pytest = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-pytest-subtests = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-pytz = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-requests = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-rfc3339-validator = "Bruce Ashfield 
"
 RECIPE_MAINTAINER:pn-python3-rfc3986-validator = "Bruce Ashfield 
"
 RECIPE_MAINTAINER:pn-python3-rfc3987 = "Bruce Ashfield 
"
@@ -655,7 +666,16 @@ RECIPE_MAINTAINER:pn-python3-setuptools-scm = "Tim Orling 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163410): 
https://lists.openembedded.org/g/openembedded-core/message/163410
Mute This Topic: https://lists.openembedded.org/mt/89843342/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 23/26] python3: Add missing HOMEPAGE entries

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/recipes-devtools/python/python3-chardet_4.0.0.bb   | 1 +
 meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-chardet_4.0.0.bb 
b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
index 75fe4df8d77..f53bdc974ad 100644
--- a/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
+++ b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
@@ -1,4 +1,5 @@
 SUMMARY = "Universal encoding detector for Python 2 and 3"
+HOMEPAGE = "https://pypi.org/project/chardet/;
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
diff --git a/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb 
b/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb
index fed2d91140f..0748886609d 100644
--- a/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb
+++ b/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb
@@ -1,4 +1,5 @@
 SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+HOMEPAGE = "https://pypi.org/project/pytest-runner/;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
 
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163409): 
https://lists.openembedded.org/g/openembedded-core/message/163409
Mute This Topic: https://lists.openembedded.org/mt/89843340/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 21/26] python3-sphinx-rtd-theme: Add new recipe

2022-03-17 Thread Richard Purdie
Needed for building sphinx docs

Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinx-rtd-theme_0.5.0.bb  | 21 +++
 1 file changed, 21 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb

diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb 
b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb
new file mode 100644
index 000..4a43b595aa5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Sphinx Theme reader"
+HOMEPAGE = "https://github.com/readthedocs/sphinx_rtd_theme;
+SECTION = "devel/python"
+LICENSE = "MIT & OFL-1.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a1db7d4ef426c2935227264e1d4ae8f9 \
+
file://OFL-License.txt;md5=4534c22e0147eadb6828bd9fe86d4868 \
+
file://Apache-License-2.0.txt;md5=8a75796f0ef19c3f601d69857f5a9a5b"
+
+DEPENDS = "python3-sphinx"
+
+PYPI_PACKAGE = "sphinx_rtd_theme"
+
+SRC_URI[sha256sum] = 
"22c795ba2832a169ca301cd0a083f7a434e09c538c70beb42782c073651b707d"
+
+inherit setuptools3 pypi
+
+#Fake out the setup scipt
+export CI = "True"
+export TOX_ENV_NAME = "True"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163407): 
https://lists.openembedded.org/g/openembedded-core/message/163407
Mute This Topic: https://lists.openembedded.org/mt/89843338/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 22/26] python3-sphinx: Add a new recipe

2022-03-17 Thread Richard Purdie
Needed to build the sphinx based yocto-docs

Based on a recipe from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinx_4.4.0.bb| 22 +++
 1 file changed, 22 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-sphinx_4.4.0.bb

diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb 
b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
new file mode 100644
index 000..225e7737f60
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Python documentation generator"
+HOMEPAGE = "http://sphinx-doc.org/;
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause & MIT & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=de4349dda741c550eb8b20f6b92f38d7"
+
+PYPI_PACKAGE = "Sphinx"
+
+SRC_URI[sha256sum] = 
"6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc"
+
+inherit setuptools3 pypi
+
+RDEPENDS:${PN} = "\
+python3-packaging python3-docutils python3-requests \
+python3-imagesize python3-alabaster python3-jinja2 \
+python3-babel python3-pygments python3-snowballstemmer \
+python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp \
+python3-sphinxcontrib-jsmath python3-sphinxcontrib-htmlhelp \
+python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-qthelp \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163408): 
https://lists.openembedded.org/g/openembedded-core/message/163408
Mute This Topic: https://lists.openembedded.org/mt/89843339/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 20/26] python3-sphinxcontrib-applehelp: add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinxcontrib-applehelp_1.0.2.bb  | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.2.bb

diff --git 
a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.2.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.2.bb
new file mode 100644
index 000..cde0da82653
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.2.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "sphinxcontrib-applehelp is a sphinx extension which outputs 
Apple help books"
+HOMEPAGE = "https://www.sphinx-doc.org;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c7715857042d4c8c0105999ca0c072c5"
+
+SRC_URI[sha256sum] = 
"a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"
+
+PYPI_PACKAGE = "sphinxcontrib-applehelp"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163406): 
https://lists.openembedded.org/g/openembedded-core/message/163406
Mute This Topic: https://lists.openembedded.org/mt/89843336/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 19/26] python3-sphinxcontrib-jsmath: Add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinxcontrib-jsmath_1.0.1.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb

diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
new file mode 100644
index 000..863458a1dc5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "A sphinx extension which renders display math in HTML via 
JavaScript"
+HOMEPAGE = "https://www.sphinx-doc.org;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f0064c10bd544bcffccbc67a41c108d3"
+
+SRC_URI[sha256sum] = 
"a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"
+
+PYPI_PACKAGE = "sphinxcontrib-jsmath"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163405): 
https://lists.openembedded.org/g/openembedded-core/message/163405
Mute This Topic: https://lists.openembedded.org/mt/89843334/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 18/26] python3-sphinxcontrib-serializinghtml: Add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python3-sphinxcontrib-serializinghtml_1.1.5.bb   | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.5.bb

diff --git 
a/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.5.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.5.bb
new file mode 100644
index 000..71dde37593f
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.5.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = 'sphinxcontrib-serializinghtml is a sphinx extension which 
outputs "serialized" HTML files (json and pickle).'
+HOMEPAGE = "https://www.sphinx-doc.org;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32a84ac5cd3bbd10c4d479233ad588b6"
+
+SRC_URI[sha256sum] = 
"aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"
+
+PYPI_PACKAGE = "sphinxcontrib-serializinghtml"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163404): 
https://lists.openembedded.org/g/openembedded-core/message/163404
Mute This Topic: https://lists.openembedded.org/mt/8984/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 16/26] python3-sphinxcontrib-devhelp: Add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinxcontrib-devhelp_1.0.2.bb| 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.2.bb

diff --git 
a/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.2.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.2.bb
new file mode 100644
index 000..7b7bda78071
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.2.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "sphinxcontrib-devhelp is a sphinx extension which outputs 
Devhelp document."
+HOMEPAGE = "https://www.sphinx-doc.org;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fd30d9972a142c857a80c9f312e92b93"
+
+SRC_URI[sha256sum] = 
"ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4"
+
+PYPI_PACKAGE = "sphinxcontrib-devhelp"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163402): 
https://lists.openembedded.org/g/openembedded-core/message/163402
Mute This Topic: https://lists.openembedded.org/mt/89843328/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 17/26] python3-sphinxcontrib-htmlhelp: Add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinxcontrib-htmlhelp_2.0.0.bb   | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.0.bb

diff --git 
a/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.0.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.0.bb
new file mode 100644
index 000..cd8b987e0c8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.0.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML 
help files"
+HOMEPAGE = "https://www.sphinx-doc.org;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=24dce5ef6a13563241c24bc366f48886"
+
+SRC_URI[sha256sum] = 
"f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"
+
+PYPI_PACKAGE = "sphinxcontrib-htmlhelp"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163403): 
https://lists.openembedded.org/g/openembedded-core/message/163403
Mute This Topic: https://lists.openembedded.org/mt/89843331/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 15/26] python3-sphinxcontrib-qthelp: Add new recipe

2022-03-17 Thread Richard Purdie
Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-sphinxcontrib-qthelp_1.0.3.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.3.bb

diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.3.bb 
b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.3.bb
new file mode 100644
index 000..8ebfbba7410
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.3.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "Is a sphinx extension which outputs QtHelp document."
+HOMEPAGE = "http://babel.edgewall.org/;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f7a83b72ea86d04827575ec0b63430eb"
+
+SRC_URI[sha256sum] = 
"4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72"
+
+PYPI_PACKAGE = "sphinxcontrib-qthelp"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163401): 
https://lists.openembedded.org/g/openembedded-core/message/163401
Mute This Topic: https://lists.openembedded.org/mt/89843325/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 14/26] python3-babel: Add recipe from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 .../python/python3-babel_2.9.1.bb | 26 +++
 1 file changed, 26 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-babel_2.9.1.bb

diff --git a/meta/recipes-devtools/python/python3-babel_2.9.1.bb 
b/meta/recipes-devtools/python/python3-babel_2.9.1.bb
new file mode 100644
index 000..11c8d60105a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-babel_2.9.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "A collection of tools for internationalizing Python 
applications"
+HOMEPAGE = "http://babel.edgewall.org/;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=05fb707293a85504aa67afc8ea34d747"
+
+SRC_URI[sha256sum] = 
"bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0"
+
+PYPI_PACKAGE = "Babel"
+
+inherit pypi setuptools3
+
+CLEANBROKEN = "1"
+
+RDEPENDS:${PN} += " \
+${PYTHON_PN}-codecs \
+${PYTHON_PN}-difflib \
+${PYTHON_PN}-distutils \
+${PYTHON_PN}-netserver \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-pickle \
+${PYTHON_PN}-pytz \
+${PYTHON_PN}-shell \
+${PYTHON_PN}-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163400): 
https://lists.openembedded.org/g/openembedded-core/message/163400
Mute This Topic: https://lists.openembedded.org/mt/89843324/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 12/26] python3-requests: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-requests_2.27.1.bb | 25 +++
 1 file changed, 25 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-requests_2.27.1.bb

diff --git a/meta/recipes-devtools/python/python3-requests_2.27.1.bb 
b/meta/recipes-devtools/python/python3-requests_2.27.1.bb
new file mode 100644
index 000..af52b7caf5a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-requests_2.27.1.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Python HTTP for Humans."
+HOMEPAGE = "http://python-requests.org;
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+SRC_URI[sha256sum] = 
"68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+${PYTHON_PN}-email \
+${PYTHON_PN}-json \
+${PYTHON_PN}-ndg-httpsclient \
+${PYTHON_PN}-netserver \
+${PYTHON_PN}-pyasn1 \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-pysocks \
+${PYTHON_PN}-urllib3 \
+${PYTHON_PN}-chardet \
+${PYTHON_PN}-idna \
+"
+
+CVE_PRODUCT = "requests"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163398): 
https://lists.openembedded.org/g/openembedded-core/message/163398
Mute This Topic: https://lists.openembedded.org/mt/89843322/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 13/26] python3-urllib3: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-urllib3_1.26.8.bb  | 22 +++
 1 file changed, 22 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-urllib3_1.26.8.bb

diff --git a/meta/recipes-devtools/python/python3-urllib3_1.26.8.bb 
b/meta/recipes-devtools/python/python3-urllib3_1.26.8.bb
new file mode 100644
index 000..c2a51b91485
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-urllib3_1.26.8.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Python HTTP library with thread-safe connection pooling, file post 
support, sanity friendly, and more"
+HOMEPAGE = "https://github.com/shazow/urllib3;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
+
+SRC_URI[sha256sum] = 
"0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+${PYTHON_PN}-certifi \
+${PYTHON_PN}-cryptography \
+${PYTHON_PN}-email \
+${PYTHON_PN}-idna \
+${PYTHON_PN}-netclient \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-threading \
+"
+
+CVE_PRODUCT = "urllib3"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163399): 
https://lists.openembedded.org/g/openembedded-core/message/163399
Mute This Topic: https://lists.openembedded.org/mt/89843323/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 10/26] python3-pysocks: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-pysocks_1.7.1.bb   | 20 +++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pysocks_1.7.1.bb

diff --git a/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb 
b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
new file mode 100644
index 000..91444017031
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A Python SOCKS client module"
+HOMEPAGE = "http://python-requests.org;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
+
+SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6"
+SRC_URI[sha256sum] = 
"3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"
+
+PYPI_PACKAGE = "PySocks"
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target += "\
+${PYTHON_PN}-email \
+${PYTHON_PN}-io \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-netclient \
+${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163396): 
https://lists.openembedded.org/g/openembedded-core/message/163396
Mute This Topic: https://lists.openembedded.org/mt/89843318/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 11/26] python3-pytest-runner: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-pytest-runner_5.3.1.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb

diff --git a/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb 
b/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb
new file mode 100644
index 000..fed2d91140f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest-runner_5.3.1.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
+
+SRC_URI[sha256sum] = 
"0fce5b8dc68760f353979d99fdd6b3ad46330b6b1837e2077a89ebcf204aac91"
+
+inherit pypi setuptools_build_meta
+
+DEPENDS += " \
+${PYTHON_PN}-setuptools-scm-native"
+
+RDEPENDS:${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools 
${PYTHON_PN}-debugger ${PYTHON_PN}-json \
+  ${PYTHON_PN}-io"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163397): 
https://lists.openembedded.org/g/openembedded-core/message/163397
Mute This Topic: https://lists.openembedded.org/mt/89843320/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 09/26] python3-pyopenssl: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-pyopenssl_22.0.0.bb| 23 +++
 1 file changed, 23 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb 
b/meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb
new file mode 100644
index 000..db0e809ef54
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Simple Python wrapper around the OpenSSL library"
+HOMEPAGE = "https://pyopenssl.org/;
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS += "openssl ${PYTHON_PN}-cryptography"
+
+SRC_URI[sha256sum] = 
"660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf"
+
+PYPI_PACKAGE = "pyOpenSSL"
+inherit pypi setuptools3
+
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS:${PN}:class-target = " \
+${PYTHON_PN}-cryptography \
+${PYTHON_PN}-six \
+${PYTHON_PN}-threading \
+"
+RDEPENDS:${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163395): 
https://lists.openembedded.org/g/openembedded-core/message/163395
Mute This Topic: https://lists.openembedded.org/mt/89843317/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 08/26] python3-ndg-httpsclient: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-ndg-httpsclient_0.5.1.bb   | 31 +++
 1 file changed, 31 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb

diff --git a/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb 
b/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
new file mode 100644
index 000..6f3c096cf0e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using 
PyOpenSSL"
+HOMEPAGE = "https://github.com/cedadev/ndg_httpsclient/;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
+
+SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9"
+SRC_URI[sha256sum] = 
"d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210"
+
+inherit pypi setuptools3 update-alternatives
+
+PYPI_PACKAGE = "ndg_httpsclient"
+
+DEPENDS += " \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-pyasn1 \
+"
+
+RDEPENDS:${PN} += " \
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-pyasn1 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
+
+ALTERNATIVE:${PN} = "ndg_httpclient"
+ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
+ALTERNATIVE_PRIORITY = "30"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163394): 
https://lists.openembedded.org/g/openembedded-core/message/163394
Mute This Topic: https://lists.openembedded.org/mt/89843316/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 05/26] python3-pyasn1: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../recipes-devtools/python/python-pyasn1.inc | 31 +++
 .../python/python3-pyasn1/run-ptest   |  3 ++
 .../python/python3-pyasn1_0.4.8.bb|  2 ++
 3 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-pyasn1.inc
 create mode 100644 meta/recipes-devtools/python/python3-pyasn1/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-pyasn1_0.4.8.bb

diff --git a/meta/recipes-devtools/python/python-pyasn1.inc 
b/meta/recipes-devtools/python/python-pyasn1.inc
new file mode 100644
index 000..6cbed0fcd57
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pyasn1.inc
@@ -0,0 +1,31 @@
+SUMMARY = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd"
+
+SRC_URI[md5sum] = "dffae4ff9f997a83324b3f33fe62be54"
+SRC_URI[sha256sum] = 
"aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba"
+
+RDEPENDS:${PN}:class-target += " \
+${PYTHON_PN}-codecs \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-math \
+${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit ptest
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta/recipes-devtools/python/python3-pyasn1/run-ptest 
b/meta/recipes-devtools/python/python3-pyasn1/run-ptest
new file mode 100644
index 000..b63c4de0d9a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyasn1/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 
's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if 
($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || 
$NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" 
|| $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print 
$0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.4.8.bb 
b/meta/recipes-devtools/python/python3-pyasn1_0.4.8.bb
new file mode 100644
index 000..a5e2a713626
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.4.8.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyasn1.inc
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163391): 
https://lists.openembedded.org/g/openembedded-core/message/163391
Mute This Topic: https://lists.openembedded.org/mt/89843312/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 03/26] python3-imagesize: Add new recipe

2022-03-17 Thread Richard Purdie
Needed for sphinx support.

Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-imagesize_1.2.0.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-imagesize_1.2.0.bb

diff --git a/meta/recipes-devtools/python/python3-imagesize_1.2.0.bb 
b/meta/recipes-devtools/python/python3-imagesize_1.2.0.bb
new file mode 100644
index 000..62dc226e9d3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-imagesize_1.2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Parses image files’ header and return image size."
+HOMEPAGE = "https://github.com/shibukawa/imagesize_py;
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=0c128f0f7e8a02e1b83884c0b5a41cda"
+
+SRC_URI[sha256sum] = 
"b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163389): 
https://lists.openembedded.org/g/openembedded-core/message/163389
Mute This Topic: https://lists.openembedded.org/mt/89843310/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 06/26] python3-certifi: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-certifi_2021.10.8.bb| 14 ++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-certifi_2021.10.8.bb

diff --git a/meta/recipes-devtools/python/python3-certifi_2021.10.8.bb 
b/meta/recipes-devtools/python/python3-certifi_2021.10.8.bb
new file mode 100644
index 000..4c376da8972
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-certifi_2021.10.8.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Python package for providing Mozilla's CA Bundle."
+DESCRIPTION = "This installable Python package contains a CA Bundle that you 
can reference in your \
+Python code. This is useful for verifying HTTP requests, for example.  This is 
the same CA Bundle \
+which ships with the Requests codebase, and is derived from Mozilla Firefox's 
canonical set."
+HOMEPAGE = " http://certifi.io/;
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=67da0714c3f9471067b729eca6c9fbe8"
+
+SRC_URI[sha256sum] = 
"78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163392): 
https://lists.openembedded.org/g/openembedded-core/message/163392
Mute This Topic: https://lists.openembedded.org/mt/89843314/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 01/26] python3-docutil: Extend to nativesdk

2022-03-17 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 meta/recipes-devtools/python/python3-docutils_0.18.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-docutils_0.18.1.bb 
b/meta/recipes-devtools/python/python3-docutils_0.18.1.bb
index 4f60b050484..e4ddd019787 100644
--- a/meta/recipes-devtools/python/python3-docutils_0.18.1.bb
+++ b/meta/recipes-devtools/python/python3-docutils_0.18.1.bb
@@ -8,4 +8,4 @@ SRC_URI[sha256sum] = 
"679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc6
 
 inherit pypi setuptools3
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163387): 
https://lists.openembedded.org/g/openembedded-core/message/163387
Mute This Topic: https://lists.openembedded.org/mt/89843308/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 04/26] python3-alabaster: Add new recipe

2022-03-17 Thread Richard Purdie
Needed for sphinx support

Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-alabaster_0.7.12.bb| 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-alabaster_0.7.12.bb

diff --git a/meta/recipes-devtools/python/python3-alabaster_0.7.12.bb 
b/meta/recipes-devtools/python/python3-alabaster_0.7.12.bb
new file mode 100644
index 000..3381ce9568e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-alabaster_0.7.12.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Alabaster is a visually (c)lean, responsive, configurable theme 
for the Sphinx documentation system. It is Python 2+3 compatible."
+HOMEPAGE = "https://alabaster.readthedocs.io/en/latest/;
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=da053683d66d543813a727e8a30c96ca"
+
+SRC_URI[sha256sum] = 
"a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163390): 
https://lists.openembedded.org/g/openembedded-core/message/163390
Mute This Topic: https://lists.openembedded.org/mt/89843311/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 02/26] python3-snowballstemmer: Add new recipe

2022-03-17 Thread Richard Purdie
Add a recipe needed for sphinx support

Based on a patch from Armin Kuster 

Signed-off-by: Richard Purdie 
---
 .../python/python3-snowballstemmer_2.2.0.bb | 13 +
 1 file changed, 13 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb

diff --git a/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb 
b/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb
new file mode 100644
index 000..ff120a3fc48
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Snowball compiler and stemming algorithms"
+HOMEPAGE = "https://github.com/snowballstem/snowball;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
+
+SRC_URI[sha256sum] = 
"09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"
+
+PYPI_PACKAGE = "snowballstemmer"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163388): 
https://lists.openembedded.org/g/openembedded-core/message/163388
Mute This Topic: https://lists.openembedded.org/mt/89843309/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 07/26] python3-chardet: Add from meta-oe/meta-python

2022-03-17 Thread Richard Purdie
---
 .../python/python3-chardet_4.0.0.bb   | 23 +++
 1 file changed, 23 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-chardet_4.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-chardet_4.0.0.bb 
b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
new file mode 100644
index 000..75fe4df8d77
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Universal encoding detector for Python 2 and 3"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI[sha256sum] = 
"0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
+
+# setup.py of chardet needs this.
+DEPENDS += "${PYTHON_PN}-pytest-runner-native"
+
+inherit pypi setuptools3
+
+PACKAGES =+ "${PN}-cli"
+FILES:${PN}-cli += " \
+${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
+"
+
+RDEPENDS:${PN}-cli = "${PN} "
+
+RDEPENDS:${PN}:class-target += " \
+${PYTHON_PN}-logging \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163393): 
https://lists.openembedded.org/g/openembedded-core/message/163393
Mute This Topic: https://lists.openembedded.org/mt/89843315/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 00/26] Add support for sphinx documentation generation

2022-03-17 Thread Richard Purdie
We use sphinx for the project documentation. We also build the documentation on 
the
autobuilder and we use a buildtools-docs-tarball to do it that I created a 
couple of
years ago using recipes upon which this series is based.

We'd like to be able to generate this tarball from the metadata so I've cleaned 
up
the patches and present them in this series. The first version back in 2020 was 
from Armin, I've since made changes including sorting out the LICENSE fields.

We have a dilemma of whether to do this in meta-python or core. I'm personally
torn but a number of the base dependencies such as urllib3 and requests should
probably be in core anyway which ended up being the deciding factor. This does
mean we can include docs build tools in build images out the box in future too.

Of note is that as well as adding the buildtools-docs-tarball, a test is also
added using the mechanism Ross used for adding tests to buildtools-tarball. This
makes for a pretty neat test that tests whether the resulting docs tarball can
actually work and generate our docs.

Richard Purdie (26):
  python3-docutil: Extend to nativesdk
  python3-snowballstemmer: Add new recipe
  python3-imagesize: Add new recipe
  python3-alabaster: Add new recipe
  python3-pyasn1: Add from meta-oe/meta-python
  python3-certifi: Add from meta-oe/meta-python
  python3-chardet: Add from meta-oe/meta-python
  python3-ndg-httpsclient: Add from meta-oe/meta-python
  python3-pyopenssl: Add from meta-oe/meta-python
  python3-pysocks: Add from meta-oe/meta-python
  python3-pytest-runner: Add from meta-oe/meta-python
  python3-requests: Add from meta-oe/meta-python
  python3-urllib3: Add from meta-oe/meta-python
  python3-babel: Add recipe from meta-oe/meta-python
  python3-sphinxcontrib-qthelp: Add new recipe
  python3-sphinxcontrib-devhelp: Add new recipe
  python3-sphinxcontrib-htmlhelp: Add new recipe
  python3-sphinxcontrib-serializinghtml: Add new recipe
  python3-sphinxcontrib-jsmath: Add new recipe
  python3-sphinxcontrib-applehelp: add new recipe
  python3-sphinx-rtd-theme: Add new recipe
  python3-sphinx: Add a new recipe
  python3: Add missing HOMEPAGE entries
  maintainers.inc: Add new python recipes
  Add buildtools-docs-tarball recipe
  buildtools-docs-tarball: Add test for building documentation using
sphinx

 meta/conf/distro/include/maintainers.inc  | 24 +-
 .../lib/oeqa/sdk/buildtools-docs-cases/README |  2 ++
 .../oeqa/sdk/buildtools-docs-cases/build.py   | 17 ++
 .../meta/buildtools-docs-tarball.bb   | 18 +++
 meta/recipes-core/meta/buildtools-tarball.bb  |  5 ++-
 .../recipes-devtools/python/python-pyasn1.inc | 31 +++
 .../python/python3-alabaster_0.7.12.bb| 11 +++
 .../python/python3-babel_2.9.1.bb | 26 
 .../python/python3-certifi_2021.10.8.bb   | 14 +
 .../python/python3-chardet_4.0.0.bb   | 24 ++
 .../python/python3-docutils_0.18.1.bb |  2 +-
 .../python/python3-imagesize_1.2.0.bb | 11 +++
 .../python/python3-ndg-httpsclient_0.5.1.bb   | 31 +++
 .../python/python3-pyasn1/run-ptest   |  3 ++
 .../python/python3-pyasn1_0.4.8.bb|  2 ++
 .../python/python3-pyopenssl_22.0.0.bb| 23 ++
 .../python/python3-pysocks_1.7.1.bb   | 20 
 .../python/python3-pytest-runner_5.3.1.bb | 16 ++
 .../python/python3-requests_2.27.1.bb | 25 +++
 .../python/python3-snowballstemmer_2.2.0.bb   | 13 
 .../python/python3-sphinx-rtd-theme_0.5.0.bb  | 21 +
 .../python/python3-sphinx_4.4.0.bb| 22 +
 .../python3-sphinxcontrib-applehelp_1.0.2.bb  | 12 +++
 .../python3-sphinxcontrib-devhelp_1.0.2.bb| 12 +++
 .../python3-sphinxcontrib-htmlhelp_2.0.0.bb   | 12 +++
 .../python3-sphinxcontrib-jsmath_1.0.1.bb | 12 +++
 .../python3-sphinxcontrib-qthelp_1.0.3.bb | 12 +++
 ...on3-sphinxcontrib-serializinghtml_1.1.5.bb | 12 +++
 .../python/python3-urllib3_1.26.8.bb  | 22 +
 29 files changed, 452 insertions(+), 3 deletions(-)
 create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/README
 create mode 100644 meta/lib/oeqa/sdk/buildtools-docs-cases/build.py
 create mode 100644 meta/recipes-core/meta/buildtools-docs-tarball.bb
 create mode 100644 meta/recipes-devtools/python/python-pyasn1.inc
 create mode 100644 meta/recipes-devtools/python/python3-alabaster_0.7.12.bb
 create mode 100644 meta/recipes-devtools/python/python3-babel_2.9.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-certifi_2021.10.8.bb
 create mode 100644 meta/recipes-devtools/python/python3-chardet_4.0.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-imagesize_1.2.0.bb
 create mode 100644 
meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-pyasn1/run-ptest
 create 

Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Michael Opdenacker via lists.openembedded.org

On 3/17/22 11:50, Alexandre Belloni via lists.openembedded.org wrote:
> On 17/03/2022 11:01:12+0100, Michael Opdenacker via lists.openembedded.org 
> wrote:
>> Hi Quentin,
>>
>> On 3/17/22 10:43, Quentin Schulz wrote:
>>> Maybe there's something you can do to configure git send-email to add
>>> your
>>>
>>> From: Michael Opdenacker >>
>>> at the top of the mail. See my patches on the ML to see what I mean
>>> exactly but that should make it nicer to maintainers because this From
>>> will be used and not the one from the mailbox's from field.
>>>
>>> FWIW, I did nothing in the configuration of git to have this, it's
>>> just that it probably detects that the sendemail.from config is
>>> different from the commit author mail address and adds it.
>>
>> Thanks for the tip. It could work, as my early tests show a difference
>> in the received e-mails.
>>
> I couldn't convince git to do it since it thinks the sender matches the
> author.


Yoohoo, it worked in my case, through this message I've just sent:
https://lore.kernel.org/yocto-docs/20220317113057.230854-1-michael.opdenac...@bootlin.com/T/#u

All I had to do was add this line to my ~/.gitconfig file (in the
[sendemail] section):
    from = michael.opdenac...@bootlin.com

Now, there is an explicity "From" field in the body of the e-mail
received through the mailing list.

Compare with
https://lore.kernel.org/yocto-docs/20220317092007.223297-1-michael.opdenac...@bootlin.com/T/#u,
in which there was just the "Signed-off-by" information.

Many thanks, Quentin!
Cheers
Michael.

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163385): 
https://lists.openembedded.org/g/openembedded-core/message/163385
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Alexandre Belloni via lists.openembedded.org
On 17/03/2022 11:01:12+0100, Michael Opdenacker via lists.openembedded.org 
wrote:
> Hi Quentin,
> 
> On 3/17/22 10:43, Quentin Schulz wrote:
> >
> > Maybe there's something you can do to configure git send-email to add
> > your
> >
> > From: Michael Opdenacker  >
> > at the top of the mail. See my patches on the ML to see what I mean
> > exactly but that should make it nicer to maintainers because this From
> > will be used and not the one from the mailbox's from field.
> >
> > FWIW, I did nothing in the configuration of git to have this, it's
> > just that it probably detects that the sendemail.from config is
> > different from the commit author mail address and adds it.
> 
> 
> Thanks for the tip. It could work, as my early tests show a difference
> in the received e-mails.
> 

I couldn't convince git to do it since it thinks the sender matches the
author.

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163384): 
https://lists.openembedded.org/g/openembedded-core/message/163384
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] mesa: Fix libopencl-mesa-dev packaging

2022-03-17 Thread Jose Quaresma
Hi Zoltán,

This patch seems to be a fixup for the previous

https://lists.openembedded.org/g/openembedded-core/message/163331

I think a v2 is more appropriate

Jose

Zoltan Boszormenyi via lists.openembedded.org  escreveu no dia quinta, 17/03/2022 à(s) 10:29:

> From: Zoltán Böszörményi 
>
> Signed-off-by: Zoltán Böszörményi 
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc
> b/meta/recipes-graphics/mesa/mesa.inc
> index c6e85520f8..e8c07a4563 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -307,6 +307,7 @@ FILES:libglapi-dev = "${libdir}/libglapi.*"
>  FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES
> ${libdir}/pkgconfig/glesv1*.pc"
>  FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2
> ${libdir}/pkgconfig/glesv2.pc"
>  FILES:libgles3-mesa-dev = "${includedir}/GLES3"
> +FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so"
>  FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h
> ${libdir}/pkgconfig/osmesa.pc"
>  FILES:libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/
> libxatracker.la \
>${includedir}/xa_tracker.h
> ${includedir}/xa_composite.h ${includedir}/xa_context.h \
> --
> 2.35.1
>
>
> 
>
>

-- 
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163383): 
https://lists.openembedded.org/g/openembedded-core/message/163383
Mute This Topic: https://lists.openembedded.org/mt/89842284/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] mesa: Fix libopencl-mesa-dev packaging

2022-03-17 Thread Zoltan Boszormenyi via lists.openembedded.org
From: Zoltán Böszörményi 

Signed-off-by: Zoltán Böszörményi 
---
 meta/recipes-graphics/mesa/mesa.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index c6e85520f8..e8c07a4563 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -307,6 +307,7 @@ FILES:libglapi-dev = "${libdir}/libglapi.*"
 FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES 
${libdir}/pkgconfig/glesv1*.pc"
 FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 
${libdir}/pkgconfig/glesv2.pc"
 FILES:libgles3-mesa-dev = "${includedir}/GLES3"
+FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so"
 FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h 
${libdir}/pkgconfig/osmesa.pc"
 FILES:libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
   ${includedir}/xa_tracker.h 
${includedir}/xa_composite.h ${includedir}/xa_context.h \
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163382): 
https://lists.openembedded.org/g/openembedded-core/message/163382
Mute This Topic: https://lists.openembedded.org/mt/89842284/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Michael Opdenacker via lists.openembedded.org
Hi Quentin,

On 3/17/22 10:43, Quentin Schulz wrote:
>
> Maybe there's something you can do to configure git send-email to add
> your
>
> From: Michael Opdenacker 
> at the top of the mail. See my patches on the ML to see what I mean
> exactly but that should make it nicer to maintainers because this From
> will be used and not the one from the mailbox's from field.
>
> FWIW, I did nothing in the configuration of git to have this, it's
> just that it probably detects that the sendemail.from config is
> different from the commit author mail address and adds it.


Thanks for the tip. It could work, as my early tests show a difference
in the received e-mails.

I'll be able to test soon.
Cheers
Michael.

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163381): 
https://lists.openembedded.org/g/openembedded-core/message/163381
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Arnout Vandecappelle (Essensium/Mind)


On 17/03/2022 10:35, Michael Opdenacker via lists.openembedded.org wrote:

On 3/16/22 21:21, Michael Opdenacker via lists.openembedded.org wrote:

Greetings,

My patches sent to the mailing lists are causing trouble for Richard.

The reason is the "From" field is modified by the mailing list server. It's
From: "Michael Opdenacker via lists.yoctoproject.org"

instead of
 From : Michael Opdenacker https://git.yoctoproject.org/poky/log/?qt=author=via

If I understood correctly, the problem happens because we had to enable
DMARC on our domain (bootlin.com), because of a storm of spam messages
claiming to come from our domain. Otherwise our legitimate e-mails were
getting blocked by Google Mail.

Richard recalls that someone once found a workaround for this issue. Did
any of you ever face this?


The problem seems to originate from the behavior of "git am"... As its
manual says (https://git-scm.com/docs/git-am):

"The commit author name is taken from the "From: " line of the message"

... and there seems to be no way to override this behavior.


 Patchwork solves this issue by re-rewriting the From header. Cfr. [1] - if you 
look at the headers, it has


 From: Christian Stewart via buildroot 

but if you open the mbox version (which is what you get with pwclient git-am), 
you get


 X-Patchwork-Original-From: Christian Stewart via buildroot
   
 From: Christian Stewart 

If you want to reproduce that outside of patchwork, you can look at its sources.


 Regards,
 Arnout


[1] 
https://patchwork.ozlabs.org/project/buildroot/patch/20220311041821.3078930-1-christ...@paral.in/


(I would have taken a patch from someone at bootlin, but the accents are 
annoying :-)



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163380): 
https://lists.openembedded.org/g/openembedded-core/message/163380
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Quentin Schulz

Hi Michael,

On 3/17/22 10:35, Michael Opdenacker via lists.openembedded.org wrote:


On 3/16/22 21:21, Michael Opdenacker via lists.openembedded.org wrote:

Greetings,

My patches sent to the mailing lists are causing trouble for Richard.

The reason is the "From" field is modified by the mailing list server. It's
From: "Michael Opdenacker via lists.yoctoproject.org"

instead of
 From : Michael Opdenacker https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_poky_log_-3Fqt-3Dauthor-26q-3Dvia=DwICaQ=_sEr5x9kUWhuk4_nFwjJtA=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t=AI6b75ihH3xBTnGsJf1p6Fk4ycTpByxqngp1ZhojT9rZ1xuLEsKCg2huL2l9DoRV=BWM5kPiChvtcTWQASNpxXSwDK1hcT3MEW1rhDPfcNtM=

If I understood correctly, the problem happens because we had to enable
DMARC on our domain (bootlin.com), because of a storm of spam messages
claiming to come from our domain. Otherwise our legitimate e-mails were
getting blocked by Google Mail.

Richard recalls that someone once found a workaround for this issue. Did
any of you ever face this?



The problem seems to originate from the behavior of "git am"... As its
manual says 
(https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dscm.com_docs_git-2Dam=DwICaQ=_sEr5x9kUWhuk4_nFwjJtA=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t=AI6b75ihH3xBTnGsJf1p6Fk4ycTpByxqngp1ZhojT9rZ1xuLEsKCg2huL2l9DoRV=hTmUlxaJ49ljTkpvEGIJbGeKpfayoSbuOdB_mOttSnU=
 ):

"The commit author name is taken from the "From: " line of the message"

... and there seems to be no way to override this behavior.



Maybe there's something you can do to configure git send-email to add your

From: Michael Opdenacker at the top of the mail. See my patches on the ML to see what I mean 
exactly but that should make it nicer to maintainers because this From 
will be used and not the one from the mailbox's from field.


FWIW, I did nothing in the configuration of git to have this, it's just 
that it probably detects that the sendemail.from config is different 
from the commit author mail address and adds it.


Cheers,
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163379): 
https://lists.openembedded.org/g/openembedded-core/message/163379
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Patches sent to mailing lists: "From" attribute modified

2022-03-17 Thread Michael Opdenacker via lists.openembedded.org

On 3/16/22 21:21, Michael Opdenacker via lists.openembedded.org wrote:
> Greetings,
>
> My patches sent to the mailing lists are causing trouble for Richard.
>
> The reason is the "From" field is modified by the mailing list server. It's
> From: "Michael Opdenacker via lists.yoctoproject.org"
> 
> instead of
> From : Michael Opdenacker  in my original patch.
>
> And then when you try to apply the patch with "git am", you get a
> modified committer name. This makes it harder for Richard to apply
> patches, otherwise you get commits such as:
> https://git.yoctoproject.org/poky/log/?qt=author=via
>
> If I understood correctly, the problem happens because we had to enable
> DMARC on our domain (bootlin.com), because of a storm of spam messages
> claiming to come from our domain. Otherwise our legitimate e-mails were
> getting blocked by Google Mail.
>
> Richard recalls that someone once found a workaround for this issue. Did
> any of you ever face this?


The problem seems to originate from the behavior of "git am"... As its
manual says (https://git-scm.com/docs/git-am):

"The commit author name is taken from the "From: " line of the message"

... and there seems to be no way to override this behavior.

Michael.

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163378): 
https://lists.openembedded.org/g/openembedded-core/message/163378
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] python3-snowballstemmer: upgrade to 2.2.0

2022-03-17 Thread Richard Purdie
On Wed, 2022-03-16 at 19:10 -0700, Tim Orling wrote:
> License is BSD-1-Clause, update LIC_FILES_CHKSUM
> 
> Signed-off-by: Tim Orling 
> ---
>  ...allstemmer_2.0.0.bb => python3-snowballstemmer_2.2.0.bb} | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta/recipes-devtools/python/{python3-snowballstemmer_2.0.0.bb => 
> python3-snowballstemmer_2.2.0.bb} (51%)

I think it is 3-Clause. I've gone and audited all the new recipes in master-next
to try and sort this out as there were a few things wrong with the licenses.
I've squashed in all the changes.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163377): 
https://lists.openembedded.org/g/openembedded-core/message/163377
Mute This Topic: https://lists.openembedded.org/mt/89837354/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [honister][PATCH 3/4] go: upgrade 1.16.13 -> 1.16.14

2022-03-17 Thread Lee Chee Yang
From: Sakib Sajal 

go 1.16.14 release includes fix for CVE-2022-23806.

(From OE-Core rev: 7b5723ae41b7fcdc73a24f04ec0cda4fba8f8622)

Signed-off-by: Sakib Sajal 
Signed-off-by: Anuj Mittal 
Signed-off-by: Richard Purdie 
Signed-off-by: Chee Yang Lee 
---
 meta/recipes-devtools/go/{go-1.16.13.inc => go-1.16.14.inc}   | 4 ++--
 ...o-binary-native_1.16.13.bb => go-binary-native_1.16.14.bb} | 4 ++--
 ...cross-canadian_1.16.13.bb => go-cross-canadian_1.16.14.bb} | 0
 .../go/{go-cross_1.16.13.bb => go-cross_1.16.14.bb}   | 0
 .../go/{go-crosssdk_1.16.13.bb => go-crosssdk_1.16.14.bb} | 0
 .../go/{go-native_1.16.13.bb => go-native_1.16.14.bb} | 0
 .../go/{go-runtime_1.16.13.bb => go-runtime_1.16.14.bb}   | 0
 meta/recipes-devtools/go/{go_1.16.13.bb => go_1.16.14.bb} | 0
 8 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/go/{go-1.16.13.inc => go-1.16.14.inc} (90%)
 rename meta/recipes-devtools/go/{go-binary-native_1.16.13.bb => 
go-binary-native_1.16.14.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.16.13.bb => 
go-cross-canadian_1.16.14.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.16.13.bb => go-cross_1.16.14.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.16.13.bb => 
go-crosssdk_1.16.14.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.16.13.bb => go-native_1.16.14.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.16.13.bb => 
go-runtime_1.16.14.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.16.13.bb => go_1.16.14.bb} (100%)

diff --git a/meta/recipes-devtools/go/go-1.16.13.inc 
b/meta/recipes-devtools/go/go-1.16.14.inc
similarity index 90%
rename from meta/recipes-devtools/go/go-1.16.13.inc
rename to meta/recipes-devtools/go/go-1.16.14.inc
index 46c6528dc4..c6445bccff 100644
--- a/meta/recipes-devtools/go/go-1.16.13.inc
+++ b/meta/recipes-devtools/go/go-1.16.14.inc
@@ -1,7 +1,7 @@
 require go-common.inc
 
 GO_BASEVERSION = "1.16"
-PV = "1.16.13"
+PV = "1.16.14"
 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -17,7 +17,7 @@ SRC_URI += "\
 file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
 file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \
 "
-SRC_URI[main.sha256sum] = 
"b0926654eaeb01ef43816638f42d7b1681f2d3f41b9559f07735522b7afad41a"
+SRC_URI[main.sha256sum] = 
"467898cd3a216de54dcb9014f541efe77e9b79a7154dbc1fd2dd778b0c63fb56"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
diff --git a/meta/recipes-devtools/go/go-binary-native_1.16.13.bb 
b/meta/recipes-devtools/go/go-binary-native_1.16.14.bb
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.16.13.bb
rename to meta/recipes-devtools/go/go-binary-native_1.16.14.bb
index 6e498a17be..419fc4ffcf 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.16.13.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.16.14.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 PROVIDES = "go-native"
 
 SRC_URI = 
"https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE};
-SRC_URI[go_linux_amd64.sha256sum] = 
"275fc03c90c13b0bbff13125a43f1f7a9f9c00a0d5a9f2d5b16dbc2fa2c6e12a"
-SRC_URI[go_linux_arm64.sha256sum] = 
"3dd8e14837105cbfedf7124c7f8c524ce492748c370036c7316ef99e18d116d7"
+SRC_URI[go_linux_amd64.sha256sum] = 
"f4f5f02eb6809ac5bf19b5ad517b23504fd5fc036f6487651968ad36aa7a20e0"
+SRC_URI[go_linux_arm64.sha256sum] = 
"5e59056e36704acb25809bcdb27191f27593cb7aba4d716b523008135a1e764a"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/;
 UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.16.13.bb 
b/meta/recipes-devtools/go/go-cross-canadian_1.16.14.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.16.13.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.16.14.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.16.13.bb 
b/meta/recipes-devtools/go/go-cross_1.16.14.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.16.13.bb
rename to meta/recipes-devtools/go/go-cross_1.16.14.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.16.13.bb 
b/meta/recipes-devtools/go/go-crosssdk_1.16.14.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.16.13.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.16.14.bb
diff --git a/meta/recipes-devtools/go/go-native_1.16.13.bb 
b/meta/recipes-devtools/go/go-native_1.16.14.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-native_1.16.13.bb
rename to meta/recipes-devtools/go/go-native_1.16.14.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.16.13.bb 
b/meta/recipes-devtools/go/go-runtime_1.16.14.bb
similarity index 100%
rename from 

[OE-core] [honister][PATCH 4/4] go: update to 1.16.15

2022-03-17 Thread Lee Chee Yang
From: Chee Yang Lee 

go1.16.15 (released 2022-03-03) includes a security fix to the regexp/syntax 
package, as well as bug fixes to the compiler, runtime, the go command, and to 
the net package.

Signed-off-by: Chee Yang Lee 
---
 meta/recipes-devtools/go/{go-1.16.14.inc => go-1.16.15.inc}   | 4 ++--
 ...o-binary-native_1.16.14.bb => go-binary-native_1.16.15.bb} | 4 ++--
 ...cross-canadian_1.16.14.bb => go-cross-canadian_1.16.15.bb} | 0
 .../go/{go-cross_1.16.14.bb => go-cross_1.16.15.bb}   | 0
 .../go/{go-crosssdk_1.16.14.bb => go-crosssdk_1.16.15.bb} | 0
 .../go/{go-native_1.16.14.bb => go-native_1.16.15.bb} | 0
 .../go/{go-runtime_1.16.14.bb => go-runtime_1.16.15.bb}   | 0
 meta/recipes-devtools/go/{go_1.16.14.bb => go_1.16.15.bb} | 0
 8 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/go/{go-1.16.14.inc => go-1.16.15.inc} (90%)
 rename meta/recipes-devtools/go/{go-binary-native_1.16.14.bb => 
go-binary-native_1.16.15.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.16.14.bb => 
go-cross-canadian_1.16.15.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.16.14.bb => go-cross_1.16.15.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.16.14.bb => 
go-crosssdk_1.16.15.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.16.14.bb => go-native_1.16.15.bb} 
(100%)
 rename meta/recipes-devtools/go/{go-runtime_1.16.14.bb => 
go-runtime_1.16.15.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.16.14.bb => go_1.16.15.bb} (100%)

diff --git a/meta/recipes-devtools/go/go-1.16.14.inc 
b/meta/recipes-devtools/go/go-1.16.15.inc
similarity index 90%
rename from meta/recipes-devtools/go/go-1.16.14.inc
rename to meta/recipes-devtools/go/go-1.16.15.inc
index c6445bccff..50772346df 100644
--- a/meta/recipes-devtools/go/go-1.16.14.inc
+++ b/meta/recipes-devtools/go/go-1.16.15.inc
@@ -1,7 +1,7 @@
 require go-common.inc
 
 GO_BASEVERSION = "1.16"
-PV = "1.16.14"
+PV = "1.16.15"
 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -17,7 +17,7 @@ SRC_URI += "\
 file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
 file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \
 "
-SRC_URI[main.sha256sum] = 
"467898cd3a216de54dcb9014f541efe77e9b79a7154dbc1fd2dd778b0c63fb56"
+SRC_URI[main.sha256sum] = 
"90a08c689279e35f3865ba510998c33a63255c36089b3ec206c912fc0568c3d3"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
diff --git a/meta/recipes-devtools/go/go-binary-native_1.16.14.bb 
b/meta/recipes-devtools/go/go-binary-native_1.16.15.bb
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.16.14.bb
rename to meta/recipes-devtools/go/go-binary-native_1.16.15.bb
index 419fc4ffcf..ba11ee5695 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.16.14.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.16.15.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 PROVIDES = "go-native"
 
 SRC_URI = 
"https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE};
-SRC_URI[go_linux_amd64.sha256sum] = 
"f4f5f02eb6809ac5bf19b5ad517b23504fd5fc036f6487651968ad36aa7a20e0"
-SRC_URI[go_linux_arm64.sha256sum] = 
"5e59056e36704acb25809bcdb27191f27593cb7aba4d716b523008135a1e764a"
+SRC_URI[go_linux_amd64.sha256sum] = 
"77c782a633186d78c384f972fb113a43c24be0234c42fef22c2d8c4c4c8e7475"
+SRC_URI[go_linux_arm64.sha256sum] = 
"c2f27f0ce5620a9bc2ff3446165d1974ef94e9b885ec12dbfa3c07e0e198b7ce"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/;
 UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.16.14.bb 
b/meta/recipes-devtools/go/go-cross-canadian_1.16.15.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.16.14.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.16.15.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.16.14.bb 
b/meta/recipes-devtools/go/go-cross_1.16.15.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.16.14.bb
rename to meta/recipes-devtools/go/go-cross_1.16.15.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.16.14.bb 
b/meta/recipes-devtools/go/go-crosssdk_1.16.15.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.16.14.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.16.15.bb
diff --git a/meta/recipes-devtools/go/go-native_1.16.14.bb 
b/meta/recipes-devtools/go/go-native_1.16.15.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-native_1.16.14.bb
rename to meta/recipes-devtools/go/go-native_1.16.15.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.16.14.bb 
b/meta/recipes-devtools/go/go-runtime_1.16.15.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-runtime_1.16.14.bb
rename to 

[OE-core] [honister][PATCH 2/4] webkitgtk: update to 2.32.4

2022-03-17 Thread Lee Chee Yang
From: Chee Yang Lee 

This is a bug fix release in the stable 2.32 series.

change in the WebKitGTK 2.32.4 release:
Do not append .asc extension to downloaded text/plain files.
Fix several crashes and rendering issues.

https://webkitgtk.org/2021/09/17/webkitgtk2.32.4-released.html

Signed-off-by: Chee Yang Lee 
---
 .../webkit/{webkitgtk_2.32.3.bb => webkitgtk_2.32.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-sato/webkit/{webkitgtk_2.32.3.bb => webkitgtk_2.32.4.bb} 
(98%)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.32.3.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.32.4.bb
similarity index 98%
rename from meta/recipes-sato/webkit/webkitgtk_2.32.3.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.32.4.bb
index bab1c17902..3e0ecb4611 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.32.3.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.32.4.bb
@@ -22,7 +22,7 @@ SRC_URI = 
"https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://reproducibility.patch \
"
 
-SRC_URI[sha256sum] = 
"c1f496f5ac654efe4cef62fbd4f2fbeeef265a07c5e7419e5d2900bfeea52cbc"
+SRC_URI[sha256sum] = 
"00ce2d3f798d7bc5e9039d9059f0c3c974d51de38c8b716f00e94452a177d3fd"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check 
upstream-version-is-even gtk-doc
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163375): 
https://lists.openembedded.org/g/openembedded-core/message/163375
Mute This Topic: https://lists.openembedded.org/mt/89840580/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [honister][PATCH 1/4] ghostscript: fix CVE-2021-3781

2022-03-17 Thread Lee Chee Yang
From: Chee Yang Lee 

Signed-off-by: Chee Yang Lee 
---
 .../ghostscript/CVE-2021-3781.patch   | 236 ++
 .../ghostscript/ghostscript_9.54.0.bb |   1 +
 2 files changed, 237 insertions(+)
 create mode 100644 
meta/recipes-extended/ghostscript/ghostscript/CVE-2021-3781.patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2021-3781.patch 
b/meta/recipes-extended/ghostscript/ghostscript/CVE-2021-3781.patch
new file mode 100644
index 00..27ef83bb85
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/CVE-2021-3781.patch
@@ -0,0 +1,236 @@
+From a9bd3dec9fde03327a4a2c69dad1036bf9632e20 Mon Sep 17 00:00:00 2001
+From: Chris Liddell 
+Date: Tue, 7 Sep 2021 20:36:12 +0100
+Subject: [PATCH] Bug 704342: Include device specifier strings in access
+ validation
+
+for the "%pipe%", %handle%" and %printer% io devices.
+
+We previously validated only the part after the "%pipe%" Postscript device
+specifier, but this proved insufficient.
+
+This rebuilds the original file name string, and validates it complete. The
+slight complication for "%pipe%" is it can be reached implicitly using
+"|" so we have to check both prefixes.
+
+Addresses CVE-2021-3781
+
+Upstream-Status: 
Backport[https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=a9bd3dec9fde03327a4a2c69dad1036bf9632e20]
+CVE: CVE-2021-3781
+Signed-off-by: Chee Yang Lee 
+---
+ base/gdevpipe.c | 22 +++-
+ base/gp_mshdl.c | 11 +++-
+ base/gp_msprn.c | 10 ++-
+ base/gp_os2pr.c | 13 +-
+ base/gslibctx.c | 69 ++---
+ 5 files changed, 65 insertions(+), 60 deletions(-)
+
+diff --git a/base/gdevpipe.c b/base/gdevpipe.c
+index 96d71f5d8..5bdc485be 100644
+--- a/base/gdevpipe.c
 b/base/gdevpipe.c
+@@ -72,8 +72,28 @@ pipe_fopen(gx_io_device * iodev, const char *fname, const 
char *access,
+ #else
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++/* The pipe device can be reached in two ways, explicltly with %pipe%
++   or implicitly with "|", so we have to check for both
++ */
++char f[gp_file_name_sizeof];
++const char *pipestr = "|";
++const size_t pipestrlen = strlen(pipestr);
++const size_t preflen = strlen(iodev->dname);
++const size_t nlen = strlen(fname);
++int code1;
++
++if (preflen + nlen >= gp_file_name_sizeof)
++return_error(gs_error_invalidaccess);
++
++memcpy(f, iodev->dname, preflen);
++memcpy(f + preflen, fname, nlen + 1);
++
++code1 = gp_validate_path(mem, f, access);
++
++memcpy(f, pipestr, pipestrlen);
++memcpy(f + pipestrlen, fname, nlen + 1);
+ 
+-if (gp_validate_path(mem, fname, access) != 0)
++if (code1 != 0 && gp_validate_path(mem, f, access) != 0 )
+ return gs_error_invalidfileaccess;
+ 
+ /*
+diff --git a/base/gp_mshdl.c b/base/gp_mshdl.c
+index 2b964ed74..8d87ceadc 100644
+--- a/base/gp_mshdl.c
 b/base/gp_mshdl.c
+@@ -95,8 +95,17 @@ mswin_handle_fopen(gx_io_device * iodev, const char *fname, 
const char *access,
+ long hfile;   /* Correct for Win32, may be wrong for Win64 */
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++char f[gp_file_name_sizeof];
++const size_t preflen = strlen(iodev->dname);
++const size_t nlen = strlen(fname);
+ 
+-if (gp_validate_path(mem, fname, access) != 0)
++if (preflen + nlen >= gp_file_name_sizeof)
++return_error(gs_error_invalidaccess);
++
++memcpy(f, iodev->dname, preflen);
++memcpy(f + preflen, fname, nlen + 1);
++
++if (gp_validate_path(mem, f, access) != 0)
+ return gs_error_invalidfileaccess;
+ 
+ /* First we try the open_handle method. */
+diff --git a/base/gp_msprn.c b/base/gp_msprn.c
+index ed4827968..746a974f7 100644
+--- a/base/gp_msprn.c
 b/base/gp_msprn.c
+@@ -168,8 +168,16 @@ mswin_printer_fopen(gx_io_device * iodev, const char 
*fname, const char *access,
+ uintptr_t *ptid = &((tid_t *)(iodev->state))->tid;
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++const size_t preflen = strlen(iodev->dname);
++const size_t nlen = strlen(fname);
+ 
+-if (gp_validate_path(mem, fname, access) != 0)
++if (preflen + nlen >= gp_file_name_sizeof)
++return_error(gs_error_invalidaccess);
++
++memcpy(pname, iodev->dname, preflen);
++memcpy(pname + preflen, fname, nlen + 1);
++
++if (gp_validate_path(mem, pname, access) != 0)
+ return gs_error_invalidfileaccess;
+ 
+ /* First we try the open_printer method. */
+diff --git a/base/gp_os2pr.c b/base/gp_os2pr.c
+index f852c71fc..ba54cde66 100644
+--- a/base/gp_os2pr.c
 b/base/gp_os2pr.c
+@@ -107,9 +107,20 @@ os2_printer_fopen(gx_io_device * iodev, const char 
*fname, const char *access,
+FILE ** pfile, char *rfname, uint rnamelen)
+ {
+ os2_printer_t *pr = (os2_printer_t *)iodev->state;
+-char 

Re: [OE-core] [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles

2022-03-17 Thread Alexander Kanavin
A link to back up the claim would be helpful. Also, what makes this file
and setting systemd specific?

Alex

On Thu 17. Mar 2022 at 4.05, Ricardo Salveti  wrote:

> /var/run in deprecated by systemd, use /run instead, as suggested by
> systemd.
>
> Signed-off-by: Ricardo Salveti 
> ---
>  meta/recipes-extended/pam/libpam/pam-volatiles.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/pam/libpam/pam-volatiles.conf
> b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
> index d8b8259a93..1263feb03d 100644
> --- a/meta/recipes-extended/pam/libpam/pam-volatiles.conf
> +++ b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
> @@ -1 +1 @@
> -d /var/run/sepermit 0755 root root - -
> +d /run/sepermit 0755 root root - -
> --
> 2.35.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163372): 
https://lists.openembedded.org/g/openembedded-core/message/163372
Mute This Topic: https://lists.openembedded.org/mt/89838112/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-