Maemo debianization.
[wpasupplicant] / debian / patches.debian / 02_dbus_group_policy.patch
1 From: Michael Biebl <biebl@debian.org>
2 Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;bug=412179
3 Description: Debian does not use pam_console but uses group membership
4  to control access to D-Bus. Activating both options in the conf file
5  makes it work on Debian and Ubuntu.
6
7 --- a/wpa_supplicant/dbus-wpa_supplicant.conf
8 +++ b/wpa_supplicant/dbus-wpa_supplicant.conf
9 @@ -8,6 +8,10 @@
10                  <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
11                  <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
12          </policy>
13 +        <policy group="netdev">
14 +                <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
15 +                <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
16 +        </policy>
17          <policy context="default">
18                  <deny own="fi.epitest.hostap.WPASupplicant"/>
19                  <deny send_destination="fi.epitest.hostap.WPASupplicant"/>