import NetworkManager-1.42.2-1.el9

This commit is contained in:
CentOS Sources 2023-03-28 08:51:49 +00:00 committed by root
parent ee4cb526d6
commit a6d8fe8f12
3 changed files with 134 additions and 50 deletions

View File

@ -1 +1 @@
bdfa8c04223ec176d348062f5843353fb82c0704 SOURCES/NetworkManager-1.39.90.tar.xz 83eaa880bb7d4d8f178e426c30d17895e117fb79 SOURCES/NetworkManager-1.42.2.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/NetworkManager-1.39.90.tar.xz SOURCES/NetworkManager-1.42.2.tar.xz

View File

@ -4,13 +4,14 @@
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) %global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
%global epoch_version 1 %global epoch_version 1
%global real_version 1.39.90 %global real_version 1.42.2
%global rpm_version %{real_version} %global rpm_version %{real_version}
%global release_version 1 %global release_version 1
%global snapshot %{nil} %global snapshot %{nil}
%global git_sha %{nil} %global git_sha %{nil}
%global bcond_default_debug 0 %global bcond_default_debug 0
%global bcond_default_test 1 %global bcond_default_lto %{nil}
%global bcond_default_test 0
%global obsoletes_device_plugins 1:0.9.9.95-1 %global obsoletes_device_plugins 1:0.9.9.95-1
%global obsoletes_ppp_plugin 1:1.5.3 %global obsoletes_ppp_plugin 1:1.5.3
@ -60,23 +61,31 @@
%else %else
%bcond_with test %bcond_with test
%endif %endif
%if "%{?bcond_default_lto}" == ""
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9 %if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
%bcond_without lto %bcond_without lto
%else %else
%bcond_with lto %bcond_with lto
%endif %endif
%else
%if %{bcond_default_lto}
%bcond_without lto
%else
%bcond_with lto
%endif
%endif
%bcond_with sanitizer %bcond_with sanitizer
%if 0%{?fedora} %if 0%{?fedora}
%bcond_without connectivity_fedora %bcond_without connectivity_fedora
%else %else
%bcond_with connectivity_fedora %bcond_with connectivity_fedora
%endif %endif
%if 0%{?rhel} && 0%{?rhel} > 7 %if 0%{?rhel} && 0%{?rhel} >= 8
%bcond_without connectivity_redhat %bcond_without connectivity_redhat
%else %else
%bcond_with connectivity_redhat %bcond_with connectivity_redhat
%endif %endif
%if 0%{?fedora} > 28 || 0%{?rhel} > 7 %if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%bcond_without crypto_gnutls %bcond_without crypto_gnutls
%else %else
%bcond_with crypto_gnutls %bcond_with crypto_gnutls
@ -86,7 +95,7 @@
%else %else
%bcond_without iwd %bcond_without iwd
%endif %endif
%if 0%{?fedora} > 31 || 0%{?rhel} > 7 %if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
%bcond_without firewalld_zone %bcond_without firewalld_zone
%else %else
%bcond_with firewalld_zone %bcond_with firewalld_zone
@ -94,7 +103,7 @@
############################################################################### ###############################################################################
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} >= 8
%global dbus_version 1.9.18 %global dbus_version 1.9.18
%global dbus_sys_dir %{_datadir}/dbus-1/system.d %global dbus_sys_dir %{_datadir}/dbus-1/system.d
%else %else
@ -116,15 +125,15 @@
%global with_modem_manager_1 0 %global with_modem_manager_1 0
%endif %endif
%if 0%{?fedora} >= 31 || 0%{?rhel} > 7 %if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
%global dhcp_default internal %global dhcp_default internal
%else %else
%global dhcp_default dhclient %global dhcp_default dhclient
%endif %endif
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} >= 8
%global logging_backend_default journal %global logging_backend_default journal
%if 0%{?fedora} || 0%{?rhel} > 8 %if 0%{?fedora} || 0%{?rhel} >= 9
%global dns_rc_manager_default auto %global dns_rc_manager_default auto
%else %else
%global dns_rc_manager_default symlink %global dns_rc_manager_default symlink
@ -134,19 +143,19 @@
%global dns_rc_manager_default file %global dns_rc_manager_default file
%endif %endif
%if 0%{?rhel} > 8 || 0%{?fedora} > 32 %if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
%global config_plugins_default_ifcfg_rh 0 %global config_plugins_default_ifcfg_rh 0
%else %else
%global config_plugins_default_ifcfg_rh 1 %global config_plugins_default_ifcfg_rh 1
%endif %endif
%if 0%{?rhel} > 9 || 0%{?fedora} > 35 %if 0%{?fedora} >= 36 || 0%{?rhel} >= 10
%global split_ifcfg_rh 1 %global split_ifcfg_rh 1
%else %else
%global split_ifcfg_rh 0 %global split_ifcfg_rh 0
%endif %endif
%if 0%{?rhel} > 8 || 0%{?fedora} > 35 %if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
%global ifcfg_warning 1 %global ifcfg_warning 1
%else %else
%global ifcfg_warning 0 %global ifcfg_warning 0
@ -196,7 +205,7 @@ Source7: readme-ifcfg-rh.txt
# Patch1001: 1001-some.patch # Patch1001: 1001-some.patch
Requires(post): systemd Requires(post): systemd
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} >= 8
Requires(post): systemd-udev Requires(post): systemd-udev
%endif %endif
Requires(post): /usr/sbin/update-alternatives Requires(post): /usr/sbin/update-alternatives
@ -255,7 +264,6 @@ BuildRequires: gnutls-devel >= 2.12
%else %else
BuildRequires: nss-devel >= 3.11.7 BuildRequires: nss-devel >= 3.11.7
%endif %endif
BuildRequires: dhclient
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: audit-libs-devel BuildRequires: audit-libs-devel
%if %{with regen_docs} %if %{with regen_docs}
@ -284,7 +292,7 @@ BuildRequires: mobile-broadband-provider-info-devel
BuildRequires: newt-devel BuildRequires: newt-devel
%endif %endif
BuildRequires: /usr/bin/dbus-launch BuildRequires: /usr/bin/dbus-launch
%if 0%{?fedora} > 27 || 0%{?rhel} > 7 %if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-gobject-base BuildRequires: python3-gobject-base
BuildRequires: python3-dbus BuildRequires: python3-dbus
@ -294,6 +302,10 @@ BuildRequires: python2
BuildRequires: pygobject3-base BuildRequires: pygobject3-base
BuildRequires: dbus-python BuildRequires: dbus-python
BuildRequires: pexpect BuildRequires: pexpect
%if 0%{?rhel} >= 7 && %{with meson}
BuildRequires: python36-dbus
BuildRequires: python36-gobject
%endif
%endif %endif
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: polkit-devel BuildRequires: polkit-devel
@ -308,7 +320,7 @@ BuildRequires: libubsan
BuildRequires: firewalld-filesystem BuildRequires: firewalld-filesystem
%endif %endif
BuildRequires: iproute BuildRequires: iproute
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: iproute-tc BuildRequires: iproute-tc
%endif %endif
@ -397,7 +409,7 @@ Requires: wireless-regdb
Requires: crda Requires: crda
%endif %endif
%if %{with iwd} && (0%{?fedora} > 24 || 0%{?rhel} > 7) %if %{with iwd} && (0%{?fedora} >= 25 || 0%{?rhel} >= 8)
Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd) Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd)
Suggests: wpa_supplicant Suggests: wpa_supplicant
%else %else
@ -610,8 +622,9 @@ Preferably use nmcli instead.
%if %{with test} %if %{with test}
--werror \ --werror \
%endif %endif
-Dnft=/usr/sbin/nft \ -Dnft=%{_sbindir}/nft \
-Diptables=/usr/sbin/iptables \ -Diptables=%{_sbindir}/iptables \
-Ddhclient=%{_sbindir}/dhclient \
-Ddhcpcanon=no \ -Ddhcpcanon=no \
-Ddhcpcd=no \ -Ddhcpcd=no \
-Dconfig_dhcp_default=%{dhcp_default} \ -Dconfig_dhcp_default=%{dhcp_default} \
@ -676,6 +689,7 @@ Preferably use nmcli instead.
%else %else
-Ddocs=false \ -Ddocs=false \
%endif %endif
-Dqt=false \
%if %{with team} %if %{with team}
-Dteamdctl=true \ -Dteamdctl=true \
%else %else
@ -703,6 +717,7 @@ Preferably use nmcli instead.
%endif %endif
-Dsession_tracking=systemd \ -Dsession_tracking=systemd \
-Dsuspend_resume=systemd \ -Dsuspend_resume=systemd \
-Dsystemdsystemunitdir=%{_unitdir} \
-Dsystem_ca_path=/etc/pki/tls/cert.pem \ -Dsystem_ca_path=/etc/pki/tls/cert.pem \
-Ddbus_conf_dir=%{dbus_sys_dir} \ -Ddbus_conf_dir=%{dbus_sys_dir} \
-Dtests=yes \ -Dtests=yes \
@ -710,8 +725,11 @@ Preferably use nmcli instead.
-Difcfg_rh=true \ -Difcfg_rh=true \
-Difupdown=false \ -Difupdown=false \
%if %{with ppp} %if %{with ppp}
-Dpppd_plugin_dir=%{_libdir}/pppd/%{ppp_version} \ -Dpppd_plugin_dir="%{_libdir}/pppd/%{ppp_version}" \
-Dpppd="%{_sbindir}/pppd" \
-Dppp=true \ -Dppp=true \
%else
-Dppp=false \
%endif %endif
%if %{with firewalld_zone} %if %{with firewalld_zone}
-Dfirewalld_zone=true \ -Dfirewalld_zone=true \
@ -737,11 +755,11 @@ gtkdocize
autoreconf --install --force autoreconf --install --force
%configure \ %configure \
--with-runstatedir=%{_rundir} \ --with-runstatedir=%{_rundir} \
--disable-silent-rules \ --enable-silent-rules=no \
--disable-static \ --enable-static=no \
--with-nft=/usr/sbin/nft \ --with-nft=%{_sbindir}/nft \
--with-iptables=/usr/sbin/iptables \ --with-iptables=%{_sbindir}/iptables \
--with-dhclient=yes \ --with-dhclient=%{_sbindir}/dhclient \
--with-dhcpcd=no \ --with-dhcpcd=no \
--with-dhcpcanon=no \ --with-dhcpcanon=no \
--with-config-dhcp-default=%{dhcp_default} \ --with-config-dhcp-default=%{dhcp_default} \
@ -753,26 +771,26 @@ autoreconf --install --force
%if %{with sanitizer} %if %{with sanitizer}
--with-address-sanitizer=exec \ --with-address-sanitizer=exec \
%if 0%{?fedora} || 0%{?rhel} >= 8 %if 0%{?fedora} || 0%{?rhel} >= 8
--enable-undefined-sanitizer \ --enable-undefined-sanitizer=yes \
%else %else
--disable-undefined-sanitizer \ --enable-undefined-sanitizer=no \
%endif %endif
%else %else
--with-address-sanitizer=no \ --with-address-sanitizer=no \
--disable-undefined-sanitizer \ --enable-undefined-sanitizer=no \
%endif %endif
%if %{with debug} %if %{with debug}
--enable-more-logging \ --enable-more-logging=yes \
--with-more-asserts=10000 \ --with-more-asserts=10000 \
%else %else
--disable-more-logging \ --enable-more-logging=no \
--without-more-asserts \ --with-more-asserts=0 \
%endif %endif
--enable-ld-gc \ --enable-ld-gc=yes \
%if %{with lto} %if %{with lto}
--enable-lto \ --enable-lto=yes \
%else %else
--disable-lto \ --enable-lto=no \
%endif %endif
--with-libaudit=yes-disabled-by-default \ --with-libaudit=yes-disabled-by-default \
%if 0%{?with_modem_manager_1} %if 0%{?with_modem_manager_1}
@ -811,11 +829,11 @@ autoreconf --install --force
--with-nm-cloud-setup=no \ --with-nm-cloud-setup=no \
%endif %endif
--enable-vala=yes \ --enable-vala=yes \
--enable-introspection \ --enable-introspection=yes \
%if %{with regen_docs} %if %{with regen_docs}
--enable-gtk-doc \ --enable-gtk-doc=yes \
%else %else
--disable-gtk-doc \ --enable-gtk-doc=no \
%endif %endif
%if %{with team} %if %{with team}
--enable-teamdctl=yes \ --enable-teamdctl=yes \
@ -830,15 +848,16 @@ autoreconf --install --force
--with-selinux=yes \ --with-selinux=yes \
--enable-polkit=yes \ --enable-polkit=yes \
--enable-modify-system=yes \ --enable-modify-system=yes \
--enable-concheck \ --enable-concheck=yes \
%if 0%{?fedora} %if 0%{?fedora}
--with-libpsl \ --with-libpsl=yes \
%else %else
--without-libpsl \ --with-libpsl=no \
%endif %endif
--with-ebpf=%{ebpf_enabled} \ --with-ebpf=%{ebpf_enabled} \
--with-session-tracking=systemd \ --with-session-tracking=systemd \
--with-suspend-resume=systemd \ --with-suspend-resume=systemd \
--with-systemdsystemunitdir=%{_unitdir} \
--with-system-ca-path=/etc/pki/tls/cert.pem \ --with-system-ca-path=/etc/pki/tls/cert.pem \
--with-dbus-sys-dir=%{dbus_sys_dir} \ --with-dbus-sys-dir=%{dbus_sys_dir} \
--with-tests=yes \ --with-tests=yes \
@ -851,13 +870,16 @@ autoreconf --install --force
--enable-ifcfg-rh=yes \ --enable-ifcfg-rh=yes \
--enable-ifupdown=no \ --enable-ifupdown=no \
%if %{with ppp} %if %{with ppp}
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
--enable-ppp=yes \ --enable-ppp=yes \
--with-pppd="%{_sbindir}/pppd" \
--with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}" \
%else
--enable-ppp=no \
%endif %endif
%if %{with firewalld_zone} %if %{with firewalld_zone}
--enable-firewalld-zone \ --enable-firewalld-zone=yes \
%else %else
--disable-firewalld-zone \ --enable-firewalld-zone=no \
%endif %endif
--with-dist-version=%{version}-%{release} \ --with-dist-version=%{version}-%{release} \
%if %{?config_plugins_default_ifcfg_rh} %if %{?config_plugins_default_ifcfg_rh}
@ -910,7 +932,7 @@ rm -f %{buildroot}%{nmplugindir}/*.la
# Ensure the documentation timestamps are constant to avoid multilib conflicts # Ensure the documentation timestamps are constant to avoid multilib conflicts
find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference configure.ac '{}' \+ find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference configure.ac '{}' \+
%if 0%{?__debug_package} %if 0%{?__debug_package} && ! 0%{?flatpak}
mkdir -p %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version} mkdir -p %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
cp valgrind.suppressions %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version} cp valgrind.suppressions %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
%endif %endif
@ -1067,10 +1089,10 @@ fi
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_mandir}/man7/nmcli-examples.7* %{_mandir}/man7/nmcli-examples.7*
%{_mandir}/man8/nm-initrd-generator.8.gz %{_mandir}/man8/nm-initrd-generator.8*
%{_mandir}/man8/NetworkManager.8.gz %{_mandir}/man8/NetworkManager.8*
%{_mandir}/man8/NetworkManager-dispatcher.8.gz %{_mandir}/man8/NetworkManager-dispatcher.8*
%{_mandir}/man8/NetworkManager-wait-online.service.8.gz %{_mandir}/man8/NetworkManager-wait-online.service.8*
%dir %{_localstatedir}/lib/NetworkManager %dir %{_localstatedir}/lib/NetworkManager
%dir %{_sysconfdir}/sysconfig/network-scripts %dir %{_sysconfdir}/sysconfig/network-scripts
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service %{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
@ -1229,6 +1251,68 @@ fi
%changelog %changelog
* Thu Feb 23 2023 Beniamino Galvani <bgalvani@redhat.com> - 1:1.42.2-1
- Update to 1.42.2 release
- fix hostname lookup from IPv6 address (rh #2167816)
- add new connection property to remove the autogenerated local route rule (rh #2167805)
- fix race condition while setting the MAC of a OVS interface (rh #2168477)
- expose the DHCP IAID in the lease information (rh #2169869)
* Fri Feb 10 2023 Thomas Haller <thaller@redhat.com> - 1:1.42.0-1
- Update to 1.42.0 release
* Thu Jan 26 2023 Lubomir Rintel <lkundrak@v3.sk> - - 1:1.41.91-1
- Update to 1.41.91 release (release candidate)
- core: retry if a rtnetlink socket runs out of buffer space (rh #2154350)
- dns: allow changing resolv.conf options alone via global-dns (rh #2019306)
* Fri Jan 20 2023 Fernando Fernandez Mancera <ferferna@redhat.com> - 1:1.41.90-1
- Update to 1.41.90 release (release candidate)
- l3cfg: schedule an update after every commit-type/config-data register/unregister (rh #2158394)
- all: add support for ovs-dpdk n-rxq-desc and n-txq-desc (rh #2156385)
- core: fix consistency for internal cache for IPv6 routes (rh #2060684)
* Wed Jan 11 2023 Beniamino Galvani <bgalvani@redhat.com> - 1:1.41.8-1
- Update to 1.41.8 release (development)
- core: add support for equal-cost multi-path (ECMP) routes (rh #2081302)
- device: preserve the DHCP lease during reapply (rh #2117352)
- ovs: add support for 'other_config' settings (rh #2151455)
* Wed Dec 21 2022 Thomas Haller <thaller@redhat.com> - 1:1.41.7-2
- core: avoid infinite autoconnect with multi-connect profiles (rh #2150000)
* Thu Dec 15 2022 Lubomir Rintel <lkundrak@v3.sk> - 1:1.41.7-1
- Update to 1.41.7 release (development)
- macsec: fix tracking of parent ifindex (rh #2122564)
- cloud-setup: set preserve-external-ip flag during reapply (rh #2132754)
* Wed Nov 30 2022 Thomas Haller <thaller@redhat.com> - 1:1.41.6-1
- Update to 1.41.6 release (development)
- add support for loopback interfaces (rh #2073512)
- ovs: support VLAN trunks for OVS port (rh #2111959)
* Fri Nov 18 2022 Thomas Haller <thaller@redhat.com> - 1:1.41.5-1
- Update to 1.41.5 release (development)
* Thu Nov 3 2022 Thomas Haller <thaller@redhat.com> - 1:1.41.4-2
- fix generating stable UUIDs for keyfile (gitlab#1130)
* Wed Nov 2 2022 Wen Liang <wenliang@redhat.com> - 1:1.41.4-1
- Update to 1.41.4 release (development)
- device: don't emit recheck-assume if there is a queued activation request (rh #2092215)
- device: allow configuration of VLAN on an unmanaged interface (rh #2110307)
* Fri Oct 14 2022 Beniamino Galvani <bgalvani@redhat.com> - 1:1.41.3-1
- Update to 1.41.3 release (development)
- core: fix reapply of mptcp-flags (rh #2120471)
- core: fix autoconnection for devices with a unrealized parent (rh #2101317)
- device: fix hanging port devices when controller goes down (rh #2130287)
- bond: add "balance-slb" option which implements source load balancing (rh #2128216)
- bond: fix setting primary option when the interface is missing (rh #2126347)
* Fri Aug 26 2022 Ana Cabral <acabral@redhat.com> - 1:1.40.0-1
- Update to 1.40.0 release
* Tue Aug 16 2022 Ana Cabral <acabral@redhat.com> - 1:1.39.90-1 * Tue Aug 16 2022 Ana Cabral <acabral@redhat.com> - 1:1.39.90-1
- Update to 1.39.90 release (release candidate) - Update to 1.39.90 release (release candidate)
- Add support for MPTCP (rh #2029636) - Add support for MPTCP (rh #2029636)