bluez: updated mandir, dependencies, init script and footprint

This commit is contained in:
Alan Mizrahi 2016-06-09 16:42:53 +09:00
parent 04a451ed8e
commit 65d617f01b
4 changed files with 40 additions and 75 deletions

View File

@ -15,27 +15,16 @@ 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-agent
-rwxr-xr-x root/root usr/bin/bluez-attest
-rwxr-xr-x root/root usr/bin/bluez-avinfo
-rwxr-xr-x root/root usr/bin/bluez-avtest
-rwxr-xr-x root/root usr/bin/bluez-btiotest
-rwxr-xr-x root/root usr/bin/bluez-dfubabel
-rwxr-xr-x root/root usr/bin/bluez-gaptest
-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-hstest
-rwxr-xr-x root/root usr/bin/bluez-ipctest
-rwxr-xr-x root/root usr/bin/bluez-list-devices
-rwxr-xr-x root/root usr/bin/bluez-lmptest
-rwxr-xr-x root/root usr/bin/bluez-monitor-bluetooth
-rwxr-xr-x root/root usr/bin/bluez-mpris-player
-rwxr-xr-x root/root usr/bin/bluez-ppporc
-rwxr-xr-x root/root usr/bin/bluez-scotest
-rwxr-xr-x root/root usr/bin/bluez-sdptest
-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
@ -62,9 +51,7 @@ drwxr-xr-x root/root usr/bin/
-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-textfile
-rwxr-xr-x root/root usr/bin/bluez-test-thermometer
-rwxr-xr-x root/root usr/bin/bluez-uuidtest
-rwxr-xr-x root/root usr/bin/ciptool
-rwxr-xr-x root/root usr/bin/dfutool
-rwxr-xr-x root/root usr/bin/dund
@ -72,9 +59,7 @@ drwxr-xr-x root/root usr/bin/
-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/l2test
-rwxr-xr-x root/root usr/bin/pand
-rwxr-xr-x root/root usr/bin/rctest
-rwxr-xr-x root/root usr/bin/rfcomm
-rwxr-xr-x root/root usr/bin/sdptool
drwxr-xr-x root/root usr/etc/
@ -108,53 +93,45 @@ 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
drwxr-xr-x root/root usr/lib/gstreamer-0.10/
-rwxr-xr-x root/root usr/lib/gstreamer-0.10/libgstbluetooth.la
-rwxr-xr-x root/root usr/lib/gstreamer-0.10/libgstbluetooth.so
-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/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/bluez-dfubabel.1.gz
-rw-r--r-- root/root usr/man/man1/ciptool.1.gz
-rw-r--r-- root/root usr/man/man1/dfutool.1.gz
-rw-r--r-- root/root usr/man/man1/dund.1.gz
-rw-r--r-- root/root usr/man/man1/hciemu.1.gz
-rw-r--r-- root/root usr/man/man1/hcitool.1.gz
-rw-r--r-- root/root usr/man/man1/hidd.1.gz
-rw-r--r-- root/root usr/man/man1/pand.1.gz
-rw-r--r-- root/root usr/man/man1/rctest.1.gz
-rw-r--r-- root/root usr/man/man1/rfcomm.1.gz
-rw-r--r-- root/root usr/man/man1/sdptool.1.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/bccmd.8.gz
-rw-r--r-- root/root usr/man/man8/bluetoothd.8.gz
-rw-r--r-- root/root usr/man/man8/bluez-avctrl.8.gz
-rw-r--r-- root/root usr/man/man8/bluez-bdaddr.8.gz
-rw-r--r-- root/root usr/man/man8/bluez-hid2hci.8.gz
-rw-r--r-- root/root usr/man/man8/hciattach.8.gz
-rw-r--r-- root/root usr/man/man8/hciconfig.8.gz
-rw-r--r-- root/root usr/man/man8/hid2hci.8.gz
-rw-r--r-- root/root usr/man/man8/l2ping.8.gz
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-bdaddr
-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
-rwxr-xr-x root/root usr/sbin/hciemu
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/

View File

@ -1,2 +1,2 @@
cc63789c7582ba76353e75e28087390d bluetoothd
331bcd18062658772cbc26e5fbc80e31 bluetoothd
c828c172f01f20c6ecd7f407894956a2 bluez-4.101.tar.xz

View File

@ -1,12 +1,12 @@
# 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 gstreamer libusb-compat
# Optional: pygobject dbus-python sox
# Depends on: dbus alsa-lib libusb-compat
# Optional: pygobject dbus-python sox gst-plugins-base-compat
name=bluez
version=4.101
release=3
release=4
source=(http://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz bluetoothd)
build() {
@ -17,9 +17,8 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/lib \
--mandir=/usr/man \
--mandir=/usr/share/man \
--enable-audio \
--enable-gstreamer \
--enable-usb \
--enable-tools \
--enable-test \
@ -46,7 +45,7 @@ build() {
fi
for j in $i.[1-8]; do
install -D -m 644 $j $PKG/usr/man/man${j##*.}/bluez-${j##*/}
install -D -m 644 $j $PKG/usr/share/man/man${j##*.}/bluez-${j##*/}
done
fi
done

View File

@ -3,41 +3,30 @@
# bluetooth startup script
#
NAME=bluetoothd
DAEMON=/usr/sbin/bluetoothd
SSD=/sbin/start-stop-daemon
PROG=/usr/sbin/bluetoothd
# OPTS="-d"
case $1 in
start)
pid=$(pgrep -f -x $DAEMON)
if [ -n "$pid" ]; then
echo "$NAME is already running with pid $pid" >&2
exit 1
fi
$DAEMON
$SSD --start --exec $PROG -- $OPTS
;;
stop)
pid=$(pgrep -f -x $DAEMON)
if [ -z "$pid" ]; then
echo "$NAME is not running" >&2
exit 1
fi
kill $pid
t=0
while [ -d /proc/$pid -a $t -lt 10 ]; do
sleep 0.5
let t++
done
if [ -d /proc/$pid ]; then
echo "$NAME still running with pid $pid" >&2
exit 1
fi
$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]" >&2
exit 1
echo "usage: $0 [start|stop|restart|status]"
;;
esac