summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-03-15 22:04:38 +0800
committerKhem Raj <raj.khem@gmail.com>2023-03-17 07:06:55 -0700
commit5b2be0c68716408a42da2b93e3d7eb33ec3ff687 (patch)
tree229c4353e91fc8d11e4ca6e4e5ea4c7a996ad364
parent0524fafe87ee93c1485955fc9acea2b4c163523a (diff)
downloadmeta-openembedded-5b2be0c68716408a42da2b93e3d7eb33ec3ff687.tar.gz
networkmanager: upgrade 1.42.0 -> 1.42.4
0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch removed since it's not available in 1.42.4 Changelog: ========== * Fix a possible crash when [global-dns] is used and improve the documentation. * Documentation improvements. * Add build option to set the mobile-broadband-provider-info database path. * Add new "ipv[46].replace-local-rule" setting to control whether to remove the local route rule that is automatically generated. * Add the DHCPv6 IAID to the lease information exposed in /run and on D-Bus. * Fix assuming team connections at boot. * Fix race condition when setting the MAC address of an OVS interface. * Fix constructing the IPv4 name servers variable passed to dispatcher scripts. * Don't use tentative IPv6 address to resolve the system hostname via DNS. * Deprecate the "Master" property of the NMActiveConnection D-Bus object in favor of the new "Controller" property. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch37
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.4.bb (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.0.bb)3
2 files changed, 1 insertions, 39 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch
deleted file mode 100644
index 6640bce173..0000000000
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 8c8b13768d22f39edfce38e123b740c43d7e31c4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 Feb 2023 17:29:10 -0800
4Subject: [PATCH] libnm-std-aux: Adjust signature of _nm_assert_fail_internal
5
6the LSB states __assert_fail is:
7const char*, const char*, unsigned int, const char*
8https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib---assert-fail-1.html
9
10musl uses a signed int instead. however, this is ok:
11https://www.openwall.com/lists/musl/2019/03/04/6
12
13nevertheless, since the application redefines __assert_fail, we have to make
14the types match. (not upstreamable as the opposite breaks glibc)
15
16Upstream-Status: Inappropriate [musl specific]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/libnm-std-aux/nm-std-aux.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/libnm-std-aux/nm-std-aux.h b/src/libnm-std-aux/nm-std-aux.h
23index e556aa4..0756a7c 100644
24--- a/src/libnm-std-aux/nm-std-aux.h
25+++ b/src/libnm-std-aux/nm-std-aux.h
26@@ -230,7 +230,7 @@ typedef uint64_t _nm_bitwise nm_be64_t;
27 _nm_noreturn static inline void
28 _nm_assert_fail_internal(const char *assertion,
29 const char *file,
30- unsigned int line,
31+ int line,
32 const char *function)
33 {
34 __assert_fail("<dropped>", file, line, "<unknown-fcn>");
35--
362.39.2
37
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.4.bb
index dabf9a1d36..5ff90be227 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.4.bb
@@ -30,9 +30,8 @@ SRC_URI = " \
30 file://enable-dhcpcd.conf \ 30 file://enable-dhcpcd.conf \
31 file://enable-iwd.conf \ 31 file://enable-iwd.conf \
32" 32"
33SRC_URI:append:libc-musl = " file://0001-libnm-std-aux-Adjust-signature-of-_nm_assert_fail_in.patch"
34 33
35SRC_URI[sha256sum] = "2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4" 34SRC_URI[sha256sum] = "86ee16a2f7f525629133fa0c3dc060caf96ae4f34084eda1c24551951abe5a3c"
36 35
37S = "${WORKDIR}/NetworkManager-${PV}" 36S = "${WORKDIR}/NetworkManager-${PV}"
38 37