Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bouleetbiltesting.git;a=commitdiff;h=f5bd393d714d5feafae78febec769572dd5bd93b

commit f5bd393d714d5feafae78febec769572dd5bd93b
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Oct 26 11:09:55 2009 +0100

nm-applet-0.7.1.997-1-i686
*new package

diff --git a/source/gnome-extra/nm-applet/FrugalBuild 
b/source/gnome-extra/nm-applet/FrugalBuild
new file mode 100644
index 0000000..37c1f45
--- /dev/null
+++ b/source/gnome-extra/nm-applet/FrugalBuild
@@ -0,0 +1,24 @@
+# Compiling Time: 2.23 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=nm-applet
+_F_gnome_name=network-manager-applet
+pkgver=0.7.1.997
+pkgrel=1
+pkgdesc="Network Management applet"
+depends=('gconf' 'gtk+2' 'libglade' 'gnome-keyring' 'libgnomeui' 'gnome-panel' 
\
+       'networkmanager' 'gnome-policykit')
+makedepends=('perl-xml-parser' 'intltool')
+groups=('gnome-extra')
+archs=('i686')
+ _F_gnome_schemas=('/etc/gconf/schemas/nm-applet.schemas')
+_F_gnome_desktop="y"
+_F_gnome_iconcache="y"
+_F_gnome_devel="y"
+Finclude gnome gnome-scriptlet
+source=($source dbus-access.diff)
+sha1sums=('51eea914d0a834e426d35672d51639d9320b04c2' \
+          '1cbdd2a2ef26614f05fbe705ec17a8e3b5eec4fd')
+_F_cd_path=$_F_gnome_name-$pkgver
+
+# optimization OK
diff --git a/source/gnome-extra/nm-applet/dbus-access.diff 
b/source/gnome-extra/nm-applet/dbus-access.diff
new file mode 100644
index 0000000..c40ffb5
--- /dev/null
+++ b/source/gnome-extra/nm-applet/dbus-access.diff
@@ -0,0 +1,42 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN 
network-manager-applet-0.7.1.orig/nm-applet-dbus-126.conf 
network-manager-applet-0.7.1/nm-applet-dbus-126.conf
+--- network-manager-applet-0.7.1.orig/nm-applet-dbus-126.conf  2009-03-31 
12:10:19.000000000 -0400
++++ network-manager-applet-0.7.1/nm-applet-dbus-126.conf       2009-05-01 
19:53:29.000000000 -0400
+@@ -23,7 +23,16 @@
+                 <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"
+                        
send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
+         </policy>
+-        <policy at_console="true">
++      <policy at_console="true">
++                <allow own="org.freedesktop.NetworkManagerUserSettings"/>
++
++                <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"
++                       
send_interface="org.freedesktop.NetworkManagerSettings"/>
++
++                <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"
++                       
send_interface="org.freedesktop.NetworkManagerSettings.Connection"/>
++        </policy>
++        <policy group="netdev">
+                 <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+
+                 <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN 
network-manager-applet-0.7.1.orig/nm-applet-pre-dbus-126.conf 
network-manager-applet-0.7.1/nm-applet-pre-dbus-126.conf
+--- network-manager-applet-0.7.1.orig/nm-applet-pre-dbus-126.conf      
2009-03-31 12:10:20.000000000 -0400
++++ network-manager-applet-0.7.1/nm-applet-pre-dbus-126.conf   2009-05-01 
19:53:37.000000000 -0400
+@@ -11,7 +11,16 @@
+               <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"
+                      
send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
+         </policy>
+-        <policy at_console="true">
++      <policy at_console="true">
++                <allow own="org.freedesktop.NetworkManagerUserSettings"/>
++
++                <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"/>
++
++                <!-- Only root can get secrets -->
++                <deny 
send_destination="org.freedesktop.NetworkManagerUserSettings"
++                      
send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
++        </policy>
++        <policy group="netdev">
+                 <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+
+                 <allow 
send_destination="org.freedesktop.NetworkManagerUserSettings"/>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to