![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit b9cab49a58db8f76e7267c08bca650c5c4cacb22 Author: Alan Mizrahi <lameventanas@gmail.com> Date: Sat Aug 24 02:17:51 2019 +0900 bluez: removed diff --git a/bluez/.footprint b/bluez/.footprint deleted file mode 100644 index d0dd7496e..000000000 --- a/bluez/.footprint +++ /dev/null @@ -1,137 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/bluetooth/ --rw-r--r-- root/root etc/bluetooth/audio.conf --rw-r--r-- root/root etc/bluetooth/input.conf --rw-r--r-- root/root etc/bluetooth/main.conf --rw-r--r-- root/root etc/bluetooth/network.conf --rw-r--r-- root/root etc/bluetooth/rfcomm.conf --rw-r--r-- root/root etc/bluetooth/serial.conf -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/bluetoothd -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/udev/ --rwxr-xr-x root/root lib/udev/hid2hci -drwxr-xr-x root/root lib/udev/rules.d/ --rw-r--r-- root/root lib/udev/rules.d/97-bluetooth-hid2hci.rules -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/bluez-avinfo --rwxr-xr-x root/root usr/bin/bluez-dfubabel --rwxr-xr-x root/root usr/bin/bluez-hcieventmask --rwxr-xr-x root/root usr/bin/bluez-hcisecfilter --rwxr-xr-x root/root usr/bin/bluez-hsmicro --rwxr-xr-x root/root usr/bin/bluez-hsplay --rwxr-xr-x root/root usr/bin/bluez-hsplaye --rwxr-xr-x root/root usr/bin/bluez-list-devices --rwxr-xr-x root/root usr/bin/bluez-monitor-bluetooth --rwxr-xr-x root/root usr/bin/bluez-ppporc --rwxr-xr-x root/root usr/bin/bluez-simple-agent --rwxr-xr-x root/root usr/bin/bluez-simple-agente --rwxr-xr-x root/root usr/bin/bluez-simple-endpoint --rwxr-xr-x root/root usr/bin/bluez-simple-player --rwxr-xr-x root/root usr/bin/bluez-simple-service --rwxr-xr-x root/root usr/bin/bluez-test-adapter --rwxr-xr-x root/root usr/bin/bluez-test-attrib --rwxr-xr-x root/root usr/bin/bluez-test-audio --rwxr-xr-x root/root usr/bin/bluez-test-device --rwxr-xr-x root/root usr/bin/bluez-test-devicee --rwxr-xr-x root/root usr/bin/bluez-test-discovery --rwxr-xr-x root/root usr/bin/bluez-test-discoverye --rwxr-xr-x root/root usr/bin/bluez-test-health --rwxr-xr-x root/root usr/bin/bluez-test-health-sink --rwxr-xr-x root/root usr/bin/bluez-test-input --rwxr-xr-x root/root usr/bin/bluez-test-manager --rwxr-xr-x root/root usr/bin/bluez-test-managere --rwxr-xr-x root/root usr/bin/bluez-test-nap --rwxr-xr-x root/root usr/bin/bluez-test-network --rwxr-xr-x root/root usr/bin/bluez-test-oob --rwxr-xr-x root/root usr/bin/bluez-test-proximity --rwxr-xr-x root/root usr/bin/bluez-test-sap-server --rwxr-xr-x root/root usr/bin/bluez-test-serial --rwxr-xr-x root/root usr/bin/bluez-test-serial-proxy --rwxr-xr-x root/root usr/bin/bluez-test-service --rwxr-xr-x root/root usr/bin/bluez-test-telephony --rwxr-xr-x root/root usr/bin/bluez-test-thermometer --rwxr-xr-x root/root usr/bin/ciptool --rwxr-xr-x root/root usr/bin/dfutool --rwxr-xr-x root/root usr/bin/dund --rwxr-xr-x root/root usr/bin/gatttool --rwxr-xr-x root/root usr/bin/hcitool --rwxr-xr-x root/root usr/bin/hidd --rwxr-xr-x root/root usr/bin/l2ping --rwxr-xr-x root/root usr/bin/pand --rwxr-xr-x root/root usr/bin/rfcomm --rwxr-xr-x root/root usr/bin/sdptool -drwxr-xr-x root/root usr/etc/ -drwxr-xr-x root/root usr/etc/dbus-1/ -drwxr-xr-x root/root usr/etc/dbus-1/system.d/ --rw-r--r-- root/root usr/etc/dbus-1/system.d/bluetooth.conf -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/bluetooth/ --rw-r--r-- root/root usr/include/bluetooth/a2mp.h --rw-r--r-- root/root usr/include/bluetooth/bluetooth.h --rw-r--r-- root/root usr/include/bluetooth/bnep.h --rw-r--r-- root/root usr/include/bluetooth/cmtp.h --rw-r--r-- root/root usr/include/bluetooth/hci.h --rw-r--r-- root/root usr/include/bluetooth/hci_lib.h --rw-r--r-- root/root usr/include/bluetooth/hidp.h --rw-r--r-- root/root usr/include/bluetooth/l2cap.h --rw-r--r-- root/root usr/include/bluetooth/mgmt.h --rw-r--r-- root/root usr/include/bluetooth/rfcomm.h --rw-r--r-- root/root usr/include/bluetooth/sco.h --rw-r--r-- root/root usr/include/bluetooth/sdp.h --rw-r--r-- root/root usr/include/bluetooth/sdp_lib.h --rw-r--r-- root/root usr/include/bluetooth/uuid.h -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/alsa-lib/ --rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_bluetooth.la --rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_bluetooth.so --rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_bluetooth.la --rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so -drwxr-xr-x root/root usr/lib/bluetooth/ -drwxr-xr-x root/root usr/lib/bluetooth/plugins/ -drwxr-xr-x root/root usr/lib/cups/ -drwxr-xr-x root/root usr/lib/cups/backend/ --rwxr-xr-x root/root usr/lib/cups/backend/bluetooth --rwxr-xr-x root/root usr/lib/libbluetooth.la -lrwxrwxrwx root/root usr/lib/libbluetooth.so -> libbluetooth.so.3.13.0 -lrwxrwxrwx root/root usr/lib/libbluetooth.so.3 -> libbluetooth.so.3.13.0 --rwxr-xr-x root/root usr/lib/libbluetooth.so.3.13.0 -drwxr-xr-x root/root usr/lib/pkgconfig/ --rw-r--r-- root/root usr/lib/pkgconfig/bluez.pc -drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/bccmd --rwxr-xr-x root/root usr/sbin/bluetoothd --rwxr-xr-x root/root usr/sbin/bluez-avctrl --rwxr-xr-x root/root usr/sbin/bluez-hid2hci --rwxr-xr-x root/root usr/sbin/hciattach --rwxr-xr-x root/root usr/sbin/hciconfig -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/alsa/ --rw-r--r-- root/root usr/share/alsa/bluetooth.conf -drwxr-xr-x root/root usr/share/dbus-1/ -drwxr-xr-x root/root usr/share/dbus-1/system-services/ --rw-r--r-- root/root usr/share/dbus-1/system-services/org.bluez.service -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man1/ --rw-r--r-- root/root usr/share/man/man1/bluez-dfubabel.1.gz --rw-r--r-- root/root usr/share/man/man1/ciptool.1.gz --rw-r--r-- root/root usr/share/man/man1/dfutool.1.gz --rw-r--r-- root/root usr/share/man/man1/dund.1.gz --rw-r--r-- root/root usr/share/man/man1/hcitool.1.gz --rw-r--r-- root/root usr/share/man/man1/hidd.1.gz --rw-r--r-- root/root usr/share/man/man1/pand.1.gz --rw-r--r-- root/root usr/share/man/man1/rfcomm.1.gz --rw-r--r-- root/root usr/share/man/man1/sdptool.1.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/bccmd.8.gz --rw-r--r-- root/root usr/share/man/man8/bluetoothd.8.gz --rw-r--r-- root/root usr/share/man/man8/bluez-avctrl.8.gz --rw-r--r-- root/root usr/share/man/man8/bluez-hid2hci.8.gz --rw-r--r-- root/root usr/share/man/man8/hciattach.8.gz --rw-r--r-- root/root usr/share/man/man8/hciconfig.8.gz --rw-r--r-- root/root usr/share/man/man8/hid2hci.8.gz --rw-r--r-- root/root usr/share/man/man8/l2ping.8.gz -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/lib/ -drwxr-xr-x root/root var/lib/bluetooth/ diff --git a/bluez/.signature b/bluez/.signature deleted file mode 100644 index 60d50a6d0..000000000 --- a/bluez/.signature +++ /dev/null @@ -1,7 +0,0 @@ -untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Vn5VwpHcYB3zdHJQFefPBfyEVR6t9vmC6wsZzWOHFLu53aolqY+APUx68IuxGB7yY2vdU03ewtbNRk6FbSdsAw= -SHA256 (Pkgfile) = d507dd5b984a2318f1f7396833f963320f7979a26fe8f143d1116928bb36c0a9 -SHA256 (.footprint) = 2d6aa1ed3254ec65ed77e30f5e3c6bc2aa4bfeb0df1e15745d89129529f48db2 -SHA256 (bluez-4.101.tar.xz) = 41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d -SHA256 (bluetoothd) = 3cd23999762c0ca3e0559af307a8dbd4b7f8a58fc4bb2701d278dc49ec14a0b9 -SHA256 (bluetooth.h) = 83fcd8435ef1010170b9c67cb7adb936e340f88e5eb84f5033d07278aa79071a diff --git a/bluez/Pkgfile b/bluez/Pkgfile deleted file mode 100644 index 92b2d622c..000000000 --- a/bluez/Pkgfile +++ /dev/null @@ -1,74 +0,0 @@ -# Description: Bluetooth libraries and utilities -# URL: http://www.bluez.org/ -# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve -# Depends on: dbus alsa-lib libusb-compat glib -# Optional: pygobject dbus-python sox gst-plugins-base-compat - -name=bluez -version=4.101 -release=5 -source=(http://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz - bluetoothd bluetooth.h) - -build() { - cd $name-$version - - # Fix bluetooth.h to compile in strict C - # http://git.kernel.org/cgit/bluetooth/bluez.git/patch/lib/bluetooth.h?id=cf52... - patch -p1 -i $SRC/bluetooth.h - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/lib \ - --mandir=/usr/share/man \ - --enable-audio \ - --enable-usb \ - --enable-tools \ - --enable-test \ - --enable-hidd \ - --enable-hid2hci \ - --enable-pand \ - --enable-cups \ - --enable-alsa \ - --enable-bccmd \ - --enable-dfutool \ - --enable-dund - - make - make DESTDIR=$PKG install - - # install all available tools and test programs with man pages - shopt -s nullglob - for i in test/* tools/*; do - if [ -x $i -a ! -d $i -a ! -x $PKG/usr/bin/${i##*/} -a ! -x $PKG/usr/sbin/${i##*/} ]; then - if [ -f $i.8 ]; then - install -D -m 755 $i $PKG/usr/sbin/bluez-${i#*/} - else - install -D -m 755 $i $PKG/usr/bin/bluez-${i#*/} - fi - - for j in $i.[1-8]; do - install -D -m 644 $j $PKG/usr/share/man/man${j##*.}/bluez-${j##*/} - done - fi - done - - # install init script - install -D -m 755 $SRC/bluetoothd $PKG/etc/rc.d/bluetoothd - - # install config files - for i in audio input network serial; do - install -D -m 644 $i/$i.conf $PKG/etc/bluetooth/$i.conf - done - - # this is because of the /usr/etc CRUX oddity - mkdir $PKG/usr/etc - mv $PKG/etc/dbus-1 $PKG/usr/etc - - # fix some python scripts - sed -ie 's|from gi.repository import GObject|import gobject as GObject|g' \ - $PKG/usr/bin/bluez-{simple-agent,test-device,test-discovery,test-manager} - sed -ie 's|hstest|bluez-hstest|g' $PKG/usr/bin/bluez-hsplay -} diff --git a/bluez/README b/bluez/README deleted file mode 100644 index b6cef2f2d..000000000 --- a/bluez/README +++ /dev/null @@ -1,8 +0,0 @@ -Bluez uses dbus for inter-process communication. - -If your bluetooth applications are unable to communicate with the bluetooth daemon -please check the dbus security policies in: -/usr/etc/dbus-1/system.d/bluetooth.conf - -The python scripts were last tested with python-2.7.8 and pygobject-2.28.6. - diff --git a/bluez/bluetooth.h b/bluez/bluetooth.h deleted file mode 100644 index b5e64824f..000000000 --- a/bluez/bluetooth.h +++ /dev/null @@ -1,42 +0,0 @@ -From cf52a40302d0d20ccca22a7a1f53e46ef8abfca8 Mon Sep 17 00:00:00 2001 -From: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> -Date: Tue, 28 Oct 2014 15:03:07 -0200 -Subject: lib: Change bluetooth.h to compile in strict C - ---- - lib/bluetooth.h | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -(limited to 'lib/bluetooth.h') - -diff --git a/lib/bluetooth.h b/lib/bluetooth.h -index 61c1f9a..f214d81 100644 ---- a/lib/bluetooth.h -+++ b/lib/bluetooth.h -@@ -156,18 +156,18 @@ enum { - - /* Bluetooth unaligned access */ - #define bt_get_unaligned(ptr) \ --({ \ -+__extension__ ({ \ - struct __attribute__((packed)) { \ -- typeof(*(ptr)) __v; \ -- } *__p = (typeof(__p)) (ptr); \ -+ __typeof__(*(ptr)) __v; \ -+ } *__p = (__typeof__(__p)) (ptr); \ - __p->__v; \ - }) - - #define bt_put_unaligned(val, ptr) \ - do { \ - struct __attribute__((packed)) { \ -- typeof(*(ptr)) __v; \ -- } *__p = (typeof(__p)) (ptr); \ -+ __typeof__(*(ptr)) __v; \ -+ } *__p = (__typeof__(__p)) (ptr); \ - __p->__v = (val); \ - } while(0) - --- -cgit v1.1 - diff --git a/bluez/bluetoothd b/bluez/bluetoothd deleted file mode 100755 index 59bb89af5..000000000 --- a/bluez/bluetoothd +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# bluetooth startup script -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/sbin/bluetoothd -# OPTS="-d" - -case $1 in -start) - $SSD --start --exec $PROG -- $OPTS - ;; -stop) - $SSD --stop --retry 10 --exec $PROG - ;; -restart) - $0 stop - $0 start - ;; -status) - $SSD --status --exec $PROG - case $? in - 0) echo "$PROG is running with pid $(pidof $PROG)" ;; - 1|3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|status]" - ;; -esac