rpms/NetworkManager/devel NetworkManager-0.6.5-dbus-connection-close.patch, NONE, 1.1 NetworkManager.spec, 1.141, 1.142

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 29 11:32:46 UTC 2007


Author: mbarnes

Update of /cvs/dist/rpms/NetworkManager/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2595

Modified Files:
	NetworkManager.spec 
Added Files:
	NetworkManager-0.6.5-dbus-connection-close.patch 
Log Message:

* Wed Mar 28 2007 Matthew Barnes  <mbarnes at redhat.com> 1:0.6.5-0.6.svn2474
- Close private D-Bus connections. (#232691)


NetworkManager-0.6.5-dbus-connection-close.patch:
 libnm_glib.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE NetworkManager-0.6.5-dbus-connection-close.patch ---
--- NetworkManager-0.6.5/gnome/libnm_glib/libnm_glib.c.dbus-connection-close	2007-01-26 12:56:48.000000000 -0500
+++ NetworkManager-0.6.5/gnome/libnm_glib/libnm_glib.c	2007-03-28 16:16:02.000000000 -0400
@@ -230,6 +230,7 @@
 	{
 		/* Try to reactivate our connection to dbus on the next pass through the event loop */
 		ctx->nm_state = LIBNM_NO_DBUS;
+		dbus_connection_close (ctx->dbus_con);
 		dbus_connection_unref (ctx->dbus_con);
 		ctx->dbus_con = NULL;
 		libnm_glib_schedule_dbus_watcher (ctx);
@@ -446,6 +447,7 @@
 
 	if (ctx->dbus_con)
 	{
+		dbus_connection_close (ctx->dbus_con);
 		dbus_connection_unref (ctx->dbus_con);
 		ctx->dbus_con = NULL;
 	}


Index: NetworkManager.spec
===================================================================
RCS file: /cvs/dist/rpms/NetworkManager/devel/NetworkManager.spec,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- NetworkManager.spec	25 Mar 2007 04:22:08 -0000	1.141
+++ NetworkManager.spec	29 Mar 2007 11:32:43 -0000	1.142
@@ -10,7 +10,7 @@
 Summary: Network connection manager and user applications
 Epoch: 1
 Version: 0.6.5
-Release: 0.5.svn2474%{?dist}
+Release: 0.6.svn2474%{?dist}
 Group: System Environment/Base
 License: GPL
 URL: http://www.gnome.org/projects/NetworkManager/
@@ -18,6 +18,7 @@
 Source1: nm-applet-0.6.5.svn63.tar.gz
 Patch0: NetworkManager-0.6.4-startup-dhcdbd.patch
 Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
+Patch2: NetworkManager-0.6.5-dbus-connection-close.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 PreReq:   chkconfig
@@ -121,6 +122,8 @@
 tar -xzf %{SOURCE1}
 %patch1 -p1 -b .buildfix
 
+%patch2 -p1 -b .dbus-connection-close
+
 %build
 # Even though we don't require named, we still build with it
 # so that if the user installs it, NM will use it automatically
@@ -244,6 +247,9 @@
 
 
 %changelog
+* Wed Mar 28 2007 Matthew Barnes  <mbarnes at redhat.com> 1:0.6.5-0.6.svn2474
+- Close private D-Bus connections. (#232691)
+
 * Sun Mar 25 2007 Matthias Clasen <mclasen at redhat.com> 1:0.6.5-0.5.svn2474
 - Fix a directory ownership issue.  (#233763)
 




More information about the fedora-cvs-commits mailing list