Add /etc/bluetooth/ with common files.
authorHasso Tepper <hasso@dragonflybsd.org>
Thu, 3 Jan 2008 13:35:21 +0000 (13:35 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Thu, 3 Jan 2008 13:35:21 +0000 (13:35 +0000)
etc/Makefile
etc/bluetooth/Makefile [new file with mode: 0644]
etc/bluetooth/hosts [new file with mode: 0644]
etc/bluetooth/protocols [new file with mode: 0644]
etc/mtree/BSD.root.dist
share/man/man7/hier.7

index 41fce8a..87195c0 100644 (file)
@@ -1,6 +1,6 @@
 #      from: @(#)Makefile      5.11 (Berkeley) 5/21/91
 # $FreeBSD: src/etc/Makefile,v 1.219.2.38 2003/03/04 09:49:00 ru Exp $
-# $DragonFly: src/etc/Makefile,v 1.200 2007/12/29 13:40:27 swildner Exp $
+# $DragonFly: src/etc/Makefile,v 1.201 2008/01/03 13:35:20 hasso Exp $
 
 .if !defined(NO_SENDMAIL)
 SUBDIR=        sendmail
@@ -137,6 +137,7 @@ upgrade_etc:        preupgrade
 .endif
        cd ${UPGRADE_SRCDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
            ${MTREE} ${DESTDIR}/etc/mtree
+       cd ${UPGRADE_SRCDIR}/bluetooth; ${MAKE} install
 .if !exists(${DESTDIR}/etc/pam.d)
        mkdir -p ${DESTDIR}/etc/pam.d
        ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${UPGRADE_SRCDIR}/pam.d/README ${DESTDIR}/etc/pam.d
diff --git a/etc/bluetooth/Makefile b/etc/bluetooth/Makefile
new file mode 100644 (file)
index 0000000..16c9ac5
--- /dev/null
@@ -0,0 +1,7 @@
+# $DragonFly: src/etc/bluetooth/Makefile,v 1.1 2008/01/03 13:35:20 hasso Exp $
+
+FILESDIR=      /etc/bluetooth
+FILES=         hosts protocols
+FILESMODE=     644
+
+.include <bsd.prog.mk>
diff --git a/etc/bluetooth/hosts b/etc/bluetooth/hosts
new file mode 100644 (file)
index 0000000..7ddfc5d
--- /dev/null
@@ -0,0 +1,12 @@
+# $DragonFly: src/etc/bluetooth/hosts,v 1.1 2008/01/03 13:35:20 hasso Exp $
+# $NetBSD: hosts,v 1.1 2006/06/19 15:44:35 gdamore Exp $
+# $Id: hosts,v 1.1 2006/06/19 15:44:35 gdamore Exp $
+# $FreeBSD: /repoman/r/ncvs/src/etc/bluetooth/hosts,v 1.2 2005/11/10 19:09:22 emax Exp $
+#
+# 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/etc/bluetooth/protocols b/etc/bluetooth/protocols
new file mode 100644 (file)
index 0000000..396b550
--- /dev/null
@@ -0,0 +1,23 @@
+# $DragonFly: src/etc/bluetooth/protocols,v 1.1 2008/01/03 13:35:20 hasso Exp $
+# $NetBSD: protocols,v 1.1 2006/06/19 15:44:35 gdamore Exp $
+# $Id: protocols,v 1.1 2006/06/19 15:44:35 gdamore Exp $
+# $FreeBSD: /repoman/r/ncvs/src/etc/bluetooth/protocols,v 1.2 2005/11/10 19:09:22 emax Exp $
+#
+# 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
index 043a043..4955ad9 100644 (file)
@@ -1,5 +1,5 @@
 # $FreeBSD: src/etc/mtree/BSD.root.dist,v 1.45.2.4 2002/06/10 15:33:27 obrien Exp $
-# $DragonFly: src/etc/mtree/BSD.root.dist,v 1.7 2005/07/22 18:20:43 joerg Exp $
+# $DragonFly: src/etc/mtree/BSD.root.dist,v 1.8 2008/01/03 13:35:20 hasso Exp $
 #
 # Please see the file src/etc/mtree/README before making changes to this file.
 #
@@ -19,6 +19,8 @@
     etc
         X11
         ..
+        bluetooth
+        ..
         defaults
         ..
        firmware
index 3a28b6f..917d399 100644 (file)
@@ -31,7 +31,7 @@
 .\"
 .\"    @(#)hier.7      8.1 (Berkeley) 6/5/93
 .\" $FreeBSD: src/share/man/man7/hier.7,v 1.29.2.17 2003/01/13 21:43:50 ceri Exp $
-.\" $DragonFly: src/share/man/man7/hier.7,v 1.15 2008/01/01 18:02:51 matthias Exp $
+.\" $DragonFly: src/share/man/man7/hier.7,v 1.16 2008/01/03 13:35:21 hasso Exp $
 .\"
 .Dd December 25, 2007
 .Dt HIER 7
@@ -70,7 +70,9 @@ see
 .It Pa /etc/
 system configuration files and scripts
 .Pp
-.Bl -tag -width ".Pa defaults/" -compact
+.Bl -tag -width ".Pa bluetooth/" -compact
+.It Pa bluetooth/
+bluetooth configuration files
 .It Pa firmware/
 Firmware image files;
 see