aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-21 19:28:53 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-21 19:28:53 +0000
commitc8e7055577942f62c35b38e995708418197c7497 (patch)
tree2179bd2dde217bef609b959e08b3348ef4f46515 /lib
parentcdba33f23c66f12b400f842d952608c9eedca86f (diff)
downloadsrc-c8e7055577942f62c35b38e995708418197c7497.tar.gz
src-c8e7055577942f62c35b38e995708418197c7497.zip
Move all bluetooth related config files out of etc
This helps with pkgbase by switching to CONFS so they are properly tagged as config files. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16833
Notes
Notes: svn path=/head/; revision=338155
Diffstat (limited to 'lib')
-rw-r--r--lib/libbluetooth/Makefile3
-rw-r--r--lib/libbluetooth/hosts10
-rw-r--r--lib/libbluetooth/protocols22
3 files changed, 35 insertions, 0 deletions
diff --git a/lib/libbluetooth/Makefile b/lib/libbluetooth/Makefile
index f6273ab5ce8f..96bf0cb704ec 100644
--- a/lib/libbluetooth/Makefile
+++ b/lib/libbluetooth/Makefile
@@ -2,6 +2,9 @@
# $FreeBSD$
PACKAGE= lib${LIB}
+CONFS= hosts protocols
+CONFSDIR= /etc/bluetooth
+CONFSMODE_protocols= 444
LIB= bluetooth
MAN= bluetooth.3
diff --git a/lib/libbluetooth/hosts b/lib/libbluetooth/hosts
new file mode 100644
index 000000000000..b704248c65f0
--- /dev/null
+++ b/lib/libbluetooth/hosts
@@ -0,0 +1,10 @@
+# $Id: hosts,v 1.1 2003/05/21 17:48:40 max Exp $
+# $FreeBSD$
+#
+# Bluetooth Host Database
+#
+# This file should contain the Bluetooth addresses and aliases for hosts.
+#
+# BD_ADDR Name [ alias0 alias1 ... ]
+
+# 00:11:22:33:44:55 phone
diff --git a/lib/libbluetooth/protocols b/lib/libbluetooth/protocols
new file mode 100644
index 000000000000..6715094ce148
--- /dev/null
+++ b/lib/libbluetooth/protocols
@@ -0,0 +1,22 @@
+# $Id: protocols,v 1.2 2003/05/21 22:17:14 max Exp $
+# $FreeBSD$
+#
+# Bluetooth Protocol/Service Multiplexor (PSM) names and numbers
+#
+# See also
+# https://www.bluetooth.org/foundry/assignnumb/document/assigned_numbers
+#
+# Protocol PSM Alias Reference
+
+sdp 1 SDP # Service Discovery Protocol
+rfcomm 3 RFCOMM # RFCOMM with TS 07.10
+tcs-bin 5 TCS-BIN # Telephony Control Specification
+tcs-bin-cordless 7 TCS-BIN-CORDLESS # Telephony Control Specification
+bnep 15 BNEP # Bluetooth Network Encapsulation Protocol
+hid-control 17 HID-Control # Human Interface Device (control)
+hid-interrupt 19 HID-Interrupt # Human Interface Device (interrupt)
+upnp 21 UPnP # See ESDP, Bluetooth SIG
+avctp 23 AVCTP # Audio/Video Control Transport Protocol
+avdtp 25 AVDTP # Audio/Video Distribution Transport Protocol
+udi-c-plane 29 UDI-C-Plane # Unrestricted Digital Information Profile
+