[oe-commits] Angus Ainslie : bluez4 : add permisive dbug bluetooth.conf and bump PR

git version control git at git.openembedded.org
Wed Jun 3 18:21:07 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: b73fec4991f150446572874c335fc11a7706b8ba
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b73fec4991f150446572874c335fc11a7706b8ba

Author: Angus Ainslie <nytowl at openmoko.org>
Date:   Wed Jun  3 12:17:20 2009 -0600

bluez4 : add permisive dbug bluetooth.conf and bump PR

---

 recipes/bluez/bluez4/bluetooth.conf |   30 ++++++++++++++++++++++++++++++
 recipes/bluez/bluez4_4.39.bb        |    2 +-
 2 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/recipes/bluez/bluez4/bluetooth.conf b/recipes/bluez/bluez4/bluetooth.conf
new file mode 100644
index 0000000..8f9cb66
--- /dev/null
+++ b/recipes/bluez/bluez4/bluetooth.conf
@@ -0,0 +1,30 @@
+<!-- This configuration file specifies the required security policies
+     for Bluetooth core daemon to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+  <policy user="root">
+    <allow own="org.bluez"/>
+    <allow send_destination="org.bluez"/>
+    <allow send_interface="org.bluez.Agent"/>
+  </policy>
+
+  <policy group="users">
+    <allow own="org.bluez"/>
+    <allow send_destination="org.bluez"/>
+    <allow send_interface="org.bluez.Agent"/>
+  </policy>
+
+  <policy at_console="true">
+    <allow send_destination="org.bluez"/>
+  </policy>
+
+  <policy context="default">
+    <deny send_destination="org.bluez"/>
+  </policy>
+
+</busconfig>
diff --git a/recipes/bluez/bluez4_4.39.bb b/recipes/bluez/bluez4_4.39.bb
index 531eedf..b177e0b 100644
--- a/recipes/bluez/bluez4_4.39.bb
+++ b/recipes/bluez/bluez4_4.39.bb
@@ -5,7 +5,7 @@ DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 # For angstrom we want this to replace at least bluez-libs
 PROVIDES_append_angstrom = " bluez-utils bluez-libs"





More information about the Openembedded-commits mailing list