[Pkg-utopia-commits] r622 - in packages/experimental/hal/debian: . patches

Sjoerd Simons sjoerd at costa.debian.org
Mon Feb 20 22:33:08 UTC 2006


Author: sjoerd
Date: 2006-02-20 22:33:03 +0000 (Mon, 20 Feb 2006)
New Revision: 622

Added:
   packages/experimental/hal/debian/patches/01_hal_debian_dbuspolicy.patch
Modified:
   packages/experimental/hal/debian/changelog
Log:
Allow people in the powerdev group call org.freedesktop.Hal.Device.SystemPowerManagement and org.freedesktop.Hal.Device.LaptopPanel

Modified: packages/experimental/hal/debian/changelog
===================================================================
--- packages/experimental/hal/debian/changelog	2006-02-20 22:19:19 UTC (rev 621)
+++ packages/experimental/hal/debian/changelog	2006-02-20 22:33:03 UTC (rev 622)
@@ -22,9 +22,13 @@
     + Added. Give programs run by the runner a save PATH
   * debian/patches/04_hald_scripts.patch
     + Added. Fix various bugs in the hal scripts
-  * Add the powerdev group in postinst 
+  * Add the powerdev group in postinst
+  * debian/patches/01_hal_debian_dbuspolicy.patch 
+    + Added. Change the hal dbus policy to allow user part of the powerdev
+    group to use the org.freedesktop.Hal.Device.SystemPowerManagement and
+    org.freedesktop.Hal.Device.LaptopPanel interfaces.
 
- -- Sjoerd Simons <sjoerd at debian.org>  Mon, 20 Feb 2006 23:18:29 +0100
+ -- Sjoerd Simons <sjoerd at debian.org>  Mon, 20 Feb 2006 23:24:34 +0100
 
 hal (0.5.6-4) unstable; urgency=high
 

Added: packages/experimental/hal/debian/patches/01_hal_debian_dbuspolicy.patch
===================================================================
--- packages/experimental/hal/debian/patches/01_hal_debian_dbuspolicy.patch	2006-02-20 22:19:19 UTC (rev 621)
+++ packages/experimental/hal/debian/patches/01_hal_debian_dbuspolicy.patch	2006-02-20 22:33:03 UTC (rev 622)
@@ -0,0 +1,25 @@
+diff -ruN hal-0.5.6+cvs20060217-old/hal.conf.in hal-0.5.6+cvs20060217/hal.conf.in
+--- hal-0.5.6+cvs20060217-old/hal.conf.in	2006-02-17 21:15:40.000000000 +0100
++++ hal-0.5.6+cvs20060217/hal.conf.in	2006-02-20 23:29:14.000000000 +0100
+@@ -37,16 +37,20 @@
+   <policy at_console="true">
+     <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+     <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
++    <!-- 
+     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+     <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
++    -->
+   </policy>
+ 
+   <!-- You can change this to a more suitable user, or make per-group -->
+-  <policy user="0">
++  <policy group="powerdev">
+     <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+     <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
++    <!-- 
+     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+     <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
++    -->
+   </policy>
+ 
+ </busconfig>




More information about the Pkg-utopia-commits mailing list