pkgbase: Add a FreeBSD-bluetooth package

Move the bluetooth related files from FreeBSD-runtime to a new package named
FreeBSD-bluetooth
The FreeBSD runtime is only intended to have everything for a working
FreeBSD installation and bluetooth isn't needed for that.

Reviewed by:	bapt, gjb
Differential Revision:	https://reviews.freebsd.org/D20959
This commit is contained in:
Emmanuel Vadot 2019-07-19 15:10:03 +00:00
parent 1ba153e085
commit 9553ea80a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350132
21 changed files with 53 additions and 10 deletions

View File

@ -17,9 +17,7 @@ CONFS= DAEMON \
archdep \
bgfsck \
${_blacklistd} \
${_bluetooth} \
bridge \
${_bthidd} \
cfumass \
cleanvar \
cleartmp \
@ -40,7 +38,6 @@ CONFS= DAEMON \
gptboot \
growfs \
gssd \
${_hcsecd} \
hostid \
hostid_save \
hostname \
@ -111,7 +108,6 @@ CONFS= DAEMON \
sysctl \
syslogd \
tmp \
${_ubthidhci} \
ugidfw \
${_utx} \
var \
@ -175,12 +171,14 @@ _blacklistd+= blacklistd
.endif
.if ${MK_BLUETOOTH} != "no"
_bluetooth= bluetooth
_bthidd= bthidd
_hcsecd= hcsecd
CONFS+= rfcomm_pppd_server
CONFS+= sdpd
_ubthidhci= ubthidhci
CONFGROUPS+= BLUETOOTH
BLUETOOTH+= bluetooth \
bthidd \
hcsecd \
rfcomm_pppd_server \
sdpd \
ubthidhci
BLUETOOTHPACKAGE= bluetooth
.endif
.if ${MK_BOOTPARAMD} != "no"

View File

@ -18,6 +18,8 @@ bhyve_COMMENT= Bhyve Utilities
bhyve_DESC= Bhyve Utilities
binutils_COMMENT= Binutils
binutils_DESC= Binutils
bluetooth_COMMENT= Bluetooth Utilities
bluetooth_DESC= Bluetooth Utilities
bsdinstall_COMMENT= BSDInstall Utilities
bsdinstall_DESC= BSDInstall Utilities
bsnmp_COMMENT= BSNMP Utilities

View File

@ -0,0 +1,24 @@
#
# $FreeBSD$
#
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "%COMMENT%"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
deps: {
FreeBSD-%PKGDEPS%: {
origin: "base",
version: "%VERSION%"
}
}

View File

@ -1,6 +1,8 @@
# $Id: Makefile,v 1.4 2003/08/14 20:07:13 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= bthost
LIBADD= bluetooth

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.7 2003/08/14 20:07:14 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= btsockstat
WARNS?= 2
BINGRP= kmem

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.7 2003/09/07 18:15:55 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= rfcomm_sppd
SRCS= rfcomm_sppd.c rfcomm_sdp.c
WARNS?= 2

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= bluetooth
PROG= ath3kfw
MAN= ath3kfw.8
LIBADD+= usb

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.6 2003/08/14 20:05:58 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= bcmfw
MAN= bcmfw.8
WARNS?= 2

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= bluetooth
SCRIPTS=bluetooth-config.sh
MAN= bluetooth-config.8

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.5 2003/08/14 20:06:00 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= bt3cfw
MAN= bt3cfw.8
WARNS?= 2

View File

@ -3,6 +3,7 @@
.PATH: ${.CURDIR:H}/bthidd
PACKAGE= bluetooth
PROG= bthidcontrol
MAN= bthidcontrol.8
SRCS= bthidcontrol.c hid.c lexer.l parser.y sdp.c

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.6 2006/09/07 21:36:55 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= bthidd
MAN= bthidd.8
# bthidd.conf.5

View File

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.2 2008/08/18 08:25:32 plunky Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= btpand
MAN= btpand.8
SRCS= btpand.c bnep.c channel.c client.c event.c packet.c server.c sdp.c tap.c

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.7 2003/08/14 20:06:17 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
CONFS= bluetooth.device.conf
CONFSDIR= /etc/defaults
PROG= hccontrol

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.8 2003/08/14 20:06:20 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
CONFS= hcsecd.conf
CONFSDIR= /etc/bluetooth
CONFSMODE_hcsecd.conf= 600

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.5 2003/08/14 20:06:21 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= hcseriald
MAN= hcseriald.8
WARNS?= 2

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.7 2003/08/14 20:06:22 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= l2control
MAN= l2control.8
SRCS= l2cap.c l2control.c

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.6 2003/08/14 20:06:24 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= l2ping
MAN= l2ping.8
WARNS?= 2

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/usr.bin/bluetooth/rfcomm_sppd
PACKAGE= bluetooth
PROG= rfcomm_pppd
MAN= rfcomm_pppd.8
SRCS= rfcomm_pppd.c rfcomm_sdp.c

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.1 2003/09/08 02:27:27 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= sdpcontrol
MAN= sdpcontrol.8
SRCS= sdpcontrol.c search.c

View File

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.1 2004/01/20 21:27:55 max Exp $
# $FreeBSD$
PACKAGE= bluetooth
PROG= sdpd
MAN= sdpd.8
SRCS= audio_sink.c audio_source.c \