Fix networkmanager patch

atratsevskiy
parent 68e3003ad6
commit dcee9c1cfd

@ -3,6 +3,10 @@ AUX 01-org.freedesktop.NetworkManager.settings.modify.system.rules 265 SHA256 70
AUX 10-openrc-status-r3 1103 SHA256 3ee158de440df6e6a8ddcc7c0622cb94039cffe6b0cc0b88d35a53333d32f73d SHA512 b848327b0975a59420a4e7132c45a15267a7d98b0f430f52d95991e7946eca787faf5b9a5adb3f1b294f5cc761f14d693d9d4e604ff091160da9610b76cb72e8 WHIRLPOOL 7745a0469e1bec653736c14e4e6f5f9593ef9a752d4973ad538350a1f934bcdf1e2cd4c276ce3f57515e9d8c34168014e138ab9627e57cd3cef79b852ebacc40
AUX conf.d.NetworkManager 230 SHA256 4594573f01fe5e04b6dde4525796acf909158591bdcefd662ec23fe0d1c3e1bd SHA512 f8c9331834cbc66ab0e4e6f4a120fde6a08a435d680a1e1087718fdbb2b9843a313e7ec30b7008822999dafd98e152aa7d2a96f87320ba9c91c3adb63e0b7c9a WHIRLPOOL 7dbb15bf184e918369187605af91816ed11c460147066ede11f200d73103bb6f7f63ccc7abe7996d485294f44282d6bbd9520cc9e50f04ce41262c9817f7b994
AUX init.d.NetworkManager 1895 SHA256 5f368362ef5c6deed538f20dc582d6da3c86871bd42297fa78536c0312021843 SHA512 c9a874976fa422778cc37e522d08da953c738fa971e8ae58f76952db374ad4fb8a5c65d1d0ddd2f2ad9ceae05996c21d24c98df214ebf5b9d338257f95c9cd5c WHIRLPOOL 036ef59d76e5a7e28de30345774a7bc446c6acf0e9d2499127d7f395b40f28b2078d02e91c24f7b421f5c90f907c3e799a40efb724ad2d02c546bbac1a446b30
AUX networkmanager-0.9.2.0-init-provide-net-r1.patch 2282 SHA256 fd46086be527bdd79978142eb8b46653ecc919f2dcab0a02dea2d0fd28232f92 SHA512 d639f1bc6442a92ad9d759d09abc963131ca13ddae13129c0ef21affb3888426a8301aad6fe4b71eddfca2a9f21213d515ba90662abff981701090581ed6bb9e WHIRLPOOL fee0fa3b2b148e210d9bb547a327d42866a70fb817b0a8e5375ece10c09bbe1a67b048ca25cadba0296eeb4e8359245369e9b0c213fd0343a6e75792755bc0d3
AUX networkmanager-0.9.2.0-pre-sleep.patch 9163 SHA256 e391907c8699b22b6c48ff27bf4d7a116600e643d788bd579339adc180e1ed97 SHA512 ca71814dec88e294776d8b9155063eeb10128b1236e19f159fe6f4071109716d2dce4422b8efa733ddbef222b44d02f909e75861623118d744966c45f097cea7 WHIRLPOOL f676bc5951ed07c07bb713894b576710b9e56495d2d80ef5e41b0845c0bccbc74a9bc76ae07981cbd5bec0de89f25129809798734da529f72b65881db08e6719
AUX networkmanager-0.9.4.0-dhclient-ipv6.patch 1230 SHA256 5db0d4654c9844cc329f30ef3d6370eddc00148a60e6dd0935cd91206239f52c SHA512 9fbbdf6d7af6dc6d59b4f6c4e6ebd90de85feac1e62c2f4f019ba25036fe1c5ae8437b2404ffafb7f8fe614db78d7c583df269dc5caafc15658c2842663dbdc9 WHIRLPOOL c345f75533e3a1c85263f0e5e89ce70eef2c63756c265573addc70bae59130e397d07c6df24e50ad27e2d077f596660d65246c0ca394a7bc0f685b74e72c0527
AUX networkmanager-0.9.4.0-force-libnl1.1-r1.patch 3422 SHA256 191511187731eab1d796104647b2fb93f35d9f315cb70d72f7927d1103a979d5 SHA512 b23ae707db485b52692dba3e8e3060650af78ff2a8fb0ac00b018cb5ebef25643362088236590bb893b56b56d5ed15a3f6bc30a094dfed49f7c04fffe769c2d1 WHIRLPOOL 91c9b37fa32a308a053ec14c5dc3228ba2880358adb5d8c36fbc1c576c23dd3909539ed20c20e55c719397a9a441a6f4b7b6493e54e6dff717f6fb6fa2762bf6
AUX networkmanager-0.9.6.0-daemon-signals.patch 1045 SHA256 eb9e01f5622aabf611f881e3bf7989cdaa9df25dc19b0087747f04c423efe503 SHA512 2f6e7fcb76eb3944ae5df0fcc7b894ed45a8e852b0cba425fc6001de8a5532a1691ed847bb6c0b54988b9f2df5e9fa1720e4c6306e295477d7c8d246d00bf29a WHIRLPOOL 3243def958145d734954b8baaf4fefce4b9becf7e274f297010be9fb80998ae43df987061a7e0d00348df68bb84e92e1f90b5419567b88ed5a72e0db200a9598
AUX nm-system-settings.conf-ifnet 70 SHA256 34f53d9ac1ad65eda6942dc3059117f60f6321059ca23f4fbfcc2f2edcae151f SHA512 74304a367c0675cfc88a6ae17b291a9bc20f24a9dab72e9a4578e697870c4d96245aa45ce62ec86f1e5e7e3069ab8fccec33936e479ca630a836805addb5574d WHIRLPOOL 24e140440014c07c355cecab0564d6a57fc2e37e3ded242f3b9dd3e6ddd05dd924a7497400d2984eed407e99ba9661028a159dd4e393917cee7665b0ff4737eb
DIST NetworkManager-0.9.6.4.tar.xz 1968564 SHA256 511b411e055d187bc8f26c519fdb3e55e07fc40d4adecbbec623c0249380a7eb SHA512 900eb30f7fed35d43f2c1003fcf7fc0b6ab9c5a9f0a14777d4636372376af8477e63fc7fc9b05d2f281d48de658d96d9b30f44851af8ae2b4271bb2b5c2cb669 WHIRLPOOL b87903e4cbb3efcec17b25e74dd67dc6a81a6d553df57e9c699bb1f0d40fe6d611953f6baaeca48ef4387316980d775ec2b07a9df06ecb5f03c10dffc2b60584

