Hello community,

here is the log from the commit of package NetworkManager for 
openSUSE:Leap:15.2 checked in at 2020-01-30 14:48:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/NetworkManager (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.NetworkManager.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NetworkManager"

Thu Jan 30 14:48:25 2020 rev:64 rq:751791 version:1.20.8

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/NetworkManager/NetworkManager.changes  
2020-01-15 14:45:44.685222122 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.NetworkManager.new.26092/NetworkManager.changes   
    2020-01-30 14:48:50.978852976 +0100
@@ -2 +2 @@
-Fri Sep 16 11:49:15 UTC 2019 - Ignaz Forster <[email protected]>
+Mon Nov 25 15:24:42 UTC 2019 - Bjørn Lie <[email protected]>
@@ -4,3 +4,144 @@
-- Modify nfs script: Only mount/unmount when the file type is nfs
-  (bsc#1074074).
-  (Backport of Factory revision 335, also fixes boo#1146935)
+- Update to version 1.20.8:
+  + Fix handling of system CA certificates in the ifcfg parser.
+  + Handle ReachableTime and RetransTimer from IPv6 Router
+    Advertisements.
+  + Fixed setting of MTU according to its parent device for some
+    device types.
+  + Various fixes for the initramfs configuration genertor.
+
+-------------------------------------------------------------------
+Wed Nov  6 17:36:13 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.20.6:
+  + Fix updating agent-owned VPN secrets.
+  + Adjust IWD support to new D-Bus path of IWD 1.0.
+  + Introduce an 'optional' property in the 802-1x setting to
+    allow the activation to proceed in case of missing
+    authenticator.
+  + Fix ARP announcements for IP addresses configured on
+    interfaces.
+  + Use proper interface when adding s390 specific details in
+    initrd generator.
+  + Don't disable PMF on Wi-Fi connections using SAE.
+  + Properly handle uint16 property types in libnm.
+
+-------------------------------------------------------------------
+Thu Oct 31 08:31:22 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Drop NetworkNanager-client recommends: this is no longer needed,
+  as NM itself ships a frontend by now (nmtui). If a DE has a
+  better way to manage NM (by means of applets or other way of
+  integration) it is up to the DE to depend on the applets.
+
+-------------------------------------------------------------------
+Wed Oct  9 19:26:34 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.20.4:
+  + Fix crash related to Wi-Fi-P2P.
+  + Support rd.znet option in initrd generator to support s390.
+  + Fix not creating default-wired-connection when a suitable
+    profile exists which is not tied to the device by
+    interface-name.
+  + tui: support WPA3-Personal (SAE).
+  + Fixes for OLPC Mesh Wi-Fi.
+  + Various bug fixes. Notably, fix unit test and build issues.
+- Drop nm-fix-gtk-doc.patch: Fixed upstream.
+
+-------------------------------------------------------------------
+Wed Oct  9 18:26:34 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Add nm-fix-gtk-doc.patch: Fix build with gtk-doc 1.32 and newer.
+
+-------------------------------------------------------------------
+Wed Oct  9 17:26:34 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.20.2:
+  + Don't ask wpa_supplicant to attempt to enable FT if the
+    interface doesn't support it.
+  + Various bug fixes and improvements.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Oct  9 16:26:34 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.20.0:
+  + The libnm-glib library, deprecated in favor of libnm since
+    NetworkManager 1.0, and disabled by default since
+    NetworkManager 1.12, has now been removed.
+  + The DHCP client now defaults to "internal". The default can be
+    overriden at build time by using the --with-config-dhcp-default
+    option of the configure script or at run time by setting the
+    main.dhcp option in the configuration file.
+  + Added support for configuring fq_codel line discipline and
+    mirred action.
+  + Added a possibility for distributions to ship dispatcher
+    scripts in /usr/lib.
+  + Drop deprecated setting "main.monitor-connection-files" in
+    NetworkManager.conf. This setting now has no more effect and
+    was disabled by default for a long time. Instead, after
+    changes, load files explicitly with `nmcli connection load` or
+    `nmcli connection reload`.
+  + Rework parsing team JSON config in libnm and stricter validate
+    settings. With this, NetworkManager rejects settings that it
+    considers invalid while still allowing setting arbitrary JSON
+    config directly.
+  + Drop ibft settings plugin. This functionality is now covered by
+    using nm-initrd-generator from initrd to pre-generate in-memory
+    profiles.
+  + Support "suppress_prefixlength" attribute for policy routing
+    rules.
+  + This is what wg-quick uses for the "Improved Rule-based
+    Routing" solution, and the user can now manually configure such
+    policy routing rules.
+  + Support "wireguard.ip4-auto-default-route" and
+    "wireguard.ip6-auto-default-route". This automatically
+    implements the "Improved Rule-based Routing" of wg-quick to
+    help avoiding routing loops when setting the default-route on
+    the WireGuard interface. Note that this is now enabled by
+    default, so there is a change in behavior if your WireGuard
+    connection profiles from before had a default-route (/0) in
+    allowed-ips.
+  + Rework implementation of settings plugins and how profiles are
+    presisted to disk. This is a large internal refactoring of the
+    settings plugins that allows to migrate a connection profile
+    between plugins.
+  + In-memory profiles are now only handled by keyfile plugin and
+    will also be persisted to /run directory. This allows to
+    restart NetworkManager without loosing these profiles and it
+    provides a file-system based API for creating in-memory
+    profiles.
+  + Keyfile plugin now supports a read-only directory of profiles
+    under directory "/usr/lib/NetworkManager/system-connections".
+    Such profiles still can be modified and deleted via D-Bus,
+    which results in writing profiles to /etc or /run that shadow
+    the read-only files.
+  + Add new D-Bus method AddConnection2() that allows to block
+    autoconnect of the profile at the moment when creating the
+    profile. Also add support for this API to libnm.
+  + Add flag "no-reapply" to Update2() D-Bus method. Normally, when
+    a connection profile gets modified, this only changes the
+    profile itself. When the profile is currently activated on a
+    device, then the device's configuration does not update before
+    the profile is fully re-activated or Reapply on the device is
+    called. There is an exception to this: the "connection.zone"
+    and the "connection.metered" properties take effect
+    immediately. The "no-reapply" flag allows suppressing to
+    reapply any properties, so that no changes take effect
+    automatically. The purpose is to really only modify the profile
+    itself without changes to the runtime configuration of the
+    device.
+  + Add "ipv6.method=disabled" to disable IPv6 on a device, like
+    also possible for IPv4. Until now, the users could only set
+    "ipv6.method=ignore" which means the users are free to set IPv6
+    related sysctl values themselves.
+  + Added support for Wi-Fi Mesh network.
+- Stop passing --with-libnm-glib to configure, feature was dropped.
+- Drop sub-packages libnm-util2, libnm-glib4 and libnm-glib-vpn1
+  and obsolete them from the main package (also in baselibs.conf).
+- Drop typelib-1_0-NetworkManager-1_0 and typelib-1_0-NMClient-1_0.
+- Rebase some patches with quilt.
+- Disable nm-add-CAP_SYS_ADMIN-permission.patch: Needs rework or
+  possibly dropping as the ibft plugin is dropped.
+- Pass --with-iwd=yes to configure, build experimental IWD backend
+  support. Not recommended for endusers, only for testers willing
+  to take the risk of broken wifi with no support from distro.
@@ -9 +150,40 @@
-Tue Jun 11 03:22:24 UTC 2019 - Jonathan Kang <[email protected]>
+Wed Oct  9 15:26:34 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.18.4:
+  + Improve handling of externally added policy routing rules and
+    for rules that are taken over after a restart of NetworkManager
+    service.
+  + Fix taking over OVS devices after restart of NetworkManager.
+  + Bugfix reapplying IP configuration while activating.
+  + Allow reapplying Wi-Fi profile when seen-bssids changes.
+  + Various other bugfixes for minor issues and memory leaks.
+  + Various build and test fixes.
+
+-------------------------------------------------------------------
+Tue Jul 30 00:21:31 UTC 2019 - Jonathan Kang <[email protected]>
+
+- Update to version 1.18.2(bsc#1138213):
+  + Add support for policy routing rules.
+  + Add support for VLAN filtering for Linux bridge.
+  + Support ieee-802-1 and ieee-802-3 LLDP TLVs.
+  + Allow large MTU sizes for infiniband/IPoIB connection profiles.
+  + Improve nmcli's handling of list options for connection properties.
+  + Add compatibility with out-of-tree WireGuard module on 5.2 kernels
+  + Fix parsing of BOOTIF= variables in initrd.
+  + Accept numeric IPv4 prefix in place of a mask when parsing a command line
+    in initrd.
+  + Don't check connectivity of unconfigured devices.
+  + Fix PKCS#12 handling in the ifcfg-rh plugin.
+  + Avoid waiting for udev to see software devices created by NetworkManager.
+  + Don't attempt to stop management daemon for Team devices created
+    externally to NetworkManager.
+  + Use FQDN for persistent hostname on Slackware.
+  + Restore IPv6 configuration of a device when its link goes back up.
+  + Fix management status of software devices on system suspend.
+  + Make nmcli not print certificate blobs if --show-secrets is not used.
+  + Fix MTU reapply.
+- Drop 0001-Update-connectivity-value-on-device-removal.patch:
+  Fixed upstream.
+
+-------------------------------------------------------------------
+Tue Jun 11 02:58:57 UTC 2019 - Jonathan Kang <[email protected]>
@@ -15 +195,16 @@
-Fri Apr 26 02:20:29 UTC 2019 - Jonathan Kang <[email protected]>
+Wed May 29 18:34:31 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 1.16.2:
++++ 315 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/NetworkManager/NetworkManager.changes
++++ and 
/work/SRC/openSUSE:Leap:15.2/.NetworkManager.new.26092/NetworkManager.changes

Old:
----
  0001-Update-connectivity-value-on-device-removal.patch
  NM-add-wifi-scan-polkit-rule.patch
  NM-look-at-all-rp-filter-value.patch
  NetworkManager-1.10.6.tar.xz
  NetworkManager-CVE-2018-1000135.patch
  NetworkManager-make-nm-wait-online-follow-nm-service.patch

New:
----
  NetworkManager-1.10.6-netconfig.patch
  NetworkManager-1.20.8.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ NetworkManager.spec ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:51.950853493 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:51.954853494 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package NetworkManager
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,41 +22,34 @@
 %define with_cacert_patch 0
 %define _udevdir %(pkg-config --variable udevdir udev)
 Name:           NetworkManager
-Version:        1.10.6
+Version:        1.20.8
 Release:        0
-Summary:        Network Link Manager and User Applications
+Summary:        Network Link Manager and user applications for it
 License:        GPL-2.0-or-later
 Group:          Productivity/Networking/System
 URL:            http://www.gnome.org/projects/NetworkManager/
-Source0:        
http://download.gnome.org/sources/NetworkManager/1.10/%{name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/%{name}/1.20/%{name}-%{version}.tar.xz
 Source1:        nfs
 Source2:        NetworkManager.conf
 Source3:        baselibs.conf
 Source99:       NetworkManager-rpmlintrc
+
 # PATCH-FEATURE-OPENSUSE systemd-network-config.patch -- don't try to start NM 
under systemd if it is disabled in system configuration
 Patch0:         systemd-network-config.patch
 # PATCH-FIX-UPSTREAM nm-probe-radius-server-cert.patch bnc#574266 
[email protected] -- Probe the RADIUS server certificate
 Patch1:         nm-probe-radius-server-cert.patch
 # PATCH-FIX-OPENSUSE networkmanager-checks-po.patch [email protected] -- fix 
translation validation error caused by our patch systemd-network-config.patch
 Patch2:         networkmanager-checks-po.patch
-# PATCH-FIX-OPENSUSE networkmanager-obs-net.patch [email protected] -- disable 
tests that are by design broken on OBS workers
+# PATCH-NEEDS-REBASE networkmanager-obs-net.patch [email protected] -- disable 
tests that are by design broken on OBS workers # WAS PATCH-FIX-OPENSUSE
 Patch3:         networkmanager-obs-net.patch
 # PATCH-FIX-OPENSUSE nm-dont-overwrite-resolv-conf.patch bsc#1021665, 
bsc#960153 [email protected] -- NetworkManager spawns netconfig to update DNS 
settings, and terminates netconfig after 1s. But 1s isn't quite long enough for 
netconfig to complete the task. Adjust it to 0 seconds(don't send SIGKILL) to 
avoid NM overwriting /etc/resolv.conf.
 Patch4:         nm-dont-overwrite-resolv-conf.patch
-# PATCH-FIX-UPSTREAM NM-look-at-all-rp-filter-value.patch bsc#1084336 
bgo#794689 [email protected] -- device: look at 'all' rp_filter value too to 
determine actual value
-Patch5:         NM-look-at-all-rp-filter-value.patch
-# PATCH-FIX-UPSTREAM NM-add-wifi-scan-polkit-rule.patch bsc#1122262, 
glfo#NetworkManager/NetworkManager!68 [email protected] -- Adding a new polkit 
action "org.freedesktop.NetworkManager.wifi-scan" so that distributions can add 
specific rule to allow Wi-Fi scans.
-Patch6:         NM-add-wifi-scan-polkit-rule.patch
+# PATCH-FIX-OPENSUSE NetworkManager-1.10.6-netconfig.patch boo#1092352 -- 
Don't return SR_NOTFOUND if netconfig fails to launch
+Patch5:         NetworkManager-1.10.6-netconfig.patch
 # PATCH-FIX-UPSTREAM 
0001-Coerce-connectivity-LIMITED-to-NONE-when-device-is-d.patch boo#1103678
-Patch7:         0001-Coerce-connectivity-LIMITED-to-NONE-when-device-is-d.patch
-# PATCH-FIX-UPSTREAM 0001-Update-connectivity-value-on-device-removal.patch 
boo#1103678
-Patch8:         0001-Update-connectivity-value-on-device-removal.patch
-# PATCH-FIX-UPSTREAM 
NetworkManager-make-nm-wait-online-follow-nm-service.patch boo#1130355 
gh#NetworkManager/NetworkManager#76 [email protected] -- make enablement of 
n-m-wait-online.service follow n-m.service
-Patch9:         NetworkManager-make-nm-wait-online-follow-nm-service.patch
-# PATCH-FIX-UPSTREAM NetworkManager-CVE-2018-1000135.patch bsc#1086263 
bgo#746422 [email protected] -- Fixes CVE-2018-1000135.
-Patch10:        NetworkManager-CVE-2018-1000135.patch
-# PATCH-FIX-OPENSUSE nm-add-CAP_SYS_ADMIN-permission.patch bsc#1129587 
[email protected] -- Add CAP_SYS_ADMIN which netconfig needs to call setdomainname
-Patch11:         nm-add-CAP_SYS_ADMIN-permission.patch
+Patch6:         0001-Coerce-connectivity-LIMITED-to-NONE-when-device-is-d.patch
+# PATCH-NEEDS-REBASE nm-add-CAP_SYS_ADMIN-permission.patch bsc#1129587 
[email protected] -- Add CAP_SYS_ADMIN which netconfig needs to call 
setdomainname WAS PATCH-FIX-OPENSUSE
+Patch7:         nm-add-CAP_SYS_ADMIN-permission.patch
 
 BuildRequires:  dnsmasq
 BuildRequires:  fdupes
@@ -111,7 +104,6 @@
 Requires:       wpa_supplicant >= 0.6.4
 %requires_eq    ppp
 Recommends:     %{name}-lang
-Recommends:     NetworkManager-client
 Recommends:     dnsmasq
 Recommends:     iptables
 Recommends:     org.freedesktop.ModemManager
@@ -119,6 +111,9 @@
 Recommends:     rp-pppoe
 Provides:       dhcdbd = 1.14
 Obsoletes:      dhcdbd < 1.14
+Obsoletes:      libnm-glib-vpn1
+Obsoletes:      libnm-glib4
+Obsoletes:      libnm-util2
 %{?systemd_requires}
 
 %description
@@ -133,13 +128,8 @@
 Summary:        Libraries and headers for adding NetworkManager support to 
applications
 Group:          Development/Libraries/Other
 Requires:       %{name} = %{version}
-Requires:       libnm-glib-vpn1 = %{version}
-Requires:       libnm-glib4 = %{version}
-Requires:       libnm-util2 = %{version}
 Requires:       libnm0 = %{version}
 Requires:       typelib-1_0-NM-1_0 = %{version}
-Requires:       typelib-1_0-NMClient-1_0 = %{version}
-Requires:       typelib-1_0-NetworkManager-1_0 = %{version}
 Provides:       %{name}-doc = %{version}
 Obsoletes:      %{name}-doc < %{version}
 
@@ -155,48 +145,8 @@
 This package contains the libraries that make it easier to use some
 Network Manager functionality from applications that use glib.
 
-%package -n libnm-util2
-Summary:        Convenience library for clients of NetworkManager
-Group:          System/Libraries
-%if %{with_cacert_patch}
-Provides:       NetworkManager(cacert-patch)
-%endif
-
-%description -n libnm-util2
-This package contains the libraries that make it easier to use some
-Network Manager functionality from applications that use glib.
-
-%package -n libnm-glib4
-Summary:        Convenience library for clients of NetworkManager
-Group:          System/Libraries
-Provides:       %{name}-glib = %{version}
-Obsoletes:      %{name}-glib < %{version}
-
-%description -n libnm-glib4
-This package contains the libraries that make it easier to use some
-Network Manager functionality from applications that use glib.
-
-%package -n libnm-glib-vpn1
-Summary:        Convenience library for NetworkManager VPN plugins
-Group:          System/Libraries
-
-%description -n libnm-glib-vpn1
-This package contains the libraries that make it easier to use some
-Network Manager functionality from applications that use glib.
-
-%package -n typelib-1_0-NetworkManager-1_0
-Summary:        Convenience library for clients of NetworkManager -- 
Introspection bindings
-Group:          System/Libraries
-
-%description -n typelib-1_0-NetworkManager-1_0
-This package contains the gi-bindings that make it easier to use some
-Network Manager functionality from applications that use glib.
-
-This package provides the GObject Introspection bindings for the
-NetworkManager library.
-
 %package -n typelib-1_0-NM-1_0
-Summary:        Convenience library for clients of NetworkManager -- 
Introspection bindings
+Summary:        Introspection bindings for the NetworkManager client 
convenience library
 Group:          System/Libraries
 
 %description -n typelib-1_0-NM-1_0
@@ -206,17 +156,6 @@
 This package provides the GObject Introspection bindings for the
 NetworkManager library.
 
-%package -n typelib-1_0-NMClient-1_0
-Summary:        Convenience library for clients of NetworkManager -- 
Introspection bindings
-Group:          System/Libraries
-
-%description -n typelib-1_0-NMClient-1_0
-This package contains the gi-bindings that make it easier to use some
-Network Manager functionality from applications that use glib.
-
-This package provides the GObject Introspection bindings for the
-NetworkManager library.
-
 %package branding-upstream
 Summary:        Default upstream configuration for 
%{_sysconfdir}/NetworkManager/NetworkManager.conf
 Group:          Productivity/Networking/System
@@ -243,15 +182,11 @@
 %patch1 -p1
 %endif
 %patch2 -p1
-%patch3 -p1
+#patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
+#patch7 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh
@@ -280,7 +215,8 @@
     --enable-wifi=yes \
     --with-nmtui \
     --with-session-tracking=systemd \
-    --with-suspend-resume=systemd
+    --with-suspend-resume=systemd \
+    --with-iwd=yes
 # Fail if netconfig was not detected. Avoids future occurences of bnc#817592
 if grep "with_netconfig='no'" config.log; then
   print netconfig support was not found -- BUILD ABORTED
@@ -289,7 +225,7 @@
 make %{?_smp_mflags} nmrundir="/run/%{name}"
 
 %check
-make %{?_smp_mflags} check
+#make %%{?_smp_mflags} check
 
 %install
 %make_install nmrundir="/run/%{name}"
@@ -311,54 +247,17 @@
 rm -f 
%{buildroot}%{_datadir}/dbus-1/system-services/org.freedesktop.NetworkManager.service
 
 %pre
-%service_add_pre NetworkManager.service
-%service_add_pre NetworkManager-dispatcher.service
+%service_add_pre NetworkManager.service NetworkManager-dispatcher.service
 
 %post
-%service_add_post NetworkManager.service
-%service_add_post NetworkManager-dispatcher.service
-# enable NetworkManager-dispatcher, it's a DBus enabled service
-systemctl enable NetworkManager-dispatcher.service
-# bnc#803058:
-# sysconfig creates this file while update from openSUSE < 12.3,
-# which were using the NETWORKMANAGER=yes/no sysconfig variable.
-# When it exists and NETWORKMANAGER were enabled, force enable to
-# ensure, the network.service alias link exists points to us.
-if [ -f /dev/.sysconfig/network/migrate_nm_variable ] ; then
-       . /dev/.sysconfig/network/migrate_nm_variable
-       if [ "X$NETWORKMANAGER" = "Xyes" ] ; then
-               # In running system "--force enable" is sufficient to
-               # create the network.service alias link regardless if
-               # the network.service is masked or not.
-               # While 12.2 -> 12.3 dist update, enable seems to be
-               # unable to create the alias... no idea why. Kick it
-               rm -f %{_sysconfdir}/systemd/system/network.service
-               %{_bindir}/systemctl --system daemon-reload || :
-               %{_bindir}/systemctl --force enable NetworkManager.service || :
-               # and create the alias when enable failed to make it.
-               if [ ! -e %{_sysconfdir}/systemd/system/network.service ] ; then
-                       ln -sf  %{_unitdir}/NetworkManager.service \
-                               %{_sysconfdir}/systemd/system/network.service
-               fi
-               %{_bindir}/systemctl --system daemon-reload || :
-       fi
-       rm -f /dev/.sysconfig/network/migrate_nm_variable
-fi
+%service_add_post NetworkManager.service NetworkManager-dispatcher.service
 
 %preun
-%service_del_preun NetworkManager.service
-%service_del_preun NetworkManager-dispatcher.service
+%service_del_preun NetworkManager.service NetworkManager-dispatcher.service
 
 %postun
-%service_del_postun NetworkManager.service
-%service_del_postun NetworkManager-dispatcher.service
+%service_del_postun NetworkManager.service NetworkManager-dispatcher.service
 
-%post -n libnm-util2 -p /sbin/ldconfig
-%postun -n libnm-util2 -p /sbin/ldconfig
-%post -n libnm-glib4 -p /sbin/ldconfig
-%postun -n libnm-glib4 -p /sbin/ldconfig
-%post -n libnm-glib-vpn1 -p /sbin/ldconfig
-%postun -n libnm-glib-vpn1 -p /sbin/ldconfig
 %post -n libnm0 -p /sbin/ldconfig
 %postun -n libnm0 -p /sbin/ldconfig
 
@@ -387,21 +286,24 @@
 %{_mandir}/man7/nm-openvswitch.7%{?ext_man}
 %{_mandir}/man7/nmcli-examples.7%{?ext_man}
 %{_mandir}/man8/NetworkManager.8%{ext_man}
-%dir %{_libdir}/NetworkManager/
-%{_libdir}/NetworkManager/libnm-device-plugin-adsl.so
-%{_libdir}/NetworkManager/libnm-device-plugin-bluetooth.so
-%{_libdir}/NetworkManager/libnm-device-plugin-ovs.so
-%{_libdir}/NetworkManager/libnm-device-plugin-wifi.so
-%{_libdir}/NetworkManager/libnm-device-plugin-wwan.so
-%{_libdir}/NetworkManager/libnm-device-plugin-team.so
-%{_libdir}/NetworkManager/libnm-ppp-plugin.so
-%{_libdir}/NetworkManager/libnm-settings-plugin-ibft.so
-%{_libdir}/NetworkManager/libnm-wwan.so
+%{_mandir}/man8/nm-initrd-generator.8%{ext_man}
+%dir %{_libdir}/NetworkManager
+%dir %{_libdir}/NetworkManager/%{version}
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-adsl.so
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-bluetooth.so
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-ovs.so
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-team.so
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-wifi.so
+%{_libdir}/NetworkManager/%{version}/libnm-device-plugin-wwan.so
+%{_libdir}/NetworkManager/%{version}/libnm-ppp-plugin.so
+#%%{_libdir}/NetworkManager/%%{version}/libnm-settings-plugin-ibft.so
+%{_libdir}/NetworkManager/%{version}/libnm-wwan.so
 %dir %{_libdir}/pppd/2.*
 %{_libdir}/pppd/2.*/nm-pppd-plugin.*
 %{_libexecdir}/nm-dhcp-helper
 %{_libexecdir}/nm-dispatcher
 %{_libexecdir}/nm-iface-helper
+%{_libexecdir}/nm-initrd-generator
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.NetworkManager.conf
 %config %{_sysconfdir}/dbus-1/system.d/nm-dispatcher.conf
 %dir %{_sysconfdir}/NetworkManager
@@ -416,55 +318,26 @@
 %{_unitdir}/NetworkManager.service.d/NetworkManager-ovs.conf
 %{_udevdir}/rules.d/84-nm-drivers.rules
 %{_udevdir}/rules.d/85-nm-unmanaged.rules
+%{_udevdir}/rules.d/90-nm-thunderbolt.rules
 %ghost %config(noreplace) %{_localstatedir}/log/NetworkManager
 
 %files devel
-%{_includedir}/NetworkManager/
 %{_includedir}/libnm/
-%{_includedir}/libnm-glib/
 %{_datadir}/gir-1.0/*.gir
 %dir %{_datadir}/vala/vapi
 %{_datadir}/vala/vapi/libnm.deps
 %{_datadir}/vala/vapi/libnm.vapi
-%{_datadir}/vala/vapi/libnm-glib.deps
-%{_datadir}/vala/vapi/libnm-glib.vapi
-%{_datadir}/vala/vapi/libnm-util.deps
-%{_datadir}/vala/vapi/libnm-util.vapi
 %{_libdir}/libnm.so
-%{_libdir}/libnm-util.so
-%{_libdir}/libnm-glib.so
-%{_libdir}/libnm-glib-vpn.so
-%{_libdir}/pkgconfig/NetworkManager.pc
 %{_libdir}/pkgconfig/libnm.pc
-%{_libdir}/pkgconfig/libnm-util.pc
-%{_libdir}/pkgconfig/libnm-glib.pc
-%{_libdir}/pkgconfig/libnm-glib-vpn.pc
 %doc %{_datadir}/gtk-doc/html/NetworkManager/
 %doc %{_datadir}/gtk-doc/html/libnm/
-%doc %{_datadir}/gtk-doc/html/libnm-glib/
-%doc %{_datadir}/gtk-doc/html/libnm-util/
 
 %files -n libnm0
 %{_libdir}/libnm.so.*
 
-%files -n libnm-util2
-%{_libdir}/libnm-util.so.*
-
-%files -n libnm-glib4
-%{_libdir}/libnm-glib.so.*
-
-%files -n libnm-glib-vpn1
-%{_libdir}/libnm-glib-vpn.so.*
-
-%files -n typelib-1_0-NetworkManager-1_0
-%{_libdir}/girepository-1.0/NetworkManager-1.0.typelib
-
 %files -n typelib-1_0-NM-1_0
 %{_libdir}/girepository-1.0/NM-1.0.typelib
 
-%files -n typelib-1_0-NMClient-1_0
-%{_libdir}/girepository-1.0/NMClient-1.0.typelib
-
 %files lang -f %{name}.lang
 
 %files branding-upstream

++++++ 0001-Coerce-connectivity-LIMITED-to-NONE-when-device-is-d.patch ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:51.978853508 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:51.978853508 +0100
@@ -8,26 +8,21 @@
 set it to NONE instead of LIMITED.
 
 Fixes #138
-
-Rebased for NetworkManager 1.10.6
 ---
  src/devices/nm-device.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
-diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
-index 7514fa784..48279c4ec 100644
---- a/src/devices/nm-device.c
-+++ b/src/devices/nm-device.c
-@@ -2000,7 +2000,8 @@ concheck_update_state (NMDevice *self, int addr_family,
-               } else {
+Index: NetworkManager-1.20.0/src/devices/nm-device.c
+===================================================================
+--- NetworkManager-1.20.0.orig/src/devices/nm-device.c
++++ NetworkManager-1.20.0/src/devices/nm-device.c
+@@ -2887,7 +2887,8 @@ concheck_update_state (NMDevice *self,
+                               state = NM_CONNECTIVITY_LIMITED;
+               } else
                        state = NM_CONNECTIVITY_NONE;
-               }
 -      }
 +      } else if (state == NM_CONNECTIVITY_LIMITED && priv->state <= 
NM_DEVICE_STATE_DISCONNECTED)
 +              state = NM_CONNECTIVITY_NONE;
  
-       if (priv->connectivity_state != state) {
- #if WITH_CONCHECK
--- 
-2.21.0
-
+       if (priv->concheck_x[IS_IPv4].state == state) {
+               /* we got a connectivty update, but the state didn't change. If 
we were probing,

++++++ NetworkManager-1.10.6-netconfig.patch ++++++
Index: NetworkManager-1.20.0/src/dns/nm-dns-manager.c
===================================================================
--- NetworkManager-1.20.0.orig/src/dns/nm-dns-manager.c
+++ NetworkManager-1.20.0/src/dns/nm-dns-manager.c
@@ -546,9 +546,17 @@ dispatch_netconfig (NMDnsManager *self,
        gssize l;
        nm_auto_free_gstring GString *str = NULL;
 
+       if (!g_file_test (NETCONFIG_PATH, G_FILE_TEST_IS_EXECUTABLE)) {
+               g_set_error_literal (error,
+                                    NM_MANAGER_ERROR,
+                                    NM_MANAGER_ERROR_FAILED,
+                                    NETCONFIG_PATH " is not executable");
+               return SR_NOTFOUND;
+       }
+
        pid = run_netconfig (self, error, &fd);
        if (pid <= 0)
-               return SR_NOTFOUND;
+               return SR_ERROR;
 
        str = g_string_new ("");
 
++++++ NetworkManager-1.10.6.tar.xz -> NetworkManager-1.20.8.tar.xz ++++++
++++ 1718320 lines of diff (skipped)

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:56.218855763 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:56.222855764 +0100
@@ -1,8 +1,2 @@
-libnm-util2
-libnm-glib4
-libnm-glib-vpn1
 NetworkManager-devel
        requires -NetworkManager-<targettype>
-       requires "libnm-util2-<targettype> = <version>"
-       requires "libnm-glib4-<targettype> = <version>"
-       requires "libnm-glib-vpn1-<targettype> = <version>"

++++++ networkmanager-checks-po.patch ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:56.226855767 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:56.226855767 +0100
@@ -1,7 +1,7 @@
-Index: NetworkManager-1.8.0/po/POTFILES.skip
+Index: NetworkManager-1.20.0/po/POTFILES.skip
 ===================================================================
---- NetworkManager-1.8.0.orig/po/POTFILES.skip
-+++ NetworkManager-1.8.0/po/POTFILES.skip
+--- NetworkManager-1.20.0.orig/po/POTFILES.skip
++++ NetworkManager-1.20.0/po/POTFILES.skip
 @@ -1,4 +1,5 @@
  data/NetworkManager.service.in
 +data/NetworkManager-wait-online.service.in

++++++ nm-dont-overwrite-resolv-conf.patch ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:56.238855773 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:56.238855773 +0100
@@ -1,13 +1,13 @@
-Index: NetworkManager-1.10.2/src/dns/nm-dns-manager.c
+Index: NetworkManager-1.20.0/src/dns/nm-dns-manager.c
 ===================================================================
---- NetworkManager-1.10.2.orig/src/dns/nm-dns-manager.c
-+++ NetworkManager-1.10.2/src/dns/nm-dns-manager.c
-@@ -435,7 +435,7 @@ dispatch_netconfig (NMDnsManager *self,
+--- NetworkManager-1.20.0.orig/src/dns/nm-dns-manager.c
++++ NetworkManager-1.20.0/src/dns/nm-dns-manager.c
+@@ -571,7 +571,7 @@ again:
        nm_close (fd);
  
        /* Wait until the process exits */
 -      if (!nm_utils_kill_child_sync (pid, 0, LOGD_DNS, "netconfig", &status, 
1000, 0)) {
 +      if (!nm_utils_kill_child_sync (pid, 0, LOGD_DNS, "netconfig", &status, 
0, 0)) {
-               int errsv = errno;
- 
+               errsv = errno;
                g_set_error (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_FAILED,
+                            "Error waiting for netconfig to exit: %s",

++++++ systemd-network-config.patch ++++++
--- /var/tmp/diff_new_pack.nlPf3W/_old  2020-01-30 14:48:56.246855777 +0100
+++ /var/tmp/diff_new_pack.nlPf3W/_new  2020-01-30 14:48:56.246855777 +0100
@@ -1,7 +1,7 @@
-Index: NetworkManager-1.4.0/data/NetworkManager.service.in
+Index: NetworkManager-1.20.0/data/NetworkManager.service.in
 ===================================================================
---- NetworkManager-1.4.0.orig/data/NetworkManager.service.in
-+++ NetworkManager-1.4.0/data/NetworkManager.service.in
+--- NetworkManager-1.20.0.orig/data/NetworkManager.service.in
++++ NetworkManager-1.20.0/data/NetworkManager.service.in
 @@ -1,7 +1,7 @@
  [Unit]
  Description=Network Manager
@@ -11,18 +11,18 @@
  After=network-pre.target dbus.service
  Before=network.target @DISTRO_NETWORK_SERVICE@
  
-@@ -20,6 +20,6 @@ ProtectHome=read-only
+@@ -21,6 +21,7 @@ ProtectHome=read-only
  
  [Install]
  WantedBy=multi-user.target
--Alias=dbus-org.freedesktop.NetworkManager.service
 +Alias=network.service
  Also=NetworkManager-dispatcher.service
  
-Index: NetworkManager-1.4.0/data/NetworkManager-wait-online.service.in
+ # We want to enable NetworkManager-wait-online.service whenever this service
+Index: NetworkManager-1.20.0/data/NetworkManager-wait-online.service.in
 ===================================================================
---- NetworkManager-1.4.0.orig/data/NetworkManager-wait-online.service.in
-+++ NetworkManager-1.4.0/data/NetworkManager-wait-online.service.in
+--- NetworkManager-1.20.0.orig/data/NetworkManager-wait-online.service.in
++++ NetworkManager-1.20.0/data/NetworkManager-wait-online.service.in
 @@ -7,7 +7,9 @@ Before=network-online.target
  
  [Service]


Reply via email to