Update to NetworkManager 1.2-beta1
This commit is contained in:
parent
13724a4562
commit
810ab20ff1
1
.gitignore
vendored
1
.gitignore
vendored
@ -320,3 +320,4 @@ network-manager-applet-0.8.1.tar.bz2
|
|||||||
/NetworkManager-1.0.4.tar.xz
|
/NetworkManager-1.0.4.tar.xz
|
||||||
/NetworkManager-1.0.6.tar.xz
|
/NetworkManager-1.0.6.tar.xz
|
||||||
/NetworkManager-1.2.0.tar.xz
|
/NetworkManager-1.2.0.tar.xz
|
||||||
|
/NetworkManager-1.1.90.tar.xz
|
||||||
|
@ -7,9 +7,10 @@
|
|||||||
|
|
||||||
%global ppp_version %(rpm -q ppp-devel >/dev/null && rpm -q --qf '%%{version}' ppp-devel || echo -n bad)
|
%global ppp_version %(rpm -q ppp-devel >/dev/null && rpm -q --qf '%%{version}' ppp-devel || echo -n bad)
|
||||||
|
|
||||||
%global snapshot .20151112gitec4d653
|
%global snapshot .beta1
|
||||||
%global realversion 1.2.0
|
%global rpm_version 1.2.0
|
||||||
%global release_version 0.4
|
%global real_version 1.1.90
|
||||||
|
%global release_version 0.5
|
||||||
%global epoch_version 1
|
%global epoch_version 1
|
||||||
|
|
||||||
%global obsoletes_nmver 1:0.9.9.95-1
|
%global obsoletes_nmver 1:0.9.9.95-1
|
||||||
@ -52,20 +53,18 @@
|
|||||||
Name: NetworkManager
|
Name: NetworkManager
|
||||||
Summary: Network connection manager and user applications
|
Summary: Network connection manager and user applications
|
||||||
Epoch: %{epoch_version}
|
Epoch: %{epoch_version}
|
||||||
Version: %{realversion}
|
Version: %{rpm_version}
|
||||||
Release: %{release_version}%{snapshot}%{?dist}
|
Release: %{release_version}%{snapshot}%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.gnome.org/projects/NetworkManager/
|
URL: http://www.gnome.org/projects/NetworkManager/
|
||||||
|
|
||||||
Source: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/1.2/%{name}-%{realversion}.tar.xz
|
|
||||||
|
Source: https://download.gnome.org/sources/NetworkManager/1.1/%{name}-%{real_version}.tar.xz
|
||||||
Source1: NetworkManager.conf
|
Source1: NetworkManager.conf
|
||||||
Source2: 00-server.conf
|
Source2: 00-server.conf
|
||||||
Source3: 10-ibft-plugin.conf
|
Source3: 10-ibft-plugin.conf
|
||||||
Source4: 20-connectivity-fedora.conf
|
Source4: 20-connectivity-fedora.conf
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1288867
|
|
||||||
Patch0: soup-deprecation-fix.patch
|
|
||||||
Patch1: fix-ap-list-hash-function.patch
|
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -302,9 +301,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n NetworkManager-%{realversion}
|
%setup -q -n NetworkManager-%{real_version}
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -603,6 +600,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 19 2016 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.0-0.5.beta1
|
||||||
|
- Update to NetworkManager 1.2-beta1
|
||||||
|
|
||||||
* Fri Jan 08 2016 David King <amigadave@amigadave.com> - 1:1.2.0-0.4.20151007gite73e55c
|
* Fri Jan 08 2016 David King <amigadave@amigadave.com> - 1:1.2.0-0.4.20151007gite73e55c
|
||||||
- Add upstream fix for AP list hash function (#1288867)
|
- Add upstream fix for AP list hash function (#1288867)
|
||||||
|
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
From 914d875dc2ea2e410c422cf9d027d33e47396cdf Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Haller <thaller@redhat.com>
|
|
||||||
Date: Mon, 16 Nov 2015 16:51:54 +0100
|
|
||||||
Subject: wifi: fix handling APs list using string-hashing
|
|
||||||
|
|
||||||
Commit d51827801128564c31dc5f9cc31db18f1bf7ae79 changed
|
|
||||||
the hashing for the APs to use direct-hashing.
|
|
||||||
|
|
||||||
That was wrong because get_ap_by_path() needs a full
|
|
||||||
string-comparison.
|
|
||||||
|
|
||||||
Fixes: d51827801128564c31dc5f9cc31db18f1bf7ae79
|
|
||||||
|
|
||||||
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c
|
|
||||||
index a9fb6c8..0eeb845 100644
|
|
||||||
--- a/src/devices/wifi/nm-device-wifi.c
|
|
||||||
+++ b/src/devices/wifi/nm-device-wifi.c
|
|
||||||
@@ -2881,7 +2881,7 @@ nm_device_wifi_init (NMDeviceWifi *self)
|
|
||||||
NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self);
|
|
||||||
|
|
||||||
priv->mode = NM_802_11_MODE_INFRA;
|
|
||||||
- priv->aps = g_hash_table_new (g_direct_hash, g_direct_equal);
|
|
||||||
+ priv->aps = g_hash_table_new (g_str_hash, g_str_equal);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
||||||
|
|
@ -1,64 +0,0 @@
|
|||||||
From 15f1cd09d92bdb4e8001e1cf781db305569e2068 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
|
||||||
Date: Thu, 10 Dec 2015 18:53:49 +0100
|
|
||||||
Subject: build: use soup 2.32
|
|
||||||
|
|
||||||
We already use 2.32 API and also use API that was replaced with new one after
|
|
||||||
2.42 and deprecated in 2.53.
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index a29602b..715b605 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -827,7 +827,7 @@ fi
|
|
||||||
AC_DEFINE_UNQUOTED(KERNEL_FIRMWARE_DIR, "$KERNEL_FIRMWARE_DIR", [Define to path of the kernel firmware directory])
|
|
||||||
AC_SUBST(KERNEL_FIRMWARE_DIR)
|
|
||||||
|
|
||||||
-PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.26], [have_libsoup=yes],[have_libsoup=no])
|
|
||||||
+PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.32], [have_libsoup=yes],[have_libsoup=no])
|
|
||||||
AC_ARG_WITH(libsoup, AS_HELP_STRING([--with-libsoup=yes|no], [Link against libsoup]), [], [with_libsoup=${have_libsoup}])
|
|
||||||
if test "$with_libsoup" != "no"; then
|
|
||||||
if test "$have_libsoup" != "yes"; then
|
|
||||||
@@ -839,6 +839,7 @@ else
|
|
||||||
AC_DEFINE(WITH_LIBSOUP, 0, [Define if you have libsoup])
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(WITH_LIBSOUP, test "$with_libsoup" != "no")
|
|
||||||
+LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_32 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_32"
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(concheck, AS_HELP_STRING([--enable-concheck], [enable connectivity checking support]),
|
|
||||||
[enable_concheck=${enableval}], [enable_concheck=${with_libsoup}])
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
||||||
|
|
||||||
From 7873b1761de362a66e3b09eacf470ce6e3360068 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
|
||||||
Date: Thu, 10 Dec 2015 19:17:56 +0100
|
|
||||||
Subject: build: bump soup requirement to 2.40
|
|
||||||
|
|
||||||
The dns-manager uses some newer API.
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 715b605..c2c48d2 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -827,7 +827,7 @@ fi
|
|
||||||
AC_DEFINE_UNQUOTED(KERNEL_FIRMWARE_DIR, "$KERNEL_FIRMWARE_DIR", [Define to path of the kernel firmware directory])
|
|
||||||
AC_SUBST(KERNEL_FIRMWARE_DIR)
|
|
||||||
|
|
||||||
-PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.32], [have_libsoup=yes],[have_libsoup=no])
|
|
||||||
+PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.40], [have_libsoup=yes],[have_libsoup=no])
|
|
||||||
AC_ARG_WITH(libsoup, AS_HELP_STRING([--with-libsoup=yes|no], [Link against libsoup]), [], [with_libsoup=${have_libsoup}])
|
|
||||||
if test "$with_libsoup" != "no"; then
|
|
||||||
if test "$have_libsoup" != "yes"; then
|
|
||||||
@@ -839,7 +839,7 @@ else
|
|
||||||
AC_DEFINE(WITH_LIBSOUP, 0, [Define if you have libsoup])
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(WITH_LIBSOUP, test "$with_libsoup" != "no")
|
|
||||||
-LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_32 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_32"
|
|
||||||
+LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_40 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_40"
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(concheck, AS_HELP_STRING([--enable-concheck], [enable connectivity checking support]),
|
|
||||||
[enable_concheck=${enableval}], [enable_concheck=${with_libsoup}])
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user