Skip to contentSkip to conversation

openvpn: upgrade 2.6.15 -> 2.6.16

PATCH New [email protected] 1 participant 10 messages Dec 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 openvpn: upgrade 2.6.15 -> 2.6.16

From: Wang Mingyu <[email protected]>

Code maintenance / Compat changes
---------------------------------
- adapt to new "encrypt-then-mac" cipher suites in OpenSSL 3.6.0 - these need special handling which we don't do, so the t_lpback self-test failed on them. Exclude from list of allowed ciphers, as there is no strong reason today to make OpenVPN use these.
- fix various compile-time warnings

Documentation updates
---------------------
- fix outdated and non-HTTPS URLs throughout the tree (doxygen, warnings, manpage, ...)

Bugfixes
--------
- Fix memcmp check for the hmac verification in the 3way handshake. This bug renders the HMAC based protection against state exhaustion on receiving spoofed TLS handshake packets in the OpenVPN server inefficient.
CVE: 2025-13086
- fix invalid pointer creation in tls_pre_decrypt() - technically this is a memory over-read issue, in practice, the compilers optimize it away so no negative effects could be observed.
- Windows: in the interactive service, fix the "undo DNS config" handling.
- Windows: in the interactive service, disallow using of "stdin" for the config file, unless the caller is authorized OpenVPN Administrator
- Windows: in the interactive service, change all netsh calls to use interface index and not interface name - sidesteps all possible attack avenues with special characters in interface names.
- Windows: in the interactive service, improve error handling in some "unlikely to happen" paths.
- auth plugin/script handling: properly check for errors in creation on $auth_failed_reason_file (arf).
- for incoming TCP connections, close-on-exec option was applied to the wrong socket fd, leaking socket FDs to child processes.
- sitnl: set close-on-exec flag on netlink socket
- ssl_mbedtls: fix missing perf_pop() call (optional performance profiling)

(cherry picked from commit 351ac662131944f4c40ea8410a0077cc715053a2)
---
 .../openvpn/{openvpn_2.6.15.bb => openvpn_2.6.16.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-support/openvpn/{openvpn_2.6.15.bb => openvpn_2.6.16.bb} (98%)
meta-networking/recipes-support/openvpn/openvpn_2.6.16.bb renamed from meta-networking/recipes-support/openvpn/openvpn_2.6.15.bb +1 -1
similarity index 98%
rename from meta-networking/recipes-support/openvpn/openvpn_2.6.15.bb
rename to meta-networking/recipes-support/openvpn/openvpn_2.6.16.bb
index 8a88282cd5..88f564313f 100644
@@ -15,7 +15,7 @@ SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
 
 UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads"
 
-SRC_URI[sha256sum] = "e35513ee15995e3c71adfd8891b9f33522896c70b3baa2ed9a23c7a42c4d7bde"
+SRC_URI[sha256sum] = "05cb5fdf1ea33fcba719580b31a97feaa019c4a3050563e88bc3b34675e6fed4"
 
 CVE_STATUS[CVE-2020-27569] = "not-applicable-config: Applies only Aviatrix OpenVPN client, not openvpn"
 
#1 lore raw

PATCH 2/10 netcat-openbsd: update to 1.228

From: Dan McGregor <[email protected]>

A version newer than 1.195 is required for certain features of newer versions of cloud-init. May as well bump to the version in Debian Testing.

I also noticed it appears the licence was incorrectly specified, and is indeed BSD-3-Clause.

License-update: Added copyright holders and clarified man page licence

(cherry picked from commit 91389e4d5aff2180fb947746c058c520ff3ea042)
---
 ...bundle-own-base64-encode-decode-functions.patch | 12 ++++++------
 ...0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch | 10 +++++-----
 ...at-openbsd_1.195.bb => netcat-openbsd_1.228.bb} | 14 ++++++--------
 3 files changed, 17 insertions(+), 19 deletions(-)
 rename meta-networking/recipes-support/netcat/{netcat-openbsd_1.195.bb => netcat-openbsd_1.228.bb} (63%)
meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch +6 -6
index 929f63f4a9..7e665d777f 100644
@@ -14,7 +14,7 @@ Update to version 1.190-2
 Signed-off-by: Changqing Li <[email protected]>
 ---
  Makefile |   4 +-
