fix up dbus support; add dbus to DEPENDS
authorPhil Blundell <philb@gnu.org>
Tue, 19 Oct 2004 21:57:44 +0000 (21:57 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 19 Oct 2004 21:57:44 +0000 (21:57 +0000)
add local hcid.conf with suitable policy bits

BKrev: 41758dd8WaZCRITwbC96ex8jX4uL2Q

bluez-utils/bluez-utils-2.10/dbus.patch [new file with mode: 0644]
bluez-utils/bluez-utils_2.10.oe
bluez-utils/files/hcid.conf [new file with mode: 0644]

diff --git a/bluez-utils/bluez-utils-2.10/dbus.patch b/bluez-utils/bluez-utils-2.10/dbus.patch
new file mode 100644 (file)
index 0000000..e69de29
index ef6bf41..d8da933 100644 (file)
@@ -1,11 +1,13 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "bluez-libs pcmcia-cs"
+DEPENDS = "bluez-libs pcmcia-cs dbus"
 RPROVIDES = "bluez-pan bluez-sdp"
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz"
+SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
+       file://dbus.patch;patch=1 \
+       file://hcid.conf"
 
 EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --enable-pcmcia --enable-initscripts"
 
@@ -15,7 +17,8 @@ do_install_append() {
        mv ${D}${bindir}/* ${D}/bin/
        rmdir ${D}${bindir} ${D}${sbindir}
        chmod u+s ${D}/sbin/hciattach ${D}/sbin/hciconfig
-    chmod 755 ${D}/etc/pcmcia/bluetooth
+       chmod 755 ${D}/etc/pcmcia/bluetooth
+       install -m 0644 ${WORKDIR}/hcid.conf ${D}/etc/bluetooth/
 }
 
 inherit autotools update-rc.d
diff --git a/bluez-utils/files/hcid.conf b/bluez-utils/files/hcid.conf
new file mode 100644 (file)
index 0000000..e69de29