summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-03-22 11:21:27 +0100
committerKhem Raj <raj.khem@gmail.com>2019-03-22 09:33:00 -0700
commit5509328af9e4fab267251456f4d6e7bd51df779a (patch)
tree2eaed2667d3151eb782bde212792154535494fa6
parent735c2b38034df0fb839c253d2e0ae264ab693702 (diff)
downloadmeta-openembedded-5509328af9e4fab267251456f4d6e7bd51df779a.tar.gz
networkmanager: upgrade 1.14.4 -> 1.16.0
* license.html was checked: it is still GPLv2. Could not find what changed the checksum. Maybe it was generated with a different version of gtk-doc. * Build tested with just gnutls in PACKAGECONFIG to test nss alternative (and setting no crypto won't work) * Build tested with all entries except gnutls/qt4-x11-free (yes they still support it!) in PACKAGECONFIG * By far the most time was spent on musl patch adjustment. They apply cleanly but musl build was not tested due to limited resources. * Fix build for non systemd by making SYSTEMD_SERVICE conditional Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch)9
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Do-not-create-settings-settings-property-documentati.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-Do-not-create-settings-settings-property-documentati.patch)27
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch)19
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch)14
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-basic.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-musl-basic.patch)34
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-dlopen-configure-ac.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-musl-dlopen-configure-ac.patch)10
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-network-support.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-network-support.patch)51
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-musl-process-util.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-process-util.patch)22
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0007-musl-avoid-further-conflicts-by-including-net-ethern.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-avoid-further-conflicts-by-including-net-ethern.patch)16
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0008-Add-a-strndupa-replacement-for-musl.patch (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-Add-a-strndupa-replacement-for-musl.patch)28
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb)28
11 files changed, 119 insertions, 139 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch
index 351f264cb..302c0292b 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch
@@ -1,4 +1,4 @@
1From 583f0448fb7e9aba2b410c06eec6f420b41a6a0c Mon Sep 17 00:00:00 2001 1From 3dc3d8e73bc430ea4e93e33f7b2a4b3e0ff175af Mon Sep 17 00:00:00 2001
2From: Pablo Saavedra <psaavedra@igalia.com> 2From: Pablo Saavedra <psaavedra@igalia.com>
3Date: Tue, 13 Mar 2018 17:36:20 +0100 3Date: Tue, 13 Mar 2018 17:36:20 +0100
4Subject: [PATCH] Fixed configure.ac: Fix pkgconfig sysroot locations 4Subject: [PATCH] Fixed configure.ac: Fix pkgconfig sysroot locations
@@ -8,10 +8,10 @@ Subject: [PATCH] Fixed configure.ac: Fix pkgconfig sysroot locations
8 1 file changed, 1 insertion(+), 1 deletion(-) 8 1 file changed, 1 insertion(+), 1 deletion(-)
9 9
10diff --git a/configure.ac b/configure.ac 10diff --git a/configure.ac b/configure.ac
11index 51e5eb6..c9d3e56 100644 11index 967eac0..b914219 100644
12--- a/configure.ac 12--- a/configure.ac
13+++ b/configure.ac 13+++ b/configure.ac
14@@ -572,7 +572,7 @@ if test "$have_jansson" = "yes"; then 14@@ -592,7 +592,7 @@ if test "$have_jansson" = "yes"; then
15 AC_DEFINE(WITH_JANSSON, 1, [Define if JANSSON is enabled]) 15 AC_DEFINE(WITH_JANSSON, 1, [Define if JANSSON is enabled])
16 16
17 AC_CHECK_TOOLS(READELF, [eu-readelf readelf]) 17 AC_CHECK_TOOLS(READELF, [eu-readelf readelf])
@@ -20,6 +20,3 @@ index 51e5eb6..c9d3e56 100644
20 JANSSON_SONAME=`$READELF -d $JANSSON_LIBDIR/libjansson.so |sed -n 's/.*SONAME.*\[[\([^]]*\)]]/\1/p'` 20 JANSSON_SONAME=`$READELF -d $JANSSON_LIBDIR/libjansson.so |sed -n 's/.*SONAME.*\[[\([^]]*\)]]/\1/p'`
21 21
22 if test "$JANSSON_SONAME" = ""; then 22 if test "$JANSSON_SONAME" = ""; then
23--
242.14.1
25
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-Do-not-create-settings-settings-property-documentati.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Do-not-create-settings-settings-property-documentati.patch
index c50293c09..5581dd3aa 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-Do-not-create-settings-settings-property-documentati.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Do-not-create-settings-settings-property-documentati.patch
@@ -13,15 +13,15 @@ Upstream-Status: Inappropriate [OE specific]
13 13
14Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 14Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
15--- 15---
16 Makefile.am | 20 -------------------- 16 Makefile.am | 11 -----------
17 configure.ac | 5 ----- 17 configure.ac | 5 -----
18 2 files changed, 25 deletions(-) 18 2 files changed, 16 deletions(-)
19 19
20diff --git a/Makefile.am b/Makefile.am 20diff --git a/Makefile.am b/Makefile.am
21index 1e100f6..d31e3c1 100644 21index b180466..1ab4658 100644
22--- a/Makefile.am 22--- a/Makefile.am
23+++ b/Makefile.am 23+++ b/Makefile.am
24@@ -1115,9 +1115,7 @@ EXTRA_DIST += \ 24@@ -1298,9 +1298,7 @@ EXTRA_DIST += \
25 if HAVE_INTROSPECTION 25 if HAVE_INTROSPECTION
26 26
27 libnm_noinst_data = \ 27 libnm_noinst_data = \
@@ -31,7 +31,7 @@ index 1e100f6..d31e3c1 100644
31 libnm/nm-settings-keyfile-docs.xml \ 31 libnm/nm-settings-keyfile-docs.xml \
32 libnm/nm-settings-ifcfg-rh-docs.xml 32 libnm/nm-settings-ifcfg-rh-docs.xml
33 33
34@@ -3692,27 +3690,9 @@ $(clients_common_libnmc_base_la_OBJECTS): $(libnm_lib_h_pub_mkenums) 34@@ -3930,18 +3928,9 @@ $(clients_common_libnmc_base_la_OBJECTS): $(libnm_lib_h_pub_mkenums)
35 $(clients_common_libnmc_base_la_OBJECTS): clients/common/.dirstamp 35 $(clients_common_libnmc_base_la_OBJECTS): clients/common/.dirstamp
36 36
37 clients_common_settings_doc_h = clients/common/settings-docs.h 37 clients_common_settings_doc_h = clients/common/settings-docs.h
@@ -40,16 +40,7 @@ index 1e100f6..d31e3c1 100644
40- $(AM_V_GEN) $(XSLTPROC) --output $@ $< $(word 2,$^) 40- $(AM_V_GEN) $(XSLTPROC) --output $@ $< $(word 2,$^)
41-DISTCLEANFILES += $(clients_common_settings_doc_h) 41-DISTCLEANFILES += $(clients_common_settings_doc_h)
42-check-local-settings-docs: $(clients_common_settings_doc_h) 42-check-local-settings-docs: $(clients_common_settings_doc_h)
43- @if test -z "$$NMTST_NO_CHECK_SETTINGS_DOCS" ; then \ 43- $(srcdir)/tools/check-settings-docs.sh "$(srcdir)" "$(builddir)" "$(clients_common_settings_doc_h)"
44- if ! cmp -s "$(srcdir)/$(clients_common_settings_doc_h).in" "$(builddir)/$(clients_common_settings_doc_h)" ; then \
45- if test "$$NM_TEST_REGENERATE" == 1 ; then \
46- cp -f "$(builddir)/$(clients_common_settings_doc_h)" "$(srcdir)/$(clients_common_settings_doc_h).in"; \
47- else \
48- echo "The generated file \"$(builddir)/$(clients_common_settings_doc_h)\" differs from the source file \"$(srcdir)/$(clients_common_settings_doc_h).in\". You probably should copy the generated file over to the source file. You can skip this test by setting \$$NMTST_NO_CHECK_SETTINGS_DOCS=yes". You can also automatically copy the file by rerunning the test with \$$NM_TEST_REGENERATE=1 ; \
49- false; \
50- fi; \
51- fi;\
52- fi
53-check_local += check-local-settings-docs 44-check_local += check-local-settings-docs
54-else 45-else
55 $(clients_common_settings_doc_h): $(clients_common_settings_doc_h).in clients/common/.dirstamp 46 $(clients_common_settings_doc_h): $(clients_common_settings_doc_h).in clients/common/.dirstamp
@@ -60,10 +51,10 @@ index 1e100f6..d31e3c1 100644
60 $(clients_common_settings_doc_h) \ 51 $(clients_common_settings_doc_h) \
61 $(clients_common_settings_doc_h).in 52 $(clients_common_settings_doc_h).in
62diff --git a/configure.ac b/configure.ac 53diff --git a/configure.ac b/configure.ac
63index 79dc3b9..23d14a6 100644 54index b914219..872c292 100644
64--- a/configure.ac 55--- a/configure.ac
65+++ b/configure.ac 56+++ b/configure.ac
66@@ -1195,11 +1195,6 @@ GTK_DOC_CHECK(1.0) 57@@ -1215,11 +1215,6 @@ GTK_DOC_CHECK(1.0)
67 # check if we can build setting property documentation 58 # check if we can build setting property documentation
68 build_docs=no 59 build_docs=no
69 if test -n "$INTROSPECTION_MAKEFILE"; then 60 if test -n "$INTROSPECTION_MAKEFILE"; then
@@ -76,5 +67,5 @@ index 79dc3b9..23d14a6 100644
76 if test -z "$PERL"; then 67 if test -z "$PERL"; then
77 AC_MSG_ERROR([--enable-introspection requires perl]) 68 AC_MSG_ERROR([--enable-introspection requires perl])
78-- 69--
792.14.5 702.20.1
80 71
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch
index 0c415bce7..555e5ffcb 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch
@@ -1,4 +1,4 @@
1From 3f4b6319701834182304c4079119780f4ae5b49b Mon Sep 17 00:00:00 2001 1From b2cdab746ef64bc25ba0b9cff596ebdddd6e8dc6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 7 Nov 2018 11:30:44 -0800 3Date: Wed, 7 Nov 2018 11:30:44 -0800
4Subject: [PATCH] Do not include net/ethernet.h and linux/if_ether.h 4Subject: [PATCH] Do not include net/ethernet.h and linux/if_ether.h
@@ -7,6 +7,7 @@ They conflict when used together especially with musl
7removing them still keeps it working so it seems they are redundant 7removing them still keeps it working so it seems they are redundant
8 8
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
10--- 11---
11 shared/n-acd/src/n-acd.c | 1 - 12 shared/n-acd/src/n-acd.c | 1 -
12 src/platform/wpan/nm-wpan-utils.h | 2 -- 13 src/platform/wpan/nm-wpan-utils.h | 2 --
@@ -14,19 +15,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 3 files changed, 5 deletions(-) 15 3 files changed, 5 deletions(-)
15 16
16diff --git a/shared/n-acd/src/n-acd.c b/shared/n-acd/src/n-acd.c 17diff --git a/shared/n-acd/src/n-acd.c b/shared/n-acd/src/n-acd.c
17index 9164f95..9538e50 100644 18index def56a2..dd4eb78 100644
18--- a/shared/n-acd/src/n-acd.c 19--- a/shared/n-acd/src/n-acd.c
19+++ b/shared/n-acd/src/n-acd.c 20+++ b/shared/n-acd/src/n-acd.c
20@@ -23,7 +23,6 @@ 21@@ -11,7 +11,6 @@
21 #include <errno.h> 22 #include <inttypes.h>
22 #include <limits.h> 23 #include <limits.h>
23 #include <linux/filter.h>
24-#include <linux/if_ether.h>
25 #include <linux/if_packet.h> 24 #include <linux/if_packet.h>
26 #include <net/ethernet.h> 25-#include <netinet/if_ether.h>
27 #include <netinet/if_ether.h> 26 #include <netinet/in.h>
27 #include <stdlib.h>
28 #include <string.h>
28diff --git a/src/platform/wpan/nm-wpan-utils.h b/src/platform/wpan/nm-wpan-utils.h 29diff --git a/src/platform/wpan/nm-wpan-utils.h b/src/platform/wpan/nm-wpan-utils.h
29index f7d0c03..e1c81f5 100644 30index 1b54ec4..ed39938 100644
30--- a/src/platform/wpan/nm-wpan-utils.h 31--- a/src/platform/wpan/nm-wpan-utils.h
31+++ b/src/platform/wpan/nm-wpan-utils.h 32+++ b/src/platform/wpan/nm-wpan-utils.h
32@@ -20,8 +20,6 @@ 33@@ -20,8 +20,6 @@
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch
index 49a07353d..5c59208b4 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch
@@ -1,28 +1,29 @@
1From 18f71c1b48730b8602826517f2b5b088283ae948 Mon Sep 17 00:00:00 2001 1From 32dc6cab58912add5bc6495558538953d9344c36 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 31 Mar 2017 16:48:00 -0700 3Date: Fri, 31 Mar 2017 16:48:00 -0700
4Subject: [PATCH] sd-lldp.h: Remove net/ethernet.h seems to be over specified 4Subject: [PATCH] sd-lldp.h: Remove net/ethernet.h seems to be over specified
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
7--- 8---
8 src/systemd/src/libsystemd-network/sd-lldp.c | 1 + 9 src/systemd/src/libsystemd-network/sd-lldp.c | 1 +
9 src/systemd/src/systemd/sd-lldp.h | 2 +- 10 src/systemd/src/systemd/sd-lldp.h | 2 +-
10 2 files changed, 2 insertions(+), 1 deletion(-) 11 2 files changed, 2 insertions(+), 1 deletion(-)
11 12
12diff --git a/src/systemd/src/libsystemd-network/sd-lldp.c b/src/systemd/src/libsystemd-network/sd-lldp.c 13diff --git a/src/systemd/src/libsystemd-network/sd-lldp.c b/src/systemd/src/libsystemd-network/sd-lldp.c
13index 31e2448..7721cc2 100644 14index 741128e..62914ae 100644
14--- a/src/systemd/src/libsystemd-network/sd-lldp.c 15--- a/src/systemd/src/libsystemd-network/sd-lldp.c
15+++ b/src/systemd/src/libsystemd-network/sd-lldp.c 16+++ b/src/systemd/src/libsystemd-network/sd-lldp.c
16@@ -3,6 +3,7 @@ 17@@ -3,6 +3,7 @@
17 #include "nm-sd-adapt.h" 18 #include "nm-sd-adapt-core.h"
18 19
19 #include <arpa/inet.h> 20 #include <arpa/inet.h>
20+#include <net/ethernet.h> 21+#include <net/ethernet.h>
21 #include <linux/sockios.h> 22 #include <linux/sockios.h>
23 #include <sys/ioctl.h>
22 24
23 #include "sd-lldp.h"
24diff --git a/src/systemd/src/systemd/sd-lldp.h b/src/systemd/src/systemd/sd-lldp.h 25diff --git a/src/systemd/src/systemd/sd-lldp.h b/src/systemd/src/systemd/sd-lldp.h
25index 3f35eeb..61b0e45 100644 26index bf3afad..4cace87 100644
26--- a/src/systemd/src/systemd/sd-lldp.h 27--- a/src/systemd/src/systemd/sd-lldp.h
27+++ b/src/systemd/src/systemd/sd-lldp.h 28+++ b/src/systemd/src/systemd/sd-lldp.h
28@@ -18,7 +18,7 @@ 29@@ -18,7 +18,7 @@
@@ -34,6 +35,3 @@ index 3f35eeb..61b0e45 100644
34 #include <sys/types.h> 35 #include <sys/types.h>
35 36
36 #include "sd-event.h" 37 #include "sd-event.h"
37--
382.14.1
39
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-musl-basic.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-basic.patch
index 00dda5b18..8d905489f 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-musl-basic.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-basic.patch
@@ -1,4 +1,4 @@
1From e92de7409a3e107f90d108a9c5d49bd0418296dd Mon Sep 17 00:00:00 2001 1From ff1a5b849755db67b1778940fff92d6eb8b8b050 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 22 Mar 2018 17:54:10 +0100 3Date: Thu, 22 Mar 2018 17:54:10 +0100
4Subject: [PATCH] Usual fix for musl libc 4Subject: [PATCH] Usual fix for musl libc
@@ -6,6 +6,11 @@ MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
8 8
9From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
10MIME-Version: 1.0
11Content-Type: text/plain; charset=UTF-8
12Content-Transfer-Encoding: 8bit
13
9Upstream-Status: Pending 14Upstream-Status: Pending
10 15
11Stolen from [1] and prettyfied slightly 16Stolen from [1] and prettyfied slightly
@@ -15,14 +20,14 @@ Stolen from [1] and prettyfied slightly
15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 20Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
16 21
17--- 22---
18 src/systemd/src/basic/stdio-util.h | 2 ++ 23 shared/systemd/src/basic/stdio-util.h | 2 ++
19 src/systemd/src/basic/util.h | 5 +++++ 24 shared/systemd/src/basic/util.h | 5 +++++
20 2 files changed, 7 insertions(+) 25 2 files changed, 7 insertions(+)
21 26
22diff --git a/src/systemd/src/basic/stdio-util.h b/src/systemd/src/basic/stdio-util.h 27diff --git a/shared/systemd/src/basic/stdio-util.h b/shared/systemd/src/basic/stdio-util.h
23index 73c0327..e1ce64f 100644 28index dc67b6e..6336243 100644
24--- a/src/systemd/src/basic/stdio-util.h 29--- a/shared/systemd/src/basic/stdio-util.h
25+++ b/src/systemd/src/basic/stdio-util.h 30+++ b/shared/systemd/src/basic/stdio-util.h
26@@ -1,7 +1,9 @@ 31@@ -1,7 +1,9 @@
27 /* SPDX-License-Identifier: LGPL-2.1+ */ 32 /* SPDX-License-Identifier: LGPL-2.1+ */
28 #pragma once 33 #pragma once
@@ -33,12 +38,12 @@ index 73c0327..e1ce64f 100644
33 #include <stdarg.h> 38 #include <stdarg.h>
34 #include <stdio.h> 39 #include <stdio.h>
35 #include <sys/types.h> 40 #include <sys/types.h>
36diff --git a/src/systemd/src/basic/util.h b/src/systemd/src/basic/util.h 41diff --git a/shared/systemd/src/basic/util.h b/shared/systemd/src/basic/util.h
37index b31dfd1..9b7032c 100644 42index dc33d66..8ee2d64 100644
38--- a/src/systemd/src/basic/util.h 43--- a/shared/systemd/src/basic/util.h
39+++ b/src/systemd/src/basic/util.h 44+++ b/shared/systemd/src/basic/util.h
40@@ -28,6 +28,11 @@ 45@@ -27,6 +27,11 @@
41 #include "missing.h" 46 #include "macro.h"
42 #include "time-util.h" 47 #include "time-util.h"
43 48
44+#if !defined(__GLIBC__) 49+#if !defined(__GLIBC__)
@@ -49,6 +54,3 @@ index b31dfd1..9b7032c 100644
49 size_t page_size(void) _pure_; 54 size_t page_size(void) _pure_;
50 #define PAGE_ALIGN(l) ALIGN_TO((l), page_size()) 55 #define PAGE_ALIGN(l) ALIGN_TO((l), page_size())
51 56
52--
532.14.3
54
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-musl-dlopen-configure-ac.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-dlopen-configure-ac.patch
index c162c1dfb..419e1be24 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-musl-dlopen-configure-ac.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-dlopen-configure-ac.patch
@@ -1,4 +1,4 @@
1From 57239fda56b68a8f3e413f7b6af5290ba0d86636 Mon Sep 17 00:00:00 2001 1From 7743ea63fbe572b1f82db7d399fe9c5c99521432 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 22 Mar 2018 18:18:06 +0100 3Date: Thu, 22 Mar 2018 18:18:06 +0100
4Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of 4Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of
@@ -14,15 +14,16 @@ Stolen from [1] and prettyfied slightly
14[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches 14[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches
15 15
16Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 16Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
17
17--- 18---
18 configure.ac | 1 + 19 configure.ac | 1 +
19 1 file changed, 1 insertion(+) 20 1 file changed, 1 insertion(+)
20 21
21diff --git a/configure.ac b/configure.ac 22diff --git a/configure.ac b/configure.ac
22index 487a266..96ae4f7 100644 23index b914219..1b2b0ff 100644
23--- a/configure.ac 24--- a/configure.ac
24+++ b/configure.ac 25+++ b/configure.ac
25@@ -235,6 +235,7 @@ dnl 26@@ -241,6 +241,7 @@ dnl
26 dnl Checks for libdl - on certain platforms its part of libc 27 dnl Checks for libdl - on certain platforms its part of libc
27 dnl 28 dnl
28 AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=]) 29 AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=])
@@ -30,6 +31,3 @@ index 487a266..96ae4f7 100644
30 AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen") 31 AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen")
31 32
32 PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0], 33 PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],
33--
342.14.3
35
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-network-support.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-network-support.patch
index 9a58c0e34..45f607f2c 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0003-musl-network-support.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-network-support.patch
@@ -1,4 +1,4 @@
1From 714b4731a238653e9c7d885c0dee10677b0a4df3 Mon Sep 17 00:00:00 2001 1From 70ecbc01874bf2f8603ccbdfda634cac0bb83d93 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 22 Mar 2018 18:24:07 +0100 3Date: Thu, 22 Mar 2018 18:24:07 +0100
4Subject: [PATCH] musl: network support 4Subject: [PATCH] musl: network support
@@ -13,14 +13,15 @@ Stolen from [1] and prettyfied slightly
13[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches 13[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches
14 14
15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
16
16--- 17---
17 libnm-core/nm-utils.h | 4 ++++ 18 libnm-core/nm-utils.h | 4 ++++
18 src/platform/wifi/nm-wifi-utils.h | 4 ++++ 19 shared/systemd/src/basic/socket-util.h | 6 ++++++
19 src/systemd/src/basic/socket-util.h | 5 +++++ 20 src/platform/wifi/nm-wifi-utils.h | 4 ++++
20 3 files changed, 13 insertions(+) 21 3 files changed, 14 insertions(+)
21 22
22diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h 23diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h
23index df9284b..2bcf4b8 100644 24index 2b5baba..976850c 100644
24--- a/libnm-core/nm-utils.h 25--- a/libnm-core/nm-utils.h
25+++ b/libnm-core/nm-utils.h 26+++ b/libnm-core/nm-utils.h
26@@ -30,7 +30,11 @@ 27@@ -30,7 +30,11 @@
@@ -35,8 +36,25 @@ index df9284b..2bcf4b8 100644
35 #include <linux/if_infiniband.h> 36 #include <linux/if_infiniband.h>
36 37
37 #include "nm-core-enum-types.h" 38 #include "nm-core-enum-types.h"
39diff --git a/shared/systemd/src/basic/socket-util.h b/shared/systemd/src/basic/socket-util.h
40index d2246a8..76f257f 100644
41--- a/shared/systemd/src/basic/socket-util.h
42+++ b/shared/systemd/src/basic/socket-util.h
43@@ -13,6 +13,12 @@
44 #include <sys/types.h>
45 #include <sys/un.h>
46
47+#if !defined(__GLIBC__)
48+/* SIOCGSTAMPNS from linux/asm-generic.h
49+ * for src/systemd/src/libsystemd-network/sd-lldp.c */
50+#include <linux/sockios.h>
51+#endif
52+
53 #include "macro.h"
54 #include "missing_socket.h"
55 #include "sparse-endian.h"
38diff --git a/src/platform/wifi/nm-wifi-utils.h b/src/platform/wifi/nm-wifi-utils.h 56diff --git a/src/platform/wifi/nm-wifi-utils.h b/src/platform/wifi/nm-wifi-utils.h
39index 705717b..da3edc4 100644 57index 36148b5..d282eb2 100644
40--- a/src/platform/wifi/nm-wifi-utils.h 58--- a/src/platform/wifi/nm-wifi-utils.h
41+++ b/src/platform/wifi/nm-wifi-utils.h 59+++ b/src/platform/wifi/nm-wifi-utils.h
42@@ -22,7 +22,11 @@ 60@@ -22,7 +22,11 @@
@@ -51,22 +69,3 @@ index 705717b..da3edc4 100644
51 69
52 #include "nm-dbus-interface.h" 70 #include "nm-dbus-interface.h"
53 #include "nm-setting-wireless.h" 71 #include "nm-setting-wireless.h"
54diff --git a/src/systemd/src/basic/socket-util.h b/src/systemd/src/basic/socket-util.h
55index d7e2d85..d109c84 100644
56--- a/src/systemd/src/basic/socket-util.h
57+++ b/src/systemd/src/basic/socket-util.h
58@@ -11,6 +11,11 @@
59 #include <linux/netlink.h>
60 #include <linux/if_infiniband.h>
61 #include <linux/if_packet.h>
62+#if !defined(__GLIBC__)
63+/* SIOCGSTAMPNS from linux/asm-generic.h
64+ * for src/systemd/src/libsystemd-network/sd-lldp.c */
65+#include <linux/sockios.h>
66+#endif
67
68 #include "macro.h"
69 #include "missing.h"
70--
712.14.3
72
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-process-util.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-musl-process-util.patch
index 9e5c94336..525e35932 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0004-musl-process-util.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-musl-process-util.patch
@@ -1,4 +1,4 @@
1From d513c8bfc982dbd976617178b040c512c95710b6 Mon Sep 17 00:00:00 2001 1From 4f2fb1e1f785bad22df8f3d96cb4792acf21f315 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 25 Oct 2018 09:57:07 +0200 3Date: Thu, 25 Oct 2018 09:57:07 +0200
4Subject: [PATCH] musl: process-util 4Subject: [PATCH] musl: process-util
@@ -13,14 +13,15 @@ Stolen from [1] and prettyfied slightly
13[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches 13[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches
14 14
15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
16
16--- 17---
17 src/systemd/src/basic/process-util.c | 9 +++++++++ 18 shared/systemd/src/basic/process-util.c | 9 +++++++++
18 1 file changed, 9 insertions(+) 19 1 file changed, 9 insertions(+)
19 20
20diff --git a/src/systemd/src/basic/process-util.c b/src/systemd/src/basic/process-util.c 21diff --git a/shared/systemd/src/basic/process-util.c b/shared/systemd/src/basic/process-util.c
21index 1412f03..45f5049 100644 22index b0afb5c..7adc8bd 100644
22--- a/src/systemd/src/basic/process-util.c 23--- a/shared/systemd/src/basic/process-util.c
23+++ b/src/systemd/src/basic/process-util.c 24+++ b/shared/systemd/src/basic/process-util.c
24@@ -21,6 +21,9 @@ 25@@ -21,6 +21,9 @@
25 #include <sys/wait.h> 26 #include <sys/wait.h>
26 #include <syslog.h> 27 #include <syslog.h>
@@ -31,7 +32,7 @@ index 1412f03..45f5049 100644
31 #if 0 /* NM_IGNORED */ 32 #if 0 /* NM_IGNORED */
32 #if HAVE_VALGRIND_VALGRIND_H 33 #if HAVE_VALGRIND_VALGRIND_H
33 #include <valgrind/valgrind.h> 34 #include <valgrind/valgrind.h>
34@@ -1153,11 +1156,13 @@ void reset_cached_pid(void) { 35@@ -1168,11 +1171,13 @@ void reset_cached_pid(void) {
35 cached_pid = CACHED_PID_UNSET; 36 cached_pid = CACHED_PID_UNSET;
36 } 37 }
37 38
@@ -40,12 +41,12 @@ index 1412f03..45f5049 100644
40 * headers. __register_atfork() is mostly equivalent to pthread_atfork(), but doesn't require us to link against 41 * headers. __register_atfork() is mostly equivalent to pthread_atfork(), but doesn't require us to link against
41 * libpthread, as it is part of glibc anyway. */ 42 * libpthread, as it is part of glibc anyway. */
42 extern int __register_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void), void *dso_handle); 43 extern int __register_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void), void *dso_handle);
43 extern void* __dso_handle __attribute__ ((__weak__)); 44 extern void* __dso_handle _weak_;
44+#endif 45+#endif
45 46
46 pid_t getpid_cached(void) { 47 pid_t getpid_cached(void) {
47 static bool installed = false; 48 static bool installed = false;
48@@ -1186,7 +1191,11 @@ pid_t getpid_cached(void) { 49@@ -1201,7 +1206,11 @@ pid_t getpid_cached(void) {
49 * only half-documented (glibc doesn't document it but LSB does — though only superficially) 50 * only half-documented (glibc doesn't document it but LSB does — though only superficially)
50 * we'll check for errors only in the most generic fashion possible. */ 51 * we'll check for errors only in the most generic fashion possible. */
51 52
@@ -57,6 +58,3 @@ index 1412f03..45f5049 100644
57 /* OOM? Let's try again later */ 58 /* OOM? Let's try again later */
58 cached_pid = CACHED_PID_UNSET; 59 cached_pid = CACHED_PID_UNSET;
59 return new_pid; 60 return new_pid;
60--
612.14.5
62
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-avoid-further-conflicts-by-including-net-ethern.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0007-musl-avoid-further-conflicts-by-including-net-ethern.patch
index 6bca95e18..211a2da94 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0005-musl-avoid-further-conflicts-by-including-net-ethern.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0007-musl-avoid-further-conflicts-by-including-net-ethern.patch
@@ -1,4 +1,4 @@
1From b3b4fe35018c98ad176719b2d9ffb867974fc7c3 Mon Sep 17 00:00:00 2001 1From 4232a34064e33b52f07cca51b902b93699800f72 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Mon, 16 Apr 2018 14:45:44 +0200 3Date: Mon, 16 Apr 2018 14:45:44 +0200
4Subject: [PATCH] musl: avoid further conflicts by including net/ethernet.h 4Subject: [PATCH] musl: avoid further conflicts by including net/ethernet.h
@@ -9,6 +9,7 @@ Content-Transfer-Encoding: 8bit
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12
12--- 13---
13 src/systemd/src/systemd/sd-dhcp-client.h | 2 ++ 14 src/systemd/src/systemd/sd-dhcp-client.h | 2 ++
14 src/systemd/src/systemd/sd-dhcp-lease.h | 2 ++ 15 src/systemd/src/systemd/sd-dhcp-lease.h | 2 ++
@@ -17,7 +18,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
17 4 files changed, 8 insertions(+) 18 4 files changed, 8 insertions(+)
18 19
19diff --git a/src/systemd/src/systemd/sd-dhcp-client.h b/src/systemd/src/systemd/sd-dhcp-client.h 20diff --git a/src/systemd/src/systemd/sd-dhcp-client.h b/src/systemd/src/systemd/sd-dhcp-client.h
20index e388552..9c4dde8 100644 21index bd0d429..c935fe1 100644
21--- a/src/systemd/src/systemd/sd-dhcp-client.h 22--- a/src/systemd/src/systemd/sd-dhcp-client.h
22+++ b/src/systemd/src/systemd/sd-dhcp-client.h 23+++ b/src/systemd/src/systemd/sd-dhcp-client.h
23@@ -20,7 +20,9 @@ 24@@ -20,7 +20,9 @@
@@ -29,9 +30,9 @@ index e388552..9c4dde8 100644
29+#endif 30+#endif
30 #include <netinet/in.h> 31 #include <netinet/in.h>
31 #include <sys/types.h> 32 #include <sys/types.h>
32 33 #include <stdbool.h>
33diff --git a/src/systemd/src/systemd/sd-dhcp-lease.h b/src/systemd/src/systemd/sd-dhcp-lease.h 34diff --git a/src/systemd/src/systemd/sd-dhcp-lease.h b/src/systemd/src/systemd/sd-dhcp-lease.h
34index 2a60145..19d1814 100644 35index d299c79..991e67e 100644
35--- a/src/systemd/src/systemd/sd-dhcp-lease.h 36--- a/src/systemd/src/systemd/sd-dhcp-lease.h
36+++ b/src/systemd/src/systemd/sd-dhcp-lease.h 37+++ b/src/systemd/src/systemd/sd-dhcp-lease.h
37@@ -19,7 +19,9 @@ 38@@ -19,7 +19,9 @@
@@ -45,7 +46,7 @@ index 2a60145..19d1814 100644
45 #include <sys/types.h> 46 #include <sys/types.h>
46 47
47diff --git a/src/systemd/src/systemd/sd-dhcp6-client.h b/src/systemd/src/systemd/sd-dhcp6-client.h 48diff --git a/src/systemd/src/systemd/sd-dhcp6-client.h b/src/systemd/src/systemd/sd-dhcp6-client.h
48index fa36dca..2d25010 100644 49index 43d38f5..57ab487 100644
49--- a/src/systemd/src/systemd/sd-dhcp6-client.h 50--- a/src/systemd/src/systemd/sd-dhcp6-client.h
50+++ b/src/systemd/src/systemd/sd-dhcp6-client.h 51+++ b/src/systemd/src/systemd/sd-dhcp6-client.h
51@@ -20,7 +20,9 @@ 52@@ -20,7 +20,9 @@
@@ -55,9 +56,9 @@ index fa36dca..2d25010 100644
55+#if defined(__GLIBC__) 56+#if defined(__GLIBC__)
56 #include <net/ethernet.h> 57 #include <net/ethernet.h>
57+#endif 58+#endif
58 #include <stdbool.h>
59 #include <sys/types.h> 59 #include <sys/types.h>
60 60
61 #include "sd-dhcp6-lease.h"
61diff --git a/src/systemd/src/systemd/sd-ipv4ll.h b/src/systemd/src/systemd/sd-ipv4ll.h 62diff --git a/src/systemd/src/systemd/sd-ipv4ll.h b/src/systemd/src/systemd/sd-ipv4ll.h
62index 71bd4cf..1c667ba 100644 63index 71bd4cf..1c667ba 100644
63--- a/src/systemd/src/systemd/sd-ipv4ll.h 64--- a/src/systemd/src/systemd/sd-ipv4ll.h
@@ -72,6 +73,3 @@ index 71bd4cf..1c667ba 100644
72 #include <netinet/in.h> 73 #include <netinet/in.h>
73 74
74 #include "sd-event.h" 75 #include "sd-event.h"
75--
762.14.5
77
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-Add-a-strndupa-replacement-for-musl.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0008-Add-a-strndupa-replacement-for-musl.patch
index 023a4d9ad..885810185 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0006-Add-a-strndupa-replacement-for-musl.patch
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0008-Add-a-strndupa-replacement-for-musl.patch
@@ -1,4 +1,4 @@
1From 6db6596e450062601d18b2ae812a4a58d2e03a53 Mon Sep 17 00:00:00 2001 1From cdd69321ec97ed19e66a747a968a1637a251b9e6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Mon, 16 Apr 2018 15:07:20 +0200 3Date: Mon, 16 Apr 2018 15:07:20 +0200
4Subject: [PATCH] Add a strndupa replacement for musl 4Subject: [PATCH] Add a strndupa replacement for musl
@@ -9,15 +9,16 @@ Content-Transfer-Encoding: 8bit
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12
12--- 13---
13 src/systemd/src/basic/in-addr-util.c | 1 + 14 shared/systemd/src/basic/in-addr-util.c | 1 +
14 src/systemd/src/basic/string-util.h | 5 +++++ 15 shared/systemd/src/basic/string-util.h | 5 +++++
15 2 files changed, 6 insertions(+) 16 2 files changed, 6 insertions(+)
16 17
17diff --git a/src/systemd/src/basic/in-addr-util.c b/src/systemd/src/basic/in-addr-util.c 18diff --git a/shared/systemd/src/basic/in-addr-util.c b/shared/systemd/src/basic/in-addr-util.c
18index 2a02d90..a57c360 100644 19index 5ced350..c6b52b8 100644
19--- a/src/systemd/src/basic/in-addr-util.c 20--- a/shared/systemd/src/basic/in-addr-util.c
20+++ b/src/systemd/src/basic/in-addr-util.c 21+++ b/shared/systemd/src/basic/in-addr-util.c
21@@ -13,6 +13,7 @@ 22@@ -13,6 +13,7 @@
22 #include "in-addr-util.h" 23 #include "in-addr-util.h"
23 #include "macro.h" 24 #include "macro.h"
@@ -26,11 +27,11 @@ index 2a02d90..a57c360 100644
26 #include "util.h" 27 #include "util.h"
27 28
28 bool in4_addr_is_null(const struct in_addr *a) { 29 bool in4_addr_is_null(const struct in_addr *a) {
29diff --git a/src/systemd/src/basic/string-util.h b/src/systemd/src/basic/string-util.h 30diff --git a/shared/systemd/src/basic/string-util.h b/shared/systemd/src/basic/string-util.h
30index 4c94b18..a6dc446 100644 31index 38070ab..6b918e0 100644
31--- a/src/systemd/src/basic/string-util.h 32--- a/shared/systemd/src/basic/string-util.h
32+++ b/src/systemd/src/basic/string-util.h 33+++ b/shared/systemd/src/basic/string-util.h
33@@ -26,6 +26,11 @@ 34@@ -27,6 +27,11 @@
34 #define strcaseeq(a,b) (strcasecmp((a),(b)) == 0) 35 #define strcaseeq(a,b) (strcasecmp((a),(b)) == 0)
35 #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0) 36 #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0)
36 37
@@ -42,6 +43,3 @@ index 4c94b18..a6dc446 100644
42 int strcmp_ptr(const char *a, const char *b) _pure_; 43 int strcmp_ptr(const char *a, const char *b) _pure_;
43 44
44 static inline bool streq_ptr(const char *a, const char *b) { 45 static inline bool streq_ptr(const char *a, const char *b) {
45--
462.14.3
47
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb
index 26c40a5fe..bdf60ee7c 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb
@@ -5,7 +5,7 @@ SECTION = "net/misc"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \
7 file://libnm-util/COPYING;md5=1c4fa765d6eb3cd2fbd84344a1b816cd \ 7 file://libnm-util/COPYING;md5=1c4fa765d6eb3cd2fbd84344a1b816cd \
8 file://docs/api/html/license.html;md5=2d56a1b0c42e388aa86aef59b154e8c3 \ 8 file://docs/api/html/license.html;md5=233931303ef80eded167add1f60a50c1 \
9" 9"
10 10
11DEPENDS = " \ 11DEPENDS = " \
@@ -24,19 +24,19 @@ inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introsp
24 24
25SRC_URI = " \ 25SRC_URI = " \
26 ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \ 26 ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
27 file://0001-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch \ 27 file://0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch \
28 file://0002-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch \ 28 file://0002-Do-not-create-settings-settings-property-documentati.patch \
29 file://0003-Do-not-create-settings-settings-property-documentati.patch \ 29 file://musl/0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch \
30 file://0001-Do-not-include-net-ethernet.h-and-linux-if_ether.h.patch \ 30 file://musl/0002-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch \
31 file://musl/0001-musl-basic.patch \ 31 file://musl/0003-musl-basic.patch \
32 file://musl/0002-musl-dlopen-configure-ac.patch \ 32 file://musl/0004-musl-dlopen-configure-ac.patch \
33 file://musl/0003-musl-network-support.patch \ 33 file://musl/0005-musl-network-support.patch \
34 file://musl/0004-musl-process-util.patch \ 34 file://musl/0006-musl-process-util.patch \
35 file://musl/0005-musl-avoid-further-conflicts-by-including-net-ethern.patch \ 35 file://musl/0007-musl-avoid-further-conflicts-by-including-net-ethern.patch \
36 file://musl/0006-Add-a-strndupa-replacement-for-musl.patch \ 36 file://musl/0008-Add-a-strndupa-replacement-for-musl.patch \
37" 37"
38SRC_URI[md5sum] = "54ce62f0aa18ef6c5e754eaac47494ac" 38SRC_URI[md5sum] = "10abacaafb162a67d2942adf03e7e9e4"
39SRC_URI[sha256sum] = "35a3ede4c7d12d6212033c9e44cb82b7692f38063b53a067567f02f5937c8c18" 39SRC_URI[sha256sum] = "8e962833b6ca03edda1bc57ed6614a7b8c2339531b44acef098d05f2324c5d2c"
40 40
41UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/NetworkManager/1.10/" 41UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/NetworkManager/1.10/"
42UPSTREAM_CHECK_REGEX = "NetworkManager\-(?P<pver>1\.10(\.\d+)+).tar.xz" 42UPSTREAM_CHECK_REGEX = "NetworkManager\-(?P<pver>1\.10(\.\d+)+).tar.xz"
@@ -136,7 +136,7 @@ FILES_${PN}-nmtui-doc = " \
136 ${mandir}/man1/nmtui* \ 136 ${mandir}/man1/nmtui* \
137" 137"
138 138
139SYSTEMD_SERVICE_${PN} = "NetworkManager.service NetworkManager-dispatcher.service" 139SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'NetworkManager.service NetworkManager-dispatcher.service', '', d)}"
140 140
141do_install_append() { 141do_install_append() {
142 rm -rf ${D}/run ${D}${localstatedir}/run 142 rm -rf ${D}/run ${D}${localstatedir}/run