summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-02-11 19:42:55 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-02-11 19:42:55 +0000
commitff7138f28d11b834365c966d825f46a8d2dc6ba0 (patch)
treeb1a61837201e2504dfe783dbe6053125ab1b0256 /sys-power/powersave/files
parentRemove extra patch. (diff)
downloadhistorical-ff7138f28d11b834365c966d825f46a8d2dc6ba0.tar.gz
historical-ff7138f28d11b834365c966d825f46a8d2dc6ba0.tar.bz2
historical-ff7138f28d11b834365c966d825f46a8d2dc6ba0.zip
New plugdev_access patch thanks to Lloeki <lloeki@gmail.com> in bug 161904
Package-Manager: portage-2.1.2-r7
Diffstat (limited to 'sys-power/powersave/files')
-rw-r--r--sys-power/powersave/files/plugdev_access.patch23
1 files changed, 18 insertions, 5 deletions
diff --git a/sys-power/powersave/files/plugdev_access.patch b/sys-power/powersave/files/plugdev_access.patch
index 23d7437b0b03..9ce7f028c56b 100644
--- a/sys-power/powersave/files/plugdev_access.patch
+++ b/sys-power/powersave/files/plugdev_access.patch
@@ -1,11 +1,24 @@
---- config_files/dbus_powersave.conf.orig 2005-11-28 12:53:23.000000000 +0100
-+++ config_files/dbus_powersave.conf 2005-11-28 12:53:56.000000000 +0100
-@@ -42,7 +42,7 @@
+--- config_files/dbus_powersave.conf.orig 2006-09-04 12:13:55.000000000 +0200
++++ config_files/dbus_powersave.conf 2007-01-13 15:24:00.000000000 +0100
+@@ -54,7 +54,20 @@
</policy>
-
+
<!-- Allow desktop users to connect -->
- <policy at_console="true">
-+ <policy group="plugdev">
++ <policy group="users">
++ <allow send_interface="com.novell.powersave"/>
++ <allow send_interface="com.novell.powersave.manager"/>
++ <allow send_interface="com.novell.powersave.request"/>
++ <allow send_interface="com.novell.powersave.action"/>
++
++ <allow receive_interface="com.novell.powersave"/>
++ <allow receive_interface="com.novell.powersave.manager"/>
++ <allow receive_interface="com.novell.powersave.request"/>
++ <allow receive_interface="com.novell.powersave.action"/>
++ </policy>
++
++ <!-- Allow haldaemon to connect -->
++ <policy user="haldaemon">
<allow send_interface="com.novell.powersave"/>
<allow send_interface="com.novell.powersave.manager"/>
<allow send_interface="com.novell.powersave.request"/>