Hello community,
here is the log from the commit of package NetworkManager.3923 for
openSUSE:13.2:Update checked in at 2015-07-27 12:49:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.2:Update/NetworkManager.3923 (Old)
and /work/SRC/openSUSE:13.2:Update/.NetworkManager.3923.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "NetworkManager.3923"
Changes:
--------
New Changes file:
--- /dev/null 2015-07-22 21:25:44.928025004 +0200
+++
/work/SRC/openSUSE:13.2:Update/.NetworkManager.3923.new/NetworkManager.changes
2015-07-27 12:49:44.000000000 +0200
@@ -0,0 +1,2632 @@
+-------------------------------------------------------------------
+Sat Jul 11 15:17:51 UTC 2015 - [email protected]
+
+- added upstream patch to ignore hop limits of zero
+ (bgo#737252, boo#937762)
+
+-------------------------------------------------------------------
+Wed Mar 4 04:19:40 UTC 2015 - [email protected]
+
+- Add rp-pppoe BuildRequires, so configure can autodetect the path
+ to the pppoe binary.
+- Recommend rp-pppoe: the program is needed for NetworkManager to
+ be able to initiate PPPoE connections (commonly used by ADSL
+ providers). It is not strictly required to operate NM in most
+ setups, thus only recommended (boo#903553).
+
+-------------------------------------------------------------------
+Thu Jan 8 22:27:29 UTC 2015 - [email protected]
+
+- Add NetworkManager-dhcpv6.patch: dhcp: let dhclient handle
+ requesting the 'server-id' option (boo#912315).
+
+
+-------------------------------------------------------------------
+Tue Jul 22 20:31:25 UTC 2014 - [email protected]
+
+- Change ppp requires to %requires_eq ppp: the plugin is installed
+ in a versioned directory, and as such we do require the exact
+ version of ppp (bnc#888442).
+
+-------------------------------------------------------------------
+Tue Jul 15 07:54:45 UTC 2014 - [email protected]
+
+- Rebase nm-probe-radius-server-cert.patch.
+- Drop nm-remove-AP-always-on-device-disconnect.diff: No longer
+ needed.
+
+-------------------------------------------------------------------
+Wed Jul 9 14:23:00 UTC 2014 - [email protected]
+
+- Update to version 0.9.10.0:
+ + Added a new curses-based client called "nmtui" for easier
+ console operation.
+ + Added interactive connection editing and creation mode to nmcli
+ with detailed help and tab completion support.
+ + nmcli bash completion has been greatly improved.
+ + Added support for Data Center Bridging (DCB) and FibreChannel
+ over Ethernet (FCoE).
+ + IPv6 autoconfiguration is now done in userspace with libndp
+ instead of the kernel.
+ + The D-Bus daemon is no longer required for root-only operation.
+ + WiFi, ADSL, WWAN, and Bluetooth are now optional plugins,
+ reducing install size.
+ + Added support for Infiniband Partitions.
+ + Network connection files are no longer watched by default, use
+ "nmcli con reload" to notice changes made externally or set
+ "monitor-connection-files=true" in NetworkManager.conf's
+ [main] section.
+ + Connections can now be locked to interface names in addition to
+ hardware/MAC addresses.
+ + A new "ignore-carrier" configuration option is available to
+ ignore the carrier on selected interfaces.
+ + A new "dns=none" option has been added to suppress changes to
+ /etc/resolv.conf.
+ + Changes made to IP addresses, IP routes, and master/slave
+ relationships from external tools are now recognized and
+ reflected in the D-Bus API.
+ + Assuming the existing configuration of interfaces without
+ changing that configuration is now more reliable.
+ + The 'root' user is no longer subject to PolicyKit access
+ controls and usage of D-Bus "at_console" permissions has been
+ removed.
+ + Configuration file snippets can be dropped in
+ /etc/NetworkManager/conf.d to change smaller sets of
+ configuration options.
+ + Added IP-level support for more software/virtual interfaces
+ types including GRE, macvlan, macvtap, tun, tap, veth, and
+ vxlan interfaces.
+ + All network interfaces known to the kernel are now exposed
+ through the D-Bus interface.
+ + Improved support for routing-only VPNs like
+ openswan/libreswan/strongswan.
+ + Added support for "temporary" connections which are not saved
+ to disk until requested.
+ + Added WWAN autoconnect support and fixed issues with airplane
+ mode handling.
+ + NetworkManager-wait-online systemd service behavior is more
+ reliable.
+ + The dispatcher timeout has increased to 10 minutes, and new
+ "pre-up" and "pre-down" events have been added which block
+ activation until complete.
+ + NetworkManager no longer prevents Wake-on-LAN functionality
+ from working.
+ + PPPoE now requires userland "rp-pppoe" to work around kernel
+ bugs with that prevent detecting server-side termination of the
+ PPP link.
+ + An ARP announcement is now sent after IPv4 addresses are
+ configured.
+ + Added a DNS plugin for dnssec-trigger for better DNSSEC
+ operation.
+ + More properties are now exposed via the D-Bus properties
+ interface in addition to getter/setter functions.
+ + Added support for custom IP address ranges for Shared
+ connections.
+ + Fatal connection failures now block automatic reconnection more
+ reliably.
+ + VPN connection IP details are now available via the D-Bus
+ interface.
+ + VPN plugins can now request additional/new secrets from the
+ user during the connection process.
+ + 'veth' interfaces are now unmanaged by default to cooperate
+ better with external tools.
+- Add pkgconfig(libndp) BuildRequires: new dependency.
+- Disable nm-probe-radius-server-cert.patch,
+ nm-don-t-consider-not-needed-secrets-for-has_system_secr.diff and
+ nm-treat-not-saved-secrets-just-like-agent-owned-when-cl.diff:
+ closer investigation is needed if the upstream changes caught all
+ the cases we tried to address with these hack patches.
+- Rebase NetworkManager-geoclue-interaction.patch.
+- Pass --with-nmtui to configure to ensure the text mode UI (tui)
+ is being built.
+- Add pkgconfig(libnewt) BuildRequires: dependency for the tui.
+
+-------------------------------------------------------------------
+Fri Apr 25 07:15:03 UTC 2014 - [email protected]
+
+- Update to version 0.9.8.10:
+ + Fixed a bug that allowed a user to disconnect a connection that
+ they didn't have permissions on.
+
+-------------------------------------------------------------------
+Fri Apr 4 08:55:08 UTC 2014 - [email protected]
+
+- Update to version 0.9.8.9:
+ + Fixed two problems that could result in gnome-shell showing
+ incorrect icons. In particular, fixed the problem where the
+ network icon would disappear when certain VPNs were activated.
+ + Dispatcher scripts now receive correct IPv6 addresses, and also
+ correct DHCP information on lease-change events.
+ + NetworkManager no longer tries to start ModemManager itself on
+ systemd-using systems.
+ + Activating a second ethernet connection while another is
+ already active will now not move the default route.
+ + Fixed some edge cases where one user could deactivate a
+ connection owned by another.
+ + Fix handling of dhcp-send-hostname property with ifcfg-rh.
+ + DHCP now works even if you have a global dhclient.conf that
+ specifies a (non-NetworkManager) script to run.
+ + The dhcpcd backend now requests that dhcpcd only do DHCPv4,
+ fixing some WWAN devices that don't react well to seeing IPv6
+ packets.
+ + Fixed the default value of bridge priority.
+ + The D-Bus policy file has been updated to include the
+ NetworkManager-iodine VPN plugin.
+ + It is possible to specify the path to dnsmasq at build time.
+ + Removed a GLib 2.32 dependency that accidentally snuck into
+ 0.9.8.8.
+ + Fixed a bunch of memory leaks.
+ + Fixed a bunch of miscellaneous crashes.
+ + Removed some less-useful bits of logging output.
+- Rebase NetworkManager-geoclue-interaction.patch.
+
+-------------------------------------------------------------------
+Mon Mar 24 08:53:08 UTC 2014 - [email protected]
+
+- Fix files list: do not expect pppd plugin version 2.4.5 in the
+ directory name.
+
+-------------------------------------------------------------------
+Mon Feb 24 21:30:51 UTC 2014 - [email protected]
+
+- Add NetworkManager-geoclue-interaction.patch: allow the user
+ "srvGeoClue" (as used by the geoclue2 service) to query
+ NetworkManager,
+
+-------------------------------------------------------------------
+Fri Oct 11 15:31:54 UTC 2013 - [email protected]
+
+- Update to version 0.9.8.8 (bnc#845542):
+ + Fixes to the BlueZ code.
+ + A few memory leak fixes.
+ + Minor docs fixes.
+
+-------------------------------------------------------------------
+Thu Oct 10 11:48:13 UTC 2013 - [email protected]
+
+- Switch to systemd check for the nfs script if enabled or not.
+ Also do not exit with error code if nfs script is not enabled.
+
+-------------------------------------------------------------------
+Tue Oct 1 09:48:41 UTC 2013 - [email protected]
+
+- Update nm-probe-radius-server-cert.patch to probe the server with
+ the user credential (bnc#817585)
+
+-------------------------------------------------------------------
+Mon Sep 30 16:33:45 UTC 2013 - [email protected]
++++ 2435 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:13.2:Update/.NetworkManager.3923.new/NetworkManager.changes
New:
----
NetworkManager-0.9.10.0.tar.xz
NetworkManager-dhcpv6.patch
NetworkManager-geoclue-interaction.patch
NetworkManager-rpmlintrc
NetworkManager.changes
NetworkManager.conf
NetworkManager.spec
baselibs.conf
nfs
nm-don-t-consider-not-needed-secrets-for-has_system_secr.diff
nm-hop_limit.diff
nm-probe-radius-server-cert.patch
nm-treat-not-saved-secrets-just-like-agent-owned-when-cl.diff
systemd-network-config.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ NetworkManager.spec ++++++
#
# spec file for package NetworkManager
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Use systemd
%define with_systemd 1
%define with_wimax 0
Name: NetworkManager
Url: http://www.gnome.org/projects/NetworkManager/
Version: 0.9.10.0
Release: 0
Summary: Network Link Manager and User Applications
License: GPL-2.0+
Group: Productivity/Networking/System
Source0:
http://download.gnome.org/sources/NetworkManager/0.9/%{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-NEEDS-REBASE
nm-don-t-consider-not-needed-secrets-for-has_system_secr.diff [email protected]
-- avoid polkit popups for 802.11x (WAS: PATCH-HACK-OPENSUSE)
Patch3: nm-don-t-consider-not-needed-secrets-for-has_system_secr.diff
# PATCH-NEEDS-REBASE
nm-treat-not-saved-secrets-just-like-agent-owned-when-cl.diff [email protected]
-- avoid polkit popups for 802.11x (WAS: PATCH-HACK-OPENSUSE)
Patch4: nm-treat-not-saved-secrets-just-like-agent-owned-when-cl.diff
# PATCH-FIX-UPSTREAM nm-probe-radius-server-cert.patch bnc#574266 [email protected]
-- Probe the RADIUS server certificate
Patch5: nm-probe-radius-server-cert.patch
# PATCH-FIX-OPENSUSE NetworkManager-geoclue-interaction.patch
[email protected] -- Allow the user "srvGeoClue" to query NetworkManager on
the dbus
Patch6: NetworkManager-geoclue-interaction.patch
# PATCH-FIX-UPSTREAM NetworkManager-dhcpv6.patch boo#912315
[email protected] -- dhcp: let dhclient handle requesting the 'server-id'
option
Patch7: NetworkManager-dhcpv6.patch
# PATCH-FIX-UPSTREAM nm-hop_limit.diff bgo#737252 [email protected] --
only set IPv6 hop_limit for values greater than zero
Patch8: nm-hop_limit.diff
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: iptables
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: ppp-devel
BuildRequires: readline-devel
BuildRequires: rp-pppoe
# Do not use suse-release, it's very late in build chain and not needed
# all it does is netconfig and ifconfig enablement
#BuildRequires: suse-release
# for /sbin/netconfig: integration with netconfig is required
BuildRequires: sysconfig
BuildRequires: translation-update-upstream
BuildRequires: vala
BuildRequires: wireless-tools
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1) >= 0.94
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libnewt) >= 0.52.15
%if %{with_wimax}
BuildRequires: pkgconfig(libiWmxSdk-0) >= 1.5.1
%endif
BuildRequires: pkgconfig(libndp)
BuildRequires: pkgconfig(libnl-3.0) >= 3.2.8
BuildRequires: pkgconfig(libnl-genl-3.0)
BuildRequires: pkgconfig(libnl-route-3.0)
BuildRequires: pkgconfig(libsoup-2.4) >= 2.26
%if %{with_systemd}
BuildRequires: pkgconfig(libsystemd-login)
%endif
BuildRequires: pkgconfig(mm-glib) >= 0.7.991
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(uuid)
Requires: dhcp-client
Requires: iproute2
Requires: iputils
Requires: mozilla-nss
Requires: sysconfig >= 0.80.5
Requires: wpa_supplicant >= 0.6.4
%requires_eq ppp
%{?systemd_requires}
Provides: dhcdbd = 1.14
Obsoletes: dhcdbd < 1.14
Recommends: dnsmasq
Recommends: iptables
Recommends: NetworkManager-client
Recommends: org.freedesktop.ModemManager
Recommends: avahi-autoipd
# Recommend the rp-pppoe binary for PPP over Ethernet (common for ADSL)
connections.
Recommends: rp-pppoe
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _udevdir %(pkg-config --variable udevdir udev)
%description
NetworkManager attempts to keep an active network connection available
at all times. The point of NetworkManager is to make networking
configuration and setup as painless and automatic as possible. If
using DHCP, NetworkManager is intended to replace default routes,
obtain IP addresses from a DHCP server, and change name servers
whenever it sees fit.
%if %{with_wimax}
%package device-plugin-wimax
Summary: WiMAX support for NetworkManager
Group: Productivity/Networking/System
Supplements: %{name}
%description device-plugin-wimax
NetworkManager attempts to keep an active network connection available
at all times. The point of NetworkManager is to make networking
configuration and setup as painless and automatic as possible. If
using DHCP, NetworkManager is intended to replace default routes,
obtain IP addresses from a DHCP server, and change name servers
whenever it sees fit.
%endif
%package devel
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: typelib-1_0-NMClient-1_0 = %{version}
Requires: typelib-1_0-NetworkManager-1_0 = %{version}
Provides: %{name}-doc = %{version}
Obsoletes: %{name}-doc < %{version}
%description devel
This package contains various headers accessing some NetworkManager
functionality from applications.
%package -n libnm-util2
Summary: Convenience library for clients of NetworkManager
Group: System/Libraries
%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-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.
%lang_package
%prep
%setup -n %{name}-%{version} -q
translation-update-upstream
%patch0 -p1
#patch3 -p1
#patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
pppddir=`ls -1d /usr/%_lib/pppd/2*`
test -n "$pppddir" || exit 1
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static\
--with-crypto=nss \
--enable-ifcfg-suse \
--with-docs\
--with-netconfig=yes \
--enable-more-warnings=no \
--with-pppd-plugin-dir=$pppddir \
--with-dhclient=/sbin/dhclient \
--with-udev-dir=%{_udevdir} \
--with-modem-manager-1 \
--enable-concheck \
--with-nmtui \
%if %{with_systemd}
--with-session-tracking=systemd \
%endif
%if %{with_wimax}
--enable-wimax
%else
--disable-wimax
%endif
# 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
false
fi
%__make %{?_smp_mflags} nmrundir="/run/%{name}"
%install
%makeinstall nmrundir="/run/%{name}"
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%fdupes %{buildroot}%{_datadir}/gtk-doc/
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/VPN
mkdir -p $RPM_BUILD_ROOT/var/log/
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/NetworkManager
touch $RPM_BUILD_ROOT/var/log/NetworkManager
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/system-connections
install -m 0755 %{SOURCE1}
$RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/
# We package this one as %doc in the default location.
rm %{buildroot}/usr/share/doc/NetworkManager/examples/server.conf
%if 0%{suse_version} > 1140
# drop on demand activation, it is handled as a system service
rm -f
$RPM_BUILD_ROOT%{_datadir}/dbus-1/system-services/org.freedesktop.NetworkManager.service
%pre
%service_add_pre NetworkManager.service
%post
%service_add_post NetworkManager.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 /etc/systemd/system/network.service
/usr/bin/systemctl --system daemon-reload || :
/usr/bin/systemctl --force enable NetworkManager.service || :
# and create the alias when enable failed to make it.
if [ ! -e /etc/systemd/system/network.service ] ; then
ln -sf %{_unitdir}/NetworkManager.service \
/etc/systemd/system/network.service
fi
/usr/bin/systemctl --system daemon-reload || :
fi
rm -f /dev/.sysconfig/network/migrate_nm_variable
fi
%preun
%service_del_preun NetworkManager.service
%postun
%service_del_postun NetworkManager.service
%endif
%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
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO data/server.conf
%{_bindir}/nm-online
%{_bindir}/nmcli
%{_bindir}/nmtui*
%{_datadir}/bash-completion/completions/nmcli
%{_sbindir}/NetworkManager
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
%{_datadir}/polkit-1/actions/org.freedesktop.NetworkManager.policy
%attr(0700,root,root) %{_localstatedir}/lib/NetworkManager
%doc %{_mandir}/man1/nm-online.*
%doc %{_mandir}/man1/nmcli.*
%doc %{_mandir}/man5/NetworkManager.conf.5%{?ext_man}
%doc %{_mandir}/man5/nm-settings.5%{?ext_man}
%doc %{_mandir}/man5/nm-system-settings.conf.5%{?ext_man}
%doc %{_mandir}/man5/nmcli-examples.5%{?ext_man}
%doc %{_mandir}/man8/NetworkManager.*
%dir %{_libdir}/NetworkManager/
%{_libdir}/NetworkManager/libnm-wwan.so
%{_libdir}/NetworkManager/libnm-settings-plugin-ifcfg-suse.so
%{_libdir}/NetworkManager/libnm-device-plugin-adsl.so
%{_libdir}/NetworkManager/libnm-device-plugin-bluetooth.so
%{_libdir}/NetworkManager/libnm-device-plugin-wifi.so
%{_libdir}/NetworkManager/libnm-device-plugin-wwan.so
%dir %{_libdir}/pppd/2.*
%{_libdir}/pppd/2.*/nm-pppd-plugin.*
%{_libexecdir}/nm-avahi-autoipd.action
%{_libexecdir}/nm-dhcp-helper
%{_libexecdir}/nm-dispatcher
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.NetworkManager.conf
%{_sysconfdir}/dbus-1/system.d/nm-avahi-autoipd.conf
%{_sysconfdir}/dbus-1/system.d/nm-dispatcher.conf
%dir %{_sysconfdir}/NetworkManager
%dir %{_sysconfdir}/NetworkManager/VPN
%dir %{_sysconfdir}/NetworkManager/dispatcher.d
%dir %{_sysconfdir}/NetworkManager/system-connections
%config(noreplace) %{_sysconfdir}/NetworkManager/NetworkManager.conf
%attr(0755,root,root) %{_sysconfdir}/NetworkManager/dispatcher.d/nfs
%{_unitdir}/NetworkManager.service
%{_unitdir}/NetworkManager-dispatcher.service
%{_unitdir}/NetworkManager-wait-online.service
%dir %{_unitdir}/network-online.target.wants
%{_unitdir}/network-online.target.wants/NetworkManager-wait-online.service
%{_udevdir}/rules.d/77-nm-olpc-mesh.rules
%ghost %config(noreplace) /var/log/NetworkManager
%if %{with_wimax}
%files device-plugin-wimax
%defattr(-,root,root)
%{_libdir}/NetworkManager/libnm-device-plugin-wimax.so
%endif
%files devel
%defattr(-,root,root)
%{_includedir}/NetworkManager/
%{_includedir}/libnm-glib/
%{_datadir}/gir-1.0/*.gir
%dir %{_datadir}/vala/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-util.so
%{_libdir}/libnm-glib.so
%{_libdir}/libnm-glib-vpn.so
%{_libdir}/pkgconfig/NetworkManager.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-glib/
%doc %{_datadir}/gtk-doc/html/libnm-util/
%files -n libnm-util2
%defattr(-,root,root)
%{_libdir}/libnm-util.so.*
%files -n libnm-glib4
%defattr(-,root,root)
%{_libdir}/libnm-glib.so.*
%files -n libnm-glib-vpn1
%defattr(-,root,root)
%{_libdir}/libnm-glib-vpn.so.*
%files -n typelib-1_0-NetworkManager-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/NetworkManager-1.0.typelib
%files -n typelib-1_0-NMClient-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/NMClient-1.0.typelib
%files lang -f %{name}.lang
%changelog
++++++ NetworkManager-dhcpv6.patch ++++++
diff -rupN
NetworkManager-0.9.10.0.old/src/dhcp-manager/nm-dhcp-dhclient-utils.c
NetworkManager-0.9.10.0/src/dhcp-manager/nm-dhcp-dhclient-utils.c
--- NetworkManager-0.9.10.0.old/src/dhcp-manager/nm-dhcp-dhclient-utils.c
2014-07-03 17:44:13.000000000 -0700
+++ NetworkManager-0.9.10.0/src/dhcp-manager/nm-dhcp-dhclient-utils.c
2015-01-08 14:24:35.861556421 -0800
@@ -225,7 +225,6 @@ nm_dhcp_dhclient_create_config (const ch
add_also_request (alsoreq, "dhcp6.name-servers");
add_also_request (alsoreq, "dhcp6.domain-search");
add_also_request (alsoreq, "dhcp6.client-id");
- add_also_request (alsoreq, "dhcp6.server-id");
} else {
add_ip4_config (new_contents, dhcp_client_id, hostname);
add_also_request (alsoreq, "rfc3442-classless-static-routes");
++++++ NetworkManager-geoclue-interaction.patch ++++++
Index: NetworkManager-0.9.10.0/src/org.freedesktop.NetworkManager.conf
===================================================================
--- NetworkManager-0.9.10.0.orig/src/org.freedesktop.NetworkManager.conf
+++ NetworkManager-0.9.10.0/src/org.freedesktop.NetworkManager.conf
@@ -26,6 +26,9 @@
<allow send_destination="org.freedesktop.NetworkManager.ssh"/>
<allow
send_destination="org.freedesktop.NetworkManager.iodine"/>
</policy>
+ <policy user="srvGeoClue">
+ <allow send_destination="org.freedesktop.NetworkManager"/>
+ </policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager"/>
++++++ NetworkManager-rpmlintrc ++++++
addFilter("dbus-policy-missing-allow")
++++++ NetworkManager.conf ++++++
[main]
plugins=ifcfg-suse,keyfile
++++++ baselibs.conf ++++++
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>"
++++++ nfs ++++++
#! /bin/sh
#
# nfs - start NFS in response to interface change
#
# Robert Love
case "$2" in
up)
# Check with systemd if nfs service is enabled
if /usr/bin/systemctl is-enabled nfs.service >/dev/null 2>&1;
then
/bin/mount -alt nfs,nfs4
fi
;;
down)
/bin/umount -alt nfs,nfs4
exit 0
;;
*)
exit 0
;;
esac
++++++ nm-don-t-consider-not-needed-secrets-for-has_system_secr.diff ++++++
>From 7e3c0930ff594c3e6b08c221dedadc9235006d9f Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <[email protected]>
Date: Fri, 7 Oct 2011 13:58:48 +0200
Subject: [PATCH 3/3] don't consider not needed secrets for has_system_secrets()
---
src/settings/nm-agent-manager.c | 56 +++++++++++++++++++++++++++++++++++---
1 files changed, 51 insertions(+), 5 deletions(-)
Index: NetworkManager-0.9.8.0/src/settings/nm-agent-manager.c
===================================================================
--- NetworkManager-0.9.8.0.orig/src/settings/nm-agent-manager.c
+++ NetworkManager-0.9.8.0/src/settings/nm-agent-manager.c
@@ -847,6 +847,11 @@ get_agent_modify_auth_cb (NMAuthChain *c
nm_auth_chain_unref (chain);
}
+struct system_secrets_cb_data {
+ GHashTable *hash;
+ gboolean *has_system;
+};
+
static void
check_system_secrets_cb (NMSetting *setting,
const char *key,
@@ -855,11 +860,17 @@ check_system_secrets_cb (NMSetting *sett
gpointer user_data)
{
NMSettingSecretFlags secret_flags = NM_SETTING_SECRET_FLAG_NONE;
- gboolean *has_system = user_data;
+ struct system_secrets_cb_data *data = user_data;
+ gboolean has_system = FALSE;
if (!(flags & NM_SETTING_PARAM_SECRET))
return;
+ if (!g_hash_table_lookup(data->hash, key)) {
+ nm_log_dbg (LOGD_AGENTS, "%s: %s not needed", __FUNCTION__,
key);
+ return;
+ }
+
/* Clear out system-owned or always-ask secrets */
if (NM_IS_SETTING_VPN (setting) && !strcmp (key,
NM_SETTING_VPN_SECRETS)) {
GHashTableIter iter;
@@ -871,21 +882,44 @@ check_system_secrets_cb (NMSetting *sett
secret_flags = NM_SETTING_SECRET_FLAG_NONE;
nm_setting_get_secret_flags (setting, secret_name,
&secret_flags, NULL);
if (secret_flags == NM_SETTING_SECRET_FLAG_NONE)
- *has_system = TRUE;
+ has_system = TRUE;
}
} else {
nm_setting_get_secret_flags (setting, key, &secret_flags, NULL);
if (secret_flags == NM_SETTING_SECRET_FLAG_NONE)
- *has_system = TRUE;
+ has_system = TRUE;
}
+ nm_log_dbg (LOGD_AGENTS, "%s: %s has_system=%d", __FUNCTION__, key,
has_system);
+ *data->has_system = has_system;
}
static gboolean
has_system_secrets (NMConnection *connection)
{
gboolean has_system = FALSE;
+ GPtrArray *hints = NULL;
+ const char *setting_name;
+ unsigned i;
+ struct system_secrets_cb_data data = {
+ NULL,
+ &has_system,
+ };
+
+ setting_name = nm_connection_need_secrets (connection, &hints);
+ /* some secrets should be needed at this point */
+ g_return_val_if_fail(setting_name != NULL, has_system);
+ g_return_val_if_fail(hints != NULL, has_system);
+
+ data.hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free,
NULL);
+ for (i = 0; i < hints->len; i++) {
+ g_hash_table_insert (data.hash, g_strdup ((const
char*)g_ptr_array_index(hints, i)), (void*)(long)1);
+ }
+
+ nm_connection_for_each_setting_value (connection,
check_system_secrets_cb, &data);
+
+ g_hash_table_destroy (data.hash);
+ g_ptr_array_free(hints, TRUE);
- nm_connection_for_each_setting_value (connection,
check_system_secrets_cb, &has_system);
return has_system;
}
@@ -894,20 +928,32 @@ get_next_cb (Request *req)
{
NMSettingConnection *s_con;
const char *agent_dbus_owner, *perm;
+ gboolean has_system = FALSE;
if (!next_generic (req, "getting"))
return;
agent_dbus_owner = nm_secret_agent_get_dbus_owner (NM_SECRET_AGENT
(req->current));
+ has_system = has_system_secrets (req->connection);
+ nm_log_dbg (LOGD_AGENTS, "flags %d, existing %p, has_system %d",
+ req->flags, req->existing_secrets, has_system);
+
/* If the request flags allow user interaction, and there are existing
* system secrets (or blank secrets that are supposed to be
system-owned),
* check whether the agent has the 'modify' permission before sending
those
* secrets to the agent. We shouldn't leak system-owned secrets to
* unprivileged users.
*/
+ /* XXX: there needs to be a way to determine whether there
+ * are missing system secrets (ie user clicked on a network
+ * and wants to connect for the first time). Later we should
+ * not ask for modifying system secrets. The connection
+ * should simply fail then. Setting new secrets is a job for
+ * the connection edit dialog.
+ */
if ( (req->flags != NM_SETTINGS_GET_SECRETS_FLAG_NONE)
- && (req->existing_secrets || has_system_secrets (req->connection)))
{
+ && (req->existing_secrets || has_system)) {
nm_log_dbg (LOGD_AGENTS, "(%p/%s) request has system secrets;
checking agent %s for MODIFY",
req, req->setting_name, agent_dbus_owner);
++++++ nm-hop_limit.diff ++++++
author Christian Hesse <[email protected]> 2014-09-15 09:35:53 (GMT)
committer Dan Williams <[email protected]> 2014-09-15 17:10:50 (GMT)
commit 6a79acb03abc3406b3889738f8003e5f385af1eb
tree 5121add44838bc2333b10f55b6c758a91f26baaa
parent 4f01a3159154bde070036eaa1cbcdc1bd2805ccd
core: only set IPv6 hop_limit for values greater than zero
A "Cur Hop Limit" field value of 0 in a router advertisement means
"unspecified by this router" and should not be set in the kernel.
(cherry picked from commit c668297257aef17f921518f6a7efac2ede2af76a)
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 4788a60..b00857c 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -3616,7 +3616,9 @@ rdisc_config_changed (NMRDisc *rdisc, NMRDiscConfigMap
changed, NMDevice *device
}
}
- if (changed & NM_RDISC_CONFIG_HOP_LIMIT) {
+ /* hop_limit == 0 is a special value "unspecified", so do not touch
+ * in this case */
+ if (changed & NM_RDISC_CONFIG_HOP_LIMIT && rdisc->hop_limit > 0) {
char val[16];
g_snprintf (val, sizeof (val), "%d", rdisc->hop_limit);
++++++ nm-probe-radius-server-cert.patch ++++++
++++ 1205 lines (skipped)
++++++ nm-treat-not-saved-secrets-just-like-agent-owned-when-cl.diff ++++++
>From b4ccaf268f1c32d09df8f678dcf4c296f9b2b213 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <[email protected]>
Date: Tue, 27 Sep 2011 12:34:11 +0200
Subject: [PATCH 2/3] treat not saved secrets just like agent owned when cleaning
---
src/settings/nm-settings-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Index: NetworkManager-0.9.8.0/src/settings/nm-settings-connection.c
===================================================================
--- NetworkManager-0.9.8.0.orig/src/settings/nm-settings-connection.c
+++ NetworkManager-0.9.8.0/src/settings/nm-settings-connection.c
@@ -592,7 +592,7 @@ clear_nonagent_secrets (GHashTableIter *
NMSettingSecretFlags flags,
gpointer user_data)
{
- if (flags != NM_SETTING_SECRET_FLAG_AGENT_OWNED)
+ if (!(flags & (NM_SETTING_SECRET_FLAG_AGENT_OWNED |
NM_SETTING_SECRET_FLAG_NOT_SAVED)))
g_hash_table_iter_remove (iter);
return TRUE;
}
++++++ systemd-network-config.patch ++++++
Index: NetworkManager-0.9.10.0/data/NetworkManager.service.in
===================================================================
--- NetworkManager-0.9.10.0.orig/data/NetworkManager.service.in
+++ NetworkManager-0.9.10.0/data/NetworkManager.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Network Manager
-Wants=network.target
+Wants=remote-fs.target network.target
Before=network.target @DISTRO_NETWORK_SERVICE@
[Service]
@@ -12,6 +12,6 @@ KillMode=process
[Install]
WantedBy=multi-user.target
-Alias=dbus-org.freedesktop.NetworkManager.service
+Alias=network.service
Also=NetworkManager-dispatcher.service
Index: NetworkManager-0.9.10.0/data/NetworkManager-wait-online.service.in
===================================================================
--- NetworkManager-0.9.10.0.orig/data/NetworkManager-wait-online.service.in
+++ NetworkManager-0.9.10.0/data/NetworkManager-wait-online.service.in
@@ -7,7 +7,9 @@ Before=network.target network-online.tar
[Service]
Type=oneshot
-ExecStart=@bindir@/nm-online -s -q --timeout=30
+Environment=NM_ONLINE_TIMEOUT=0
+EnvironmentFile=-/etc/sysconfig/network/config
+ExecStart=/bin/bash -c "if [ ${NM_ONLINE_TIMEOUT} -gt 0 ]; then
@bindir@/nm-online -s -q --timeout=${NM_ONLINE_TIMEOUT} ; else /bin/true ; fi"
[Install]
WantedBy=multi-user.target