@ -0,0 +1,63 @@
From 705b9978ed914aba87e5a5191a1d0acacaf70a81 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Wed, 1 Feb 2012 05:51:20 -0500
Subject: [PATCH] gentoo: provide net and use inactive status when not
connected
The status will be reset to started via a dispatcher script on up/down
events. See https://bugs.gentoo.org/show_bug.cgi?id=252137
---
initscript/Gentoo/NetworkManager.in | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/initscript/Gentoo/NetworkManager.in b/initscript/Gentoo/NetworkManager.in
index 7db410b..1960795 100755
--- a/initscript/Gentoo/NetworkManager.in
+++ b/initscript/Gentoo/NetworkManager.in
@@ -3,18 +3,42 @@
# Distributed under the terms of the GNU General Purpose License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/files/networkmanager-0.9.2.0-init-provide-net-r1.patch,v 1.2 2012/02/21 23:19:19 tetromino Exp $
+description="NetworkManager daemon. The service is marked as started only \
+when a network connection is established."
+
depend() {
need dbus
+ provide net
}
start() {
+ # If we are re-called by a dispatcher event, we want to mark the service
+ # as started without starting the daemon again
+ yesno "${IN_BACKGROUND}" && return 0
+
+ [ -z "${INACTIVE_TIMEOUT}" ] && INACTIVE_TIMEOUT="1"
+
ebegin "Starting NetworkManager"
start-stop-daemon --start --quiet --pidfile /var/run/NetworkManager.pid \
--exec /usr/sbin/NetworkManager -- --pid-file /var/run/NetworkManager.pid
- eend $?
+ local _retval=$?
+ eend "${_retval}"
+ if [ "x${_retval}" = 'x0' ] && ! nm-online -t "${INACTIVE_TIMEOUT}"; then
+ einfo "Marking NetworkManager as inactive. It will automatically be marked"
+ einfo "as started after a network connection has been established."
+ mark_service_inactive
+ fi
+ return "${_retval}"
}
stop() {
+ # If we are re-called by a dispatcher event, we want to mark the service
+ # as inactive without stopping the daemon
+ if yesno "${IN_BACKGROUND}"; then
+ mark_service_inactive "${SVCNAME}"
+ return 0
+ fi
+
ebegin "Stopping NetworkManager"
start-stop-daemon --stop --quiet --pidfile /var/run/NetworkManager.pid
eend $?
--
1.7.8.4

@ -0,0 +1,232 @@
From 00b5c3785f7f5ce8da6db5da3fab814680ff82bc Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 20 Feb 2012 02:14:26 -0500
Subject: [PATCH] Implement "pre-sleep" action dispatch
Based on work by Christian Becke <christianbecke@gmail.com> in
https://bugzilla.gnome.org/show_bug.cgi?id=387832
Adds a nm_utils_call_dispatcher_with_notify variant of the dispatcher
call, and uses it to dispatch a "pre-sleep" action before sleeping.
---
callouts/nm-dispatcher-utils.c | 3 +-
src/NetworkManagerUtils.c | 70 ++++++++++++++++++++++++++++++++++------
src/NetworkManagerUtils.h | 12 +++++++
src/nm-manager.c | 28 ++++++++++++----
4 files changed, 95 insertions(+), 18 deletions(-)
diff --git a/callouts/nm-dispatcher-utils.c b/callouts/nm-dispatcher-utils.c
index 887e80d..db66b61 100644
--- a/callouts/nm-dispatcher-utils.c
+++ b/callouts/nm-dispatcher-utils.c
@@ -407,7 +407,8 @@ nm_dispatcher_utils_construct_envp (const char *action,
g_return_val_if_fail (*out_iface == NULL, NULL);
/* Hostname changes don't require a device nor contain a connection */
- if (!strcmp (action, "hostname"))
+ if (!strcmp (action, "hostname") ||
+ !strcmp (action, "pre-sleep"))
return g_new0 (char *, 1);
/* Canonicalize the VPN interface name; "" is used when passing it through
diff --git a/src/NetworkManagerUtils.c b/src/NetworkManagerUtils.c
index 451de6d..008b94e 100644
--- a/src/NetworkManagerUtils.c
+++ b/src/NetworkManagerUtils.c
@@ -44,6 +44,13 @@
#include "nm-setting-wireless-security.h"
#include "nm-manager-auth.h"
+typedef struct
+{
+ NMDBusManager *dbus_mgr;
+ NMUtilsDispatcherDoneCallback notify;
+ gpointer user_data;
+} NMUtilsCallDispatcherNotifyData;
+
/*
* nm_ethernet_address_is_valid
*
@@ -475,18 +482,36 @@ fill_vpn_props (NMIP4Config *ip4_config,
static void
dispatcher_done_cb (DBusGProxy *proxy, DBusGProxyCall *call, gpointer user_data)
{
+ NMUtilsCallDispatcherNotifyData *notify_data = (NMUtilsCallDispatcherNotifyData *) user_data;
+
dbus_g_proxy_end_call (proxy, call, NULL, G_TYPE_INVALID);
g_object_unref (proxy);
+ if (notify_data->notify != NULL)
+ notify_data->notify (notify_data->user_data);
+}
+
+static void
+nm_utils_call_dispatcher_notify_data_free (NMUtilsCallDispatcherNotifyData *data)
+{
+ if (data == NULL)
+ return;
+
+ if (data->dbus_mgr != NULL)
+ g_object_unref (data->dbus_mgr);
+ g_free (data);
}
void
-nm_utils_call_dispatcher (const char *action,
- NMConnection *connection,
- NMDevice *device,
- const char *vpn_iface,
- NMIP4Config *vpn_ip4_config,
- NMIP6Config *vpn_ip6_config)
+nm_utils_call_dispatcher_with_notify (const char *action,
+ NMConnection *connection,
+ NMDevice *device,
+ const char *vpn_iface,
+ NMIP4Config *vpn_ip4_config,
+ NMIP6Config *vpn_ip6_config,
+ NMUtilsDispatcherDoneCallback notify,
+ gpointer user_data)
{
+ NMUtilsCallDispatcherNotifyData *notify_data;
NMDBusManager *dbus_mgr;
DBusGProxy *proxy;
DBusGConnection *g_connection;
@@ -503,7 +528,8 @@ nm_utils_call_dispatcher (const char *action,
g_return_if_fail (action != NULL);
/* All actions except 'hostname' require a device */
- if (strcmp (action, "hostname") != 0)
+ if (strcmp (action, "hostname") != 0 &&
+ strcmp (action, "pre-sleep") != 0)
g_return_if_fail (NM_IS_DEVICE (device));
/* VPN actions require at least an IPv4 config (for now) */
if (strcmp (action, "vpn-up") == 0)
@@ -544,7 +570,8 @@ nm_utils_call_dispatcher (const char *action,
vpn_ip6_props = value_hash_create ();
/* hostname actions only send the hostname */
- if (strcmp (action, "hostname") != 0) {
+ if (strcmp (action, "hostname") != 0 &&
+ strcmp (action, "pre-sleep") != 0) {
fill_device_props (device,
device_props,
device_ip4_props,
@@ -555,6 +582,11 @@ nm_utils_call_dispatcher (const char *action,
fill_vpn_props (vpn_ip4_config, NULL, vpn_ip4_props, vpn_ip6_props);
}
+ notify_data = g_new0 (NMUtilsCallDispatcherNotifyData, 1);
+ notify_data->dbus_mgr = dbus_mgr;
+ notify_data->notify = notify;
+ notify_data->user_data = user_data;
+
/* Do a non-blocking call, but wait for the reply, because dbus-glib
* sometimes needs time to complete internal housekeeping. If we use
* dbus_g_proxy_call_no_reply(), that housekeeping (specifically the
@@ -563,8 +595,8 @@ nm_utils_call_dispatcher (const char *action,
*/
dbus_g_proxy_begin_call_with_timeout (proxy, "Action",
dispatcher_done_cb,
- dbus_mgr, /* automatically unref the dbus mgr when call is done */
- g_object_unref,
+ notify_data, /* automatically unref the dbus mgr when call is done */
+ (GDestroyNotify) nm_utils_call_dispatcher_notify_data_free,
5000,
G_TYPE_STRING, action,
DBUS_TYPE_G_MAP_OF_MAP_OF_VARIANT, connection_hash,
@@ -589,6 +621,24 @@ nm_utils_call_dispatcher (const char *action,
g_hash_table_destroy (vpn_ip6_props);
}
+void
+nm_utils_call_dispatcher (const char *action,
+ NMConnection *connection,
+ NMDevice *device,
+ const char *vpn_iface,
+ NMIP4Config *vpn_ip4_config,
+ NMIP6Config *vpn_ip6_config)
+{
+ nm_utils_call_dispatcher_with_notify (action,
+ connection,
+ device,
+ vpn_iface,
+ vpn_ip4_config,
+ vpn_ip6_config,
+ NULL,
+ NULL);
+}
+
gboolean
nm_match_spec_hwaddr (const GSList *specs, const char *hwaddr)
{
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h
index 1bf741e..bdc0fef 100644
--- a/src/NetworkManagerUtils.h
+++ b/src/NetworkManagerUtils.h
@@ -49,6 +49,18 @@ void nm_utils_call_dispatcher (const char *action,
NMIP4Config *vpn_ip4_config,
NMIP6Config *vpn_ip6_config);
+typedef void (*NMUtilsDispatcherDoneCallback) (gpointer user_data);
+
+void
+nm_utils_call_dispatcher_with_notify (const char *action,
+ NMConnection *connection,
+ NMDevice *device,
+ const char *vpn_iface,
+ NMIP4Config *vpn_ip4_config,
+ NMIP6Config *vpn_ip6_config,
+ NMUtilsDispatcherDoneCallback notify,
+ gpointer user_data);
+
gboolean nm_match_spec_hwaddr (const GSList *specs, const char *hwaddr);
gboolean nm_match_spec_s390_subchannels (const GSList *specs, const char *subchannels);
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 7205c7a..9e70071 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -2433,6 +2433,23 @@ impl_manager_deactivate_connection (NMManager *self,
}
static void
+pre_sleep_dispatcher_done (gpointer user_data)
+{
+ NMManager *self = (NMManager *) user_data;
+ NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
+ GSList *iter;
+
+ /* Just deactivate and down all devices from the device list,
+ * to keep things fast the device list will get resynced when
+ * the manager wakes up.
+ */
+ for (iter = priv->devices; iter; iter = iter->next)
+ nm_device_set_managed (NM_DEVICE (iter->data), FALSE, NM_DEVICE_STATE_REASON_SLEEPING);
+
+ nm_manager_update_state (self);
+}
+
+static void
do_sleep_wake (NMManager *self)
{
NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
@@ -2442,13 +2459,10 @@ do_sleep_wake (NMManager *self)
if (manager_sleeping (self)) {
nm_log_info (LOGD_SUSPEND, "sleeping or disabling...");
- /* Just deactivate and down all devices from the device list,
- * to keep things fast the device list will get resynced when
- * the manager wakes up.
- */
- for (iter = priv->devices; iter; iter = iter->next)
- nm_device_set_managed (NM_DEVICE (iter->data), FALSE, NM_DEVICE_STATE_REASON_SLEEPING);
-
+ nm_utils_call_dispatcher_with_notify ("pre-sleep",
+ NULL, NULL, NULL, NULL, NULL,
+ pre_sleep_dispatcher_done, self);
+ return;
} else {
nm_log_info (LOGD_SUSPEND, "waking up and re-enabling...");
--
1.7.8.4

@ -0,0 +1,34 @@
From cc9f8102859cccd95ba7a13c00bc3cc4fb53aa0a Mon Sep 17 00:00:00 2001
From: Rick Harris <rickfharris@yahoo.com.au>
Date: Sun, 15 Apr 2012 09:44:55 +0000
Subject: [PATCH] dhcp: do not require dhclient-4 to be built with DHCPv6
The "-4" flag is the default if dhclient-4 was built with DHCPv6 support
enabled, and it's invalid if dhclient-4 was built without DHCPv6.
Therefore, we simply should not use it.
https://bugzilla.gnome.org/show_bug.cgi?id=679428
---
src/dhcp-manager/nm-dhcp-dhclient.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/dhcp-manager/nm-dhcp-dhclient.c b/src/dhcp-manager/nm-dhcp-dhclient.c
index 043cd63..14be5b2 100644
--- a/src/dhcp-manager/nm-dhcp-dhclient.c
+++ b/src/dhcp-manager/nm-dhcp-dhclient.c
@@ -490,9 +490,10 @@ dhclient_start (NMDHCPClient *client,
g_ptr_array_add (argv, (gpointer) "-6");
if (mode_opt)
g_ptr_array_add (argv, (gpointer) mode_opt);
- } else {
- g_ptr_array_add (argv, (gpointer) "-4");
}
+ /* We never want the "-4" flag: it's the default if dhclient was
+ * built with DHCPv6 support, and invalid otherwise.
+ */
#endif
g_ptr_array_add (argv, (gpointer) "-sf"); /* Set script file */
--
1.7.8.6

@ -0,0 +1,83 @@
From d6fd1cf98a617aaf78ee98ec0a3ac5c468ac666f Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sun, 13 Nov 2011 17:51:47 -0500
Subject: [PATCH] Allow building against libnl:1.1 only
Allow building against libnl:1.1 only for wimax. Otherwise, networkmanager
will link to libnl-3.so and to libiWmxSdk (from wimax-1.5.2) which links
to libnl.so, and then explode spectacularly at runtime due to symbol
collisions.
---
configure.ac | 47 +++++++++++++++++++----------------------------
1 files changed, 19 insertions(+), 28 deletions(-)
diff --git a/configure.ac b/configure.ac
index ed66b3d..c88cbe4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -379,32 +379,27 @@ AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test "x$with_session_tracking" = "xsyst
have_libnl="no"
-PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl3=yes], [have_libnl3=no])
-PKG_CHECK_MODULES(LIBNL_ROUTE3, libnl-route-3.0, [have_libnl_route3=yes], [have_libnl_route3=no])
-PKG_CHECK_MODULES(LIBNL_GENL3, libnl-genl-3.0, [have_libnl_genl3=yes], [have_libnl_genl3=no])
-if (test "${have_libnl3}" = "yes" -a "${have_libnl_route3}" = "yes" -a "${have_libnl_genl3}" = "yes"); then
- AC_DEFINE(HAVE_LIBNL3, 1, [Define if you require specific libnl-3 support])
- LIBNL_CFLAGS="$LIBNL3_CFLAGS $LIBNL_ROUTE3_CFLAGS $LIBNL_GENL3_CFLAGS"
- LIBNL_LIBS="$LIBNL3_LIBS $LIBNL_ROUTE3_LIBS $LIBNL_GENL3_LIBS"
- libnl_version="3"
- have_libnl="yes"
+AC_ARG_WITH(libnl-1, AS_HELP_STRING([--with-libnl-1], [use legacy libnl-1 instead of libnl-3]), ,[with_libnl_1=no])
+if (test "${with_libnl_1}" = "yes"); then
+ PKG_CHECK_MODULES(LIBNL1, libnl-1 >= 1.0-pre8, [have_libnl1=yes], [have_libnl1=no])
+ if (test "${have_libnl1}" = "yes"); then
+ AC_DEFINE(HAVE_LIBNL1, 1, [Define if you require libnl-1 legacy support])
+ LIBNL_CFLAGS="$LIBNL1_CFLAGS"
+ LIBNL_LIBS="$LIBNL1_LIBS"
+ libnl_version="1"
+ have_libnl="yes"
+ NM_LIBNL_CHECK
+ fi
else
- PKG_CHECK_MODULES(LIBNL2, libnl-2.0, [have_libnl2=yes], [have_libnl2=no])
- if (test "${have_libnl2}" = "yes"); then
- AC_DEFINE(HAVE_LIBNL2, 1, [Define if you require specific libnl-2 support])
- LIBNL_CFLAGS="$LIBNL2_CFLAGS"
- LIBNL_LIBS="$LIBNL2_LIBS"
- libnl_version="2"
+ PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl3=yes], [have_libnl3=no])
+ PKG_CHECK_MODULES(LIBNL_ROUTE3, libnl-route-3.0, [have_libnl_route3=yes], [have_libnl_route3=no])
+ PKG_CHECK_MODULES(LIBNL_GENL3, libnl-genl-3.0, [have_libnl_genl3=yes], [have_libnl_genl3=no])
+ if (test "${have_libnl3}" = "yes" -a "${have_libnl_route3}" = "yes" -a "${have_libnl_genl3}" = "yes"); then
+ AC_DEFINE(HAVE_LIBNL3, 1, [Define if you require specific libnl-3 support])
+ LIBNL_CFLAGS="$LIBNL3_CFLAGS $LIBNL_ROUTE3_CFLAGS $LIBNL_GENL3_CFLAGS"
+ LIBNL_LIBS="$LIBNL3_LIBS $LIBNL_ROUTE3_LIBS $LIBNL_GENL3_LIBS"
+ libnl_version="3"
have_libnl="yes"
- else
- PKG_CHECK_MODULES(LIBNL1, libnl-1 >= 1.0-pre8, [have_libnl1=yes], [have_libnl1=no])
- if (test "${have_libnl1}" = "yes"); then
- AC_DEFINE(HAVE_LIBNL1, 1, [Define if you require libnl-1 legacy support])
- LIBNL_CFLAGS="$LIBNL1_CFLAGS"
- LIBNL_LIBS="$LIBNL1_LIBS"
- libnl_version="1"
- have_libnl="yes"
- fi
fi
fi
@@ -414,10 +409,6 @@ fi
AC_SUBST(LIBNL_CFLAGS)
AC_SUBST(LIBNL_LIBS)
-if (test "${libnl_version}" = "1"); then
- NM_LIBNL_CHECK
-fi
-
PKG_CHECK_MODULES(UUID, uuid)
AC_SUBST(UUID_CFLAGS)
AC_SUBST(UUID_LIBS)
--
1.7.8.5
Loading…
Cancel
Save