rpms/NetworkManager/F-7 NetworkManager-0.6.5-fix-ethernet-link-detection.patch, NONE, 1.1 NetworkManager-0.6.5-wait-for-wireless.patch, NONE, 1.1 network-manager-applet-0.6.5-fix-eap-key-request.patch, NONE, 1.1 NetworkManager.spec, 1.147, 1.148
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Thu Jun 7 17:05:29 UTC 2007
- Previous message (by thread): rpms/gtk2-engines/devel gtk-engines-2.10.2-keep-default-tooltip-color.patch, NONE, 1.1 gtk2-engines.spec, 1.67, 1.68
- Next message (by thread): rpms/mkinitrd/devel mkinitrd-6.0.9-lstat.patch, NONE, 1.1 mkinitrd-6.0.9-mdadm.patch, 1.2, 1.3 mkinitrd.spec, 1.203, 1.204
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dcbw
Update of /cvs/extras/rpms/NetworkManager/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv416
Modified Files:
NetworkManager.spec
Added Files:
NetworkManager-0.6.5-fix-ethernet-link-detection.patch
NetworkManager-0.6.5-wait-for-wireless.patch
network-manager-applet-0.6.5-fix-eap-key-request.patch
Log Message:
* Thu Jun 7 2007 Dan Williams <dcbw at redhat.com> 1:0.6.5-4
- Fix ethernet link detection (gnome #354565, rh #194124)
- Fix perpetual credentials request with private key passwords in the applet
- Sleep a bit before activating wireless cards to work around driver bugs
NetworkManager-0.6.5-fix-ethernet-link-detection.patch:
--- NEW FILE NetworkManager-0.6.5-fix-ethernet-link-detection.patch ---
Index: src/nm-device-802-3-ethernet.c
===================================================================
--- src/nm-device-802-3-ethernet.c (revision 2577)
+++ src/nm-device-802-3-ethernet.c (revision 2578)
@@ -108,18 +108,16 @@
GObject *obj,
NMDevice8023Ethernet *self)
{
+ GSource * source;
+
/* Make sure signal is for us */
if (NM_DEVICE (self) != NM_DEVICE (obj))
return;
- if (!nm_device_has_active_link (NM_DEVICE (self)))
- {
- GSource * source = g_idle_source_new ();
-
- g_source_set_callback (source, (GSourceFunc) link_activated_helper, self, NULL);
- g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
- g_source_unref (source);
- }
+ source = g_idle_source_new ();
+ g_source_set_callback (source, (GSourceFunc) link_activated_helper, self, NULL);
+ g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
+ g_source_unref (source);
}
@@ -135,18 +133,16 @@
GObject *obj,
NMDevice8023Ethernet *self)
{
+ GSource * source;
+
/* Make sure signal is for us */
if (NM_DEVICE (self) != NM_DEVICE (obj))
return;
- if (nm_device_has_active_link (NM_DEVICE (self)))
- {
- GSource * source = g_idle_source_new ();
-
- g_source_set_callback (source, (GSourceFunc) link_deactivated_helper, self, NULL);
- g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
- g_source_unref (source);
- }
+ source = g_idle_source_new ();
+ g_source_set_callback (source, (GSourceFunc) link_deactivated_helper, self, NULL);
+ g_source_attach (source, nm_device_get_main_context (NM_DEVICE (self)));
+ g_source_unref (source);
}
static void
NetworkManager-0.6.5-wait-for-wireless.patch:
--- NEW FILE NetworkManager-0.6.5-wait-for-wireless.patch ---
Index: src/nm-device-802-11-wireless.c
===================================================================
--- src/nm-device-802-11-wireless.c (revision 2577)
+++ src/nm-device-802-11-wireless.c (working copy)
@@ -2981,6 +2981,9 @@
return NM_ACT_STAGE_RETURN_POSTPONE;
}
+ /* Some cards are dumb. Wait a second */
+ sleep (1);
+
iface = nm_device_get_iface (dev);
if (!supplicant_exec (self))
{
network-manager-applet-0.6.5-fix-eap-key-request.patch:
--- NEW FILE network-manager-applet-0.6.5-fix-eap-key-request.patch ---
Index: NetworkManager-0.6.5/nm-applet-0.6.5/src/applet-dbus-info.c
===================================================================
--- NetworkManager-0.6.5/nm-applet-0.6.5/src/applet-dbus-info.c (revision 78)
+++ NetworkManager-0.6.5/nm-applet-0.6.5/src/applet-dbus-info.c (revision 79)
@@ -152,6 +152,8 @@
char * temp = NULL;
char * escaped_network;
int we_cipher = -1;
+ char * private_key_file = NULL;
+ gboolean have_priv_key_file = FALSE;
g_return_val_if_fail (applet != NULL, NULL);
g_return_val_if_fail (message != NULL, NULL);
@@ -182,9 +184,18 @@
|| !temp)
new_key = TRUE;
+ nm_gconf_get_string_helper (applet->gconf_client,
+ GCONF_PATH_WIRELESS_NETWORKS,
+ "wpa_eap_private_key_file", escaped_network, &private_key_file);
+ if (private_key_file) {
+ have_priv_key_file = TRUE;
+ g_free (private_key_file);
+ }
+
/* Hack: 802.1x passwords are not stored in the keyring */
if (!new_key &&
- (we_cipher == NM_AUTH_TYPE_WPA_EAP || we_cipher == NM_AUTH_TYPE_LEAP))
+ ((we_cipher == NM_AUTH_TYPE_WPA_EAP && !have_priv_key_file) ||
+ we_cipher == NM_AUTH_TYPE_LEAP))
{
NMGConfWSO *gconf_wso;
gconf_wso = nm_gconf_wso_new_deserialize_gconf (applet->gconf_client,
Index: NetworkManager.spec
===================================================================
RCS file: /cvs/extras/rpms/NetworkManager/F-7/NetworkManager.spec,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- NetworkManager.spec 4 Jun 2007 21:01:02 -0000 1.147
+++ NetworkManager.spec 7 Jun 2007 17:04:54 -0000 1.148
@@ -11,7 +11,7 @@
Summary: Network connection manager and user applications
Epoch: 1
Version: 0.6.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: System Environment/Base
License: GPL
URL: http://www.gnome.org/projects/NetworkManager/
@@ -19,6 +19,9 @@
Source1: network-manager-applet-%{version}.tar.bz2
Patch0: NetworkManager-0.6.4-startup-dhcdbd.patch
Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
+Patch2: NetworkManager-0.6.5-fix-ethernet-link-detection.patch
+Patch3: NetworkManager-0.6.5-wait-for-wireless.patch
+Patch4: network-manager-applet-0.6.5-fix-eap-key-request.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: chkconfig
@@ -117,10 +120,13 @@
%prep
%setup -q
%patch0 -p1 -b .startup-dhcdbd
+%patch2 -p0 -b .fix-ethernet-link-detection
+%patch3 -p0 -b .wait-for-wireless
# unpack the applet
tar -xjf %{SOURCE1}
%patch1 -p1 -b .buildfix
+%patch4 -p1 -b .fix-eap-key-request
%build
# Even though we don't require named, we still build with it
@@ -245,6 +251,11 @@
%changelog
+* Thu Jun 7 2007 Dan Williams <dcbw at redhat.com> 1:0.6.5-4
+- Fix ethernet link detection (gnome #354565, rh #194124)
+- Fix perpetual credentials request with private key passwords in the applet
+- Sleep a bit before activating wireless cards to work around driver bugs
+
* Mon Jun 4 2007 Dan Williams <dcbw at redhat.com> 1:0.6.5-3
- Don't spawn wpa_supplicant with -o
- Previous message (by thread): rpms/gtk2-engines/devel gtk-engines-2.10.2-keep-default-tooltip-color.patch, NONE, 1.1 gtk2-engines.spec, 1.67, 1.68
- Next message (by thread): rpms/mkinitrd/devel mkinitrd-6.0.9-lstat.patch, NONE, 1.1 mkinitrd-6.0.9-mdadm.patch, 1.2, 1.3 mkinitrd.spec, 1.203, 1.204
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list