diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-01-02 00:16:08 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-01-02 00:16:08 +0100 |
commit | d858f899525dc40fe684a8ed15f5103ed8d733b7 (patch) | |
tree | b03756277783d55ff5c50c990aeae162225414c6 /debian | |
parent | 4236fc397aaf1ebc0b0cb375c4b9e02d50aec604 (diff) | |
download | fmrxd-d858f899525dc40fe684a8ed15f5103ed8d733b7.tar.gz fmrxd-d858f899525dc40fe684a8ed15f5103ed8d733b7.zip |
move to system d-bus
Diffstat (limited to 'debian')
-rw-r--r-- | debian/fmrxd.aegis | 15 | ||||
-rw-r--r-- | debian/fmrxd.install | 5 |
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 |