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
commit6102a4c334e156a213cd57af29ff23969d22c01d (patch)
tree27219085f88184a4135ec07f28d97062562196b5
parentRemove extra patch. (diff)
downloadgentoo-2-6102a4c334e156a213cd57af29ff23969d22c01d.tar.gz
gentoo-2-6102a4c334e156a213cd57af29ff23969d22c01d.tar.bz2
gentoo-2-6102a4c334e156a213cd57af29ff23969d22c01d.zip
New plugdev_access patch thanks to Lloeki <lloeki@gmail.com> in bug 161904
(Portage version: 2.1.2-r7)
-rw-r--r--sys-power/powersave/ChangeLog5
-rw-r--r--sys-power/powersave/files/plugdev_access.patch23
2 files changed, 22 insertions, 6 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog
index e65667232d09..2d9906156633 100644
--- a/sys-power/powersave/ChangeLog
+++ b/sys-power/powersave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/powersave
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.14 2007/02/11 08:12:45 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.15 2007/02/11 19:42:55 genstef Exp $
+
+ 11 Feb 2007; <genstef@gentoo.org> files/plugdev_access.patch:
+ New plugdev_access patch thanks to Lloeki <lloeki@gmail.com> in bug 161904
11 Feb 2007; <genstef@gentoo.org> files/plugdev_access.patch:
Change group to plugdev thanks to Lloeki <lloeki@gmail.com> in bug 161904
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"/>