summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-02-23 07:44:46 +0800
committerKhem Raj <raj.khem@gmail.com>2022-02-23 09:25:19 -0800
commit6ed9d2d546ae1a70df148483f4a0f28ce429e90a (patch)
tree8ea0e3072077b523434698eab9f246a165eda305 /meta-networking
parent124c19a0a661615468482f82b52d6c254517a4ff (diff)
downloadmeta-openembedded-6ed9d2d546ae1a70df148483f4a0f28ce429e90a.tar.gz
netplan: upgrade 0.103 -> 0.104
refresh patches for 0.104: 0001-Makefile-do-not-use-Werror.patch 0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch 0001-parse-nm-fix-32bit-format-string.patch removed since it's included in 0.104 Changelog: ========= Enable embedded-switch-mode setting on SmartNICs (#253) Permit multiple patterns for the driver globs in match (#202), LP#1918421 Improve routing capabilities (#248), LP#1892272, LP#1805038 Support additional link offload options for networkd (#225) (#242), LP#1771740 Consolidate enum-to-string arrays (#230) Handle differing ip6-privacy default value for NetworkManager (#263) YAML state tracking (--state rootdir) for DBus API and netplan try (#231), LP#1943120 Support ConfigureWithoutCarrier (ignore-carrier) for networkd (#215) Move primary git branch master to main Documentation improvements (#226) Compatibility for glib-2.70 (#235) Cleanup Makefile, install only public headers Improve test reliability & enable integration testing CI for autopkgtests Netplan get to use the libnetplan parser (#252) libnetplan: - introduce the notion of NetplanState (#232) - use an explicit parser context (#233) - expose coherent generator APIs (#239) - improve overall error handling (#234) - consolidation of YAML parsing into the library (#241, #249, #250, #251) Restrict the symbol export to a determined public API (#227) - WARNING: We dropped some internal symbols from the API that we know have no external consumers (that we are aware of) - 0.103: _serialize_yaml, contains_netdef_type, tmp, validate_default_route_consistency - 0.102: cur_filename, netplan_netdef_new - 0.100: address_option_handlers, is_hostname, validate_ovs_target, wireguard_peer_handlers - 0.99: current_file, is_ip4_address, is_ip6_address, missing_id, missing_ids_found, parser_error, validate_backend_rules, validate_netdef_grammar, yaml_error Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch11
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch16
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch25
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan_0.104.bb (renamed from meta-networking/recipes-connectivity/netplan/netplan_0.103.bb)5
4 files changed, 18 insertions, 39 deletions
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
index ddc44c3ca..613858f6f 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
+++ b/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
@@ -10,14 +10,17 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10 1 file changed, 1 deletion(-) 10 1 file changed, 1 deletion(-)
11 11
12diff --git a/Makefile b/Makefile 12diff --git a/Makefile b/Makefile
13index 8645aee..50fc0da 100644 13index 0368e41..53d6a9d 100644
14--- a/Makefile 14--- a/Makefile
15+++ b/Makefile 15+++ b/Makefile
16@@ -7,7 +7,6 @@ BUILDFLAGS = \ 16@@ -8,7 +8,6 @@ BUILDFLAGS = \
17 -D_XOPEN_SOURCE=500 \
18 -DSBINDIR=\"$(SBINDIR)\" \ 17 -DSBINDIR=\"$(SBINDIR)\" \
18 -I${CURDIR}/include \
19 -Wall \ 19 -Wall \
20- -Werror \ 20- -Werror \
21 $(NULL) 21 $(NULL)
22 22
23 SYSTEMD_GENERATOR_DIR=$(shell pkg-config --variable=systemdsystemgeneratordir systemd) 23 SRCS = \
24--
252.25.1
26
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
index c7d371dfa..8779c251a 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
+++ b/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
@@ -4,18 +4,17 @@ Date: Fri, 25 Dec 2020 11:41:43 +0900
4Subject: [PATCH] don't fail if GLOB_BRACE is not defined 4Subject: [PATCH] don't fail if GLOB_BRACE is not defined
5 5
6Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> 6Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
7
8--- 7---
9 src/util.c | 6 ++++++ 8 src/util.c | 6 ++++++
10 1 file changed, 6 insertions(+) 9 1 file changed, 6 insertions(+)
11 10
12diff --git a/src/util.c b/src/util.c 11diff --git a/src/util.c b/src/util.c
13index a4c0dba..fd4542d 100644 12index 841ec12..59595da 100644
14--- a/src/util.c 13--- a/src/util.c
15+++ b/src/util.c 14+++ b/src/util.c
16@@ -25,6 +25,12 @@ 15@@ -32,6 +32,12 @@
17 #include "util.h" 16 #include "names.h"
18 #include "netplan.h" 17 #include "yaml-helpers.h"
19 18
20+/* Don't fail if the standard library 19+/* Don't fail if the standard library
21+ * doesn't provide brace expansion */ 20+ * doesn't provide brace expansion */
@@ -23,6 +22,9 @@ index a4c0dba..fd4542d 100644
23+#define GLOB_BRACE 0 22+#define GLOB_BRACE 0
24+#endif 23+#endif
25+ 24+
26 GHashTable* wifi_frequency_24; 25 NETPLAN_ABI GHashTable*
27 GHashTable* wifi_frequency_5; 26 wifi_frequency_24;
28 27
28--
292.25.1
30
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch
deleted file mode 100644
index 72f04a15a..000000000
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From 2f0ff65eaa93f18d9edb5d03329b00d8e5e73869 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= <lukas.maerdian@canonical.com>
3Date: Wed, 4 Aug 2021 15:55:00 +0200
4Subject: [PATCH] parse-nm: fix 32bit format string
5
6---
7 src/parse-nm.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/parse-nm.c b/src/parse-nm.c
11index 9b09e34..bf998b7 100644
12--- a/src/parse-nm.c
13+++ b/src/parse-nm.c
14@@ -136,7 +136,7 @@ static void
15 handle_bridge_uint(GKeyFile* kf, const gchar* key, NetplanNetDefinition* nd, char** dataptr) {
16 if (g_key_file_get_uint64(kf, "bridge", key, NULL)) {
17 nd->custom_bridging = TRUE;
18- *dataptr = g_strdup_printf("%lu", g_key_file_get_uint64(kf, "bridge", key, NULL));
19+ *dataptr = g_strdup_printf("%"G_GUINT64_FORMAT, g_key_file_get_uint64(kf, "bridge", key, NULL));
20 _kf_clear_key(kf, "bridge", key);
21 }
22 }
23--
242.25.1
25
diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
index 81e20b9c8..6a32f55d4 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb
+++ b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
@@ -11,11 +11,10 @@ LICENSE = "GPLv3"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14SRCREV = "51c872d856db80281ea810ebc02e05c09d5310fa" 14SRCREV = "3e522b7255310bdecca6c781137741dfc4abc021"
15PV = "0.103" 15PV = "0.104"
16 16
17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \ 17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \
18 file://0001-parse-nm-fix-32bit-format-string.patch \
19 file://0001-Makefile-do-not-use-Werror.patch \ 18 file://0001-Makefile-do-not-use-Werror.patch \
20 " 19 "
21 20