summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-08-22 10:48:08 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-08-22 10:48:08 +0000
commit5af0a9bac87f1f8797b67c3a9a51630f50d7edf4 (patch)
tree3f1073e5ab995812945260786d3daccc6b2cd462 /net-wireless/bluez-utils/files
parentcleaning out files/ (diff)
downloadgentoo-2-5af0a9bac87f1f8797b67c3a9a51630f50d7edf4.tar.gz
gentoo-2-5af0a9bac87f1f8797b67c3a9a51630f50d7edf4.tar.bz2
gentoo-2-5af0a9bac87f1f8797b67c3a9a51630f50d7edf4.zip
cleaning out files/
(Portage version: 2.1-r2) (Signed Manifest commit)
Diffstat (limited to 'net-wireless/bluez-utils/files')
-rw-r--r--net-wireless/bluez-utils/files/2.10-r1/bluetooth.rc143
-rw-r--r--net-wireless/bluez-utils/files/2.10-r1/pin1
-rw-r--r--net-wireless/bluez-utils/files/2.10-r1/pin-helper.sh4
-rw-r--r--net-wireless/bluez-utils/files/2.15-bluepin.patch17
-rw-r--r--net-wireless/bluez-utils/files/2.16/bluetooth.rc143
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.10-handsfree.patch12
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin-gtk2.patch129
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin.patch23
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.3-rfcomm_fflush.patch26
9 files changed, 0 insertions, 498 deletions
diff --git a/net-wireless/bluez-utils/files/2.10-r1/bluetooth.rc b/net-wireless/bluez-utils/files/2.10-r1/bluetooth.rc
deleted file mode 100644
index 4bb39d57c41a..000000000000
--- a/net-wireless/bluez-utils/files/2.10-r1/bluetooth.rc
+++ /dev/null
@@ -1,143 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/files/2.10-r1/bluetooth.rc,v 1.3 2004/10/22 07:53:01 liquidx Exp $
-
-UART_CONF="/etc/bluetooth/uart"
-
-depend() {
- after hotplug
-}
-
-start_uarts() {
- [ -f /usr/sbin/hciattach -a -f ${UART_CONF} ] || return
- grep -v '^#' ${UART_CONF} | while read i; do
- /usr/sbin/hciattach $i
- done
-}
-
-stop_uarts() {
- killall hciattach > /dev/null 2>&1
-}
-
-start() {
- ebegin "Starting Bluetooth"
-
- if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then
- if [ -f "${HCID_CONFIG}" ]; then
- ebegin " Starting hcid"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/hcid -- -f $HCID_CONFIG
- eend $?
- else
- ewarn "Not enabling hcid because HCID_CONFIG is missing."
- fi
- fi
-
-
- if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then
- ebegin " Starting sdpd"
- start-stop-daemon --start --quiet --exec /usr/sbin/sdpd
- eend $?
- fi
-
-
- if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then
- ebegin " Starting hidd"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server
- eend $?
- fi
-
-
- if [ "${HID2HCI_ENABLE}" = "true" -a -x /usr/sbin/hid2hci ]; then
- ebegin " Running hid2hci"
- /usr/sbin/hid2hci -0 -q #be quiet
- eend $?
- fi
-
- if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
- if [ -f "${RFCOMM_CONFIG}" ]; then
- ebegin " Starting rfcomm"
- /usr/bin/rfcomm -f ${RFCOMM_CONFIG} bind all
- eend $?
- else
- ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
- fi
- fi
-
- if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then
- if [ -n "${DUND_OPTIONS}" ]; then
- ebegin " Starting dund"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/dund -- ${DUND_OPTIONS}
- eend $?
- else
- ewarn "Not starting dund because DUND_OPTIONS not defined."
- fi
- fi
-
- if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then
- if [ -n "${PAND_OPTIONS}" ]; then
- ebegin " Starting pand"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/pand -- ${PAND_OPTIONS}
- eend $?
- else
- ewarn "Not starting pand because PAND_OPTIONS not defined."
- fi
- fi
-
- start_uarts
- eend 0
-}
-
-stop() {
- ebegin "Shutting down Bluetooth"
-
-
- if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then
- ebegin " Stopping pand"
- start-stop-daemon --stop --quiet --exec /usr/bin/pand
- eend $?
- fi
-
- if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then
- ebegin " Stopping dund"
- start-stop-daemon --stop --quiet --exec /usr/bin/dund
- eend $?
- fi
-
- if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
- ebegin " Stopping rfcomm"
- /usr/bin/rfcomm release all
- eend $?
- fi
-
- if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then
- ebegin " Stopping hidd"
- start-stop-daemon --stop --quiet --exec /usr/bin/hidd
- eend $?
- fi
-
-
- if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then
- ebegin " Stopping sdpd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/sdpd
- eend $?
- fi
-
- if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then
- ebegin " Stopping hcid"
- start-stop-daemon --stop --quiet --exec /usr/sbin/hcid
- eend $?
- fi
-
- stop_uarts
- eend 0
-}
-
-restart() {
- svc_stop
- svc_start
-}
diff --git a/net-wireless/bluez-utils/files/2.10-r1/pin b/net-wireless/bluez-utils/files/2.10-r1/pin
deleted file mode 100644
index 81c545efebe5..000000000000
--- a/net-wireless/bluez-utils/files/2.10-r1/pin
+++ /dev/null
@@ -1 +0,0 @@
-1234
diff --git a/net-wireless/bluez-utils/files/2.10-r1/pin-helper.sh b/net-wireless/bluez-utils/files/2.10-r1/pin-helper.sh
deleted file mode 100644
index b8c05b48b219..000000000000
--- a/net-wireless/bluez-utils/files/2.10-r1/pin-helper.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-echo -n "PIN:"
-cat /etc/bluetooth/pin
-
diff --git a/net-wireless/bluez-utils/files/2.15-bluepin.patch b/net-wireless/bluez-utils/files/2.15-bluepin.patch
deleted file mode 100644
index ae0e0c5c8cf3..000000000000
--- a/net-wireless/bluez-utils/files/2.15-bluepin.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- scripts/bluepin 2004-03-05 23:14:00.000000000 +0000
-+++ scripts/bluepin 2005-04-26 14:34:15.143996872 +0100
-@@ -33,11 +33,12 @@
- # Set X display before initializing GTK
- set_display()
-
-+import gtk
-+
-+
- # Some versions of fontconfig will segfault if HOME isn't set.
- os.environ['HOME'] = ""
-
--import gtk
--
- # Dialog Class
- DLG_OK = 1
- DLG_CANCEL = 2
diff --git a/net-wireless/bluez-utils/files/2.16/bluetooth.rc b/net-wireless/bluez-utils/files/2.16/bluetooth.rc
deleted file mode 100644
index ab2acef23f65..000000000000
--- a/net-wireless/bluez-utils/files/2.16/bluetooth.rc
+++ /dev/null
@@ -1,143 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/files/2.16/bluetooth.rc,v 1.2 2005/04/27 12:40:04 liquidx Exp $
-
-UART_CONF="/etc/bluetooth/uart"
-
-depend() {
- after coldplug
-}
-
-start_uarts() {
- [ -f /usr/sbin/hciattach -a -f ${UART_CONF} ] || return
- grep -v '^#' ${UART_CONF} | while read i; do
- /usr/sbin/hciattach $i
- done
-}
-
-stop_uarts() {
- killall hciattach > /dev/null 2>&1
-}
-
-start() {
- ebegin "Starting Bluetooth"
-
- if [ "${HID2HCI_ENABLE}" = "true" -a -x /usr/sbin/hid2hci ]; then
- ebegin " Running hid2hci"
- /usr/sbin/hid2hci -0 -q #be quiet
- /bin/sleep 1 # delay for hid's to be detected by hotplug
- eend $?
- fi
-
- if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then
- if [ -f "${HCID_CONFIG}" ]; then
- ebegin " Starting hcid"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/hcid -- -f $HCID_CONFIG
- eend $?
- else
- ewarn "Not enabling hcid because HCID_CONFIG is missing."
- fi
- fi
-
-
- if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then
- ebegin " Starting sdpd"
- start-stop-daemon --start --quiet --exec /usr/sbin/sdpd
- eend $?
- fi
-
-
- if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then
- ebegin " Starting hidd"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server
- eend $?
- fi
-
- if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
- if [ -f "${RFCOMM_CONFIG}" ]; then
- ebegin " Starting rfcomm"
- /usr/bin/rfcomm -f ${RFCOMM_CONFIG} bind all
- eend $?
- else
- ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
- fi
- fi
-
- if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then
- if [ -n "${DUND_OPTIONS}" ]; then
- ebegin " Starting dund"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/dund -- ${DUND_OPTIONS}
- eend $?
- else
- ewarn "Not starting dund because DUND_OPTIONS not defined."
- fi
- fi
-
- if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then
- if [ -n "${PAND_OPTIONS}" ]; then
- ebegin " Starting pand"
- start-stop-daemon --start --quiet \
- --exec /usr/bin/pand -- ${PAND_OPTIONS}
- eend $?
- else
- ewarn "Not starting pand because PAND_OPTIONS not defined."
- fi
- fi
-
- start_uarts
- eend 0
-}
-
-stop() {
- ebegin "Shutting down Bluetooth"
-
-
- if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then
- ebegin " Stopping pand"
- start-stop-daemon --stop --quiet --exec /usr/bin/pand
- eend $?
- fi
-
- if [ "${DUND_ENABLE}" = "true" -a -x /usr/bin/dund ]; then
- ebegin " Stopping dund"
- start-stop-daemon --stop --quiet --exec /usr/bin/dund
- eend $?
- fi
-
- if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
- ebegin " Stopping rfcomm"
- /usr/bin/rfcomm release all
- eend $?
- fi
-
- if [ "${HIDD_ENABLE}" = "true" -a -x /usr/bin/hidd ]; then
- ebegin " Stopping hidd"
- start-stop-daemon --stop --quiet --exec /usr/bin/hidd
- eend $?
- fi
-
-
- if [ "${SDPD_ENABLE}" = "true" -a -x /usr/sbin/sdpd ]; then
- ebegin " Stopping sdpd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/sdpd
- eend $?
- fi
-
- if [ "${HCID_ENABLE}" = "true" -a -x /usr/sbin/hcid ]; then
- ebegin " Stopping hcid"
- start-stop-daemon --stop --quiet --exec /usr/sbin/hcid
- eend $?
- fi
-
- stop_uarts
- eend 0
-}
-
-restart() {
- svc_stop
- svc_start
-}
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.10-handsfree.patch b/net-wireless/bluez-utils/files/bluez-utils-2.10-handsfree.patch
deleted file mode 100644
index c98b8b487979..000000000000
--- a/net-wireless/bluez-utils/files/bluez-utils-2.10-handsfree.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur bluez-utils-2.10/tools/sdptool.c bluez-utils-2.10a/tools/sdptool.c
---- bluez-utils-2.10/tools/sdptool.c 2004-07-25 18:09:23.000000000 +0100
-+++ bluez-utils-2.10a/tools/sdptool.c 2004-09-24 18:34:05.000000000 +0100
-@@ -1154,7 +1154,7 @@
- aproto = sdp_list_append(0, apseq);
- sdp_set_access_protos(&record, aproto);
-
-- sdp_set_info_attr(&record, "", 0, 0);
-+ sdp_set_info_attr(&record, "Handsfree", 0, 0);
-
- if (0 > sdp_record_register(session, &record, SDP_RECORD_PERSIST)) {
- printf("Service Record registration failed\n");
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin-gtk2.patch b/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin-gtk2.patch
deleted file mode 100644
index 5cd5a404ae65..000000000000
--- a/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin-gtk2.patch
+++ /dev/null
@@ -1,129 +0,0 @@
---- bluez-utils-2.3/scripts/bluepin 2003-03-20 05:58:14.000000000 +0000
-+++ bluez-utils-2.3/scripts/bluepin 2003-09-19 12:52:33.301301864 +0100
-@@ -3,11 +3,13 @@
- # Bluetooth PIN helper
- # Written by Maxim Krasnyansky <maxk@qualcomm.com>
- #
--import sys, os, string, popen2
-+import sys, os, string, popen2, pygtk
-+
-+pygtk.require('2.0')
-
- # X Display initialization.
--# Find running X Server and parse it's arguments.
--# Set enviroment variables DISPLAY and XAUTHORITY
-+# Find running X Server and parse its arguments.
-+# Set environment variables DISPLAY and XAUTHORITY
- # using info extracted from X Server args.
- #
- def set_display():
-@@ -24,62 +26,64 @@
- elif arg[i] == "-auth":
- auth = arg[i+1]
- break
--
- os.environ['DISPLAY'] = disp
- os.environ['XAUTHORITY'] = auth
-
- # Set X display before initializing GTK
--set_display()
-+set_display()
-+
-+# Some versions of fontconfig will segfault if HOME isn't set.
-+#os.environ['HOME'] = ""
-
--from gtk import *
-+import gtk
-
- # Dialog Class
- DLG_OK = 1
- DLG_CANCEL = 2
--class Dialog(GtkDialog):
-+class Dialog(gtk.Dialog):
- result = DLG_CANCEL
- args = {}
-- def __init__(self, modal=FALSE, mesg=None, args = {}):
-- GtkDialog.__init__(self)
-+ def __init__(self, modal=gtk.FALSE, mesg=None, args = {}):
-+ gtk.Dialog.__init__(self)
- self.args = args
- self.set_modal(modal)
-- self.set_usize(400, 0)
-- self.set_uposition(300,300)
-+# self.set_usize(400, 0)
-+# self.set_uposition(300,300)
-
- self.connect("destroy", self.quit)
- self.connect("delete_event", self.quit)
-
- self.action_area.set_border_width(2)
-
-- ok = GtkButton("Accept")
-+ ok = gtk.Button("Accept")
- ok.connect("clicked", self.ok)
- self.action_area.pack_start(ok, padding = 20)
- ok.show()
-
-- cl = GtkButton("Reject")
-+ cl = gtk.Button("Reject")
- cl.connect("clicked", self.cancel)
- self.action_area.pack_start(cl, padding = 20)
- cl.show()
-
- if mesg:
-- msg = GtkLabel()
-+ msg = gtk.Label("")
- msg.set_text(mesg)
- self.vbox.pack_start(msg, padding = 10)
- msg.show()
-
- self.ents = []
- for k in self.args.keys():
-- hbox = GtkHBox()
-+ hbox = gtk.HBox()
- hbox.set_border_width(5)
- self.vbox.pack_start(hbox)
- hbox.show()
-
-- l = GtkLabel()
-- e = GtkEntry()
-+ l = gtk.Label("")
-+ e = gtk.Entry()
- l.set_text( k )
- e.set_text( self.args[k] )
- e.connect("key_press_event", self.key_press)
-- hbox.pack_start(l, padding = 10, expand = FALSE)
-+ hbox.pack_start(l, padding = 10, expand = gtk.FALSE)
- hbox.pack_start(e)
- l.show()
- e.show()
-@@ -89,10 +93,10 @@
- self.ents[0][1].grab_focus()
-
- def key_press(self, entry, event):
-- if event.keyval == GDK.Return:
-+ if event.keyval == gtk.keysyms.Return:
- entry.emit_stop_by_name("key_press_event")
- self.ok()
-- elif event.keyval == GDK.Escape:
-+ elif event.keyval == gtk.keysyms.Escape:
- entry.emit_stop_by_name("key_press_event")
- self.cancel()
-
-@@ -110,13 +114,13 @@
- def quit(self, *args):
- self.hide()
- self.destroy()
-- mainquit()
-+ gtk.mainquit()
-
--def dialog(title, mesg, args, modal = FALSE):
-+def dialog(title, mesg, args, modal = gtk.FALSE):
- dlg = Dialog(args = args, mesg = mesg, modal = modal)
- dlg.set_title(title)
- dlg.show()
-- mainloop()
-+ gtk.mainloop()
- return dlg.result
-
- def main(*args):
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin.patch b/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin.patch
deleted file mode 100644
index 91d40e0faf4d..000000000000
--- a/net-wireless/bluez-utils/files/bluez-utils-2.3-bluepin.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- bluez-utils-2.3/scripts/bluepin 2003-03-20 05:58:14.000000000 +0000
-+++ bluez-utils-2.3/scripts/bluepin 2003-09-19 12:52:33.301301864 +0100
-@@ -30,7 +30,8 @@
-
- # Set X display before initializing GTK
- set_display()
--
-+import pygtk
-+pygtk.require("1.2")
- from gtk import *
-
- # Dialog Class
-@@ -119,8 +120,8 @@
- mainloop()
- return dlg.result
-
--def main(*args):
-- if len(sys.argv) < 2:
-+def main():
-+ if len(sys.argv) < 3:
- print "ERR"
- sys.exit()
-
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.3-rfcomm_fflush.patch b/net-wireless/bluez-utils/files/bluez-utils-2.3-rfcomm_fflush.patch
deleted file mode 100644
index 5b2a3e97982b..000000000000
--- a/net-wireless/bluez-utils/files/bluez-utils-2.3-rfcomm_fflush.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- work/bluez-utils-2.3/rfcomm/main.c-orig 2003-01-27 12:42:07.000000000 +0100
-+++ work/bluez-utils-2.3/rfcomm/main.c 2003-11-04 17:33:13.000000000 +0100
-@@ -339,6 +339,11 @@
- printf("Connected %s to %s on channel %d\n", devname, dst, req.channel);
- printf("Press CTRL-C for hangup\n");
-
-+ /* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush
-+ * stdout so other scripts can benefit from rfcomm's output and
-+ * react to connections being made. */
-+ fflush(stdout);
-+
- memset(&sa, 0, sizeof(sa));
- sa.sa_flags = SA_NOCLDSTOP;
- sa.sa_handler = SIG_IGN;
-@@ -443,6 +448,11 @@
- printf("Connection from %s to %s\n", dst, devname);
- printf("Press CTRL-C for hangup\n");
-
-+ /* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush
-+ * stdout so other scripts can benefit from rfcomm's output and
-+ * react to connections being made. */
-+ fflush(stdout);
-+
- memset(&sa, 0, sizeof(sa));
- sa.sa_flags = SA_NOCLDSTOP;
- sa.sa_handler = SIG_IGN;