Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
8948367938
4 changed files with 52 additions and 8 deletions
  1. +2
    -2
      package/fake/bluez-libs/bluez-libs.desc
  2. +5
    -4
      package/fake/bluez-utils/bluez-utils.conf
  3. +2
    -2
      package/fake/bluez-utils/bluez-utils.desc
  4. +43
    -0
      package/fake/bluez-utils/sdpd.init

+ 2
- 2
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/

+ 5
- 4
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"

+ 2
- 2
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/

+ 43
- 0
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

Loading…
Cancel
Save