void-packages/srcpkgs/bluez/patches/0004-permission.patch

36 lines
941 B
Diff
Raw Normal View History

2024-06-15 08:34:09 +02:00
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -23,6 +23,10 @@
<allow send_interface="org.mpris.MediaPlayer2.Player"/>
</policy>
+ <policy group="bluetooth">
+ <allow send_destination="org.bluez"/>
+ </policy>
+
<policy context="default">
<allow send_destination="org.bluez"/>
</policy>
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
statedir = $(localstatedir)/lib/bluetooth
bluetoothd-fix-permissions:
- install -dm555 $(DESTDIR)$(confdir)
+ install -dm755 $(DESTDIR)$(confdir)
install -dm700 $(DESTDIR)$(statedir)
if DATAFILES
--- a/Makefile.in
+++ b/Makefile.in
@@ -13737,7 +13737,7 @@ uninstall-man: uninstall-man1 uninstall-
bluetoothd-fix-permissions:
- install -dm555 $(DESTDIR)$(confdir)
+ install -dm755 $(DESTDIR)$(confdir)
install -dm700 $(DESTDIR)$(statedir)
@BTPCLIENT_TRUE@tools/btpclient.$(OBJEXT): src/libshared-ell.la ell/internal