Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f3580a3a4bedeb018fd6f6ff623b0cb470b35dca
commit f3580a3a4bedeb018fd6f6ff623b0cb470b35dca Author: bouleetbil <[email protected]> Date: Mon Feb 15 23:49:03 2010 +0100 bluez-utils *replaces by bluez diff --git a/source/apps-extra/bluez-utils/FrugalBuild b/source/apps-extra/bluez-utils/FrugalBuild deleted file mode 100644 index bfdc157..0000000 --- a/source/apps-extra/bluez-utils/FrugalBuild +++ /dev/null @@ -1,41 +0,0 @@ -# Compiling Time: 0.16 SBU -# Maintainer: Priyank Gosalia <[email protected]> - -pkgname=bluez-utils -pkgver=3.36 -pkgrel=4 -pkgdesc="Bluetooth tools and daemons" -url="http://bluez.sourceforge.net/" -depends=('dbus-glib>=0.76' 'hal>=0.5.11' 'alsa-lib' 'openobex>=1.3-10' 'bluez-libs>=3.36') -makedepends=('alsa-lib' 'fuse') -groups=('apps-extra') -archs=('i686' 'x86_64' 'ppc') -backup=(etc/sysconfig/bluetooth etc/bluetooth/hcid.conf etc/bluetooth/rfcomm.conf etc/bluetooth/uart.conf) -up2date="lynx -dump http://www.bluez.org/download.html|grep bluez-utils-|sed -n 's/.*bluez-utils-\(.*\)\.t.*/\1/; 1 p'" -source=("http://bluez.sourceforge.net/download/bluez-utils-$pkgver.tar.gz" rc.bluetooth uart.conf bluetooth.default bluetooth-dbus.conf) -sha1sums=('f53ba1d17829df2c5933fe062d7f8fb1ab8c8e60' \ - 'd7b8ea99d68c2f9c1e411ebc47d49cbbb8d44b4b' \ - '706231256b0ef53e20f22b4f163e8008f092d28a' \ - 'e80cf645c853c30378411e4a7262dfd03a6f909e' \ - '7b62baa3bdf06b2d54cf9e9bc3358e2f90454311') - -build() { - Frcd bluetooth - Ffile bluetooth.default /etc/sysconfig/bluetooth - Ffile uart.conf /etc/bluetooth/uart.conf - Fbuild --enable-network --enable-audio --enable-input \ - --enable-hal --enable-usb --enable-hcid --enable-serial \ - --enable-configfiles --enable-hid2hci --enable-glib \ - --disable-initscripts --disable-pcmciarules --enable-bccmd \ - --enable-cups --enable-pand --enable-tools --enable-dfutool \ - --enable-manpages - Fmkdir /etc/udev/rules.d - cd scripts - Fsed 'SYSFS' 'ATTRS' bluetooth.rules - Fsed 'BUS' 'SUBSYSTEMS' bluetooth.rules - 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-extra/bluez-utils/bluetooth-dbus.conf b/source/apps-extra/bluez-utils/bluetooth-dbus.conf deleted file mode 100644 index 39b46f9..0000000 --- a/source/apps-extra/bluez-utils/bluetooth-dbus.conf +++ /dev/null @@ -1,34 +0,0 @@ -<!-- 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-extra/bluez-utils/bluetooth.default b/source/apps-extra/bluez-utils/bluetooth.default deleted file mode 100644 index 729405b..0000000 --- a/source/apps-extra/bluez-utils/bluetooth.default +++ /dev/null @@ -1,11 +0,0 @@ -# Bluetooth configuraton file - -# Run hid2hci (allowed values are "true" and "false") -HID2HCI_ENABLE=true - -# Run hcid -HCID_ENABLE=true - -# Don't edit the following line unless you know what you're doing -HCID_CONFIG="/etc/bluetooth/hcid.conf" - diff --git a/source/apps-extra/bluez-utils/bluez-utils.install b/source/apps-extra/bluez-utils/bluez-utils.install deleted file mode 100644 index 5ea3d4b..0000000 --- a/source/apps-extra/bluez-utils/bluez-utils.install +++ /dev/null @@ -1,18 +0,0 @@ -# arg 1: the new package version -post_install() -{ - chkconfig --add rc.bluetooth -} - -# arg 1: the old package version -pre_remove() -{ - chkconfig --del rc.bluetooth -} - -op=$1 -shift - -$op $* - -# vim: ft=sh diff --git a/source/apps-extra/bluez-utils/messages/bluetooth.en b/source/apps-extra/bluez-utils/messages/bluetooth.en deleted file mode 100644 index 3615694..0000000 --- a/source/apps-extra/bluez-utils/messages/bluetooth.en +++ /dev/null @@ -1,16 +0,0 @@ -startbluetooth="Initializing Bluetooth subsystem..." -starthcid="Starting hcid" -startsdpd="Starting sdpd" -starthidd="Starting hidd" -starthid2hci="Starting hid2hci" -startrfcomm="Starting rfcomm" -startdund="Starting dund" -startpand="Starting pand" -stopbluetooth="Bringing down Bluetooth subsystem..." -stoppand="Stopping pand" -stopdund="Stopping dund" -stoprfcomm="Stopping rfcomm" -stophidd="Stopping hidd" -stopsdpd="Stopping sdpd" -stophcid="Stopping hcid" -startdbusservices="Registering dbus services for bluez..." diff --git a/source/apps-extra/bluez-utils/messages/bluetooth.hu b/source/apps-extra/bluez-utils/messages/bluetooth.hu deleted file mode 100644 index 1df0d15..0000000 --- a/source/apps-extra/bluez-utils/messages/bluetooth.hu +++ /dev/null @@ -1,16 +0,0 @@ -startbluetooth="Bluetooth alrendszer betöltése..." -starthcid="hcid indítása" -startsdpd="sdpd indítása" -starthidd="hidd indítása" -starthid2hci="hid2hci indítása" -startrfcomm="rfcomm indítása" -startdund="dund indítása" -startpand="pand indítása" -stopbluetooth="Bluetooth alrendszer leállítása..." -stoppand="pand leállítása" -stopdund="dund leállítása" -stoprfcomm="rfcomm leállítása" -stophidd="hidd leállítása" -stopsdpd="sdpd leállítása" -stophcid="hcid leállítása" -startdbusservices="Bluetooth alrendszer regisztrálása a Dbus rendszerben..." \ No newline at end of file diff --git a/source/apps-extra/bluez-utils/rc.bluetooth b/source/apps-extra/bluez-utils/rc.bluetooth deleted file mode 100644 index 1a9429c..0000000 --- a/source/apps-extra/bluez-utils/rc.bluetooth +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh - -# (c) 2006 Christian Hamar alias krix <[email protected]> -# rc.bluetooth for FrugalWare -# distributed under GPL License - -. /etc/rc.d/rc.functions -. /etc/sysconfig/bluetooth - -# chkconfig: 2345 98 12 -# description: Bluetooth management daemon - -submsg() { - echo -ne "\e[01;36m\t*\e[0m \e[01m$1\e[0m" -} - -if [ "$1" = "stop" ]; then - stop "$stopbluetooth"; echo - if [ "$PAND_ENABLE" = "true" ]; then - submsg "$stoppand" - killall pand &> /dev/null - ok $? - fi - if [ "$DUND_ENABLE" = "true" ]; then - submsg "$stopdund" - killall dund &> /dev/null - ok $? - fi - if [ "$RFCOMM_ENABLE" = "true" ]; then - submsg "$stoprfcomm" - rfcomm release all &> /dev/null - ok $? - fi - #if [ "$HIDD_ENABLE" = "true" ]; then - # submsg "$stophidd" - # killall hidd &> /dev/null - # ok $? - #fi - #if [ "$SDPD_ENABLE" = "true" ]; then - # submsg "$stopsdpd" - # killall sdpd &> /dev/null - # ok $? - #fi - if [ "$HCID_ENABLE" = "true" ]; then - submsg "$stophcid" - killall hcid &> /dev/null - ok $? - fi -elif [ "$1" = "restart" ]; then - "$0" stop - sleep 1 - "$0" start -elif [ "$1" = "start" ]; then - start "$startbluetooth"; echo - submsg "$startdbusservices" - dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable - ok $? - if [ "$HCID_ENABLE" = "true" ]; then - submsg "$starthcid" - hcid -f $HCID_CONFIG - ok $? - fi - #if [ "$SDPD_ENABLE" = "true" ]; then - # submsg "$startsdpd" - # sdpd - # ok $? - #fi - #if [ "$HIDD_ENABLE" = "true" ]; then - # submsg "$starthidd" - # hidd $HIDD_OPTIONS --server || true - # ok $? - #fi - if [ "$HID2HCI_ENABLE" = "true" ]; then - submsg "$starthid2hci" - hid2hci --tohci &> /dev/null || true - ok $? - fi - if [ "$RFCOMM_ENABLE" = "true" ]; then - submsg "$startrfcomm" - rfcomm -f $RFCOMM_CONFIG bind all || true - ok $? - fi - if [ "$DUND_ENABLE" = "true" ]; then - submsg "$startdund" - dund $DUND_OPTIONS - ok $? - fi - if [ "$PAND_ENABLE" = "true" ]; then - submsg "$startpand" - pand $PAND_OPTIONS - ok $? - fi -fi diff --git a/source/apps-extra/bluez-utils/uart.conf b/source/apps-extra/bluez-utils/uart.conf deleted file mode 100644 index 1fc43e7..0000000 --- a/source/apps-extra/bluez-utils/uart.conf +++ /dev/null @@ -1 +0,0 @@ -/dev/ttyS2 csr 460800
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
