[Pkg-bluetooth-commits] r845 - in /packages/bluez/trunk/debian: NEWS bluetooth-dbus.conf bluez.postinst changelog

filippo at users.alioth.debian.org filippo at users.alioth.debian.org
Fri Jun 19 16:16:09 UTC 2009


Author: filippo
Date: Fri Jun 19 16:16:08 2009
New Revision: 845

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=845
Log:
Switch to group bluetooth from netdev for authorized users

Modified:
    packages/bluez/trunk/debian/NEWS
    packages/bluez/trunk/debian/bluetooth-dbus.conf
    packages/bluez/trunk/debian/bluez.postinst
    packages/bluez/trunk/debian/changelog

Modified: packages/bluez/trunk/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/NEWS?rev=845&op=diff
==============================================================================
--- packages/bluez/trunk/debian/NEWS (original)
+++ packages/bluez/trunk/debian/NEWS Fri Jun 19 16:16:08 2009
@@ -1,3 +1,12 @@
+bluez-utils (4.40-3) unstable; urgency=low
+
+  This version requires users to be in bluetooth group to be allowed to send
+  messages via dbus or be users in front of the computer (see consolekit for
+  example). The group was previously netdev and has been changed to allow for
+  more granularity.
+
+ -- Filippo Giunchedi <filippo at debian.org>  Fri, 19 Jun 2009 12:49:33 +0200
+
 bluez-utils (4.40-1) unstable; urgency=low
 
   This version includes a new hid2hci program which expects the vendor ID and

Modified: packages/bluez/trunk/debian/bluetooth-dbus.conf
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluetooth-dbus.conf?rev=845&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluetooth-dbus.conf (original)
+++ packages/bluez/trunk/debian/bluetooth-dbus.conf Fri Jun 19 16:16:08 2009
@@ -20,8 +20,8 @@
     <allow send_destination="org.bluez"/>
   </policy>
 
-  <!-- allow users of netdev group to communicate with hcid -->
-  <policy group="netdev">
+  <!-- allow users of bluetooth group to communicate with hcid -->
+  <policy group="bluetooth">
     <allow send_destination="org.bluez"/>
   </policy>
 

Modified: packages/bluez/trunk/debian/bluez.postinst
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.postinst?rev=845&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.postinst (original)
+++ packages/bluez/trunk/debian/bluez.postinst Fri Jun 19 16:16:08 2009
@@ -27,6 +27,11 @@
             cd /dev && ./MAKEDEV bluetooth 1>/dev/null 2>/dev/null
         fi
 
+        # create bluetooth group if not already present
+        if ! getent group bluetooth > /dev/null; then
+            addgroup --quiet --system bluetooth
+        fi
+
         # reload dbus config file
         if [ -x /etc/init.d/dbus ]; then
             invoke-rc.d dbus force-reload || true

Modified: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=845&op=diff
==============================================================================
--- packages/bluez/trunk/debian/changelog (original)
+++ packages/bluez/trunk/debian/changelog Fri Jun 19 16:16:08 2009
@@ -4,8 +4,9 @@
     bluez-gstreamer (Closes: #531449)
   * Install README.Debian in binary bluez (Closes: #532018)
   * Make bluez-{alsa,gstreamer} depend on bluez
-
- -- Filippo Giunchedi <filippo at debian.org>  Sun, 07 Jun 2009 14:31:36 +0200
+  * Switch to group bluetooth from netdev for authorized users
+
+ -- Filippo Giunchedi <filippo at debian.org>  Fri, 19 Jun 2009 12:52:26 +0200
 
 bluez (4.40-2) unstable; urgency=low
 




More information about the Pkg-bluetooth-commits mailing list