- add a patch to allow anyone to listen to the new printer notification

dbus signal
from Debian
This commit is contained in:
ajacoutot 2009-02-02 23:10:05 +00:00
parent 805af63d21
commit 5b8ea0a3f5
2 changed files with 29 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2009/01/31 12:37:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.10 2009/02/02 23:10:05 ajacoutot Exp $
COMMENT= printer (CUPS) administration tool
DISTNAME= system-config-printer-1.0.13
PKGNAME= ${DISTNAME}p0
CATEGORIES= print sysutils
HOMEPAGE= http://cyberelk.net/tim/software/system-config-printer/

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-newprinternotification_conf,v 1.1 2009/02/02 23:10:05 ajacoutot Exp $
Allow anyone to listen to the new printer notification dbus signal.
cf. Debian bug #486613.
--- newprinternotification.conf.orig Tue Feb 3 00:00:38 2009
+++ newprinternotification.conf Tue Feb 3 00:01:27 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"/>
<deny send_interface="com.redhat.NewPrinterNotification"/>