Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-networkmanager-qt for openSUSE:Factory checked in at 2024-07-14 08:50:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-networkmanager-qt (Old) and /work/SRC/openSUSE:Factory/.kf6-networkmanager-qt.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kf6-networkmanager-qt" Sun Jul 14 08:50:22 2024 rev:5 rq:1187149 version:6.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-networkmanager-qt/kf6-networkmanager-qt.changes 2024-06-09 20:23:29.964593277 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-networkmanager-qt.new.17339/kf6-networkmanager-qt.changes 2024-07-14 08:53:47.827678918 +0200 @@ -1,0 +2,15 @@ +Tue Jul 9 09:42:02 UTC 2024 - Christophe Marin <christophe@krop.fr> + +- Update to 6.4.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.4.0 +- Changes since 6.3.0: + * Add missing find_dependency call on Qt6Network. (kde#489094) + * Fixed occasional lag issue with ActiveConnection. + * Recognize OWE in AP capabilities and connection security + * Add VRF and loopback device types + * Recognize the "loopback" connection type + * Fix check for device and AP cipher compatibility + +------------------------------------------------------------------- Old: ---- networkmanager-qt-6.3.0.tar.xz networkmanager-qt-6.3.0.tar.xz.sig New: ---- networkmanager-qt-6.4.0.tar.xz networkmanager-qt-6.4.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-networkmanager-qt.spec ++++++ --- /var/tmp/diff_new_pack.irUMf9/_old 2024-07-14 08:53:48.411700257 +0200 +++ /var/tmp/diff_new_pack.irUMf9/_new 2024-07-14 08:53:48.411700257 +0200 @@ -19,13 +19,13 @@ %define qt6_version 6.6.0 %define rname networkmanager-qt -# Full KF6 version (e.g. 6.3.0) +# Full KF6 version (e.g. 6.4.0) %{!?_kf6_version: %global _kf6_version %{version}} # Last major and minor KF6 version (e.g. 6.0) %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kf6-networkmanager-qt -Version: 6.3.0 +Version: 6.4.0 Release: 0 Summary: A Qt wrapper for NetworkManager DBus API License: LGPL-2.1-only OR LGPL-3.0-only ++++++ networkmanager-qt-6.3.0.tar.xz -> networkmanager-qt-6.4.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/CMakeLists.txt new/networkmanager-qt-6.4.0/CMakeLists.txt --- old/networkmanager-qt-6.3.0/CMakeLists.txt 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/CMakeLists.txt 2024-07-05 22:10:00.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.3.0") # handled by release scripts +set(KF_VERSION "6.4.0") # handled by release scripts project(NetworkManagerQt VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 6.3.0 NO_MODULE) +find_package(ECM 6.4.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/KF6NetworkManagerQtConfig.cmake.in new/networkmanager-qt-6.4.0/KF6NetworkManagerQtConfig.cmake.in --- old/networkmanager-qt-6.3.0/KF6NetworkManagerQtConfig.cmake.in 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/KF6NetworkManagerQtConfig.cmake.in 2024-07-05 22:10:00.000000000 +0200 @@ -3,6 +3,7 @@ include(CMakeFindDependencyMacro) find_dependency(Qt6Core @REQUIRED_QT_VERSION@) find_dependency(Qt6DBus @REQUIRED_QT_VERSION@) +find_dependency(Qt6Network @REQUIRED_QT_VERSION@) find_package(PkgConfig) pkg_search_module(NetworkManager REQUIRED IMPORTED_TARGET libnm>=1.4.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/accesspoint.h new/networkmanager-qt-6.4.0/src/accesspoint.h --- old/networkmanager-qt-6.3.0/src/accesspoint.h 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/accesspoint.h 2024-07-05 22:10:00.000000000 +0200 @@ -61,6 +61,8 @@ KeyMgmtPsk = 0x100, KeyMgmt8021x = 0x200, KeyMgmtSAE = 0x400, + KeyMgmtOWE = 0x800, + KeyMgmtOWETM = 0x1000, KeyMgmtEapSuiteB192 = 0x2000, }; Q_DECLARE_FLAGS(Capabilities, Capability) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/device.cpp new/networkmanager-qt-6.4.0/src/device.cpp --- old/networkmanager-qt-6.3.0/src/device.cpp 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/device.cpp 2024-07-05 22:10:00.000000000 +0200 @@ -212,6 +212,12 @@ case 30: // NM_DEVICE_TYPE_WIFI_P2P return NetworkManager::Device::WifiP2P; + case 31: + // NM_DEVICE_TYPE_VRF + return NetworkManager::Device::VRF; + case 32: + // NM_DEVICE_TYPE_LOOPBACK + return NetworkManager::Device::Loopback; } return NetworkManager::Device::UnknownType; @@ -241,9 +247,7 @@ // qCDebug(NMQT) << property << " - " << value; if (property == QLatin1String("ActiveConnection")) { - // FIXME workaround, because NM doesn't Q_EMIT correct value - // d->activeConnection = value.value<QDBusObjectPath>.path(); - activeConnection = deviceIface.activeConnection().path(); + activeConnection = value.value<QDBusObjectPath>().path(); Q_EMIT q->activeConnectionChanged(); } else if (property == QLatin1String("Autoconnect")) { autoconnect = value.toBool(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/device.h new/networkmanager-qt-6.4.0/src/device.h --- old/networkmanager-qt-6.3.0/src/device.h 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/device.h 2024-07-05 22:10:00.000000000 +0200 @@ -221,6 +221,8 @@ Lowpan, /**< Lowpan Device @since 1.14 */ WireGuard, /**< WireGuard Device @since 1.14 */ WifiP2P, /**< WifiP2P Device @since 1.16 */ + VRF, /**< VRF (Virtual Routing and Forwarding) Device @since: 1.24 */ + Loopback, /**< Loopback Device @since 1.42 */ }; Q_ENUM(Type) Q_DECLARE_FLAGS(Types, Type) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/settings/connectionsettings.cpp new/networkmanager-qt-6.4.0/src/settings/connectionsettings.cpp --- old/networkmanager-qt-6.3.0/src/settings/connectionsettings.cpp 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/settings/connectionsettings.cpp 2024-07-05 22:10:00.000000000 +0200 @@ -48,6 +48,10 @@ #define NM_SETTING_WIREGUARD_SETTING_NAME "wireguard" #endif +#if !NM_CHECK_VERSION(1, 42, 0) +#define NM_SETTING_LOOPBACK_SETTING_NAME "loopback" +#endif + #include "genericsetting.h" #include "teamsetting.h" @@ -201,6 +205,9 @@ addSetting(Setting::Ptr(new Ipv4Setting())); addSetting(Setting::Ptr(new Ipv6Setting())); break; + case ConnectionSettings::Loopback: + addSetting(Setting::Ptr(new Ipv4Setting())); + addSetting(Setting::Ptr(new Ipv6Setting())); case ConnectionSettings::Unknown: default: break; @@ -327,6 +334,10 @@ addSetting(connectionSettings->setting(Setting::Ipv4)); addSetting(connectionSettings->setting(Setting::Ipv6)); break; + case ConnectionSettings::Loopback: + addSetting(connectionSettings->setting(Setting::Ipv4)); + addSetting(connectionSettings->setting(Setting::Ipv6)); + break; case ConnectionSettings::Unknown: default: break; @@ -375,6 +386,8 @@ type = IpTunnel; } else if (typeString == QLatin1String(NM_SETTING_WIREGUARD_SETTING_NAME)) { type = WireGuard; + } else if (typeString == QLatin1String(NM_SETTING_LOOPBACK_SETTING_NAME)) { + type = Loopback; } return type; @@ -442,6 +455,9 @@ case WireGuard: typeString = QLatin1String(NM_SETTING_WIREGUARD_SETTING_NAME); break; + case Loopback: + typeString = QLatin1String(NM_SETTING_LOOPBACK_SETTING_NAME); + break; default: break; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/settings/connectionsettings.h new/networkmanager-qt-6.4.0/src/settings/connectionsettings.h --- old/networkmanager-qt-6.3.0/src/settings/connectionsettings.h 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/settings/connectionsettings.h 2024-07-05 22:10:00.000000000 +0200 @@ -53,6 +53,7 @@ Tun, IpTunnel, WireGuard, + Loopback, }; enum AutoconnectSlaves { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/settings/wirelesssecuritysetting.cpp new/networkmanager-qt-6.4.0/src/settings/wirelesssecuritysetting.cpp --- old/networkmanager-qt-6.3.0/src/settings/wirelesssecuritysetting.cpp 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/settings/wirelesssecuritysetting.cpp 2024-07-05 22:10:00.000000000 +0200 @@ -451,6 +451,8 @@ setKeyMgmt(SAE); } else if (key == "wpa-eap-suite-b-192") { setKeyMgmt(WpaEapSuiteB192); + } else if (key == "owe") { + setKeyMgmt(OWE); } } @@ -589,6 +591,8 @@ setting.insert(QLatin1String(NM_SETTING_WIRELESS_SECURITY_KEY_MGMT), "sae"); } else if (keyMgmt() == WpaEapSuiteB192) { setting.insert(QLatin1String(NM_SETTING_WIRELESS_SECURITY_KEY_MGMT), "wpa-eap-suite-b-192"); + } else if (keyMgmt() == OWE) { + setting.insert(QLatin1String(NM_SETTING_WIRELESS_SECURITY_KEY_MGMT), "owe"); } if (wepTxKeyindex()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/settings/wirelesssecuritysetting.h new/networkmanager-qt-6.4.0/src/settings/wirelesssecuritysetting.h --- old/networkmanager-qt-6.3.0/src/settings/wirelesssecuritysetting.h 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/settings/wirelesssecuritysetting.h 2024-07-05 22:10:00.000000000 +0200 @@ -33,6 +33,7 @@ WpaEap, SAE, WpaEapSuiteB192, + OWE, }; enum AuthAlg { None, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/utils.cpp new/networkmanager-qt-6.4.0/src/utils.cpp --- old/networkmanager-qt-6.3.0/src/utils.cpp 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/utils.cpp 2024-07-05 22:10:00.000000000 +0200 @@ -124,7 +124,7 @@ WirelessSecurityType type) { bool havePair = false; - bool haveGroup = true; + bool haveGroup = false; if (type == NetworkManager::StaticWep) { havePair = true; @@ -367,6 +367,20 @@ return false; } break; + case OWE: + if (adhoc) { + return false; + } + if (!interfaceCaps.testFlag(NetworkManager::WirelessDevice::Rsn)) { + return false; + } + if (haveAp) { + if (!apRsn.testFlag(NetworkManager::AccessPoint::KeyMgmtOWE) // + && !apRsn.testFlag(NetworkManager::AccessPoint::KeyMgmtOWETM)) { + return false; + } + } + break; case Wpa3SuiteB192: if (adhoc) { return false; @@ -406,6 +420,7 @@ NetworkManager::StaticWep, NetworkManager::DynamicWep, NetworkManager::Leap, + NetworkManager::OWE, NetworkManager::NoneSecurity}; for (NetworkManager::WirelessSecurityType type : types) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-6.3.0/src/utils.h new/networkmanager-qt-6.4.0/src/utils.h --- old/networkmanager-qt-6.3.0/src/utils.h 2024-05-31 15:29:26.000000000 +0200 +++ new/networkmanager-qt-6.4.0/src/utils.h 2024-07-05 22:10:00.000000000 +0200 @@ -29,6 +29,7 @@ Wpa2Eap, SAE, Wpa3SuiteB192, + OWE, }; /**