rev 6048 - in trunk/packages/kdeutils/debian: . patches

Ana Beatriz Guerrero López ana at alioth.debian.org
Thu May 3 14:05:55 UTC 2007


Author: ana
Date: 2007-05-03 14:05:54 +0000 (Thu, 03 May 2007)
New Revision: 6048

Added:
   trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff
Modified:
   trunk/packages/kdeutils/debian/changelog
Log:
  * Add patch 16_klaptopdaemon_lock_and_hibernate to avoid unauthorised access
    when the system is supposed to be locked & hibernated.  (Closes: #416824)
	Many thanks to Ra?\195?\186l S?\195?\161nchez Siles for the patch.



Modified: trunk/packages/kdeutils/debian/changelog
===================================================================
--- trunk/packages/kdeutils/debian/changelog	2007-05-03 12:10:17 UTC (rev 6047)
+++ trunk/packages/kdeutils/debian/changelog	2007-05-03 14:05:54 UTC (rev 6048)
@@ -1,3 +1,11 @@
+kdeutils (4:3.5.6-3) unstable; urgency=low
+
+  * Add patch 16_klaptopdaemon_lock_and_hibernate to avoid unauthorised access
+    when the system is supposed to be locked & hibernated.  (Closes: #416824) 
+    Many thanks to Raúl Sánchez Siles for the patch.
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Wed, 02 May 2007 12:21:05 +0100
+
 kdeutils (4:3.5.6-2) unstable; urgency=low
 
    * Upload to unstable after Etch release.

Added: trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff
===================================================================
--- trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff	2007-05-03 12:10:17 UTC (rev 6047)
+++ trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff	2007-05-03 14:05:54 UTC (rev 6048)
@@ -0,0 +1,19 @@
+--- kdeutils-3.5.6/klaptopdaemon/daemondock.cpp.orig	2007-05-02 14:20:23.000000000 +0200
++++ kdeutils-3.5.6/klaptopdaemon/daemondock.cpp	2007-05-02 14:22:23.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include <klocale.h>
+ #include <kpopupmenu.h>
+ #include <dcopclient.h>
++#include <dcopref.h>
+ #include "kpcmciainfo.h"
+ #include "daemondock.h"
+ #include "portable.h"
+@@ -501,7 +502,7 @@
+ {
+   DCOPClient* client = kapp->dcopClient();
+   if (client)
+-      client->send("kdesktop", "KScreensaverIface", "lock()", "");
++      DCOPRef("kdesktop", "KScreenSaverIface").call("lock"); 
+   laptop_portable::invoke_hibernation();
+ }
+ void laptop_dock::invokeStandby()




More information about the pkg-kde-commits mailing list