aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/hal
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-02-01 05:49:13 +0800
committermarcus <marcus@FreeBSD.org>2009-02-01 05:49:13 +0800
commit189e38a0ddf66922b30e09473680e2efa5bc2ae8 (patch)
treee2a8094272697826fe477d9126c7a2ebc52fefc9 /sysutils/hal
parent7f8d7613115bffbf08dceae74b674c01b6d2efd3 (diff)
downloadfreebsd-ports-gnome-189e38a0ddf66922b30e09473680e2efa5bc2ae8.tar.gz
freebsd-ports-gnome-189e38a0ddf66922b30e09473680e2efa5bc2ae8.tar.zst
freebsd-ports-gnome-189e38a0ddf66922b30e09473680e2efa5bc2ae8.zip
Quiet the syslog messages from hal.
Submitted by: miwi Obtained from: https://bugs.freedesktop.org/show_bug.cgi?id=18985
Diffstat (limited to 'sysutils/hal')
-rw-r--r--sysutils/hal/Makefile2
-rw-r--r--sysutils/hal/files/patch-hal.conf.in25
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index e6f240d29b0d..875f439bfef4 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -8,7 +8,7 @@
PORTNAME= hal
DISTVERSION= 0.5.11
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
diff --git a/sysutils/hal/files/patch-hal.conf.in b/sysutils/hal/files/patch-hal.conf.in
new file mode 100644
index 000000000000..2d11e7133b18
--- /dev/null
+++ b/sysutils/hal/files/patch-hal.conf.in
@@ -0,0 +1,25 @@
+fix for 'stderr' error
+
+dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.33" (uid=1002 pid=23124 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=25899 comm="))
+
+here is a patch for hal.conf. Fixed in upstream, obrient from https://bugs.freedesktop.org/show_bug.cgi?id=18985
+
+--- hal.conf.in.orig 2008-08-14 04:32:12.000000000 -0400
++++ hal.conf.in 2008-12-19 12:11:02.000000000 -0500
+@@ -16,6 +16,8 @@
+
+ <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
+ <policy context="default">
++ <allow send_destination="org.freedesktop.Hal"
++ send_interface="org.freedesktop.DBus.Introspectable"/>
+ <allow send_interface="org.freedesktop.Hal.Manager"/>
+ <allow send_interface="org.freedesktop.Hal.Device"/>
+ <allow receive_interface="org.freedesktop.Hal.Manager"
+@@ -26,6 +28,7 @@
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
++ <allow send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
+ receive_sender="org.freedesktop.Hal"/>