- base64.c | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ base64.c | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
  netcat.c |   3 +
  socks.c  |   3 +
  4 files changed, 321 insertions(+), 2 deletions(-)
@@ -360,8 +360,8 @@ diff --git a/netcat.c b/netcat.c
 index a0fb51b..9c4ed23 100644
 --- a/netcat.c
 +++ b/netcat.c
-@@ -240,6 +240,9 @@ static int connect_with_timeout(int fd, const struct sockaddr *sa,
- 
+@@ -239,6 +239,9 @@ char *proto_name(int, int);
+ static int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
  static void quit();
  
 +int    b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
@@ -378,10 +378,10 @@ index 9068f39..c576f6b 100644
  #define SOCKS_DOMAIN	3
  #define SOCKS_IPV6	4
  
-+int    b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
-+int    b64_pton(char const *src, u_char *target, size_t targsize);
++int	b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
++int	b64_pton(char const *src, u_char *target, size_t targsize);
 +
- int	remote_connect(const char *, const char *, struct addrinfo);
+ int	remote_connect(const char *, const char *, struct addrinfo, char *);
  int	socks_connect(const char *, const char *, struct addrinfo,
  	    const char *, const char *, struct addrinfo, int,
 -- 
meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch +5 -5
index c1757d39ad..d574ee0b67 100644
@@ -28,19 +28,19 @@ Signed-off-by: mark.yang <[email protected]>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index d70598a..b8ba959 100644
+index 62d01d8..7367f47 100644
 --- a/netcat.c
 +++ b/netcat.c
-@@ -238,7 +238,7 @@ char *proto_name(int uflag, int dccpflag);
- static int connect_with_timeout(int fd, const struct sockaddr *sa,
-         socklen_t salen, int ctimeout);
+@@ -237,7 +237,7 @@ ssize_t fillbuf(int, unsigned char *, size_t *);
  
+ char *proto_name(int, int);
+ static int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
 -static void quit();
 +static void quit(int sig);
  
  int    b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
  int    b64_pton(char const *src, u_char *target, size_t targsize);
-@@ -2235,7 +2235,7 @@ usage(int ret)
+@@ -2347,7 +2347,7 @@ usage(int ret)
   * quit()
   * handler for a "-q" timeout (exit 0 instead of 1)
   */
meta-networking/recipes-support/netcat/netcat-openbsd_1.228.bb renamed from meta-networking/recipes-support/netcat/netcat-openbsd_1.195.bb +6 -8
similarity index 63%
rename from meta-networking/recipes-support/netcat/netcat-openbsd_1.195.bb
rename to meta-networking/recipes-support/netcat/netcat-openbsd_1.228.bb
index 99ae90aa91..82753b9f42 100644
@@ -1,22 +1,20 @@
 require netcat.inc
 SUMMARY = "OpenBSD Netcat"
 HOMEPAGE = "http://ftp.debian.org"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=f39e60ae4ea9fdb559c833be2e59de99"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://debian/copyright;md5=7c58e21ba8c9e76c25f46b2182b23bb8"
 
 DEPENDS += "glib-2.0 libbsd"
 do_patch[depends] = "quilt-native:do_populate_sysroot"
 
-SRC_URI = "http://snapshot.debian.org/archive/debian/20181022T085404Z/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz;name=netcat \
-           http://snapshot.debian.org/archive/debian/20181022T085404Z/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}-1.debian.tar.xz;name=netcat-patch;subdir=${BP} \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20250301T025722Z/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz;name=netcat \
+           http://snapshot.debian.org/archive/debian/20250301T025722Z/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}-1.debian.tar.xz;name=netcat-patch;subdir=${BP} \
            file://0001-bundle-own-base64-encode-decode-functions.patch \
            file://0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch \
            "
 
-SRC_URI[netcat.md5sum] = "219d5e49c45658e229a3bda63063a986"
-SRC_URI[netcat.sha256sum] = "0e283b2a214313c69447cd962c528ac19afb3ddfe606b25de6d179f187cde4c3"
-SRC_URI[netcat-patch.md5sum] = "7eba241989dbef6caa78ec4bc8e35151"
-SRC_URI[netcat-patch.sha256sum] = "c6736fcbab5254cbbc52278993a951da1126e42800a297c27db297e332e2017e"
+SRC_URI[netcat.sha256sum] = "e501b0239db0d8f981b964adee74effe80e6337e5d402a00515a6df8d933269e"
+SRC_URI[netcat-patch.sha256sum] = "7989cc18b3ffa4ef1da57149bd3fc03999546a91c35b82b49caf4d758015c573"
 
 inherit pkgconfig
 
#2 lore raw

PATCH 3/10 postfix: switch to libpcre2

In reply to [email protected]

From: Hongxu Jia <[email protected]>

Postfix 3.7 and later supports pcre2 library [1]

[1] https://www.postfix.org/PCRE_README.html

(cherry picked from commit 9ec1605567914bba49ac32ba425a55d37a4f1a27)
---
 meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb +3 -3
index 8b3becda9f..02fe9df7ed 100644
@@ -6,7 +6,7 @@ has a definite Sendmail-ish flavor, but the inside is completely different."
 
 HOMEPAGE = "http://www.postfix.org"
 SECTION = "mail"
-DEPENDS = "db icu libpcre libnsl2 m4-native openssl postfix-native \
+DEPENDS = "db icu libpcre2 libnsl2 m4-native openssl postfix-native \
     ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \
 "
@@ -80,8 +80,8 @@ export CCARGS-sasl:class-native = ""
 export AUXLIBS-sasl:class-native = ""
 
 # PCRE, TLS support default
-export CCARGS  = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
-export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
+export CCARGS  = "${CFLAGS} -DHAS_PCRE=2 -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
+export AUXLIBS = "-lpcre2-8 -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
 export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf"
 
 # OPT,DEBUG is aready in CFLAGS
#3 lore raw

PATCH 4/10 pgpool2: 4.6.3 -> 4.6.4

In reply to [email protected]

From: Liu Yiding <[email protected]>

Drop 0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch and v1-0001-Make-time-calculations-always-long-long.patch as those were merged upstream.

(cherry picked from commit 7fb4910ccb6a156bf67eb773ff1b421b30536b58)
---
 ...h.h-to-ensure-isnan-and-isinf-are-de.patch |  40 ---
 ...e-time-calculations-always-long-long.patch | 336 ------------------
 .../{pgpool2_4.6.3.bb => pgpool2_4.6.4.bb}    |   4 +-
 3 files changed, 1 insertion(+), 379 deletions(-)
 delete mode 100644 meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch
 delete mode 100644 meta-networking/recipes-support/pgpool2/pgpool2/v1-0001-Make-time-calculations-always-long-long.patch
 rename meta-networking/recipes-support/pgpool2/{pgpool2_4.6.3.bb => pgpool2_4.6.4.bb} (89%)
meta-networking/recipes-support/pgpool2/pgpool2/0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch deleted +0 -40
deleted file mode 100644
index 1fdf91227b..0000000000
@@ -1,40 +0,0 @@
-From c0b6ae020ad87040b5bc6fbae94fb815f10884d2 Mon Sep 17 00:00:00 2001
-From: Gyorgy Sarvari <[email protected]>
-Date: Thu, 11 Sep 2025 11:58:02 +0200
-Subject: [PATCH] snprintf: Add math.h to ensure isnan and isinf are defined
-
-When building for 32-bit arm arch, compilation fails with the following error:
-| snprintf.c: In function 'fmtfloat':
-| snprintf.c:1232:13: error: implicit declaration of function 'isnan' [-Wimplicit-function-declaration]
-|  1232 |         if (isnan(value))
-|       |             ^~~~~
-| snprintf.c:50:1: note: include '<math.h>' or provide a declaration of 'isnan'
-|    49 | #include "postgresql/server/port.h"
-|   +++ |+#include <math.h>
-|    50 |
-| snprintf.c:1254:21: error: implicit declaration of function 'isinf' [-Wimplicit-function-declaration]
-|  1254 |                 if (isinf(value))
-|       |                     ^~~~~
-| snprintf.c:1254:21: note: include '<math.h>' or provide a declaration of 'isinf'
-
-To avoid the error, add math.h to snprintf.c.
-
-Upstream-Status: Submitted [https://github.com/pgpool/pgpool2/pull/128]
-
-Signed-off-by: Gyorgy Sarvari <[email protected]>
----
- src/parser/snprintf.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/parser/snprintf.c b/src/parser/snprintf.c
-index 6dd4a50..cce7951 100644
---- a/src/parser/snprintf.c
-+++ b/src/parser/snprintf.c
-@@ -36,6 +36,7 @@
- #include "c.h"
- #endif
- 
-+#include <math.h>
- #include <stdarg.h>
- #include <stdio.h>
- #include <stdint.h>
meta-networking/recipes-support/pgpool2/pgpool2/v1-0001-Make-time-calculations-always-long-long.patch deleted +0 -336

336 lines not on this page · raw message

meta-networking/recipes-support/pgpool2/pgpool2_4.6.4.bb renamed from meta-networking/recipes-support/pgpool2/pgpool2_4.6.3.bb +1 -3
similarity index 89%
rename from meta-networking/recipes-support/pgpool2/pgpool2_4.6.3.bb
rename to meta-networking/recipes-support/pgpool2/pgpool2_4.6.4.bb
index 6d83ce9bc4..0d7f1e0342 100644
@@ -12,13 +12,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9"
 
 SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \
 	   file://0001-Fix-build-error-when-build-this-file.patch \
-           file://0001-snprintf-Add-math.h-to-ensure-isnan-and-isinf-are-de.patch \
-           file://v1-0001-Make-time-calculations-always-long-long.patch \
 	   file://define_SIGNAL_ARGS.patch \
 	   file://pgpool.sysconfig \
 	   file://pgpool.service \
            "
-SRC_URI[sha256sum] = "46688668b2ace67d8161a320256252d98698bc7d9788cc6727269d5720299f2c"
+SRC_URI[sha256sum] = "ef0d2e91a9a11d737c6476247219e679f718bec53550646189594ef9aefd298d"
 
 S = "${UNPACKDIR}/pgpool-II-${PV}"
 
#4 lore raw

PATCH 5/10 libdaq: upgrade 3.0.22 -> 3.0.23

In reply to [email protected]

From: Wang Mingyu <[email protected]>

Changelog:
api: add tcp flag in DAQ flow stats

(cherry picked from commit 8c3baf61d0394c8698c935d43bd8267f41392590)
---
 .../daq/{libdaq_3.0.22.bb => libdaq_3.0.23.bb}                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-connectivity/daq/{libdaq_3.0.22.bb => libdaq_3.0.23.bb} (92%)
meta-networking/recipes-connectivity/daq/libdaq_3.0.23.bb renamed from meta-networking/recipes-connectivity/daq/libdaq_3.0.22.bb +1 -1
similarity index 92%
rename from meta-networking/recipes-connectivity/daq/libdaq_3.0.22.bb
rename to meta-networking/recipes-connectivity/daq/libdaq_3.0.23.bb
index e6bdd0f5a9..8e1d707174 100644
@@ -12,7 +12,7 @@ inherit autotools pkgconfig
 SRC_URI = "git://github.com/snort3/libdaq.git;protocol=https;branch=master;tag=v${PV} \
            file://0001-example-Use-lm-for-the-fst-module.patch"
 
-SRCREV = "2d7241c1606e1a1b170f934bea58801f2109c8c7"
+SRCREV = "f14981a2f83a57c86d125ad926b9c7788737f52d"
 
 
 FILES:${PN} += "${libdir}/daq/*.so"
#5 lore raw

PATCH 6/10 postfix: upgrade 3.10.5 -> 3.10.6

In reply to [email protected]

From: Wang Mingyu <[email protected]>

(cherry picked from commit cde1da5ec1cc7d5edfab7f65d95dfb9afff09682)
---
 .../postfix/{postfix_3.10.5.bb => postfix_3.10.6.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/postfix/{postfix_3.10.5.bb => postfix_3.10.6.bb} (99%)
meta-networking/recipes-daemons/postfix/postfix_3.10.6.bb renamed from meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb
rename to meta-networking/recipes-daemons/postfix/postfix_3.10.6.bb
index 02fe9df7ed..647680bf25 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
            file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \
            "
 
-SRC_URI[sha256sum] = "6a926bf702173861b08e49bcb51fca3a2f269f9a337f72ef159bf46052087e35"
+SRC_URI[sha256sum] = "71b383f57d4cb363201be8a301bcbafe304aadbe7f38ebde41cd5b952248465b"
 
 UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html"
 UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)"
#6 lore raw

PATCH 7/10 libcoap: upgrade 4.3.5 -> 4.3.5a

In reply to [email protected]

From: Peter Marko <[email protected]>

Changelog [1]:
* Fixes the following CVEs

    CVE-2025-59391
    CVE-2025-65494
    CVE-2025-65495
    CVE-2025-65496
    CVE-2025-65497
    CVE-2025-65498
    CVE-2025-65499
    CVE-2025-65500
    CVE-2025-65501

* CVE-2025-50518 not fixed as user application error.
* Support for Mbed TLS 3.6.3.
* Support for RIOT update changes.
* Fixes for later CI environment builds.
* Critical reported bugs fixed.

Add tag to SRC_URI for hash verification.

License-Update: copyright years refreshed [2]

[1] https://github.com/obgm/libcoap/blob/v4.3.5a/ChangeLog
[2] https://github.com/obgm/libcoap/commit/993c12ac92ce6a24a409924fe78a5c0fe7246699

(cherry picked from commit 6a9cc44a92a1fb817d68de3190219626dcf96d2d)
---
 .../libcoap/{libcoap_4.3.5.bb => libcoap_4.3.5a.bb}         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-devtools/libcoap/{libcoap_4.3.5.bb => libcoap_4.3.5a.bb} (90%)
meta-networking/recipes-devtools/libcoap/libcoap_4.3.5a.bb renamed from meta-networking/recipes-devtools/libcoap/libcoap_4.3.5.bb +3 -3
similarity index 90%
rename from meta-networking/recipes-devtools/libcoap/libcoap_4.3.5.bb
rename to meta-networking/recipes-devtools/libcoap/libcoap_4.3.5a.bb
index a4e5f5ca46..55c5ed8775 100644
@@ -5,12 +5,12 @@ RF range, memory, bandwith, or network packet sizes."
 HOMEPAGE = "https://libcoap.net/"
 
 LICENSE = "BSD-2-Clause & BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9aa68c0f6785376aa8ec7f4f1aa6ae3c"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=05d17535846895e23ea4c79b16a9e904"
 
-SRC_URI = "git://github.com/obgm/libcoap.git;branch=main;protocol=https \
+SRC_URI = "git://github.com/obgm/libcoap.git;branch=release-4.3.5-patches;protocol=https;tag=v${PV} \
            file://run-ptest \
            "
-SRCREV = "7cf7465b784baded4de183290c547d582becfd28"
+SRCREV = "e3fdcdcfbd1588754fe9dd4b754ac9397260f0f9"
 
 
 inherit autotools manpages pkgconfig ptest
#7 lore raw

PATCH 8/10 nftables: remove python dependency from main package

In reply to [email protected]

From: Peter Marko <[email protected]>

The recipe splits python code to nftables-python package, however setuptools classes add the dependency to main package. Since nftables-python package already has python3-core explicit dependency, remove it from the main package.

(cherry picked from commit 331126a6d0a48ebcf12069df554b3abacaeb512a)
---
 meta-networking/recipes-filter/nftables/nftables_1.1.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-filter/nftables/nftables_1.1.5.bb +2 -0
index a2c6ce0e23..5ae9fc609d 100644
@@ -42,6 +42,8 @@ inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools
 PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}"
 FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
 RDEPENDS:${PN}-python = "python3-core python3-json ${PN}"
+# setuptools3-base.bbclass adds this to main package, but this recipe is moving it to python sub-package
+RDEPENDS:${PN}:remove:class-target = "python3-core"
 
 # Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3
 # have EXPORT_FUNCTIONS do_configure do_compile do_install
#8 lore raw

PATCH 9/10 net-snmp: Update Upstream-status in the net-snmp-5.9.4-kernel-6.7.patch

In reply to [email protected]

From: Vijay Anusuri <[email protected]>

(cherry picked from commit 316770a9f5fa76b5ce6dca8a7ed66775c88271de)
---
 .../net-snmp/net-snmp/net-snmp-5.9.4-kernel-6.7.patch           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.9.4-kernel-6.7.patch +1 -1
index 3f978d5f80..9111ed8ae2 100644
@@ -8,7 +8,7 @@ This breaks the hard-coded assumptions about the Ip line length.
 Add compatibility to parse Linux 6.7 Ip header while keep support
 for previous versions.
 
-Upstream-Status: Pending
+Upstream-Status: Backport [https://github.com/net-snmp/net-snmp/commit/49d60ba57f4b462df7dc5fd5b38b4425dab0982c]
 Signed-off-by: Khem Raj <[email protected]>
 ---
  .../ip-mib/data_access/systemstats_linux.c    | 46 +++++++++++++++----
#9 lore raw

PATCH 10/10 openipmi: Pass BUILD_CFLAGS to BUILD_CC

In reply to [email protected]

From: Mingli Yu <[email protected]>

* The option -fcanon-prefix-map is added to CFLAGS after the commit [1]
introduced and result in the below build error.
Making all in sdrcomp
make[3]: Entering directory '/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37/lanserv/sdrcomp'
aarch64-wrs-linux-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot -DHAVE_CONFIG_H -I. -I../.. -DSTATEDIR='"/var"' -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -O2 -g -fcanon-prefix-map -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37 -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37 -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot= -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native= -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sdrcomp.o sdrcomp.c gcc -o sdrcomp_build ../../lanserv/sdrcomp/sdrcomp.c -O2 -g -fcanon-prefix-map -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37 -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37 -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot= -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native= -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -lm
gcc: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’?

* Pass BUILD_CFLAGS for BUILD_CC to fix the above build issue.

[1] https://git.openembedded.org/openembedded-core/commit/?id=3dbc4a79f01ebfc54da024c1460c06772659088d

(cherry picked from commit c41fb791faaebf9e86b021d039d860ccf5ff45f1)
---
 ...ile.am-Pass-BUILD_CFLAGS-to-BUILD_CC.patch | 35 +++++++++++++++++++
 .../openipmi/openipmi_2.0.37.bb               |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta-networking/recipes-support/openipmi/files/0001-Makefile.am-Pass-BUILD_CFLAGS-to-BUILD_CC.patch
meta-networking/recipes-support/openipmi/files/0001-Makefile.am-Pass-BUILD_CFLAGS-to-BUILD_CC.patch new file +35 -0
new file mode 100644
index 0000000000..5749263d13
@@ -0,0 +1,35 @@
+From 05d8f730b746d73a1efec7c42066953b5708c5b6 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <[email protected]>
+Date: Tue, 2 Dec 2025 12:07:42 +0800
+Subject: [PATCH] Makefile.am: Pass BUILD_CFLAGS to BUILD_CC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Pass BUILD_CFLAGS to BUILD_CC to fix the below error.
+   Making all in sdrcomp
+   make[3]: Entering directory '/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37/lanserv/sdrcomp'
+aarch64-wrs-linux-gcc  -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot -DHAVE_CONFIG_H -I. -I../..  -DSTATEDIR='"/var"'  -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot=  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native=  -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sdrcomp.o sdrcomp.c
+gcc  -o sdrcomp_build ../../lanserv/sdrcomp/sdrcomp.c -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot=  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native=  -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -lm
+   gcc: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’?
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Mingli Yu <[email protected]>
+---
+ lanserv/sdrcomp/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lanserv/sdrcomp/Makefile.am b/lanserv/sdrcomp/Makefile.am
+index e473af8..057a536 100644
+--- a/lanserv/sdrcomp/Makefile.am
++++ b/lanserv/sdrcomp/Makefile.am
+@@ -19,4 +19,4 @@ BUILD_SDRCOMP_DEPS = $(top_srcdir)/lanserv/persist.c \
+ 	$(top_srcdir)/utils/string.c
+ BUILD_SDRCOMP_SRCS = $(top_srcdir)/$(subdir)/sdrcomp.c
+ sdrcomp_build$(EXEEXT): $(BUILD_SDRCOMP_SRCS) $(BUILD_SDRCOMP_DEPS)
+-	$(BUILD_CC) -o $@ $(BUILD_SDRCOMP_SRCS) $(CFLAGS) $(AM_CFLAGS) -lm
++	$(BUILD_CC) -o $@ $(BUILD_SDRCOMP_SRCS) $(BUILD_CFLAGS) $(AM_CFLAGS) -lm
+-- 
+2.34.1
+
meta-networking/recipes-support/openipmi/openipmi_2.0.37.bb +1 -0
index 090b54846c..db74b91f7e 100644
@@ -28,6 +28,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
            file://openipmi-no-openipmigui-man.patch \
            file://ipmi-init-fix-the-arguments.patch \
            file://include_sys_types.patch \
+           file://0001-Makefile.am-Pass-BUILD_CFLAGS-to-BUILD_CC.patch \
            file://openipmi-helper \
            file://ipmi.service \
            "