[oe] [meta-networking][PATCH v3] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb| 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..1332a9dfd4c9 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
-- 
2.43.0


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



Re: [oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
On Wed, 2023-12-20 at 14:47 +, Ross Burton wrote:
> On 20 Dec 2023, at 14:15, Thomas Perrot via lists.openembedded.org
>  wrote:
> > 
> > +RDEPENDS:${PN}-nmtui += "${PN}-daemon
> > ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”
> 
> My point still remains: it looks like nmtui links to libnewt directly
> and doesn’t dlopen, so why is this needed?

This is a mistake, this isn't necessary, thank you.

Kind regards,
Thomas Perrot

> 
> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/libnmt-newt/meson.build?ref_type=heads#L29
> 
> Ross
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[oe] [meta-oe][PATCH] cpprest: upgrade 2.10.18 -> 2.10.19

2023-12-20 Thread Alper Ak
Changelog:

* PR#1982 make Uri.is_host_loopback() only return true for localhost and 
127.0.0.1 exactly.
  The old behavior could potentially return "true" for URLs that were not, in 
fact, local,
  and this could cause security issues if is_host_loopback was used in certain 
ways.
* PR#1711 Fix likely typo in SafeInt3.hpp, that results in error with clang 15
* PR#1496 Support for oauth2 with "client_credentials" grant type.
* PR#1429 Add constructor from all integer types for json value.
* PR#1577 export http_exception for non Windows builds using visibility macros.

Signed-off-by: alperak 
---
 .../cpprest/{cpprest_2.10.18.bb => cpprest_2.10.19.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/cpprest/{cpprest_2.10.18.bb => 
cpprest_2.10.19.bb} (91%)

diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.18.bb 
b/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
similarity index 91%
rename from meta-oe/recipes-support/cpprest/cpprest_2.10.18.bb
rename to meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
index 36545503e..aec728640 100644
--- a/meta-oe/recipes-support/cpprest/cpprest_2.10.18.bb
+++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=maste
file://disable-float-tests.patch \
file://disable-outside-tests.patch "
 
-# tag 2.10.18
-SRCREV= "122d09549201da5383321d870bed45ecb9e168c5"
+# tag 2.10.19
+SRCREV= "411a109150b270f23c8c97fa4ec9a0a4a98cdecf"
 
 S = "${WORKDIR}/git"
 
-- 
2.25.1


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



[oe] [meta-oe][PATCH] avro-c: upgrade 1.11.2 -> 1.11.3

2023-12-20 Thread Alper Ak
Changelog:

* This is a minor release, specifically addressing known issues with the 1.11.2 
release, but also contains version bumps and doc fixes.

Signed-off-by: alperak 
---
 .../recipes-support/avro/{avro-c_1.11.2.bb => avro-c_1.11.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/avro/{avro-c_1.11.2.bb => avro-c_1.11.3.bb} 
(88%)

diff --git a/meta-oe/recipes-support/avro/avro-c_1.11.2.bb 
b/meta-oe/recipes-support/avro/avro-c_1.11.3.bb
similarity index 88%
rename from meta-oe/recipes-support/avro/avro-c_1.11.2.bb
rename to meta-oe/recipes-support/avro/avro-c_1.11.3.bb
index 9b6a52e2e..14a3cbe46 100644
--- a/meta-oe/recipes-support/avro/avro-c_1.11.2.bb
+++ b/meta-oe/recipes-support/avro/avro-c_1.11.3.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=6d502b41f76179fc84e536236f359cae"
 DEPENDS = "jansson zlib xz"
 
 BRANCH = "branch-1.11"
-SRCREV = "44d1c4f221ccc4571a4b4b9edb023ed1e89354b7"
+SRCREV = "35ff8b997738e4d983871902d47bfb67b3250734"
 SRC_URI = "git://github.com/apache/avro;branch=${BRANCH};protocol=https \
   "
 
-- 
2.25.1


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



[oe][meta-webserver][mickledore][PATCH 1/1] nginx: fix CVE-2023-44487

2023-12-20 Thread Meenali Gupta via lists.openembedded.org
From: Meenali Gupta 

The HTTP/2 protocol allows a denial of service (server resource consumption)
because request cancellation can reset many streams quickly,
as exploited in the wild in August through October 2023.

Signed-off-by: Meenali Gupta 
---
 .../nginx/files/CVE-2023-44487.patch  | 80 +++
 meta-webserver/recipes-httpd/nginx/nginx.inc  |  1 +
 2 files changed, 81 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/nginx/files/CVE-2023-44487.patch

diff --git a/meta-webserver/recipes-httpd/nginx/files/CVE-2023-44487.patch 
b/meta-webserver/recipes-httpd/nginx/files/CVE-2023-44487.patch
new file mode 100644
index 00..02db1503d2
--- /dev/null
+++ b/meta-webserver/recipes-httpd/nginx/files/CVE-2023-44487.patch
@@ -0,0 +1,80 @@
+From 95d09cafae12d4b314df32027b97e828ecf798de Mon Sep 17 00:00:00 2001
+From: Maxim Dounin 
+Date: Tue, 10 Oct 2023 15:13:39 +0300
+Subject: [PATCH] nginx: HTTP/2: per-iteration stream handling limit.
+
+To ensure that attempts to flood servers with many streams are detected
+early, a limit of no more than 2 * max_concurrent_streams new streams per one
+event loop iteration was introduced.  This limit is applied even if
+max_concurrent_streams is not yet reached - for example, if corresponding
+streams are handled synchronously or reset.
+
+Further, refused streams are now limited to maximum of max_concurrent_streams
+and 100, similarly to priority_limit initial value, providing some tolerance
+to clients trying to open several streams at the connection start, yet
+low tolerance to flooding attempts.
+
+Upstream-Status: Backport 
[https://github.com/nginx/nginx/commit/6ceef192e7af1c507826ac38a2d43f08bf265fb9]
+CVE: CVE-2023-44487
+
+Signed-off-by: Meenali Gupta 
+---
+ src/http/v2/ngx_http_v2.c | 15 +++
+ src/http/v2/ngx_http_v2.h |  2 ++
+ 2 files changed, 17 insertions(+)
+
+diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
+index ea3f27c..1116e56 100644
+--- a/src/http/v2/ngx_http_v2.c
 b/src/http/v2/ngx_http_v2.c
+@@ -361,6 +361,7 @@ ngx_http_v2_read_handler(ngx_event_t *rev)
+ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http2 read handler");
+
+ h2c->blocked = 1;
++h2c->new_streams = 0;
+
+ if (c->close) {
+ c->close = 0;
+@@ -1321,6 +1322,14 @@ ngx_http_v2_state_headers(ngx_http_v2_connection_t 
*h2c, u_char *pos,
+ goto rst_stream;
+ }
+
++if (h2c->new_streams++ >= 2 * h2scf->concurrent_streams) {
++ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
++  "client sent too many streams at once");
++
++status = NGX_HTTP_V2_REFUSED_STREAM;
++goto rst_stream;
++}
++
+ if (!h2c->settings_ack
+ && !(h2c->state.flags & NGX_HTTP_V2_END_STREAM_FLAG)
+ && h2scf->preread_size < NGX_HTTP_V2_DEFAULT_WINDOW)
+@@ -1386,6 +1395,12 @@ ngx_http_v2_state_headers(ngx_http_v2_connection_t 
*h2c, u_char *pos,
+
+ rst_stream:
+
++if (h2c->refused_streams++ > ngx_max(h2scf->concurrent_streams, 100)) {
++ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
++  "client sent too many refused streams");
++return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_NO_ERROR);
++}
++
+ if (ngx_http_v2_send_rst_stream(h2c, h2c->state.sid, status) != NGX_OK) {
+ return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_INTERNAL_ERROR);
+ }
+diff --git a/src/http/v2/ngx_http_v2.h b/src/http/v2/ngx_http_v2.h
+index 4e25293..b9daf92 100644
+--- a/src/http/v2/ngx_http_v2.h
 b/src/http/v2/ngx_http_v2.h
+@@ -124,6 +124,8 @@ struct ngx_http_v2_connection_s {
+ ngx_uint_t   processing;
+ ngx_uint_t   frames;
+ ngx_uint_t   idle;
++ngx_uint_t   new_streams;
++ngx_uint_t   refused_streams;
+ ngx_uint_t   priority_limit;
+
+ ngx_uint_t   pushing;
+--
+2.40.0
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index 8078b7621a..72a7bb0c1c 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -23,6 +23,7 @@ SRC_URI = " \
 file://nginx.service \
 file://nginx-fix-pidfile.patch \
 file://0001-configure-libxslt-conf.patch \
+file://CVE-2023-44487.patch \
 "
 
 inherit siteinfo update-rc.d useradd systemd
-- 
2.40.0


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



Re: [oe] [meta-oe][PATCH v2] c-ares: Move to tarballs, add ptest and static support

2023-12-20 Thread Khem Raj

On 12/20/23 12:55 PM, Alex Kiernan wrote:

Signed-off-by: Alex Kiernan 
---

Changes in v2:
- Use relative path to arestest

  .../recipes-support/c-ares/c-ares/run-ptest   |  7 +++
  .../recipes-support/c-ares/c-ares_1.24.0.bb   | 19 ++-
  2 files changed, 21 insertions(+), 5 deletions(-)
  create mode 100644 meta-oe/recipes-support/c-ares/c-ares/run-ptest

diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest 
b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
new file mode 100644
index ..15971dec058c
--- /dev/null
+++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if ./arestest; then
+   echo "PASS: c-ares"
+else
+   echo "FAIL: c-ares"
+fi


I wonder if it could be added to regular runs with ptest images and 
therefore added to PTESTS_FAST_META_OE ( if it runs with in 30s ) or 
PTESTS_SLOW_META_OE in meta-oe/conf/include/ptest-packagelists-meta-oe.inc



diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb 
b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
index 2171002aa95e..3b3b2b83febc 100644
--- a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
+++ b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
@@ -5,14 +5,23 @@ SECTION = "libs"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
  
-SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https"

-SRCREV = "972f456f2808b4e4b1730c90ab506f6af5f4c725"
+SRC_URI = "https://c-ares.org/download/c-ares-1.24.0.tar.gz \
+   file://run-ptest"
+SRC_URI[sha256sum] = 
"c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103"
  
-UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"

+PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
+PACKAGECONFIG[manpages] = ""
+PACKAGECONFIG[tests] = 
"-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
  
-S = "${WORKDIR}/git"

+inherit cmake manpages pkgconfig ptest
  
-inherit cmake pkgconfig

+EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 
'OFF' }"
+
+do_install_ptest () {
+   install -d ${D}${PTEST_PATH}
+   install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
+   install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
+}
  
  PACKAGE_BEFORE_PN = "${PN}-utils"
  








OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature

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



Re: [oe] [meta-oe][PATCH] c-ares: Upgrade 1.22.1 -> 1.24.0

2023-12-20 Thread Khem Raj

On Tue, 19 Dec 2023 13:41:01 +, Alex Kiernan wrote:
> Use PACKAGE_BEFORE_PN which is designed to introduce packages before the
> final greedy ${PN}.
> 
> Changes 1.24.0:
> 
> Brad House (28):
>   Nameserver parsing: replace another hand-written parser (#643)
>   clang-format
>   SonarCloud: silence bogus reported error
>   ares_init_options() with invalid options values should unset the option
>   Enable system extensions
>   try to move AC_USE_SYSTEM_EXTENSIONS
>   ares__round_up_pow2() work around bogus warning
>   silence openwatcom warning due to qcache_max_ttl being unsigned
>   Support ipv6 link-local servers and %iface syntax (#646)
>   Windows UBSAN tests (#649)
>   increment failures on timeout (#651)
>   SonarCloud: make const
>   enhance timeout test case
>   enhance timeout test case to make sure it will re-use a previously 
> downed server
>   Rewrite sortlist hand parser for memory safety and bugs (#653)
>   Clean up some Windows-only warnings (#654)
>   clang-format and fix one warning
>   remove redundant cast
>   use IF_NAMESIZE instead of IFNAMSIZ to avoid warning
>   Use external GoogleTest instead of bundling it (#655)
>   remove dead code: bitncmp
>   remove dead code: ares_iphlpapi.h
>   Coverity: fix allocation size as reported in new code
>   tag some functions as deprecated in docs
>   reference alternative to ares_getsock() in docs
>   1.24.0 release prep (#657)
>   rand: allow fallback from OS (#661)
>   ares_cancel() could trigger callback with wrong response code (#663)
> 
> [...]

Applied, thanks!

[1/1] c-ares: Upgrade 1.22.1 -> 1.24.0
  commit: 10f1890af03dbb804bffd4fa7eda7729e08f12cb

Best regards,
-- 
Khem Raj 


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



Re: [oe] [meta-oe][PATCH] layer.conf: add libbpf to NON_MULTILIB_RECIPES

2023-12-20 Thread Khem Raj

On Tue, 19 Dec 2023 11:36:11 +0800, Xiangyu Chen wrote:
> libbpf need line up with kernel architecture type,
> so add it to NON_MULTILIB_RECIPES.
> 
> 

Applied, thanks!

[1/1] layer.conf: add libbpf to NON_MULTILIB_RECIPES
  commit: 14c07e1b45290e68fe72516feb94d307a50d89e7

Best regards,
-- 
Khem Raj 


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



Re: [oe] [meta-oe][PATCH] faad2: Upgrade 2.10.0 -> 2.11.1

2023-12-20 Thread Khem Raj

On Tue, 19 Dec 2023 00:19:01 +0100, Marek Vasut wrote:
> Update faad2 to latest 2.11.1 release. Use SRCREV matching tag 2.11.1 .
> 
> Switch to cmake .
> 
> 

Applied, thanks!

[1/1] faad2: Upgrade 2.10.0 -> 2.11.1
  commit: 1867ce60e2e8823ea9d4d20723b3fac6b8ae2c89

Best regards,
-- 
Khem Raj 


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



Re: [oe] [PATCH 20/20] nodejs: backport (partially) python 3.12 support

2023-12-20 Thread Khem Raj
I fixed it with
https://github.com/YoeDistro/yoe-distro/pull/882/commits/359ac8dbaef7e531143b9ad48e1a7d8824efa6f6

On Wed, Dec 20, 2023 at 12:45 PM Alexander Kanavin
 wrote:
>
> | npm ERR! ModuleNotFoundError: No module named 'packaging'
>
> Looks like python3-packaging needs to be in RDEPENDS as well, I'll
> make a fix (or you can quickly try to see if it resolves the error).
>
> Alex
>
> On Wed, 20 Dec 2023 at 20:12, Khem Raj  wrote:
> >
> > this is regressing some dependent recipe e.g. simpleiot which depends
> > on gyp from nodejs-native
> >
> > https://github.com/YoeDistro/yoe-distro/actions/runs/7258317572/job/19834510249?pr=882
> >
> > On Thu, Dec 14, 2023 at 11:53 PM Alexander Kanavin
> >  wrote:
> > >
> > > Signed-off-by: Alexander Kanavin 
> > > ---
> > >  ...001-build-fix-build-with-Python-3.12.patch | 55 
> > >  .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++
> > >  .../recipes-devtools/nodejs/nodejs_20.8.1.bb  |  4 +-
> > >  3 files changed, 121 insertions(+), 1 deletion(-)
> > >  create mode 100644 
> > > meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > >  create mode 100644 
> > > meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > >
> > > diff --git 
> > > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > >  
> > > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > > new file mode 100644
> > > index 0..39026d074
> > > --- /dev/null
> > > +++ 
> > > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > > @@ -0,0 +1,55 @@
> > > +From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
> > > +From: Luigi Pinca 
> > > +Date: Wed, 8 Nov 2023 21:20:53 +0100
> > > +Subject: [PATCH] build: fix build with Python 3.12
> > > +
> > > +Replace `distutils.version.StrictVersion` with
> > > +`packaging.version.Version`.
> > > +
> > > +Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
> > > +PR-URL: https://github.com/nodejs/node/pull/50582
> > > +Reviewed-By: Richard Lau 
> > > +Reviewed-By: Chengzhong Wu 
> > > +
> > > +Upstream-Status: Backport 
> > > [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
> > > +Signed-off-by: Alexander Kanavin 
> > > +---
> > > + configure.py | 11 +--
> > > + 1 file changed, 5 insertions(+), 6 deletions(-)
> > > +
> > > +diff --git a/configure.py b/configure.py
> > > +index 62f041ce..18fe7c14 100755
> > > +--- a/configure.py
> > >  b/configure.py
> > > +@@ -14,8 +14,6 @@ import bz2
> > > + import io
> > > + from pathlib import Path
> > > +
> > > +-from distutils.version import StrictVersion
> > > +-
> > > + # If not run from node/, cd to node/.
> > > + os.chdir(Path(__file__).parent)
> > > +
> > > +@@ -30,6 +28,7 @@ tools_path = Path('tools')
> > > +
> > > + sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
> > > + from gyp.common import GetFlavor
> > > ++from packaging.version import Version
> > > +
> > > + # imports in tools/configure.d
> > > + sys.path.insert(0, str(tools_path / 'configure.d'))
> > > +@@ -1565,10 +1564,10 @@ def configure_openssl(o):
> > > + # supported asm compiler for AVX2. See 
> > > https://github.com/openssl/openssl/
> > > + # 
> > > blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
> > > + openssl110_asm_supported = \
> > > +-  ('gas_version' in variables and 
> > > StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
> > > +-  ('xcode_version' in variables and 
> > > StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
> > > +-  ('llvm_version' in variables and 
> > > StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
> > > +-  ('nasm_version' in variables and 
> > > StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
> > > ++  ('gas_version' in variables and Version(variables['gas_version']) 
> > > >= Version('2.23')) or \
> > > ++  ('xcode_version' in variables and 
> > > Version(variables['xcode_version']) >= Version('5.0')) or \
> > > ++  ('llvm_version' in variables and 
> > > Version(variables['llvm_version']) >= Version('3.3')) or \
> > > ++  ('nasm_version' in variables and 
> > > Version(variables['nasm_version']) >= Version('2.10'))
> > > +
> > > + if is_x86 and not openssl110_asm_supported:
> > > +   error('''Did not find a new enough assembler, install one or 
> > > build with
> > > diff --git 
> > > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > >  
> > > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > > new file mode 100644
> > > index 0..9d878dfb8
> > > --- /dev/null
> > > +++ 
> > > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > > @@ -0,0 +1,63 @@
> > > +From

[oe] [meta-python][PATCH] python3-apiflask: update to version 2.1.0

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../{python3-apiflask_2.0.2.bb => python3-apiflask_2.1.0.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-apiflask_2.0.2.bb => 
python3-apiflask_2.1.0.bb} (83%)

diff --git a/meta-python/recipes-devtools/python/python3-apiflask_2.0.2.bb 
b/meta-python/recipes-devtools/python/python3-apiflask_2.1.0.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-apiflask_2.0.2.bb
rename to meta-python/recipes-devtools/python/python3-apiflask_2.1.0.bb
index 88afdda71..5bffa2291 100644
--- a/meta-python/recipes-devtools/python/python3-apiflask_2.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-apiflask_2.1.0.bb
@@ -7,7 +7,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "APIFlask"
 
-SRC_URI[sha256sum] = 
"c1ab81640a1ab252888e2cc7ae556272a169b449c582abae309a8fe295f9337d"
+SRC_URI[sha256sum] = 
"e7616d902d446eb9e1c67d1d8a34691b437f9da4fe7a3b4d49c91ba88c85ee2a"
 
 RDEPENDS:${PN} += "\
 python3-flask \
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-xmlschema: update to version 2.5.1

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../{python3-xmlschema_2.3.1.bb => python3-xmlschema_2.5.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-xmlschema_2.3.1.bb => 
python3-xmlschema_2.5.1.bb} (84%)

diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_2.3.1.bb 
b/meta-python/recipes-devtools/python/python3-xmlschema_2.5.1.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-xmlschema_2.3.1.bb
rename to meta-python/recipes-devtools/python/python3-xmlschema_2.5.1.bb
index 9be7cb555..19fae9131 100644
--- a/meta-python/recipes-devtools/python/python3-xmlschema_2.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xmlschema_2.5.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/xmlschema";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0ab20f8e337bea2e6874f372edfd12c0"
 
-SRC_URI[sha256sum] = 
"2eb426c5710833a05610c22c8766713a1b87e9405e3eca0b7c658375bf7ec810"
+SRC_URI[sha256sum] = 
"4f7497de6c8b6dc2c28ad7b9ed6e21d186f4afe248a5bea4f54eedab4da44083"
 
 PYPI_PACKAGE = "xmlschema"
 inherit pypi setuptools3
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-sentry-sdk: update to version 1.39.1

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 ...ython3-sentry-sdk_1.39.0.bb => python3-sentry-sdk_1.39.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-sentry-sdk_1.39.0.bb => 
python3-sentry-sdk_1.39.1.bb} (86%)

diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.0.bb 
b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.1.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.0.bb
rename to meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.1.bb
index 81828737f..9f421328b 100644
--- a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.0.bb
+++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.39.1.bb
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \
 "
 
-SRC_URI[sha256sum] = 
"67f62238af273eebd6432f85116dc6cd5422d4bc02df886514e8139e755f48e4"
+SRC_URI[sha256sum] = 
"320a55cdf9da9097a0bead239c35b7e61f53660ef9878861824fd6d9b2eaf3b5"
 
 PYPI_PACKAGE = "sentry-sdk"
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-cantools: update to version 39.4.0

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 ...{python3-cantools_39.3.0.bb => python3-cantools_39.4.0.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cantools_39.3.0.bb => 
python3-cantools_39.4.0.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-cantools_39.3.0.bb 
b/meta-python/recipes-devtools/python/python3-cantools_39.4.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-cantools_39.3.0.bb
rename to meta-python/recipes-devtools/python/python3-cantools_39.4.0.bb
index 0b590d258..e7cafe14b 100644
--- a/meta-python/recipes-devtools/python/python3-cantools_39.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-cantools_39.4.0.bb
@@ -3,12 +3,14 @@ HOMEPAGE = "https://github.com/eerimoq/cantools";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"
 
-SRC_URI[sha256sum] = 
"2c3d081922591bc1611c9f1ff52d6c8af1d03314f8c724cc114d856cc555cc28"
+SRC_URI[sha256sum] = 
"e38cf3972388436aa8e19ab985bfb19c2cb400d9ba882a5c070c3497629674cb"
 
 PYPI_PACKAGE = "cantools"
 
 inherit pypi python_poetry_core
 
+DEPENDS += "python3-setuptools-scm-native"
+
 RDEPENDS:${PN} += "\
 ${PYTHON_PN}-can \
 ${PYTHON_PN}-bitstruct \
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-lazy-object-proxy: update to version 1.10.0

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 ...bject-proxy_1.9.0.bb => python3-lazy-object-proxy_1.10.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-lazy-object-proxy_1.9.0.bb 
=> python3-lazy-object-proxy_1.10.0.bb} (79%)

diff --git 
a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb 
b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb
similarity index 79%
rename from 
meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb
rename to 
meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb
index 74c5e9b52..9232a5a91 100644
--- a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-pip-native"
 
-SRC_URI[sha256sum] = 
"659fb5809fa4629b8a1ac5106f669cfc7bef26fbb389dda53b3e010d1ac4ebae"
+SRC_URI[sha256sum] = 
"78247b6d45f43a52ef35c25b5581459e85117225408a4128a3daf8bf9648ac69"
 
 inherit pypi setuptools3
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-protobuf: update to version 4.25.1

2023-12-20 Thread Derek Straka
Remove patch 0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
that was incorporated upstream and released in 4.25.1

Signed-off-by: Derek Straka 
---
 ...st-uintptr_t-types-to-upb_MessageDef.patch | 57 ---
 ...f_4.24.4.bb => python3-protobuf_4.25.1.bb} |  3 +-
 2 files changed, 1 insertion(+), 59 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-protobuf/0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
 rename meta-python/recipes-devtools/python/{python3-protobuf_4.24.4.bb => 
python3-protobuf_4.25.1.bb} (85%)

diff --git 
a/meta-python/recipes-devtools/python/python3-protobuf/0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
 
b/meta-python/recipes-devtools/python/python3-protobuf/0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
deleted file mode 100644
index 89315e3a7..0
--- 
a/meta-python/recipes-devtools/python/python3-protobuf/0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 8ce4b50b210d3c0f8de40156d4ba7827bfe16b21 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 16 Aug 2023 17:36:19 -0700
-Subject: [PATCH] message.c: Cast uintptr_t types to upb_MessageDef
-
-This fixes build with clang
-
-python/message.c:1238:49: error: incompatible integer to pointer conversion 
passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const 
upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
- 1238 |upb_MessageDef_MiniTable(other->def),
-  | ^~
-/mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69:
 note: passing argument to parameter 'm' here
-  138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m);
-  | ^
-python/message.c:1609:69: error: incompatible integer to pointer conversion 
passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const 
upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
- 1609 |   upb_Message_DeepClone(self->ptr.msg, 
upb_MessageDef_MiniTable(self->def),
-  | 
^
-/mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69:
 note: passing argument to parameter 'm' here
-  138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m);
-  | ^
-python/message.c:1611:44: error: incompatible integer to pointer conversion 
passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const 
upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
- 1611 |   PyObject* ret = PyUpb_Message_Get(clone, self->def, arena);
-  |^
-
-Upstream-Status: Submitted [https://github.com/protocolbuffers/upb/pull/1492]
-Signed-off-by: Khem Raj 

- python/message.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/python/message.c b/python/message.c
-index a01ce16..c418b84 100644
 a/python/message.c
-+++ b/python/message.c
-@@ -1235,7 +1235,7 @@ static PyObject* PyUpb_Message_CopyFrom(PyObject* _self, 
PyObject* arg) {
-   Py_DECREF(tmp);
- 
-   upb_Message_DeepCopy(self->ptr.msg, other->ptr.msg,
--   upb_MessageDef_MiniTable(other->def),
-+   upb_MessageDef_MiniTable((const 
upb_MessageDef*)other->def),
-PyUpb_Arena_Get(self->arena));
-   PyUpb_Message_SyncSubobjs(self);
- 
-@@ -1606,9 +1606,9 @@ PyObject* DeepCopy(PyObject* _self, PyObject* arg) {
- 
-   PyObject* arena = PyUpb_Arena_New();
-   upb_Message* clone =
--  upb_Message_DeepClone(self->ptr.msg, 
upb_MessageDef_MiniTable(self->def),
-+  upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable((const 
upb_MessageDef*)self->def),
- PyUpb_Arena_Get(arena));
--  PyObject* ret = PyUpb_Message_Get(clone, self->def, arena);
-+  PyObject* ret = PyUpb_Message_Get(clone, (const upb_MessageDef*)self->def, 
arena);
-   Py_DECREF(arena);
- 
-   return ret;
--- 
-2.41.0
-
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.24.4.bb 
b/meta-python/recipes-devtools/python/python3-protobuf_4.25.1.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.24.4.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_4.25.1.bb
index 4b530c3b1..3c770e41d 100644
--- a/meta-python/recipes-devtools/python/python3-protobuf_4.24.4.bb
+++ b/meta-python/recipes-devtools/python/python3-protobuf_4.25.1.bb
@@ -6,8 +6,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginl

[oe] [meta-python][PATCH] python3-isort: update to version 5.13.2

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../python/{python3-isort_5.13.1.bb => python3-isort_5.13.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-isort_5.13.1.bb => 
python3-isort_5.13.2.bb} (85%)

diff --git a/meta-python/recipes-devtools/python/python3-isort_5.13.1.bb 
b/meta-python/recipes-devtools/python/python3-isort_5.13.2.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-isort_5.13.1.bb
rename to meta-python/recipes-devtools/python/python3-isort_5.13.2.bb
index f8deaae08..60d44181c 100644
--- a/meta-python/recipes-devtools/python/python3-isort_5.13.1.bb
+++ b/meta-python/recipes-devtools/python/python3-isort_5.13.2.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489"
 
-SRC_URI[sha256sum] = 
"aaed790b463e8703fb1eddb831dfa8e8616bacde2c083bd557ef73c8189b7263"
+SRC_URI[sha256sum] = 
"48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109"
 
 inherit pypi python_poetry_core
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-wtforms: update to version 3.1.1

2023-12-20 Thread Derek Straka
Updated the license file and verified terms remained the same

Signed-off-by: Derek Straka 
---
 ...{python3-wtforms_3.0.1.bb => python3-wtforms_3.1.1.bb} | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-wtforms_3.0.1.bb => 
python3-wtforms_3.1.1.bb} (62%)

diff --git a/meta-python/recipes-devtools/python/python3-wtforms_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-wtforms_3.1.1.bb
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-wtforms_3.0.1.bb
rename to meta-python/recipes-devtools/python/python3-wtforms_3.1.1.bb
index 36a0191dc..c9ad1be48 100644
--- a/meta-python/recipes-devtools/python/python3-wtforms_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-wtforms_3.1.1.bb
@@ -3,13 +3,11 @@ HOMEPAGE = "https://pypi.python.org/pypi/WTForms";
 SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 
-LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a9f8f0d527c043d"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=17ed54aa95f4a6cd0d7a4747d14b64d0"
 
-SRC_URI[sha256sum] = 
"6b351bbb12dd58af57ffef05bc78425d08d1914e0fd68ee14143b7ade023c5bc"
+SRC_URI[sha256sum] = 
"5e51df8af9a60f6beead75efa10975e97768825a82146a65c7cbf5b915990620"
 
-PYPI_PACKAGE = "WTForms"
-
-inherit pypi setuptools3
+inherit pypi python_hatchling
 
 DEPENDS += "\
 ${PYTHON_PN}-pip-native \
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-zeroconf: update to version 0.131.0

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 ...{python3-zeroconf_0.130.0.bb => python3-zeroconf_0.131.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-zeroconf_0.130.0.bb => 
python3-zeroconf_0.131.0.bb} (82%)

diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb 
b/meta-python/recipes-devtools/python/python3-zeroconf_0.131.0.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb
rename to meta-python/recipes-devtools/python/python3-zeroconf_0.131.0.bb
index 8ae169c52..1963d899b 100644
--- a/meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb
+++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.131.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf";
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3"
 
-SRC_URI[sha256sum] = 
"db96a3033bc2ece2c75d873796e82530e092e250d03d07dd530828cf84ae16f0"
+SRC_URI[sha256sum] = 
"90c431e99192a044a5e0217afd7ca0ca9824af93190332e6f7baf4da5375f331"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-paramiko: update to version 3.4.0

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../{python3-paramiko_3.3.1.bb => python3-paramiko_3.4.0.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-paramiko_3.3.1.bb => 
python3-paramiko_3.4.0.bb} (82%)

diff --git a/meta-python/recipes-devtools/python/python3-paramiko_3.3.1.bb 
b/meta-python/recipes-devtools/python/python3-paramiko_3.4.0.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-paramiko_3.3.1.bb
rename to meta-python/recipes-devtools/python/python3-paramiko_3.4.0.bb
index da87e5199..0d32d361c 100644
--- a/meta-python/recipes-devtools/python/python3-paramiko_3.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-paramiko_3.4.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/paramiko/paramiko/";
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5"
 
-SRC_URI[sha256sum] = 
"6a3777a961ac86dbef375c5f5b8d50014a1a96d0fd7f054a43bc880134b0ff77"
+SRC_URI[sha256sum] = 
"aac08f26a31dc4dffd92821527d1682d99d52f9ef6851968114a8728f3c274d3"
 
 PYPI_PACKAGE = "paramiko"
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-pdm: update to version 2.11.1

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../python/{python3-pdm_2.10.4.bb => python3-pdm_2.11.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pdm_2.10.4.bb => 
python3-pdm_2.11.1.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.10.4.bb 
b/meta-python/recipes-devtools/python/python3-pdm_2.11.1.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-pdm_2.10.4.bb
rename to meta-python/recipes-devtools/python/python3-pdm_2.11.1.bb
index fffefb3c6..5ff6ffc9e 100644
--- a/meta-python/recipes-devtools/python/python3-pdm_2.10.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pdm_2.11.1.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
 
-SRC_URI[sha256sum] = 
"6dfd9d4cb59043edecb2d0b47d208e55d89d333ba7197deb05cca2dfbc7a4bfb"
+SRC_URI[sha256sum] = 
"b10bc4e5394856f1639ddc9bc754d9c26323ec5b828a135c6ed35f935b054b83"
 
 inherit pypi python_setuptools_build_meta
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-coverage: update to version 7.3.4

2023-12-20 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../{python3-coverage_7.3.3.bb => python3-coverage_7.3.4.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-coverage_7.3.3.bb => 
python3-coverage_7.3.4.bb} (83%)

diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.3.3.bb 
b/meta-python/recipes-devtools/python/python3-coverage_7.3.4.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-coverage_7.3.3.bb
rename to meta-python/recipes-devtools/python/python3-coverage_7.3.4.bb
index 16a67e9e6..42bc9fc8e 100644
--- a/meta-python/recipes-devtools/python/python3-coverage_7.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-coverage_7.3.4.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io";
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI[sha256sum] = 
"df04c64e58df96b4427db8d0559e95e2df3138c9916c96f9f6a4dd220db2fdb7"
+SRC_URI[sha256sum] = 
"020d56d2da5bc22a0e00a5b0d54597ee91ad72446fa4cf1b97c35022f6b6dbf0"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-ninja: update to version 1.11.1.1

2023-12-20 Thread Derek Straka
Changelog
  fix(wheels): link libstdc++ statically on manylinux1 by @mayeut in #159
  chore(wheels): link libstdc++/libgcc statically on musllinux by @mayeut in 
#160
  chore: add Windows ARM support by @henryiii in #169
  chore: continue testing with python 2.7 by @mayeut in #199
  chore: move to setuptools_scm by @henryiii in #170
  chore: switch to ruff by @henryiii in #174
  chore: use trusted publisher deployment by @jcfr in #191
  chore: use wheel tags cli by @mayeut in #84
  ci: allow setting a version by @henryiii in #171
  ci: cancel on repeated pushes by @henryiii in #177

Signed-off-by: Derek Straka 
---
 .../python/python3-ninja/no-scikit-build.patch| 8 
 ...{python3-ninja_1.11.1.bb => python3-ninja_1.11.1.1.bb} | 4 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-ninja_1.11.1.bb => 
python3-ninja_1.11.1.1.bb} (79%)

diff --git 
a/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch 
b/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch
index 276fb5017..b7d191e24 100644
--- a/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch
+++ b/meta-python/recipes-devtools/python/python3-ninja/no-scikit-build.patch
@@ -8,11 +8,11 @@ diff --git a/pyproject.toml b/pyproject.toml
 index b895c20..577b642 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
-@@ -1,7 +1,6 @@
- [build-system]
+@@ -2,7 +2,6 @@
  requires = [
- "setuptools>=42",
--"scikit-build>=0.12",
+ "setuptools >=42",
+ "setuptools-scm[toml]",
+-"scikit-build",
  ]
  build-backend = "setuptools.build_meta"
  
diff --git a/meta-python/recipes-devtools/python/python3-ninja_1.11.1.bb 
b/meta-python/recipes-devtools/python/python3-ninja_1.11.1.1.bb
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-ninja_1.11.1.bb
rename to meta-python/recipes-devtools/python/python3-ninja_1.11.1.1.bb
index 3b9077f32..a9e0ed208 100644
--- a/meta-python/recipes-devtools/python/python3-ninja_1.11.1.bb
+++ b/meta-python/recipes-devtools/python/python3-ninja_1.11.1.1.bb
@@ -6,11 +6,13 @@ PYPI_PACKAGE = "ninja"
 PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
 
 inherit pypi python_setuptools_build_meta
-SRC_URI[sha256sum] = 
"c833a47d39b2d1eee3f9ca886fa1581efd5be6068b82734ac229961ee8748f90"
+SRC_URI[sha256sum] = 
"9d793b08dd857e38d0b6ffe9e6b7145d7c485a42dcfea04905ca0cdb6017cc3c"
 
 SRC_URI += "file://no-scikit-build.patch \
 file://run-ninja-from-path.patch"
 
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
 do_install:append () {
rm -rf ${D}${bindir}
 }
-- 
2.34.1


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



Re: [oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Khem Raj
On Wed, Dec 20, 2023 at 2:00 PM Martin Jansa  wrote:
>
>
>
> On Wed, Dec 20, 2023 at 10:42 PM Khem Raj  wrote:
>>
>> On Wed, Dec 20, 2023 at 7:53 AM Ross Burton  wrote:
>> >
>> > From: Ross Burton 
>> >
>> > Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
>> > in 2010[1].
>> >
>> > As the small source tarballs no longer include the tools, fetch the
>> > sqlite github mirror instead.
>> >
>> > Don't bother installing a pretty minimal manpage, as very few projects
>> > use lemon (sqlite itself, and libpbnjson).
>> >
>> > [1] https://www.sqlite.org/releaselog/3_7_3.html
>> >
>> ...
>>
>> > diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc 
>> > b/meta-oe/recipes-devtools/lemon/lemon.inc
>> > deleted file mode 100644
>> > index 57b9fb710e..00
>> > --- a/meta-oe/recipes-devtools/lemon/lemon.inc
>> > +++ /dev/null
>> > @@ -1,25 +0,0 @@
>> > -DESCRIPTION = "The Lemon Parser Generator"
>> > -HOMEPAGE = "http://www.hwaci.com/sw/lemon/";
>> > -LICENSE = "PD"
>> > -SECTION = "devel"
>> > -
>> > -SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
>> > -   file://lemon.1"
>> > -
>> > -S = "${WORKDIR}/sqlite-${PV}/tool"
>> > -
>> > -do_compile() {
>> > -${CC} ${CFLAGS} lemon.c -c -o lemon.o
>> > -${CCLD} ${LDFLAGS} lemon.o -o lemon
>> > -}
>> > -
>> > -do_install() {
>> > -install -d ${D}${bindir}
>> > -install -m 0755 lemon ${D}${bindir}
>> > -install -m 0644 lempar.c ${D}${bindir}
>> > -install -d ${D}${mandir}/man1
>> > -install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
>> > -}
>> > -
>> > -BBCLASSEXTEND = "native"
>> > -
>> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb 
>> > b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
>> > new file mode 100644
>> > index 00..1b849922a6
>> > --- /dev/null
>> > +++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
>> > @@ -0,0 +1,24 @@
>> > +DESCRIPTION = "The Lemon Parser Generator"
>> > +HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html";
>> > +LICENSE = "PD"
>> > +SECTION = "devel"
>> > +
>> > +LIC_FILES_CHKSUM = 
>> > "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
>> > +
>> > +SRC_URI = 
>> > "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
>> > +
>> > +SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
>> > +
>> > +S = "${WORKDIR}/git"
>> > +
>> > +do_compile() {
>> > +${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
>>
>> why do we need CPPFLAGS here ?
>>
>> > +}
>> > +
>> > +do_install() {
>> > +install -d ${D}${bindir}
>> > +install -m 0755 lemon ${D}${bindir}
>> > +install -m 0644 tool/lempar.c ${D}${bindir}
>>
>> .c file in bindir seems odd.
>
>
> I was wondering about it as well, but looks like lemon binary looks for this 
> as a default template next to lemon binary in:
> https://github.com/sqlite/sqlite/blob/master/tool/lemon.c#L3654
>
> that's why it's in bindir and was there before this upgrade as well.

Cool. Makes sense. Thanks Martin

>
>> > +}
>> > +
>> > +BBCLASSEXTEND = "native nativesdk"
>> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb 
>> > b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
>> > deleted file mode 100644
>> > index 354db17e6e..00
>> > --- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
>> > +++ /dev/null
>> > @@ -1,7 +0,0 @@
>> > -require lemon.inc
>> > -
>> > -LIC_FILES_CHKSUM = 
>> > "file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
>> > -
>> > -SRC_URI[md5sum] = "5437978aae90350cf984993091e0d695"
>> > -SRC_URI[sha256sum] = 
>> > "dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6"
>> > -
>> > --
>> > 2.34.1
>> >
>> >
>> >
>> >
>>
>> 
>>

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



Re: [oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Martin Jansa
On Wed, Dec 20, 2023 at 10:42 PM Khem Raj  wrote:

> On Wed, Dec 20, 2023 at 7:53 AM Ross Burton  wrote:
> >
> > From: Ross Burton 
> >
> > Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
> > in 2010[1].
> >
> > As the small source tarballs no longer include the tools, fetch the
> > sqlite github mirror instead.
> >
> > Don't bother installing a pretty minimal manpage, as very few projects
> > use lemon (sqlite itself, and libpbnjson).
> >
> > [1] https://www.sqlite.org/releaselog/3_7_3.html
> >
> ...

> diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc
> b/meta-oe/recipes-devtools/lemon/lemon.inc
> > deleted file mode 100644
> > index 57b9fb710e..00
> > --- a/meta-oe/recipes-devtools/lemon/lemon.inc
> > +++ /dev/null
> > @@ -1,25 +0,0 @@
> > -DESCRIPTION = "The Lemon Parser Generator"
> > -HOMEPAGE = "http://www.hwaci.com/sw/lemon/";
> > -LICENSE = "PD"
> > -SECTION = "devel"
> > -
> > -SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
> > -   file://lemon.1"
> > -
> > -S = "${WORKDIR}/sqlite-${PV}/tool"
> > -
> > -do_compile() {
> > -${CC} ${CFLAGS} lemon.c -c -o lemon.o
> > -${CCLD} ${LDFLAGS} lemon.o -o lemon
> > -}
> > -
> > -do_install() {
> > -install -d ${D}${bindir}
> > -install -m 0755 lemon ${D}${bindir}
> > -install -m 0644 lempar.c ${D}${bindir}
> > -install -d ${D}${mandir}/man1
> > -install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
> > -}
> > -
> > -BBCLASSEXTEND = "native"
> > -
> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> > new file mode 100644
> > index 00..1b849922a6
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> > @@ -0,0 +1,24 @@
> > +DESCRIPTION = "The Lemon Parser Generator"
> > +HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html";
> > +LICENSE = "PD"
> > +SECTION = "devel"
> > +
> > +LIC_FILES_CHKSUM =
> "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
> > +
> > +SRC_URI = "git://
> github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
> > +
> > +SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +do_compile() {
> > +${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
>
> why do we need CPPFLAGS here ?
>
> > +}
> > +
> > +do_install() {
> > +install -d ${D}${bindir}
> > +install -m 0755 lemon ${D}${bindir}
> > +install -m 0644 tool/lempar.c ${D}${bindir}
>
> .c file in bindir seems odd.
>

I was wondering about it as well, but looks like lemon binary looks for
this as a default template next to lemon binary in:
https://github.com/sqlite/sqlite/blob/master/tool/lemon.c#L3654

that's why it's in bindir and was there before this upgrade as well.

> +}
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> > deleted file mode 100644
> > index 354db17e6e..00
> > --- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> > +++ /dev/null
> > @@ -1,7 +0,0 @@
> > -require lemon.inc
> > -
> > -LIC_FILES_CHKSUM =
> "file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
> > -
> > -SRC_URI[md5sum] = "5437978aae90350cf984993091e0d695"
> > -SRC_URI[sha256sum] =
> "dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6"
> > -
> > --
> > 2.34.1
> >
> >
> >
> >
>
> 
>
>

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



[oe] [meta-python][PATCH] python3-pymisp: update to verion 2.4.182

2023-12-20 Thread Derek Straka
Leverage pypi rather than git for the source download

Signed-off-by: Derek Straka 
---
 ...{python3-pymisp_2.4.179.bb => python3-pymisp_2.4.182.bb} | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pymisp_2.4.179.bb => 
python3-pymisp_2.4.182.bb} (76%)

diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.179.bb 
b/meta-python/recipes-devtools/python/python3-pymisp_2.4.182.bb
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pymisp_2.4.179.bb
rename to meta-python/recipes-devtools/python/python3-pymisp_2.4.182.bb
index 69c774221..12bf6245e 100644
--- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.179.bb
+++ b/meta-python/recipes-devtools/python/python3-pymisp_2.4.182.bb
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/MISP/PyMISP";
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20"
 
-SRC_URI = "git://github.com/MISP/PyMISP.git;protocol=https;branch=main"
-SRCREV = "cc6391233c01362a1b4b483c4ea8e67f306e3459"
-S = "${WORKDIR}/git"
+SRC_URI[sha256sum] = 
"888e848494e04148c8ff5887f04154a2b40f3065c53d93f9cec65f7ca7171362"
 
-inherit python_poetry_core
+inherit python_poetry_core pypi
 
 PIP_INSTALL_PACKAGE = "pymisp"
 
-- 
2.34.1


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



Re: [oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Khem Raj
On Wed, Dec 20, 2023 at 7:53 AM Ross Burton  wrote:
>
> From: Ross Burton 
>
> Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
> in 2010[1].
>
> As the small source tarballs no longer include the tools, fetch the
> sqlite github mirror instead.
>
> Don't bother installing a pretty minimal manpage, as very few projects
> use lemon (sqlite itself, and libpbnjson).
>
> [1] https://www.sqlite.org/releaselog/3_7_3.html
>
> Signed-off-by: Ross Burton 
> ---
>  meta-oe/recipes-devtools/lemon/files/lemon.1  | 63 ---
>  meta-oe/recipes-devtools/lemon/lemon.inc  | 25 
>  .../recipes-devtools/lemon/lemon_3.44.2.bb| 24 +++
>  meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb |  7 ---
>  4 files changed, 24 insertions(+), 95 deletions(-)
>  delete mode 100644 meta-oe/recipes-devtools/lemon/files/lemon.1
>  delete mode 100644 meta-oe/recipes-devtools/lemon/lemon.inc
>  create mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
>  delete mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
>
> diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 
> b/meta-oe/recipes-devtools/lemon/files/lemon.1
> deleted file mode 100644
> index 914ee07013..00
> --- a/meta-oe/recipes-devtools/lemon/files/lemon.1
> +++ /dev/null
> @@ -1,63 +0,0 @@
> -.Dd 2002-10-04
> -.Dt LEMON 1
> -.Os "Debian GNU/Linux"
> -.\" Manual page created by Guus Sliepen 
> -.Sh NAME
> -.Nm lemon
> -.Nd The Lemon Parser Generator
> -.Sh SYNOPSIS
> -.Nm
> -.Op Fl bcgmqsx
> -.Ar input
> -.Sh DESCRIPTION
> -.Nm
> -is an LALR(1) parser generator for C or C++.
> -It does the same job as bison and yacc.
> -But
> -.Nm
> -is not another bison or yacc clone.
> -It uses a different grammar syntax which is designed to reduce the number of 
> coding errors.
> -.Nm
> -also uses a more sophisticated parsing engine that is faster than yacc and 
> bison
> -and which is both reentrant and thread-safe.
> -Furthermore,
> -.Nm
> -implements features that can be used to eliminate resource leaks,
> -making is suitable for use in long-running programs such as graphical user 
> interfaces or embedded controllers.
> -.Pp
> -.Nm
> -will read the grammer from
> -.Ar input
> -and write out a parser for that grammar in the C language.
> -.Sh OPTIONS
> -.Bl -tag -width indent
> -.It Fl b
> -Print only the basis in report.
> -.It Fl c
> -Don't compress the action table.
> -.It Fl g
> -Print grammar without actions.
> -.It Fl m
> -Output a makeheaders compatible file.
> -.It Fl q
> -(Quiet) Don't print the report file.
> -.It Fl s
> -Print parser stats to standard output.
> -.It Fl x
> -Print the version number.
> -.El
> -.Sh FILES
> -.Bl -tag -width indent
> -.It Pa /usr/share/lemon/lempar.c
> -Driver template for the
> -.Nm
> -parser generator.
> -.El
> -.Sh AUTHOR
> -.Nm
> -has been written by
> -.An D. Richard Hipp Aq d...@hwaci.com .
> -.Pp
> -This manual page was written by
> -.An Guus Sliepen Aq g...@debian.org
> -for the Debian GNU/Linux system.
> diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc 
> b/meta-oe/recipes-devtools/lemon/lemon.inc
> deleted file mode 100644
> index 57b9fb710e..00
> --- a/meta-oe/recipes-devtools/lemon/lemon.inc
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -DESCRIPTION = "The Lemon Parser Generator"
> -HOMEPAGE = "http://www.hwaci.com/sw/lemon/";
> -LICENSE = "PD"
> -SECTION = "devel"
> -
> -SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
> -   file://lemon.1"
> -
> -S = "${WORKDIR}/sqlite-${PV}/tool"
> -
> -do_compile() {
> -${CC} ${CFLAGS} lemon.c -c -o lemon.o
> -${CCLD} ${LDFLAGS} lemon.o -o lemon
> -}
> -
> -do_install() {
> -install -d ${D}${bindir}
> -install -m 0755 lemon ${D}${bindir}
> -install -m 0644 lempar.c ${D}${bindir}
> -install -d ${D}${mandir}/man1
> -install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
> -}
> -
> -BBCLASSEXTEND = "native"
> -
> diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb 
> b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> new file mode 100644
> index 00..1b849922a6
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "The Lemon Parser Generator"
> +HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html";
> +LICENSE = "PD"
> +SECTION = "devel"
> +
> +LIC_FILES_CHKSUM = 
> "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
> +
> +SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
> +
> +SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
> +
> +S = "${WORKDIR}/git"
> +
> +do_compile() {
> +${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon

why do we need CPPFLAGS here ?

> +}
> +
> +do_install() {
> +install -d ${D}${bindir}
> +install -m 0755 lemon ${D}${bindir}
> +install -m 0644 tool/lempar.c ${D}${bindir}

.c file in bindir seems odd.

> +}
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb 
> 

[oe] [meta-python][PATCH] python3-alembic: update to version 1.13.1

2023-12-20 Thread Derek Straka
Misc bug fixes for typing, versioning, and environment.

See https://alembic.sqlalchemy.org/en/latest/changelog.html

Signed-off-by: Derek Straka 
---
 .../{python3-alembic_1.13.0.bb => python3-alembic_1.13.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-alembic_1.13.0.bb => 
python3-alembic_1.13.1.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.13.0.bb 
b/meta-python/recipes-devtools/python/python3-alembic_1.13.1.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-alembic_1.13.0.bb
rename to meta-python/recipes-devtools/python/python3-alembic_1.13.1.bb
index 865dd017c..2a9ac2c5d 100644
--- a/meta-python/recipes-devtools/python/python3-alembic_1.13.0.bb
+++ b/meta-python/recipes-devtools/python/python3-alembic_1.13.1.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e3023b042cb6002cb398344b51c67093"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"ab4b3b94d2e1e5f81e34be8a9b7b7575fc9dd5398fccb0bef351ec9b14872623"
+SRC_URI[sha256sum] = 
"4932c8558bf68f2ee92b9bbcb8218671c627064d5b08939437af6d77dc05e595"
 
 PYPI_PACKAGE = "alembic"
 
-- 
2.34.1


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



[oe] [meta-python][PATCH] python3-astroid: update to version 3.0.2

2023-12-20 Thread Derek Straka
Changelog
* Avoid duplicate inference results for some uses of typing.X constructs like 
Tuple[Optional[int], ...].
  This was causing pylint to occasionally omit messages like 
deprecated-typing-alias.

Closes pylint-dev/pylint#9220

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

diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
rename to meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
index 348dc2ebb..23501ce00 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.2.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
 
-SRC_URI[sha256sum] = 
"86b0bb7d7da0be1a7c4aedb7974e391b32d4ed89e33de6ed6902b4b15c97577e"
+SRC_URI[sha256sum] = 
"4a61cf0a59097c7bb52689b0fd63717cd2a8a14dc9f1eee97b82d814881c8c91"
 
 inherit pypi python_setuptools_build_meta
 
-- 
2.34.1


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



[oe] [meta-oe][PATCH v2] c-ares: Move to tarballs, add ptest and static support

2023-12-20 Thread Alex Kiernan
Signed-off-by: Alex Kiernan 
---

Changes in v2:
- Use relative path to arestest

 .../recipes-support/c-ares/c-ares/run-ptest   |  7 +++
 .../recipes-support/c-ares/c-ares_1.24.0.bb   | 19 ++-
 2 files changed, 21 insertions(+), 5 deletions(-)
 create mode 100644 meta-oe/recipes-support/c-ares/c-ares/run-ptest

diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest 
b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
new file mode 100644
index ..15971dec058c
--- /dev/null
+++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if ./arestest; then
+   echo "PASS: c-ares"
+else
+   echo "FAIL: c-ares"
+fi
diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb 
b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
index 2171002aa95e..3b3b2b83febc 100644
--- a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
+++ b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
@@ -5,14 +5,23 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
 
-SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https"
-SRCREV = "972f456f2808b4e4b1730c90ab506f6af5f4c725"
+SRC_URI = "https://c-ares.org/download/c-ares-1.24.0.tar.gz \
+   file://run-ptest"
+SRC_URI[sha256sum] = 
"c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103"
 
-UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"
+PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
+PACKAGECONFIG[manpages] = ""
+PACKAGECONFIG[tests] = 
"-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
 
-S = "${WORKDIR}/git"
+inherit cmake manpages pkgconfig ptest
 
-inherit cmake pkgconfig
+EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' 
else 'OFF' }"
+
+do_install_ptest () {
+   install -d ${D}${PTEST_PATH}
+   install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
+   install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
+}
 
 PACKAGE_BEFORE_PN = "${PN}-utils"
 
-- 
2.39.0


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



Re: [oe] [PATCH 20/20] nodejs: backport (partially) python 3.12 support

2023-12-20 Thread Alexander Kanavin
| npm ERR! ModuleNotFoundError: No module named 'packaging'

Looks like python3-packaging needs to be in RDEPENDS as well, I'll
make a fix (or you can quickly try to see if it resolves the error).

Alex

On Wed, 20 Dec 2023 at 20:12, Khem Raj  wrote:
>
> this is regressing some dependent recipe e.g. simpleiot which depends
> on gyp from nodejs-native
>
> https://github.com/YoeDistro/yoe-distro/actions/runs/7258317572/job/19834510249?pr=882
>
> On Thu, Dec 14, 2023 at 11:53 PM Alexander Kanavin
>  wrote:
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  ...001-build-fix-build-with-Python-3.12.patch | 55 
> >  .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++
> >  .../recipes-devtools/nodejs/nodejs_20.8.1.bb  |  4 +-
> >  3 files changed, 121 insertions(+), 1 deletion(-)
> >  create mode 100644 
> > meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> >  create mode 100644 
> > meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> >
> > diff --git 
> > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> >  
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > new file mode 100644
> > index 0..39026d074
> > --- /dev/null
> > +++ 
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > @@ -0,0 +1,55 @@
> > +From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
> > +From: Luigi Pinca 
> > +Date: Wed, 8 Nov 2023 21:20:53 +0100
> > +Subject: [PATCH] build: fix build with Python 3.12
> > +
> > +Replace `distutils.version.StrictVersion` with
> > +`packaging.version.Version`.
> > +
> > +Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
> > +PR-URL: https://github.com/nodejs/node/pull/50582
> > +Reviewed-By: Richard Lau 
> > +Reviewed-By: Chengzhong Wu 
> > +
> > +Upstream-Status: Backport 
> > [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
> > +Signed-off-by: Alexander Kanavin 
> > +---
> > + configure.py | 11 +--
> > + 1 file changed, 5 insertions(+), 6 deletions(-)
> > +
> > +diff --git a/configure.py b/configure.py
> > +index 62f041ce..18fe7c14 100755
> > +--- a/configure.py
> >  b/configure.py
> > +@@ -14,8 +14,6 @@ import bz2
> > + import io
> > + from pathlib import Path
> > +
> > +-from distutils.version import StrictVersion
> > +-
> > + # If not run from node/, cd to node/.
> > + os.chdir(Path(__file__).parent)
> > +
> > +@@ -30,6 +28,7 @@ tools_path = Path('tools')
> > +
> > + sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
> > + from gyp.common import GetFlavor
> > ++from packaging.version import Version
> > +
> > + # imports in tools/configure.d
> > + sys.path.insert(0, str(tools_path / 'configure.d'))
> > +@@ -1565,10 +1564,10 @@ def configure_openssl(o):
> > + # supported asm compiler for AVX2. See 
> > https://github.com/openssl/openssl/
> > + # 
> > blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
> > + openssl110_asm_supported = \
> > +-  ('gas_version' in variables and 
> > StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
> > +-  ('xcode_version' in variables and 
> > StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
> > +-  ('llvm_version' in variables and 
> > StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
> > +-  ('nasm_version' in variables and 
> > StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
> > ++  ('gas_version' in variables and Version(variables['gas_version']) 
> > >= Version('2.23')) or \
> > ++  ('xcode_version' in variables and 
> > Version(variables['xcode_version']) >= Version('5.0')) or \
> > ++  ('llvm_version' in variables and Version(variables['llvm_version']) 
> > >= Version('3.3')) or \
> > ++  ('nasm_version' in variables and Version(variables['nasm_version']) 
> > >= Version('2.10'))
> > +
> > + if is_x86 and not openssl110_asm_supported:
> > +   error('''Did not find a new enough assembler, install one or build 
> > with
> > diff --git 
> > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> >  
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > new file mode 100644
> > index 0..9d878dfb8
> > --- /dev/null
> > +++ 
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> > @@ -0,0 +1,63 @@
> > +From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001
> > +From: Alexander Kanavin 
> > +Date: Thu, 7 Dec 2023 12:54:30 +0100
> > +Subject: [PATCH] gyp: resolve python 3.12 issues
> > +
> > +Upstream has updated gyp wholesale in the main branch, so
> > +this patch can be dropped in due time.
> > +
> > +Upstream-Status: Inappropriate [issue will be fixed upstream with the next 
> > nodejs L

Re: [oe] [meta-oe][PATCH] c-ares: Move to tarballs, add ptest and static support

2023-12-20 Thread Alex Kiernan
On Wed, Dec 20, 2023 at 8:40 PM Khem Raj  wrote:
>
> On Wed, Dec 20, 2023 at 12:08 PM Alex Kiernan  wrote:
> >
> > Signed-off-by: Alex Kiernan 
> > ---
> >
> >  .../recipes-support/c-ares/c-ares/run-ptest   |  7 +++
> >  .../recipes-support/c-ares/c-ares_1.24.0.bb   | 19 ++-
> >  2 files changed, 21 insertions(+), 5 deletions(-)
> >  create mode 100644 meta-oe/recipes-support/c-ares/c-ares/run-ptest
> >
> > diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest 
> > b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
> > new file mode 100644
> > index ..ec115a535217
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
> > @@ -0,0 +1,7 @@
> > +#!/bin/sh
> > +
> > +if /usr/lib/c-ares/ptest/arestest; then
>
> hardcoding /usr/lib might not work in all cases e.g. where baselib is
> lib64 e.g. perhaps on ppc64 or multilib x86_64
>

I stupidly copied it from another recipe... I even thought that at the
time and then completely forgot :|

> > +   echo "PASS: c-ares"
> > +else
> > +   echo "FAIL: c-ares"
> > +fi
> > diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb 
> > b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> > index 2171002aa95e..3b3b2b83febc 100644
> > --- a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> > +++ b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> > @@ -5,14 +5,23 @@ SECTION = "libs"
> >  LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
> >
> > -SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https"
> > -SRCREV = "972f456f2808b4e4b1730c90ab506f6af5f4c725"
> > +SRC_URI = "https://c-ares.org/download/c-ares-1.24.0.tar.gz \
> > +   file://run-ptest"
> > +SRC_URI[sha256sum] = 
> > "c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103"
> >
> > -UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"
> > +PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', 
> > d)}"
> > +PACKAGECONFIG[manpages] = ""
> > +PACKAGECONFIG[tests] = 
> > "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
> >
> > -S = "${WORKDIR}/git"
> > +inherit cmake manpages pkgconfig ptest
> >
> > -inherit cmake pkgconfig
> > +EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == 
> > '' else 'OFF' }"
> > +
> > +do_install_ptest () {
> > +   install -d ${D}${PTEST_PATH}
> > +   install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
> > +   install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
> > +}
> >
> >  PACKAGE_BEFORE_PN = "${PN}-utils"
> >
> > --
> > 2.39.0
> >
> >
> > 
> >



-- 
Alex Kiernan

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



[oe] [meta-oe][PATCH] thin-provisioning-tools: Upgrade 1.0.4 -> 1.0.9

2023-12-20 Thread Alex Kiernan
Signed-off-by: Alex Kiernan 
---

 .../thin-provisioning-tools-crates.inc| 318 --
 .../thin-provisioning-tools-git-crates.inc|   4 -
 4.bb => thin-provisioning-tools_1.0.9.bb} |   2 +-
 3 files changed, 139 insertions(+), 185 deletions(-)
 rename 
meta-oe/recipes-support/thin-provisioning-tools/{thin-provisioning-tools_1.0.4.bb
 => thin-provisioning-tools_1.0.9.bb} (95%)

diff --git 
a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
 
b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
index f7992b9411e9..52a8180d23a1 100644
--- 
a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
+++ 
b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
@@ -3,304 +3,262 @@
 # from Cargo.lock
 SRC_URI += " \
 crate://crates.io/adler/1.0.2 \
-crate://crates.io/aho-corasick/1.0.1 \
-crate://crates.io/anyhow/1.0.70 \
+crate://crates.io/aho-corasick/1.1.2 \
+crate://crates.io/anstyle/1.0.4 \
+crate://crates.io/anyhow/1.0.75 \
 crate://crates.io/atty/0.2.14 \
 crate://crates.io/autocfg/1.1.0 \
-crate://crates.io/base64/0.20.0 \
+crate://crates.io/base64/0.21.5 \
 crate://crates.io/bitflags/1.3.2 \
-crate://crates.io/bytemuck/1.13.1 \
-crate://crates.io/byteorder/1.4.3 \
+crate://crates.io/bitflags/2.4.1 \
+crate://crates.io/bytemuck/1.14.0 \
+crate://crates.io/byteorder/1.5.0 \
 crate://crates.io/cassowary/0.3.0 \
-crate://crates.io/cc/1.0.79 \
 crate://crates.io/cfg-if/1.0.0 \
-crate://crates.io/clap/3.2.23 \
-crate://crates.io/clap_lex/0.2.4 \
-crate://crates.io/console/0.15.5 \
+crate://crates.io/clap/4.4.11 \
+crate://crates.io/clap_builder/4.4.11 \
+crate://crates.io/clap_lex/0.6.0 \
+crate://crates.io/console/0.15.7 \
+crate://crates.io/crc32c/0.6.4 \
 crate://crates.io/crc32fast/1.3.2 \
-crate://crates.io/data-encoding/2.3.3 \
+crate://crates.io/data-encoding/2.5.0 \
 crate://crates.io/difflib/0.4.0 \
 crate://crates.io/downcast/0.11.0 \
 crate://crates.io/duct/0.13.6 \
-crate://crates.io/either/1.8.1 \
+crate://crates.io/either/1.9.0 \
 crate://crates.io/encode_unicode/0.3.6 \
-crate://crates.io/env_logger/0.7.1 \
-crate://crates.io/errno/0.3.1 \
-crate://crates.io/errno-dragonfly/0.1.2 \
+crate://crates.io/env_logger/0.8.4 \
+crate://crates.io/errno/0.3.8 \
 crate://crates.io/exitcode/1.1.2 \
-crate://crates.io/fastrand/1.9.0 \
+crate://crates.io/fastrand/2.0.1 \
 crate://crates.io/fixedbitset/0.4.2 \
-crate://crates.io/flate2/1.0.25 \
+crate://crates.io/flate2/1.0.28 \
 crate://crates.io/float-cmp/0.9.0 \
 crate://crates.io/fragile/2.0.0 \
-crate://crates.io/futures/0.3.28 \
-crate://crates.io/futures-channel/0.3.28 \
-crate://crates.io/futures-core/0.3.28 \
-crate://crates.io/futures-executor/0.3.28 \
-crate://crates.io/futures-io/0.3.28 \
-crate://crates.io/futures-macro/0.3.28 \
-crate://crates.io/futures-sink/0.3.28 \
-crate://crates.io/futures-task/0.3.28 \
-crate://crates.io/futures-util/0.3.28 \
-crate://crates.io/getrandom/0.1.16 \
-crate://crates.io/getrandom/0.2.9 \
-crate://crates.io/hashbrown/0.12.3 \
+crate://crates.io/getrandom/0.2.11 \
 crate://crates.io/hermit-abi/0.1.19 \
-crate://crates.io/hermit-abi/0.2.6 \
-crate://crates.io/hermit-abi/0.3.1 \
-crate://crates.io/indexmap/1.9.3 \
-crate://crates.io/indicatif/0.17.3 \
+crate://crates.io/hermit-abi/0.3.3 \
+crate://crates.io/indicatif/0.17.7 \
 crate://crates.io/instant/0.1.12 \
-crate://crates.io/io-lifetimes/1.0.10 \
 crate://crates.io/iovec/0.1.4 \
 crate://crates.io/itertools/0.10.5 \
-crate://crates.io/jobserver/0.1.26 \
-crate://crates.io/json/0.12.4 \
 crate://crates.io/lazy_static/1.4.0 \
-crate://crates.io/libc/0.2.142 \
-crate://crates.io/linux-raw-sys/0.3.4 \
-crate://crates.io/log/0.4.17 \
-crate://crates.io/memchr/2.5.0 \
+crate://crates.io/libc/0.2.150 \
+crate://crates.io/linux-raw-sys/0.4.12 \
+crate://crates.io/log/0.4.20 \
+crate://crates.io/memchr/2.6.4 \
 crate://crates.io/minimal-lexical/0.2.1 \
-crate://crates.io/miniz_oxide/0.6.2 \
+crate://crates.io/miniz_oxide/0.7.1 \
 crate://crates.io/mockall/0.11.4 \
 crate://crates.io/mockall_derive/0.11.4 \
 crate://crates.io/nom/7.1.3 \
 crate://crates.io/normalize-line-endings/0.3.0 \
-crate://crates.io/num-derive/0.3.3 \
-crate://crates.io/num-traits/0.2.15 \
-crate://crates.io/num_cpus/1.15.0 \
+crate://crates.io/num-derive/0.4.1 \
+crate://crates.io/num-traits/0.2.17 \
+crate://crates.io/num_cpus/1.16.0 \
 crate://crates.io/number_prefix/0.4.0 \
 crate://crates.io/numtoa/0.1.0 \
-crate://crates.io/once_cell/1.17.1 \
+crate://

Re: [oe] [meta-oe][PATCH] c-ares: Move to tarballs, add ptest and static support

2023-12-20 Thread Khem Raj
On Wed, Dec 20, 2023 at 12:08 PM Alex Kiernan  wrote:
>
> Signed-off-by: Alex Kiernan 
> ---
>
>  .../recipes-support/c-ares/c-ares/run-ptest   |  7 +++
>  .../recipes-support/c-ares/c-ares_1.24.0.bb   | 19 ++-
>  2 files changed, 21 insertions(+), 5 deletions(-)
>  create mode 100644 meta-oe/recipes-support/c-ares/c-ares/run-ptest
>
> diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest 
> b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
> new file mode 100644
> index ..ec115a535217
> --- /dev/null
> +++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
> @@ -0,0 +1,7 @@
> +#!/bin/sh
> +
> +if /usr/lib/c-ares/ptest/arestest; then

hardcoding /usr/lib might not work in all cases e.g. where baselib is
lib64 e.g. perhaps on ppc64 or multilib x86_64

> +   echo "PASS: c-ares"
> +else
> +   echo "FAIL: c-ares"
> +fi
> diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb 
> b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> index 2171002aa95e..3b3b2b83febc 100644
> --- a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> +++ b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
> @@ -5,14 +5,23 @@ SECTION = "libs"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
>
> -SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https"
> -SRCREV = "972f456f2808b4e4b1730c90ab506f6af5f4c725"
> +SRC_URI = "https://c-ares.org/download/c-ares-1.24.0.tar.gz \
> +   file://run-ptest"
> +SRC_URI[sha256sum] = 
> "c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103"
>
> -UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"
> +PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', 
> d)}"
> +PACKAGECONFIG[manpages] = ""
> +PACKAGECONFIG[tests] = 
> "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
>
> -S = "${WORKDIR}/git"
> +inherit cmake manpages pkgconfig ptest
>
> -inherit cmake pkgconfig
> +EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' 
> else 'OFF' }"
> +
> +do_install_ptest () {
> +   install -d ${D}${PTEST_PATH}
> +   install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
> +   install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
> +}
>
>  PACKAGE_BEFORE_PN = "${PN}-utils"
>
> --
> 2.39.0
>
>
> 
>

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



[oe] [meta-oe][PATCH] c-ares: Move to tarballs, add ptest and static support

2023-12-20 Thread Alex Kiernan
Signed-off-by: Alex Kiernan 
---

 .../recipes-support/c-ares/c-ares/run-ptest   |  7 +++
 .../recipes-support/c-ares/c-ares_1.24.0.bb   | 19 ++-
 2 files changed, 21 insertions(+), 5 deletions(-)
 create mode 100644 meta-oe/recipes-support/c-ares/c-ares/run-ptest

diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest 
b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
new file mode 100644
index ..ec115a535217
--- /dev/null
+++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if /usr/lib/c-ares/ptest/arestest; then
+   echo "PASS: c-ares"
+else
+   echo "FAIL: c-ares"
+fi
diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb 
b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
index 2171002aa95e..3b3b2b83febc 100644
--- a/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
+++ b/meta-oe/recipes-support/c-ares/c-ares_1.24.0.bb
@@ -5,14 +5,23 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc"
 
-SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https"
-SRCREV = "972f456f2808b4e4b1730c90ab506f6af5f4c725"
+SRC_URI = "https://c-ares.org/download/c-ares-1.24.0.tar.gz \
+   file://run-ptest"
+SRC_URI[sha256sum] = 
"c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103"
 
-UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"
+PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
+PACKAGECONFIG[manpages] = ""
+PACKAGECONFIG[tests] = 
"-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
 
-S = "${WORKDIR}/git"
+inherit cmake manpages pkgconfig ptest
 
-inherit cmake pkgconfig
+EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' 
else 'OFF' }"
+
+do_install_ptest () {
+   install -d ${D}${PTEST_PATH}
+   install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
+   install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
+}
 
 PACKAGE_BEFORE_PN = "${PN}-utils"
 
-- 
2.39.0


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



Re: [oe] [PATCH 20/20] nodejs: backport (partially) python 3.12 support

2023-12-20 Thread Khem Raj
this is regressing some dependent recipe e.g. simpleiot which depends
on gyp from nodejs-native

https://github.com/YoeDistro/yoe-distro/actions/runs/7258317572/job/19834510249?pr=882

On Thu, Dec 14, 2023 at 11:53 PM Alexander Kanavin
 wrote:
>
> Signed-off-by: Alexander Kanavin 
> ---
>  ...001-build-fix-build-with-Python-3.12.patch | 55 
>  .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++
>  .../recipes-devtools/nodejs/nodejs_20.8.1.bb  |  4 +-
>  3 files changed, 121 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
>  create mode 100644 
> meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
>
> diff --git 
> a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
>  
> b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> new file mode 100644
> index 0..39026d074
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> @@ -0,0 +1,55 @@
> +From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
> +From: Luigi Pinca 
> +Date: Wed, 8 Nov 2023 21:20:53 +0100
> +Subject: [PATCH] build: fix build with Python 3.12
> +
> +Replace `distutils.version.StrictVersion` with
> +`packaging.version.Version`.
> +
> +Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
> +PR-URL: https://github.com/nodejs/node/pull/50582
> +Reviewed-By: Richard Lau 
> +Reviewed-By: Chengzhong Wu 
> +
> +Upstream-Status: Backport 
> [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
> +Signed-off-by: Alexander Kanavin 
> +---
> + configure.py | 11 +--
> + 1 file changed, 5 insertions(+), 6 deletions(-)
> +
> +diff --git a/configure.py b/configure.py
> +index 62f041ce..18fe7c14 100755
> +--- a/configure.py
>  b/configure.py
> +@@ -14,8 +14,6 @@ import bz2
> + import io
> + from pathlib import Path
> +
> +-from distutils.version import StrictVersion
> +-
> + # If not run from node/, cd to node/.
> + os.chdir(Path(__file__).parent)
> +
> +@@ -30,6 +28,7 @@ tools_path = Path('tools')
> +
> + sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
> + from gyp.common import GetFlavor
> ++from packaging.version import Version
> +
> + # imports in tools/configure.d
> + sys.path.insert(0, str(tools_path / 'configure.d'))
> +@@ -1565,10 +1564,10 @@ def configure_openssl(o):
> + # supported asm compiler for AVX2. See 
> https://github.com/openssl/openssl/
> + # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
> + openssl110_asm_supported = \
> +-  ('gas_version' in variables and 
> StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
> +-  ('xcode_version' in variables and 
> StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
> +-  ('llvm_version' in variables and 
> StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
> +-  ('nasm_version' in variables and 
> StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
> ++  ('gas_version' in variables and Version(variables['gas_version']) >= 
> Version('2.23')) or \
> ++  ('xcode_version' in variables and Version(variables['xcode_version']) 
> >= Version('5.0')) or \
> ++  ('llvm_version' in variables and Version(variables['llvm_version']) 
> >= Version('3.3')) or \
> ++  ('nasm_version' in variables and Version(variables['nasm_version']) 
> >= Version('2.10'))
> +
> + if is_x86 and not openssl110_asm_supported:
> +   error('''Did not find a new enough assembler, install one or build 
> with
> diff --git 
> a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
>  
> b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> new file mode 100644
> index 0..9d878dfb8
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> @@ -0,0 +1,63 @@
> +From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001
> +From: Alexander Kanavin 
> +Date: Thu, 7 Dec 2023 12:54:30 +0100
> +Subject: [PATCH] gyp: resolve python 3.12 issues
> +
> +Upstream has updated gyp wholesale in the main branch, so
> +this patch can be dropped in due time.
> +
> +Upstream-Status: Inappropriate [issue will be fixed upstream with the next 
> nodejs LTS update]
> +
> +Signed-off-by: Alexander Kanavin 
> +---
> + deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py | 4 ++--
> + tools/gyp/pylib/gyp/input.py  | 4 ++--
> + 2 files changed, 4 insertions(+), 4 deletions(-)
> +
> +diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py 
> b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
> +index d9699a0a..173e9465 100644
> +--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
>  b/

[oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Ross Burton
From: Ross Burton 

Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
in 2010[1].

As the small source tarballs no longer include the tools, fetch the
sqlite github mirror instead.

Don't bother installing a pretty minimal manpage, as very few projects
use lemon (sqlite itself, and libpbnjson).

[1] https://www.sqlite.org/releaselog/3_7_3.html

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/lemon/files/lemon.1  | 63 ---
 meta-oe/recipes-devtools/lemon/lemon.inc  | 25 
 .../recipes-devtools/lemon/lemon_3.44.2.bb| 24 +++
 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb |  7 ---
 4 files changed, 24 insertions(+), 95 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/lemon/files/lemon.1
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon.inc
 create mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb

diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 
b/meta-oe/recipes-devtools/lemon/files/lemon.1
deleted file mode 100644
index 914ee07013..00
--- a/meta-oe/recipes-devtools/lemon/files/lemon.1
+++ /dev/null
@@ -1,63 +0,0 @@
-.Dd 2002-10-04
-.Dt LEMON 1
-.Os "Debian GNU/Linux"
-.\" Manual page created by Guus Sliepen 
-.Sh NAME
-.Nm lemon
-.Nd The Lemon Parser Generator
-.Sh SYNOPSIS
-.Nm
-.Op Fl bcgmqsx
-.Ar input
-.Sh DESCRIPTION
-.Nm
-is an LALR(1) parser generator for C or C++.
-It does the same job as bison and yacc.
-But 
-.Nm
-is not another bison or yacc clone.
-It uses a different grammar syntax which is designed to reduce the number of 
coding errors.
-.Nm
-also uses a more sophisticated parsing engine that is faster than yacc and 
bison
-and which is both reentrant and thread-safe.
-Furthermore, 
-.Nm
-implements features that can be used to eliminate resource leaks,
-making is suitable for use in long-running programs such as graphical user 
interfaces or embedded controllers.
-.Pp
-.Nm
-will read the grammer from
-.Ar input
-and write out a parser for that grammar in the C language.
-.Sh OPTIONS
-.Bl -tag -width indent
-.It Fl b
-Print only the basis in report.
-.It Fl c
-Don't compress the action table.
-.It Fl g
-Print grammar without actions.
-.It Fl m
-Output a makeheaders compatible file.
-.It Fl q
-(Quiet) Don't print the report file.
-.It Fl s
-Print parser stats to standard output.
-.It Fl x
-Print the version number.
-.El
-.Sh FILES
-.Bl -tag -width indent
-.It Pa /usr/share/lemon/lempar.c
-Driver template for the
-.Nm
-parser generator.
-.El
-.Sh AUTHOR
-.Nm
-has been written by
-.An D. Richard Hipp Aq d...@hwaci.com .
-.Pp
-This manual page was written by
-.An Guus Sliepen Aq g...@debian.org
-for the Debian GNU/Linux system.
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc 
b/meta-oe/recipes-devtools/lemon/lemon.inc
deleted file mode 100644
index 57b9fb710e..00
--- a/meta-oe/recipes-devtools/lemon/lemon.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "The Lemon Parser Generator"
-HOMEPAGE = "http://www.hwaci.com/sw/lemon/";
-LICENSE = "PD"
-SECTION = "devel"
-
-SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
-   file://lemon.1"
-
-S = "${WORKDIR}/sqlite-${PV}/tool"
-
-do_compile() {
-${CC} ${CFLAGS} lemon.c -c -o lemon.o
-${CCLD} ${LDFLAGS} lemon.o -o lemon
-}
-
-do_install() {
-install -d ${D}${bindir}
-install -m 0755 lemon ${D}${bindir}
-install -m 0644 lempar.c ${D}${bindir}
-install -d ${D}${mandir}/man1
-install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
-}
-
-BBCLASSEXTEND = "native"
-
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
new file mode 100644
index 00..1b849922a6
--- /dev/null
+++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "The Lemon Parser Generator"
+HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html";
+LICENSE = "PD"
+SECTION = "devel"
+
+LIC_FILES_CHKSUM = 
"file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
+
+SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
+
+SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
+}
+
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 lemon ${D}${bindir}
+install -m 0644 tool/lempar.c ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
deleted file mode 100644
index 354db17e6e..00
--- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require lemon.inc
-
-LIC_FILES_CHKSUM = 
"file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
-
-SRC_URI[md5sum] = "5437978aae90350cf984993091e0d695"
-SRC_URI[sha256sum] = 
"dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6"
-

[oe] [PATCH 2/2] php: remove lemon-native build dependency

2023-12-20 Thread Ross Burton
From: Ross Burton 

This was required by the sqlite2 extension, which was removed from PHP
in 2010[1].

[1] 
https://github.com/php/php-src/commit/6c76f3606cddeb010cf1fc5ea28b47456ea9639e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/php/php_8.2.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/php/php_8.2.9.bb 
b/meta-oe/recipes-devtools/php/php_8.2.9.bb
index 27d3be1b00..cb9d0060a3 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.9.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.9.bb
@@ -6,7 +6,7 @@ LICENSE = "PHP-3.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5ebd5be8e2a89f634486445bd164bef0"
 
 BBCLASSEXTEND = "native"
-DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native"
+DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native"
 DEPENDS:append:libc-musl = " libucontext"
 DEPENDS:class-native = "zlib-native libxml2-native"
 
-- 
2.34.1


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



Re: [oe] [meta-networking][PATCH] open-vm-toos: upgrade 12.1.5 -> 12.3.5

2023-12-20 Thread Khem Raj
This fails to build for x86 with clang see
https://errors.yoctoproject.org/Errors/Details/748198/


On Thu, Dec 14, 2023 at 5:35 PM Yi Zhao  wrote:
>
> Release Notes:
> https://github.com/vmware/open-vm-tools/blob/stable-12.3.5/ReleaseNotes.md
> ChangeLog:
> https://github.com/vmware/open-vm-tools/blob/stable-12.3.5/open-vm-tools/ChangeLog
>
> Signed-off-by: Yi Zhao 
> ---
>  ...-Add-resolv_compat.h-for-musl-builds.patch |   4 +-
>  ...1-configure.ac-don-t-use-dnet-config.patch |   4 +-
>  ...e-configure-test-for-struct-timespec.patch |   8 +-
>  ...finition-of-ALLPERMS-and-ACCESSPERMS.patch |   8 +-
>  ...-test-for-feature-instead-of-platfor.patch |  21 +--
>  ...onfigure-test-for-sys-stat.h-include.patch |   8 +-
>  ...6-Fix-subdir-objects-configure-error.patch |   8 +-
>  ...include-poll.h-instead-of-sys-poll.h.patch |   8 +-
>  .../0008-Rename-poll.h-to-vm_poll.h.patch |  16 +-
>  ...strerror_r-unless-on-gnu-libc-system.patch |   6 +-
>  ...10-Use-uintmax_t-for-handling-rlim_t.patch |  10 +-
>  ...011-Use-off64_t-instead-of-__off64_t.patch |   3 +-
>  ...ux-Consider-64bit-time_t-possibility.patch |   8 +-
>  ...ools-Correct-include-path-for-poll.h.patch |   5 +-
>  ...-Portable-way-to-print-64bit-time_t.patch} |   5 +-
>  .../open-vm-tools/CVE-2023-20867.patch| 163 --
>  ...ools_12.1.5.bb => open-vm-tools_12.3.5.bb} |   7 +-
>  17 files changed, 66 insertions(+), 226 deletions(-)
>  rename 
> meta-networking/recipes-support/open-vm-tools/open-vm-tools/{0001-timeSync-Portable-way-to-print-64bit-time_t.patch
>  => 0014-timeSync-Portable-way-to-print-64bit-time_t.patch} (97%)
>  delete mode 100644 
> meta-networking/recipes-support/open-vm-tools/open-vm-tools/CVE-2023-20867.patch
>  rename 
> meta-networking/recipes-support/open-vm-tools/{open-vm-tools_12.1.5.bb => 
> open-vm-tools_12.3.5.bb} (96%)
>
> diff --git 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
>  
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
> index 4a97c2618..96270f860 100644
> --- 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
> +++ 
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
> @@ -1,4 +1,4 @@
> -From c1ee0b0a0a05379d0e6475dfceaaf41876192640 Mon Sep 17 00:00:00 2001
> +From 148aadcc1b61da6f6b9ee4bcd35c38b7fbaeb8a8 Mon Sep 17 00:00:00 2001
>  From: Trevor Gamblin 
>  Date: Wed, 14 Apr 2021 10:24:52 -0400
>  Subject: [PATCH] Add resolv_compat.h for musl builds
> @@ -17,7 +17,7 @@ Signed-off-by: Trevor Gamblin 
>   create mode 100644 open-vm-tools/lib/nicInfo/resolv_compat.h
>
>  diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c 
> b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
> -index c56b73cfe..8ae3b2f74 100644
> +index 6f20547b2..f5064a9c0 100644
>  --- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c
>  +++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
>  @@ -70,6 +70,10 @@
> diff --git 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
>  
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
> index 3aa21e3ec..69c825311 100644
> --- 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
> +++ 
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
> @@ -1,4 +1,4 @@
> -From c953564b9f029b31381a2c630b47133ffe6a33e7 Mon Sep 17 00:00:00 2001
> +From 547d05ca417c6b75ad06bf3119e1df8869742a70 Mon Sep 17 00:00:00 2001
>  From: Martin Kelly 
>  Date: Fri, 7 Apr 2017 15:20:30 -0700
>  Subject: [PATCH] configure.ac: don't use dnet-config
> @@ -15,7 +15,7 @@ Signed-off-by: Martin Kelly 
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
>  diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac
> -index 3c058135a..124781f99 100644
> +index 26bfdb682..9e2a1d6e3 100644
>  --- a/open-vm-tools/configure.ac
>  +++ b/open-vm-tools/configure.ac
>  @@ -1227,7 +1227,7 @@ if test "$with_dnet" = "yes"; then
> diff --git 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
>  
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
> index c6af3d5ff..1029252c7 100644
> --- 
> a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
> +++ 
> b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
> @@ -1,4 +1,4 @@
> -From 6384b37cdef4ea868c3cee27bb627e4cfbab7b50 Mon Sep 17 00:00:00 2001
> +From 74ab6b05fcba32031255624a31676e2aa0db133f Mon Sep 17 00:00:00 2001
>  From: Natanael Copa 
>  Date: Wed, 18 Nov 2015 09:03:0

[oe] [meta-networking][PATCH] mdns: Upgrade 2200.40.37.0.1 -> 2200.60.25.0.4

2023-12-20 Thread Alex Kiernan
Signed-off-by: Alex Kiernan 
---

 .../mdns/{mdns_2200.40.37.0.1.bb => mdns_2200.60.25.0.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-protocols/mdns/{mdns_2200.40.37.0.1.bb => 
mdns_2200.60.25.0.4.bb} (99%)

diff --git a/meta-networking/recipes-protocols/mdns/mdns_2200.40.37.0.1.bb 
b/meta-networking/recipes-protocols/mdns/mdns_2200.60.25.0.4.bb
similarity index 99%
rename from meta-networking/recipes-protocols/mdns/mdns_2200.40.37.0.1.bb
rename to meta-networking/recipes-protocols/mdns/mdns_2200.60.25.0.4.bb
index 6c70fdf430a3..a009ae0c6e5c 100644
--- a/meta-networking/recipes-protocols/mdns/mdns_2200.40.37.0.1.bb
+++ b/meta-networking/recipes-protocols/mdns/mdns_2200.60.25.0.4.bb
@@ -25,7 +25,7 @@ SRC_URI = 
"git://github.com/apple-oss-distributions/mDNSResponder;protocol=https
file://0015-Add-missing-limits.h.patch \
file://0001-Handle-interface-without-ifa_addr.patch \
"
-SRCREV = "a9f4049ab772ca57b5afc9804ae5004beb711d6e"
+SRCREV = "8acabead9ae56551011172d6835822a89c5298d6"
 
 # We install a stub Makefile in the top directory so that the various checks
 # in base.bbclass pass their tests for a Makefile, this ensures (that amongst
-- 
2.39.0


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



Re: [oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Ross Burton
On 20 Dec 2023, at 14:15, Thomas Perrot via lists.openembedded.org 
 wrote:
> 
> +RDEPENDS:${PN}-nmtui += "${PN}-daemon 
> ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”

My point still remains: it looks like nmtui links to libnewt directly and 
doesn’t dlopen, so why is this needed?

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/libnmt-newt/meson.build?ref_type=heads#L29

Ross


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



[oe] [meta-oe][nanbield][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 12532e4ef1..dc73497257 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
file://0001-Fix-data-race-when-create-POSIX-thread.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


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



[oe] [meta-oe][mickledore][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 51bd5611fb..5fef774576 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,11 +8,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


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



[oe] [meta-oe][langdale][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

The SRCREV is still referenced from the tag so we could use nobranch here:
github/poco $ git tag --contains f1aefe34a46891b09230422bbc37465bc6d0a0d1
poco-1.12.3-release
poco-1.12.4-release

but the only difference in "new" branch HEAD is .github/FUNDING.ym file
(don't know why they force pushed all the branches just to remove this)

github/poco $ git diff f1aefe34a46891b09230422bbc37465bc6d0a0d1 
9fc117d585e552ae3327b56900df9cc40653d574
  diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
  deleted file mode 100644
  index b2884d85e..0
  --- a/.github/FUNDING.yml
  +++ /dev/null
  @@ -1,13 +0,0 @@
  -# These are supported funding model platforms
  -
  -github: [aleks-f]
  -patreon: # Replace with a single Patreon username
  -open_collective: # Replace with a single Open Collective username
  -ko_fi: # Replace with a single Ko-fi username
  -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., 
npm/babel
  -community_bridge: # Replace with a single Community Bridge project-name 
e.g., cloud-foundry
  -liberapay: # Replace with a single Liberapay username
  -issuehunt: # Replace with a single IssueHunt username
  -otechie: # Replace with a single Otechie username
  -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name 
e.g., cloud-foundry
  -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 
'link2']

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.3.bb 
b/meta-oe/recipes-support/poco/poco_1.12.3.bb
index 32c57ce978..55988a6f55 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.3.bb
@@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.3;protocol=https \
file://run-ptest \
"
-SRCREV = "f1aefe34a46891b09230422bbc37465bc6d0a0d1"
+SRCREV = "9fc117d585e552ae3327b56900df9cc40653d574"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


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



[oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..f50cb842dbb7 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
@@ -189,7 +192,7 @@ FILES:${PN}-nmtui = " \
 ${bindir}/nmtui-connect \
 ${bindir}/nmtui-hostname \
 "
-RDEPENDS:${PN}-nmtui += "${PN}-daemon"
+RDEPENDS:${PN}-nmtui += "${PN}-daemon 
${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}"
 
 SUMMARY:${PN}-wifi = "Wifi plugin for NetworkManager"
 FILES:${PN}-wifi = "\
-- 
2.43.0


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



Re: [oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
Hello,

On Wed, 2023-12-20 at 12:35 +, Ross Burton wrote:
> Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.
> 
> > +PACKAGECONFIG[nmtui] = "-Dnmtui=true,-
> > Dnmtui=false,libnewt,libnewt”
> 
> Doesn’t the shared library dependency happy automatically?  This puts
> the RDEPENDS on networkmanager, which isn’t the package containing
> nmtui.
> 

I agree, I'm submitting a v2 that adds the required dependency on
${PN}-nmtui instead.

Kind regards,
Thomas Perrot

> Ross
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



Re: [oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Ross Burton
Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.

> +PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt”

Doesn’t the shared library dependency happy automatically?  This puts the 
RDEPENDS on networkmanager, which isn’t the package containing nmtui.

Ross


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



[oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb| 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..7929ea02b3dc 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
-- 
2.43.0


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



[oe] [meta-oe][kirkstone][PATCH v3 4/4] libssh: upgrade 0.10.4 -> 0.10.5

2023-12-20 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

Changelog:
https://git.libssh.org/projects/libssh.git/tag/?h=libssh-0.10.5

* Generate cases list dynamically in run-ptest.
* Install missing file to fix ptest failure.

Signed-off-by: Yi Zhao 

Ref: 
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/nanbield-nut&id=b0833f1f3ec78f16a79d9ff66cdd19da93496018

Signed-off-by: Vijay Anusuri 
---
 .../recipes-support/libssh/libssh/run-ptest   | 42 ++-
 .../{libssh_0.10.4.bb => libssh_0.10.5.bb}|  5 ++-
 2 files changed, 7 insertions(+), 40 deletions(-)
 rename meta-oe/recipes-support/libssh/{libssh_0.10.4.bb => libssh_0.10.5.bb} 
(85%)

diff --git a/meta-oe/recipes-support/libssh/libssh/run-ptest 
b/meta-oe/recipes-support/libssh/libssh/run-ptest
index 159994e9b..6346b72d5 100644
--- a/meta-oe/recipes-support/libssh/libssh/run-ptest
+++ b/meta-oe/recipes-support/libssh/libssh/run-ptest
@@ -1,53 +1,17 @@
 #!/bin/sh
 
-# Valid tests to run
-tests="torture_bind_config \
-   torture_buffer \
-   torture_bytearray \
-   torture_callbacks \
-   torture_channel \
-   torture_config \
-   torture_crypto \
-   torture_hashes \
-   torture_init \
-   torture_isipaddr \
-   torture_keyfiles \
-   torture_knownhosts_parsing \
-   torture_list \
-   torture_misc \
-   torture_moduli \
-   torture_options \
-   torture_packet \
-   torture_packet_filter \
-   torture_pki \
-   torture_pki_ecdsa \
-   torture_pki_ed25519 \
-   torture_pki_rsa \
-   torture_push_pop_dir \
-   torture_rand \
-   torture_session_keys \
-   torture_temp_dir \
-   torture_temp_file \
-   torture_threads_buffer \
-   torture_threads_crypto \
-   torture_threads_init \
-   torture_threads_pki_rsa \
-   torture_tokens \
- "
-
 ptestdir=$(dirname "$(readlink -f "$0")")
 cd "$ptestdir"/tests || exit
 
-# Run specified tests
+tests=$(find * -type f -name 'torture_*')
+
 for f in $tests
 do
-if test -e ./"$f"; then
+if test -x ./"$f"; then
 if ./"$f" > ./"$f".out 2> ./"$f".err; then
 echo "PASS: $f"
 else
 echo "FAIL: $f"
 fi
-else
-echo "SKIP: $f"
 fi
 done
diff --git a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb 
b/meta-oe/recipes-support/libssh/libssh_0.10.5.bb
similarity index 85%
rename from meta-oe/recipes-support/libssh/libssh_0.10.4.bb
rename to meta-oe/recipes-support/libssh/libssh_0.10.5.bb
index 4b2ced5e5..f33987acf 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.10.5.bb
@@ -11,7 +11,7 @@ SRC_URI = 
"git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable

file://0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch \
file://run-ptest \
   "
-SRCREV = "e8322817a9e5aaef0698d779ddd467a209a85d85"
+SRCREV = "479eca1346b43e68c52186e3783f06ae6f34"
 
 S = "${WORKDIR}/git"
 
@@ -34,12 +34,15 @@ EXTRA_OECMAKE = " \
 do_compile:prepend () {
 if [ ${PTEST_ENABLED} = "1" ]; then
 sed -i -e 's|${B}|${PTEST_PATH}|g' ${B}/config.h
+sed -i -e 's|${S}|${PTEST_PATH}|g' ${B}/config.h
 fi
 }
 
 do_install_ptest () {
 install -d ${D}${PTEST_PATH}/tests
 cp -f ${B}/tests/unittests/torture_* ${D}${PTEST_PATH}/tests/
+install -d ${D}${PTEST_PATH}/tests/unittests
+cp -f ${S}/tests/unittests/hello*.sh ${D}${PTEST_PATH}/tests/unittests/
 }
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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



[oe] [meta-oe][kirkstone][PATCH v3 3/4] libssh: Fix build with clang16

2023-12-20 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

Signed-off-by: Khem Raj 

Ref: 
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/nanbield-nut&id=9323b287ef588f41c13f3520de85eb198f6eaf83

Signed-off-by: Vijay Anusuri 
---
 ...prototype-of-des3_encrypt-des3_decry.patch | 46 +++
 .../recipes-support/libssh/libssh_0.10.4.bb   |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 
meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch

diff --git 
a/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
 
b/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
new file mode 100644
index 0..19775fa52
--- /dev/null
+++ 
b/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
@@ -0,0 +1,46 @@
+From 0cade4573334571055127a2d4fe3641e2397948d Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Mon, 20 Mar 2023 21:59:19 -0700
+Subject: [PATCH] libgcrypt.c: Fix prototype of des3_encrypt/des3_decrypt
+
+This is to match the prototype for callback functions which are now emitted as
+errors by clang16
+
+Fixes
+
+TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libssh/0.10.4-r0/git/src/libgcrypt.c:903:20:
 error: incompatible function pointer types initializing 'void (*)(struct 
ssh_cipher_struct *, void *, void *, size_t)' (aka 'void (*)(struct 
ssh_cipher_struct *, void *, void *, unsigned int)') with an expression of type 
'void (struct ssh_cipher_struct *, void *, void *, unsigned long)' 
[-Wincompatible-function-pointer-types]
+.encrypt = des3_encrypt,
+   ^~~~
+TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libssh/0.10.4-r0/git/src/libgcrypt.c:904:20:
 error: incompatible function pointer types initializing 'void (*)(struct 
ssh_cipher_struct *, void *, void *, size_t)' (aka 'void (*)(struct 
ssh_cipher_struct *, void *, void *, unsigned int)') with an expression of type 
'void (struct ssh_cipher_struct *, void *, void *, unsigned long)' 
[-Wincompatible-function-pointer-types]
+.decrypt = des3_decrypt
+   ^~~~
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj 
+---
+ src/libgcrypt.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/libgcrypt.c b/src/libgcrypt.c
+index da5588ad..e482b654 100644
+--- a/src/libgcrypt.c
 b/src/libgcrypt.c
+@@ -469,12 +469,12 @@ static int des3_set_key(struct ssh_cipher_struct 
*cipher, void *key, void *IV) {
+ }
+ 
+ static void des3_encrypt(struct ssh_cipher_struct *cipher, void *in,
+-void *out, unsigned long len) {
++void *out, size_t len) {
+   gcry_cipher_encrypt(cipher->key[0], out, len, in, len);
+ }
+ 
+ static void des3_decrypt(struct ssh_cipher_struct *cipher, void *in,
+-void *out, unsigned long len) {
++void *out, size_t len) {
+   gcry_cipher_decrypt(cipher->key[0], out, len, in, len);
+ }
+ 
+-- 
+2.40.0
+
diff --git a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb 
b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
index 801644d95..4b2ced5e5 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
@@ -8,6 +8,7 @@ DEPENDS = "zlib openssl"
 
 SRC_URI = 
"git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.10 \

file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \
+   
file://0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch \
file://run-ptest \
   "
 SRCREV = "e8322817a9e5aaef0698d779ddd467a209a85d85"
-- 
2.25.1


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



[oe] [meta-oe][kirkstone][PATCH v3 2/4] libssh: add ptest

2023-12-20 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

Results:
$ ptest-runner libssh
START: ptest-runner
2023-03-16T02:56
BEGIN: /usr/lib/libssh/ptest
PASS: torture_bind_config
PASS: torture_buffer
PASS: torture_bytearray
PASS: torture_callbacks
PASS: torture_channel
PASS: torture_config
PASS: torture_crypto
PASS: torture_hashes
PASS: torture_init
PASS: torture_isipaddr
PASS: torture_keyfiles
PASS: torture_knownhosts_parsing
PASS: torture_list
PASS: torture_misc
PASS: torture_moduli
PASS: torture_options
PASS: torture_packet
PASS: torture_packet_filter
PASS: torture_pki
PASS: torture_pki_ecdsa
PASS: torture_pki_ed25519
PASS: torture_pki_rsa
PASS: torture_push_pop_dir
PASS: torture_rand
PASS: torture_session_keys
PASS: torture_temp_dir
PASS: torture_temp_file
PASS: torture_threads_buffer
PASS: torture_threads_crypto
PASS: torture_threads_init
PASS: torture_threads_pki_rsa
PASS: torture_tokens
DURATION: 24
END: /usr/lib/libssh/ptest
2023-03-16T02:56
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Yi Zhao 

Ref: 
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/nanbield-nut&id=bf49bdea290ba8cf18f3fd6b47d1d71dfe499948

Signed-off-by: Vijay Anusuri 
---
 txt-do-not-search-ssh-sshd-commands.patch | 38 +
 .../recipes-support/libssh/libssh/run-ptest   | 53 +++
 .../recipes-support/libssh/libssh_0.10.4.bb   | 21 ++--
 3 files changed, 109 insertions(+), 3 deletions(-)
 create mode 100644 
meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
 create mode 100644 meta-oe/recipes-support/libssh/libssh/run-ptest

diff --git 
a/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
 
b/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
new file mode 100644
index 0..0c7f53029
--- /dev/null
+++ 
b/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
@@ -0,0 +1,38 @@
+From d2525ba0bc7b11de12c54ea1a3d1eb862537136d Mon Sep 17 00:00:00 2001
+From: Yi Zhao 
+Date: Wed, 15 Mar 2023 16:51:58 +0800
+Subject: [PATCH] tests/CMakeLists.txt: do not search ssh/sshd commands on host
+
+It will search ssh/sshd commands on host when configure. Since they are
+not required by unittests, we can skip the search.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Yi Zhao 
+---
+ tests/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index 22a36f37..aa32ca2e 100644
+--- a/tests/CMakeLists.txt
 b/tests/CMakeLists.txt
+@@ -86,6 +86,7 @@ set(TEST_TARGET_LIBRARIES
+ 
+ add_subdirectory(unittests)
+ 
++if (CLIENT_TESTING OR SERVER_TESTING)
+ # OpenSSH Capabilities are required for all unit tests
+ find_program(SSH_EXECUTABLE NAMES ssh)
+ if (SSH_EXECUTABLE)
+@@ -293,6 +294,7 @@ if (CLIENT_TESTING OR SERVER_TESTING)
+ 
+ message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
+ endif ()
++endif ()
+ 
+ configure_file(tests_config.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/tests_config.h)
+ 
+-- 
+2.25.1
+
diff --git a/meta-oe/recipes-support/libssh/libssh/run-ptest 
b/meta-oe/recipes-support/libssh/libssh/run-ptest
new file mode 100644
index 0..159994e9b
--- /dev/null
+++ b/meta-oe/recipes-support/libssh/libssh/run-ptest
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Valid tests to run
+tests="torture_bind_config \
+   torture_buffer \
+   torture_bytearray \
+   torture_callbacks \
+   torture_channel \
+   torture_config \
+   torture_crypto \
+   torture_hashes \
+   torture_init \
+   torture_isipaddr \
+   torture_keyfiles \
+   torture_knownhosts_parsing \
+   torture_list \
+   torture_misc \
+   torture_moduli \
+   torture_options \
+   torture_packet \
+   torture_packet_filter \
+   torture_pki \
+   torture_pki_ecdsa \
+   torture_pki_ed25519 \
+   torture_pki_rsa \
+   torture_push_pop_dir \
+   torture_rand \
+   torture_session_keys \
+   torture_temp_dir \
+   torture_temp_file \
+   torture_threads_buffer \
+   torture_threads_crypto \
+   torture_threads_init \
+   torture_threads_pki_rsa \
+   torture_tokens \
+ "
+
+ptestdir=$(dirname "$(readlink -f "$0")")
+cd "$ptestdir"/tests || exit
+
+# Run specified tests
+for f in $tests
+do
+if test -e ./"$f"; then
+if ./"$f" > ./"$f".out 2> ./"$f".err; then
+echo "PASS: $f"
+else
+echo "FAIL: $f"
+fi
+else
+echo "SKIP: $f"
+fi
+done
diff --git a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb 
b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
index 3a57a728a..801644d95 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
@@ -6,16 +6,20 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"

[oe] [meta-oe][kirkstone][PATCH v3 1/4] libssh: upgrade 0.8.9 -> 0.10.4

2023-12-20 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

ChangeLog:
https://git.libssh.org/projects/libssh.git/tree/CHANGELOG?h=libssh-0.10.4

Drop CVE-2020-16135.patch

Ref: 
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/nanbield-nut&id=4b7e4341327e867208bfc3d8ba1954af66641e60

Signed-off-by: Vijay Anusuri 
---
 .../libssh/libssh/CVE-2020-16135.patch| 44 ---
 .../{libssh_0.8.9.bb => libssh_0.10.4.bb} | 16 ++-
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libssh/libssh/CVE-2020-16135.patch
 rename meta-oe/recipes-support/libssh/{libssh_0.8.9.bb => libssh_0.10.4.bb} 
(62%)

diff --git a/meta-oe/recipes-support/libssh/libssh/CVE-2020-16135.patch 
b/meta-oe/recipes-support/libssh/libssh/CVE-2020-16135.patch
deleted file mode 100644
index 63b78688d..0
--- a/meta-oe/recipes-support/libssh/libssh/CVE-2020-16135.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 0a9268a60f2d3748ca69bde5651f20e72761058c Mon Sep 17 00:00:00 2001
-From: Andreas Schneider 
-Date: Wed, 3 Jun 2020 10:04:09 +0200
-Subject: CVE-2020-16135: Add missing NULL check for ssh_buffer_new()
-
-Add a missing NULL check for the pointer returned by ssh_buffer_new() in
-sftpserver.c.
-
-Thanks to Ramin Farajpour Cami for spotting this.
-
-Fixes T232
-
-Signed-off-by: Andreas Schneider 
-Reviewed-by: Anderson Toshiyuki Sasaki 
-Reviewed-by: Jakub Jelen 
-(cherry picked from commit 533d881b0f4b24c72b35ecc97fa35d295d063e53)
-
-Upstream-Status: Backport 
[https://git.libssh.org/projects/libssh.git/patch/?id=0a9268a60f2d3748ca69bde5651f20e72761058c]
-CVE: CVE-2020-16135
-Signed-off-by: Hitendra Prajapati 

- src/sftpserver.c | 6 ++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/sftpserver.c b/src/sftpserver.c
-index 1717aa417..1af8a0e76 100644
 a/src/sftpserver.c
-+++ b/src/sftpserver.c
-@@ -64,6 +64,12 @@ sftp_client_message sftp_get_client_message(sftp_session 
sftp) {
- 
-   /* take a copy of the whole packet */
-   msg->complete_message = ssh_buffer_new();
-+  if (msg->complete_message == NULL) {
-+  ssh_set_error_oom(session);
-+  sftp_client_message_free(msg);
-+  return NULL;
-+  }
-+
-   ssh_buffer_add_data(msg->complete_message,
-   ssh_buffer_get(payload),
-   ssh_buffer_get_len(payload));
--- 
-2.25.1
-
diff --git a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb 
b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
similarity index 62%
rename from meta-oe/recipes-support/libssh/libssh_0.8.9.bb
rename to meta-oe/recipes-support/libssh/libssh_0.10.4.bb
index 061f13912..3a57a728a 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
 
 DEPENDS = "zlib openssl"
 
-SRC_URI = 
"git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.8 \
-   file://CVE-2020-16135.patch \
-  "
-SRCREV = "04685a74df9ce1db1bc116a83a0da78b4f4fa1f8"
+SRC_URI = 
"git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.10"
+SRCREV = "e8322817a9e5aaef0698d779ddd467a209a85d85"
 
 S = "${WORKDIR}/git"
 
@@ -25,15 +23,7 @@ EXTRA_OECMAKE = " \
 -DWITH_PCAP=1 \
 -DWITH_SFTP=1 \
 -DWITH_ZLIB=1 \
--DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
+-DWITH_EXAMPLES=0 \
 "
 
-do_configure:prepend () {
-# Disable building of examples
-sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' 
${S}/CMakeLists.txt \
-|| bbfatal "Failed to disable examples"
-}
-
-TOOLCHAIN = "gcc"
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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