From 9553ea80a8807d9ff2b7b3498bdb002f6cb66b26 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Fri, 19 Jul 2019 15:10:03 +0000 Subject: [PATCH] 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 --- libexec/rc/rc.d/Makefile | 18 +++++++-------- release/packages/Makefile.package | 2 ++ release/packages/bluetooth.ucl | 24 ++++++++++++++++++++ usr.bin/bluetooth/bthost/Makefile | 2 ++ usr.bin/bluetooth/btsockstat/Makefile | 1 + usr.bin/bluetooth/rfcomm_sppd/Makefile | 1 + usr.sbin/bluetooth/ath3kfw/Makefile | 1 + usr.sbin/bluetooth/bcmfw/Makefile | 1 + usr.sbin/bluetooth/bluetooth-config/Makefile | 1 + usr.sbin/bluetooth/bt3cfw/Makefile | 1 + usr.sbin/bluetooth/bthidcontrol/Makefile | 1 + usr.sbin/bluetooth/bthidd/Makefile | 1 + usr.sbin/bluetooth/btpand/Makefile | 1 + usr.sbin/bluetooth/hccontrol/Makefile | 1 + usr.sbin/bluetooth/hcsecd/Makefile | 1 + usr.sbin/bluetooth/hcseriald/Makefile | 1 + usr.sbin/bluetooth/l2control/Makefile | 1 + usr.sbin/bluetooth/l2ping/Makefile | 1 + usr.sbin/bluetooth/rfcomm_pppd/Makefile | 1 + usr.sbin/bluetooth/sdpcontrol/Makefile | 1 + usr.sbin/bluetooth/sdpd/Makefile | 1 + 21 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 release/packages/bluetooth.ucl diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile index b578f3650df..40e594bca57 100644 --- a/libexec/rc/rc.d/Makefile +++ b/libexec/rc/rc.d/Makefile @@ -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" diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package index 5261583e0fd..40937d450c3 100644 --- a/release/packages/Makefile.package +++ b/release/packages/Makefile.package @@ -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 diff --git a/release/packages/bluetooth.ucl b/release/packages/bluetooth.ucl new file mode 100644 index 00000000000..753c26bc502 --- /dev/null +++ b/release/packages/bluetooth.ucl @@ -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 = <