Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=bluez.git;a=commitdiff;h=96847c649d1ec8fefc18a2b9f946686abef48578
commit 96847c649d1ec8fefc18a2b9f946686abef48578 Author: bouleetbil <[email protected]> Date: Fri Feb 12 22:29:45 2010 +0100 bluez-4.60-1-x86_64 *new package *should be split after and review diff --git a/source/apps/bluez/FrugalBuild b/source/apps/bluez/FrugalBuild new file mode 100644 index 0000000..66075ed --- /dev/null +++ b/source/apps/bluez/FrugalBuild @@ -0,0 +1,51 @@ +# Compiling Time: 0.42 SBU +# Maintainer: Priyank Gosalia <[email protected]> + +pkgname=bluez +pkgver=4.60 +pkgrel=1 +pkgdesc="Library to use the BlueZ Linux Bluetooth stack" +url="http://bluez.sourceforge.net/" +depends=('dbus-glib>=0.76' 'hal>=0.5.14' 'alsa-lib' 'openobex>=1.3-10') +groups=('apps') +archs=('i686' 'x86_64' 'ppc') +up2date="Flasttar http://www.bluez.org/download/" +source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.gz \ + uart.conf bluetooth-dbus.conf) +sha1sums=('f724d952cc23dd1b32b255b503b2b438f9cd60aa' \ + '706231256b0ef53e20f22b4f163e8008f092d28a' \ + '7b62baa3bdf06b2d54cf9e9bc3358e2f90454311') +conflicts=('bluez-utils' 'bluez-libs') +provides=('bluez-utils' 'bluez-libs') +replaces=('bluez-utils' 'bluez-libs') +backup=(etc/bluetooth/hcid.conf etc/bluetooth/rfcomm.conf etc/bluetooth/uart.conf) + +#--enable-gstreamer disable for now + +build() { + Ffile uart.conf /etc/bluetooth/uart.conf + Fbuild --enable-serial \ + --enable-input \ + --enable-audio \ + --enable-alsa \ + --enable-usb \ + --enable-netlink \ + --enable-tools \ + --enable-bccmd \ + --enable-hid2hci \ + --enable-dfutool \ + --enable-hidd \ + --enable-pand \ + --enable-dund \ + --enable-cups \ + --enable-configfiles \ + --localstatedir=/var \ + --enable-udevrules + Fmkdir /etc/udev/rules.d + cd scripts + Fcprel bluetooth.rules /etc/udev/rules.d/bluetooth.rules + Frm /etc/dbus-1/system.d/bluetooth.conf + Fcp bluetooth-dbus.conf /etc/dbus-1/system.d/bluetooth.conf +} + +# optimization OK diff --git a/source/apps/bluez/bluetooth-dbus.conf b/source/apps/bluez/bluetooth-dbus.conf new file mode 100644 index 0000000..39b46f9 --- /dev/null +++ b/source/apps/bluez/bluetooth-dbus.conf @@ -0,0 +1,34 @@ +<!-- 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"/> + </policy> + + <policy context="default"> + <allow send_destination="org.bluez.Manager"/> + <allow send_interface="org.bluez.Manager"/> + + <allow send_destination="org.bluez.Adapter"/> + <allow send_interface="org.bluez.Adapter"/> + + <allow send_destination="org.bluez.Device"/> + <allow send_interface="org.bluez.Device"/> + + <allow send_destination="org.bluez.Service"/> + <allow send_interface="org.bluez.Service"/> + + <allow send_destination="org.bluez.Database"/> + <allow send_interface="org.bluez.Database"/> + + <allow send_destination="org.bluez.Security"/> + <allow send_interface="org.bluez.Security"/> + </policy> + +</busconfig> diff --git a/source/apps/bluez/uart.conf b/source/apps/bluez/uart.conf new file mode 100644 index 0000000..1fc43e7 --- /dev/null +++ b/source/apps/bluez/uart.conf @@ -0,0 +1 @@ +/dev/ttyS2 csr 460800
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
