summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/fmrxd.aegis15
-rw-r--r--debian/fmrxd.install5
2 files changed, 16 insertions, 4 deletions
diff --git a/debian/fmrxd.aegis b/debian/fmrxd.aegis
index 18d2100..93e4093 100644
--- a/debian/fmrxd.aegis
+++ b/debian/fmrxd.aegis
@@ -1,15 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<aegis>
<provide>
+ <for origin="none" />
<credential name="dbus-server-bind" />
<dbus name="com.javispedro.fmrxd" own="dbus-server-bind" bus="system">
<node name="/com/javispedro/fmrxd">
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <annotation name="com.maemo.Aegis" value="" />
+ </interface>
+ <interface name="com.javispedro.fmrxd">
+ <annotation name="com.maemo.Aegis" value="" />
+ </interface>
</node>
</dbus>
</provide>
<request>
+ <for path="/usr/sbin/fmrxd" />
+ <!-- Required for raw ALSA access -->
<credential name="UID::root" />
+ <!-- Required to be able to turn BT on/off -->
+ <credential name="CAP::net_admin" />
+ <!-- Required to be able to send HCI commands -->
+ <credential name="CAP::net_raw" />
+ <!-- Required to own the above D-Bus service -->
<credential name="dbus-server-bind" />
- <for path="/usr/sbin/fmrxd" />
</request>
</aegis>
diff --git a/debian/fmrxd.install b/debian/fmrxd.install
index 58728e8..cc96e62 100644
--- a/debian/fmrxd.install
+++ b/debian/fmrxd.install
@@ -1,3 +1,2 @@
-fmrxd usr/sbin
-fmrx-ctl usr/bin
-fmrx-cat usr/bin
+usr/sbin
+usr/share/dbus-1/system-services