aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 17:59:16 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 17:59:16 +0200
commite2b6bdb6855a0698941396eb23740bd6d3827b2f (patch)
treebcb066202c945573bc324ae3cc4b8886da7f4672 /system
parent82a5389f660eda5d4d6184995f4833f02a564938 (diff)
system/bluez-utils: Removed from 12.0 repository
Diffstat (limited to 'system')
-rw-r--r--system/bluez-utils/README7
-rw-r--r--system/bluez-utils/bluez-utils.SlackBuild91
-rw-r--r--system/bluez-utils/bluez-utils.info8
-rw-r--r--system/bluez-utils/doinst.sh19
-rw-r--r--system/bluez-utils/rc.bluetooth.new114
-rw-r--r--system/bluez-utils/slack-desc11
6 files changed, 0 insertions, 250 deletions
diff --git a/system/bluez-utils/README b/system/bluez-utils/README
deleted file mode 100644
index 06a471e663e1f..0000000000000
--- a/system/bluez-utils/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Bluetooth utilities
-
-These are the official Linux bluetooth utilities.
-
-You will need to have the bluez-libs and dbus packages
-installed to build this.
-
diff --git a/system/bluez-utils/bluez-utils.SlackBuild b/system/bluez-utils/bluez-utils.SlackBuild
deleted file mode 100644
index f229e56dc74cd..0000000000000
--- a/system/bluez-utils/bluez-utils.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for bluez-utils
-
-# Copyright (C) 2007 by Ralph Moritz <me@ralphm.info>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by the SlackBuilds.org project
-
-APP=bluez-utils
-PKG_APP=bluez_utils # Hyphens aren't acceptable
-VERSION=3.9
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKG_APP
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$APP-$VERSION
-cd $TMP || exit 1
-tar vzxf $CWD/$APP-$VERSION.tar.gz || exit 1
-cd $APP-$VERSION || exit 1
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/lib \
- || exit 1
-
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
-
-mkdir -p $PKG/usr/doc/$PKG_APP-$VERSION
-cp -a ChangeLog README INSTALL COPYING AUTHORS $PKG/usr/doc/$PKG_APP-$VERSION
-cp $CWD/$APP.SlackBuild $PKG/usr/doc/$PKG_APP-$VERSION
-find $PKG/usr/doc/$PKG_APP-$VERSION -type f -exec chmod 0644 {} \;
-
-if [ -d $PKG/usr/man ]; then
- ( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do
- ln -s $(readlink $i).gz $i.gz && rm $i;
- done
- )
-fi
-
-# Install custom init script
-install -D -m 0755 $CWD/rc.bluetooth.new $PKG/etc/rc.d/rc.bluetooth.new
-
-# Don't clobber existing config files
-mv $PKG/etc/bluetooth/hcid.conf $PKG/etc/bluetooth/hcid.conf.new
-mv $PKG/etc/bluetooth/rfcomm.conf $PKG/etc/bluetooth/rfcomm.conf.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKG_APP-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/bluez-utils/bluez-utils.info b/system/bluez-utils/bluez-utils.info
deleted file mode 100644
index f71e784fc023a..0000000000000
--- a/system/bluez-utils/bluez-utils.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="bluez-utils"
-VERSION="3.9"
-HOMEPAGE="http://www.bluez.org"
-DOWNLOAD="http://bluez.sourceforge.net/download/bluez-utils-3.9.tar.gz"
-MD5SUM="023a5e6a436f86a28baeec91e4c62736"
-MAINTAINER="Ralph Moritz"
-EMAIL="me@ralphm.info"
-APPROVED="rworkman"
diff --git a/system/bluez-utils/doinst.sh b/system/bluez-utils/doinst.sh
deleted file mode 100644
index 98c277e6b8bb2..0000000000000
--- a/system/bluez-utils/doinst.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-config() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/bluetooth/hcid.conf.new
-config etc/bluetooth/rfcomm.conf.new
-config etc/rc.d/rc.bluetooth.new
-
diff --git a/system/bluez-utils/rc.bluetooth.new b/system/bluez-utils/rc.bluetooth.new
deleted file mode 100644
index f303055e79e2e..0000000000000
--- a/system/bluez-utils/rc.bluetooth.new
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-#
-# Start/stop the Bluetooth daemons
-#
-
-set -e
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-NAME=rc.bluetooth
-DESC="Bluetooth subsystem"
-
-HCID_NAME=hcid
-SDPD_NAME=sdpd
-HIDD_NAME=hidd
-HID2HCI_NAME=hid2hci
-RFCOMM_NAME=rfcomm
-PAND_NAME=pand
-DUND_NAME=dund
-
-HCID_EXEC="`which $HCID_NAME || true`"
-SDPD_EXEC="`which $SDPD_NAME || true`"
-HIDD_EXEC="`which $HIDD_NAME || true`"
-HID2HCI_EXEC="`which $HID2HCI_NAME || true`"
-RFCOMM_EXEC="`which $RFCOMM_NAME || true`"
-PAND_EXEC="`which $PAND_NAME || true`"
-DUND_EXEC="`which $DUND_NAME || true`"
-
-HCID_ENABLE=true
-SDPD_ENABLE=false
-HIDD_ENABLE=false
-HID2HCI_ENABLE=false
-RFCOMM_ENABLE=false
-DUND_ENABLE=false
-PAND_ENABLE=false
-
-HCID_CONFIG="/etc/bluetooth/hcid.conf"
-RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
-
-HIDD_OPTIONS=""
-DUND_OPTIONS=""
-PAND_OPTIONS=""
-
-start() {
- echo -n "Starting $DESC:"
- if $HCID_ENABLE && [ -x "$HCID_EXEC" ] && [ -f "$HCID_CONFIG" ] ; then
- if $SDPD_ENABLE ; then
- $HCID_EXEC -f $HCID_CONFIG
- else
- $HCID_EXEC -s -f $HCID_CONFIG
- fi
- echo -n " $HCID_NAME"
- fi
- if $SDPD_ENABLE && [ -x "$SDPD_EXEC" ] ; then
- $SDPD_EXEC
- echo -n " $SDPD_NAME"
- fi
- if $HIDD_ENABLE && [ -x "$HIDD_EXEC" ] ; then
- $HIDD_EXEC $HIDD_OPTIONS --server || true
- echo -n " $HIDD_NAME"
- fi
- if $HID2HCI_ENABLE && [ -x "$HID2HCI_EXEC" ] ; then
- $HID2HCI_EXEC --tohci > /dev/null 2>&1 || true
- echo -n " $HID2HCI_NAME"
- fi
- if $RFCOMM_ENABLE && [ -x "$RFCOMM_EXEC" ] && [ -f "$RFCOMM_CONFIG" ] ; then
- $RFCOMM_EXEC -f $RFCOMM_CONFIG bind all || true
- echo -n " $RFCOMM_NAME"
- fi
- if $DUND_ENABLE && [ -x "$DUND_EXEC" ] && [ -n "$DUND_OPTIONS" ] ; then
- $DUND_EXEC $DUND_OPTIONS
- echo -n " $DUND_NAME"
- fi
- if $PAND_ENABLE && [ -x "$PAND_EXEC" ] && [ -n "$PAND_OPTIONS" ] ; then
- $PAND_EXEC $PAND_OPTIONS
- echo -n " $PAND_NAME"
- fi
- echo "."
-}
-
-stop() {
- echo -n "Stopping $DESC:"
- killall $PAND_NAME > /dev/null 2>&1 || true
- echo -n " $PAND_NAME"
- killall $DUND_NAME > /dev/null 2>&1 || true
- echo -n " $DUND_NAME"
- if [ -x "$RFCOMM_EXEC" ] ; then
- $RFCOMM_EXEC release all > /dev/null 2>&1 || true
- echo -n " $RFCOMM_NAME"
- fi
- killall $HIDD_NAME > /dev/null 2>&1 || true
- echo -n " $HIDD_NAME"
- killall $SDPD_NAME > /dev/null 2>&1 || true
- echo -n " $SDPD_NAME"
- killall $HCID_NAME > /dev/null 2>&1 || true
- echo -n " $HCID_NAME"
- echo "."
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}" >&2
- exit 1
- ;;
-esac
diff --git a/system/bluez-utils/slack-desc b/system/bluez-utils/slack-desc
deleted file mode 100644
index a208350d1a9bf..0000000000000
--- a/system/bluez-utils/slack-desc
+++ /dev/null
@@ -1,11 +0,0 @@
-bluez_utils: Bluetooth utilities
-bluez_utils:
-bluez_utils: These are the official Linux bluetooth utilities.
-bluez_utils:
-bluez_utils:
-bluez_utils:
-bluez_utils:
-bluez_utils:
-bluez_utils:
-bluez_utils:
-bluez_utils: