net-wireless/bluez: Revision bump to 5.47-r1, update OpenRC init script
authorPatrick McLean <chutzpah@gentoo.org>
Thu, 14 Sep 2017 17:22:55 +0000 (10:22 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 14 Sep 2017 17:23:19 +0000 (10:23 -0700)
Gentoo-Bug: 630988
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-wireless/bluez/bluez-5.47-r1.ebuild [moved from net-wireless/bluez/bluez-5.47.ebuild with 99% similarity]
net-wireless/bluez/files/bluetooth-init.d-r4 [new file with mode: 0755]

similarity index 99%
rename from net-wireless/bluez/bluez-5.47.ebuild
rename to net-wireless/bluez/bluez-5.47-r1.ebuild
index 1549f18010f82b33d8ef7f5ff4ace3a74f3470c3..e60d2611e3fec491ad3262b97730dfc4c81aa0cd 100644 (file)
@@ -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 (executable)
index 0000000..97cf500
--- /dev/null
@@ -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
+}