[Pkg-utopia-commits] r2361 - in /packages/unstable/hal/debian: changelog patches/01_hal_debian_dbuspolicy.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Fri Jul 18 15:41:27 UTC 2008


Author: biebl
Date: Fri Jul 18 15:41:27 2008
New Revision: 2361

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2361
Log:
* debian/patches/01_hal_debian_dbuspolicy.patch
  - Add a "at_console" context in addition to the group based policies.

Modified:
    packages/unstable/hal/debian/changelog
    packages/unstable/hal/debian/patches/01_hal_debian_dbuspolicy.patch

Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=2361&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Fri Jul 18 15:41:27 2008
@@ -10,8 +10,10 @@
       z99_hal.rules symlink on upgrades.
   * debian/control
     - Bump Standards-Version to 3.8.0. No further changes.
-
- -- Michael Biebl <biebl at debian.org>  Wed, 09 Jul 2008 04:18:58 +0200
+  * debian/patches/01_hal_debian_dbuspolicy.patch
+    - Add a "at_console" context in addition to the group based policies.
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 18 Jul 2008 17:40:13 +0200
 
 hal (0.5.11-2) unstable; urgency=low
 

Modified: packages/unstable/hal/debian/patches/01_hal_debian_dbuspolicy.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/patches/01_hal_debian_dbuspolicy.patch?rev=2361&op=diff
==============================================================================
--- packages/unstable/hal/debian/patches/01_hal_debian_dbuspolicy.patch (original)
+++ packages/unstable/hal/debian/patches/01_hal_debian_dbuspolicy.patch Fri Jul 18 15:41:27 2008
@@ -1,8 +1,8 @@
 diff --git a/hal.conf.in b/hal.conf.in
-index ef97b8f..3646deb 100644
+index ef97b8f..7ed6cf7 100644
 --- a/hal.conf.in
 +++ b/hal.conf.in
-@@ -40,6 +40,26 @@
+@@ -40,6 +40,35 @@
    <!-- Default policy for the exported interfaces; if PolicyKit is not used
         for access control you will need to modify this -->
    <policy context="default">
@@ -11,6 +11,15 @@
 +    <deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
 +    <deny send_interface="org.freedesktop.Hal.Device.Volume"/>
 +    <deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
++  </policy>
++
++  <!- This will not work if consolekit is not enabled -->
++  <policy group="at_console">
++    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
++    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
++    <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>
 +
 +  <!-- Debian groups policies -->




More information about the Pkg-utopia-commits mailing list