[Python-apps-commits] r2311 - in packages/wicd/trunk/debian (4 files)

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Sat Feb 7 23:35:13 UTC 2009


    Date: Saturday, February 7, 2009 @ 23:35:13
  Author: hanska-guest
Revision: 2311

* debian/patches/:
  - 05-fix_DBus_policy.patch added, allow only members of the netdev
    group to configure wicd (Closes: #512160)
* debian/postinst: add group "netdev", which will be the only one able
  to configure wicd
* debian/control: added dependency on adduser

Modified:
  packages/wicd/trunk/debian/changelog
  packages/wicd/trunk/debian/control
  packages/wicd/trunk/debian/patches/series
  packages/wicd/trunk/debian/postinst

Modified: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog	2009-02-07 23:13:03 UTC (rev 2310)
+++ packages/wicd/trunk/debian/changelog	2009-02-07 23:35:13 UTC (rev 2311)
@@ -3,8 +3,14 @@
   * New upstream release:
     - Fixed security hole in DBus configuration file
     - Fixed the TTLS template
+  * debian/patches/:
+    - 05-fix_DBus_policy.patch added, allow only members of the netdev
+      group to configure wicd (Closes: #512160)
+  * debian/postinst: add group "netdev", which will be the only one able
+    to configure wicd
+  * debian/control: added dependency on adduser
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 07 Feb 2009 23:21:18 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sun, 08 Feb 2009 00:34:18 +0100
 
 wicd (1.5.8-1) unstable; urgency=low
 

Modified: packages/wicd/trunk/debian/control
===================================================================
--- packages/wicd/trunk/debian/control	2009-02-07 23:13:03 UTC (rev 2310)
+++ packages/wicd/trunk/debian/control	2009-02-07 23:35:13 UTC (rev 2311)
@@ -21,7 +21,8 @@
  wireless-tools,
  dhcpd | dhcp3-client | pump,
  net-tools | ethtool,
- net-tools | iproute
+ net-tools | iproute,
+ adduser
 Suggests: pm-utils
 Conflicts: network-manager
 Description: wired and wireless network manager

Modified: packages/wicd/trunk/debian/patches/series
===================================================================
--- packages/wicd/trunk/debian/patches/series	2009-02-07 23:13:03 UTC (rev 2310)
+++ packages/wicd/trunk/debian/patches/series	2009-02-07 23:35:13 UTC (rev 2311)
@@ -1,4 +1,5 @@
-04-fix-scripts.patch
 01-fix_desktop_file.patch
 02-fix_logfile_perms.patch
 03-fix_lintian_manpage_warning.patch
+04-fix-scripts.patch
+05-fix_DBus_policy.patch

Modified: packages/wicd/trunk/debian/postinst
===================================================================
--- packages/wicd/trunk/debian/postinst	2009-02-07 23:13:03 UTC (rev 2310)
+++ packages/wicd/trunk/debian/postinst	2009-02-07 23:35:13 UTC (rev 2311)
@@ -20,6 +20,9 @@
 
 case "$1" in
     configure)
+    	if [ ! $(getent group netdev) ]; then
+    		adduser --quiet --system netdev
+    	fi
         if [ -x "/etc/init.d/dbus" ]; then
             if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                 invoke-rc.d dbus force-reload || exit $?




More information about the Python-apps-commits mailing list