From 24827ae398db3b721eaff685bc3ee1f4bd5b7214 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Mon, 16 Feb 2026 11:37:13 +0100 Subject: [PATCH] package/network-manager: bump to 1.56.0 Disable building of man pages, which is now a separate option from building html docs[1]. Add conditional support for parsing the NVMe Boot Firmware Table NBFT) depending on whether libnvme is available. Changes [2]: ============================================= NetworkManager-1.56 Overview of changes since NetworkManager-1.54 ============================================= * Unify the versioning to use everywhere the scheme with the -rcX or -dev suffixes when appropriate. This affects, for example, the URL and filename of the release tarball and the version reported by nmcli and the daemon. As an exception, the C API will continue to use the 90+ scheme for RC versions. * nmcli now supports viewing and managing WireGuard peers. * Support reapplying the "sriov.vfs" property as long as "sriov.total-vfs" is not changed. * Support reapplying "bond-port.vlans". * Accept hostnames longer than 64 characters from DNS lookup. * Make that global-dns configuration overwrites DNS searches and options from connections, instead of merging all together. * Add support for a new rd.net.dhcp.client-id option in nm-initrd-generator. * Add gsm device-uid setting to restrict the devices the connection applies to. * Support configuring the HSR protocol version via the "hsr.protocol-version" property. * Fix a bug that makes broadband connections auto-connect getting blocked if the connection tries to reconnect when modem status is "disconnecting" / "disconnected". * Treat modem connection not having an operator code available as a recoverable error. * Add support for configuring systemd-resolved's DNSSEC option per-connection via the "connection.dnssec" connection property. * Support configuring the HSR interlink port via the "hsr.interlink" property. * Fix some connection properties not being applied to vpn connections (connection.mdns, connection.llmnr, connection.dns-over-tls, connection.mptcp-flags, ipv6.ip6-privacy) * Update n-acd to always compile with eBPF enabled, as support for eBPF is now detected at run time. * Add new MPTCP 'laminar' endpoint type, and set it by default alongside the 'subflow' one. * For private connections (the ones that specify a user in the "connection.permissions" property), verify that the user can access the 802.1X certificates and keys set in the connection. * Introduce a libnm function that can be used by VPN plugins to check user permissions on certificate and keys. ============================================= NetworkManager-1.54 Overview of changes since NetworkManager-1.52 ============================================= * Add support for configuring per-device IPv4 forwarding via the "ipv4.forwarding" connection property. * Add a new "prefix-delegation" setting containing a "subnet-id" property that specifies the subnet to choose on the downstream interface when using IPv6 prefix delegation. * Support OCI baremetal in nm-cloud-setup * When activating a WireGuard connection to an IPv6 endpoint, now NetworkManager creates firewall rules to ensure that the incoming packets are not dropped by kernel reverse path filtering. * Add support for configuring the loopback interface in nmtui. * Most of the properties of ovs-bridge and ovs-port connections can now be reapplied at runtime without bringing the connection down. * Add a new "sriov.preserve-on-down" property that controls whether NetworkManager preserves the SR-IOV parameters set on the device when the connection is deactivated, or whether it resets them to their default value. * Introduce a new "ovs-dpdk.lsc-interrupt" property to configure the Link State Change (LSC) detection mode for OVS DPDK interfaces. * The initrd-generator now can parse the NVMe Boot Firmware Table (NBFT) to configure networking during early boot. * Add systemd services to provide networking in the initrd. [1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/a11760ef39629fd5f850b9a495e5b155c2cb120d [2] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/nm-1-56/NEWS Signed-off-by: Marcus Hoffmann Tested-by: Fiona Klute Signed-off-by: Julien Olivain --- package/network-manager/network-manager.hash | 4 ++-- package/network-manager/network-manager.mk | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash index a6e5113862..fe2f2ae262 100644 --- a/package/network-manager/network-manager.hash +++ b/package/network-manager/network-manager.hash @@ -1,5 +1,5 @@ -# From https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/1.52.2/downloads/NetworkManager-1.52.2.tar.xz.sha256sum -sha256 3658640e788bbcb6a000c29a95f0dccc4dfebba41c6e5e9a90ad1e6daacb512c NetworkManager-1.52.2.tar.xz +# From https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/1.56.0/downloads/NetworkManager-1.56.0.tar.xz.sha256sum +sha256 59a32d385cc1e7ae26e43798c6f12d07ff6198abd041ec0620b3a08cfc021ccc NetworkManager-1.56.0.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 937cf76a52..301c1ad43e 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -4,8 +4,8 @@ # ################################################################################ -NETWORK_MANAGER_VERSION_MAJOR = 1.52 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 +NETWORK_MANAGER_VERSION_MAJOR = 1.56 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/$(NETWORK_MANAGER_VERSION)/downloads NETWORK_MANAGER_INSTALL_STAGING = YES @@ -26,6 +26,7 @@ NETWORK_MANAGER_DEPENDENCIES = \ NETWORK_MANAGER_CONF_OPTS = \ -Ddocs=false \ + -Dman=false \ -Dtests=no \ -Dqt=false \ -Diptables=/usr/sbin/iptables \ @@ -166,6 +167,13 @@ else NETWORK_MANAGER_CONF_OPTS += -Dpolkit=false endif +ifeq ($(BR2_PACKAGE_LIBNVME),y) +NETWORK_MANAGER_DEPENDENCIES += libnvme +NETWORK_MANAGER_CONF_OPTS += -Dnbft=true +else +NETWORK_MANAGER_CONF_OPTS += -Dnbft=false +endif + ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_CLI),y) NETWORK_MANAGER_DEPENDENCIES += readline NETWORK_MANAGER_CONF_OPTS += -Dnmcli=true