commit: ffd3f508463eb80c860adcae5f966ca2ab92b92b
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 17:22:55 2017 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 17:23:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd3f508
net-wireless/bluez: Revision bump to 5.47-r1, update OpenRC init script
Gentoo-Bug: 630988
Package-Manager: Portage-2.3.8, Repoman-2.3.3
.../bluez/{bluez-5.47.ebuild => bluez-5.47-r1.ebuild} | 2 +-
net-wireless/bluez/files/bluetooth-init.d-r4 | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/net-wireless/bluez/bluez-5.47.ebuild
b/net-wireless/bluez/bluez-5.47-r1.ebuild
similarity index 99%
rename from net-wireless/bluez/bluez-5.47.ebuild
rename to net-wireless/bluez/bluez-5.47-r1.ebuild
index 1549f18010f..e60d2611e3f 100644
--- a/net-wireless/bluez/bluez-5.47.ebuild
+++ b/net-wireless/bluez/bluez-5.47-r1.ebuild
@@ -245,7 +245,7 @@ multilib_src_install_all() {
done
doins src/main.conf
- newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth
+ newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth
newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm
einstalldocs
diff --git a/net-wireless/bluez/files/bluetooth-init.d-r4
b/net-wireless/bluez/files/bluetooth-init.d-r4
new file mode 100755
index 00000000000..97cf500008e
--- /dev/null
+++ b/net-wireless/bluez/files/bluetooth-init.d-r4
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/run/bluetoothd.pid"
+command="/usr/libexec/bluetooth/bluetoothd"
+command_background=1
+
+depend() {
+ after coldplug
+ need dbus localmount hostname
+}