[arch-commits] Commit in wicd/trunk (PKGBUILD wicd-scripts-execution.patch)

Daniel Isenmann daniel at archlinux.org
Sun Feb 21 13:25:10 UTC 2010


    Date: Sunday, February 21, 2010 @ 08:25:09
  Author: daniel
Revision: 69602

upgpkg: wicd 1.7.0-3
FS#18286 fixed.

Added:
  wicd/trunk/wicd-scripts-execution.patch
Modified:
  wicd/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |    9 ++++++---
 wicd-scripts-execution.patch |   24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-21 12:21:35 UTC (rev 69601)
+++ PKGBUILD	2010-02-21 13:25:09 UTC (rev 69602)
@@ -4,7 +4,7 @@
 
 pkgname=wicd
 pkgver=1.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc="New and alternative wireless/wired network management utility"
 arch=('i686' 'x86_64')
 url="http://wicd.sourceforge.net/"
@@ -20,15 +20,18 @@
 install=wicd.install
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
         wicd-daemon
-        wicd.desktop)
+        wicd.desktop
+	wicd-scripts-execution.patch)
 options=('emptydirs')
 backup=('etc/wicd/encryption/templates/active')
 md5sums=('003d2e67240989db55934553437ba32a'
          'f40e5f59998d0829707a7c9976afa8f8'
-         '326df163a5732d38741371baa4fce9e5')
+         '326df163a5732d38741371baa4fce9e5'
+         'f4c377a25aa077cb76955124adfcc03f')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+  patch -p0 <$srcdir/wicd-scripts-execution.patch || return 1
   python setup.py configure --no-install-init --resume=/usr/share/wicd/scripts/ \
                             --suspend=/usr/share/wicd/scripts/ --verbose
   python setup.py install --root=$pkgdir

Added: wicd-scripts-execution.patch
===================================================================
--- wicd-scripts-execution.patch	                        (rev 0)
+++ wicd-scripts-execution.patch	2010-02-21 13:25:09 UTC (rev 69602)
@@ -0,0 +1,24 @@
+=== modified file 'wicd/networking.py'
+--- wicd/networking.py	2010-01-15 04:02:10 +0000
++++ wicd/networking.py	2010-01-27 19:06:21 +0000
+@@ -215,8 +215,8 @@
+         if self.pre_disconnect_script:
+             print 'Running pre-disconnect script'
+             misc.ExecuteScript(expand_script_macros(self.pre_disconnect_script,
+-                                                    'pre-disconnection', (mac,
+-                                                                          name)),
++                                                    'pre-disconnection',
++                                                    mac, name),
+                                self.debug)
+         iface.ReleaseDHCP()
+         iface.SetAddress('0.0.0.0')
+@@ -229,7 +229,7 @@
+             print 'Running post-disconnect script'
+             misc.ExecuteScript(expand_script_macros(self.post_disconnect_script,
+                                                     'post-disconnection',
+-                                                   (mac, name)),
++                                                   mac, name),
+                                self.debug)
+         
+     def ReleaseDHCP(self):
+




More information about the arch-commits mailing list