diff --git a/package/fake/bluez-libs/bluez-libs.desc b/package/fake/bluez-libs/bluez-libs.desc index dc7c623d1..dcf144e35 100644 --- a/package/fake/bluez-libs/bluez-libs.desc +++ b/package/fake/bluez-libs/bluez-libs.desc @@ -32,7 +32,7 @@ [L] GPL [S] Stable -[V] 2.6 +[V] 2.7 [P] X -----5---9 600.100 -[D] 1982026859 bluez-libs-2.6.tar.gz http://bluez.sourceforge.net/download/ +[D] 885709198 bluez-libs-2.7.tar.gz http://bluez.sourceforge.net/download/ diff --git a/package/fake/bluez-utils/bluez-utils.conf b/package/fake/bluez-utils/bluez-utils.conf index 194a80984..c78bdf490 100644 --- a/package/fake/bluez-utils/bluez-utils.conf +++ b/package/fake/bluez-utils/bluez-utils.conf @@ -23,18 +23,19 @@ var_append confopt ' ' '--sysconfdir=/etc' [ -f $root/var/adm/packages/pcmcia-cs ] && var_append confopt ' ' '--enable-pcmcia' -pm_hcid() { +pm_bluezutils() { install_init hcid $confdir/hcid.init + install_init sdpd $confdir/sdpd.init mv -vf $sysconfdir/bluetooth/rfcomm.conf $sysconfdir/bluetooth/rfcomm.conf.example } -pre_hcid() { +pre_bluezutils() { local x for x in hcid/hcid.h hcid/hcid.conf ; do sed -i -e "s,/bin/bluepin,/${prefix}&," $x done } -postmake="pm_hcid" -premake="pre_hcid" +postmake="pm_bluezutils" +premake="pre_bluezutils" diff --git a/package/fake/bluez-utils/bluez-utils.desc b/package/fake/bluez-utils/bluez-utils.desc index 733f9e419..9f5b27902 100644 --- a/package/fake/bluez-utils/bluez-utils.desc +++ b/package/fake/bluez-utils/bluez-utils.desc @@ -32,8 +32,8 @@ [L] GPL [S] Stable -[V] 2.6 +[V] 2.7 [P] X -----5---9 600.200 -[D] 3287521339 bluez-utils-2.6.tar.gz http://bluez.sourceforge.net/download/ +[D] 3621856983 bluez-utils-2.7.tar.gz http://bluez.sourceforge.net/download/ diff --git a/package/fake/bluez-utils/sdpd.init b/package/fake/bluez-utils/sdpd.init new file mode 100644 index 000000000..d9eb4ae1c --- /dev/null +++ b/package/fake/bluez-utils/sdpd.init @@ -0,0 +1,43 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/fake/bluez-sdp/sdpd.init +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: bluetooth sdp daemon +# Runlevel: 85 rcX +# + +main_begin + + block_begin(start, `Starting sdpd.') + check(`D_prefix/sbin/sdpd') + block_end + + block_begin(stop, `Stopping sdpd.') + check(`killall -15 D_prefix/sbin/sdpd') + block_end + + block_begin(restart, `Restarting sdpd.') + check(`killall -1 D_prefix/sbin/sdpd') + block_end + +main_end