openbsd-ports/print/system-config-printer/patches/patch-newprinternotification_conf

28 lines
972 B
Plaintext

$OpenBSD: patch-newprinternotification_conf,v 1.2 2009/06/08 19:24:43 ajacoutot Exp $
Allow anyone to listen to the new printer notification dbus signal.
cf. Debian bug #486613.
--- newprinternotification.conf.orig Wed Feb 4 17:14:05 2009
+++ newprinternotification.conf Thu Jun 4 03:19:02 2009
@@ -2,10 +2,6 @@
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <policy at_console="true">
- <allow own="com.redhat.NewPrinterNotification"/>
- </policy>
-
<policy user="root">
<allow own="com.redhat.NewPrinterNotification"/>
</policy>
@@ -16,7 +12,7 @@
</policy>
<policy context="default">
- <deny own="com.redhat.NewPrinterNotification"/>
+ <allow own="com.redhat.NewPrinterNotification"/>
<deny send_destination="com.redhat.NewPrinterNotification"
send_interface="com.redhat.NewPrinterNotification"/>