From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-wireless/bluez/files/4.60: bluetooth-conf.d cups-location.patch bluetooth-init.d |
Date: | Mon, 01 Feb 2010 19:47:50 |
Message-Id: | E1Nc2FP-0002yh-Tg@stork.gentoo.org |
1 | pacho 10/02/01 19:47:47 |
2 | |
3 | Added: bluetooth-conf.d cups-location.patch |
4 | bluetooth-init.d |
5 | Log: |
6 | Version bump and lots of fixes |
7 | (Portage version: 2.1.7.16/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-wireless/bluez/files/4.60/bluetooth-conf.d |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-conf.d?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-conf.d?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bluetooth-conf.d |
16 | =================================================================== |
17 | # Bluetooth configuraton file |
18 | |
19 | # Bind rfcomm devices (allowed values are "true" and "false") |
20 | RFCOMM_ENABLE=true |
21 | |
22 | # Config file for rfcomm |
23 | RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" |
24 | |
25 | |
26 | |
27 | 1.1 net-wireless/bluez/files/4.60/cups-location.patch |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/cups-location.patch?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/cups-location.patch?rev=1.1&content-type=text/plain |
31 | |
32 | Index: cups-location.patch |
33 | =================================================================== |
34 | diff --git a/Makefile.tools b/Makefile.tools |
35 | index d9a2425..a382e05 100644 |
36 | --- a/Makefile.tools |
37 | +++ b/Makefile.tools |
38 | @@ -122,7 +122,7 @@ EXTRA_DIST += tools/dfubabel.1 tools/avctrl.8 |
39 | |
40 | |
41 | if CUPS |
42 | -cupsdir = $(libdir)/cups/backend |
43 | +cupsdir = `cups-config --serverbin`/backend |
44 | |
45 | cups_PROGRAMS = cups/bluetooth |
46 | |
47 | |
48 | |
49 | |
50 | 1.1 net-wireless/bluez/files/4.60/bluetooth-init.d |
51 | |
52 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d?rev=1.1&content-type=text/plain |
54 | |
55 | Index: bluetooth-init.d |
56 | =================================================================== |
57 | #!/sbin/runscript |
58 | # Copyright 1999-2008 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.1 2010/02/01 19:47:46 pacho Exp $ |
61 | |
62 | depend() { |
63 | after coldplug |
64 | need dbus localmount |
65 | } |
66 | |
67 | start() { |
68 | ebegin "Starting Bluetooth" |
69 | |
70 | udevadm trigger --subsystem-match=bluetooth |
71 | eend $? |
72 | |
73 | if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then |
74 | if [ -f "${RFCOMM_CONFIG}" ]; then |
75 | ebegin " Starting rfcomm" |
76 | /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all |
77 | eend $? |
78 | else |
79 | ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists" |
80 | fi |
81 | fi |
82 | } |
83 | |
84 | stop() { |
85 | ebegin "Shutting down Bluetooth" |
86 | eend 0 |
87 | } |