r39 - in unstable/rutilt/debian: . patches

benh at alioth.debian.org benh at alioth.debian.org
Sun Oct 7 22:00:16 UTC 2007


Author: benh
Date: 2007-10-07 22:00:16 +0000 (Sun, 07 Oct 2007)
New Revision: 39

Added:
   unstable/rutilt/debian/patches/012_fix_set_ip.diff
Modified:
   unstable/rutilt/debian/control
   unstable/rutilt/debian/patches/series
Log:
Patched set_ip.sh to be quiet when there is nothing to kill, and to remove bogus reference to dhcpd.
Added Recommends field for set_ip.sh dependencies.


Modified: unstable/rutilt/debian/control
===================================================================
--- unstable/rutilt/debian/control	2007-10-07 21:46:19 UTC (rev 38)
+++ unstable/rutilt/debian/control	2007-10-07 22:00:16 UTC (rev 39)
@@ -12,6 +12,7 @@
 Package: rutilt
 Architecture: any
 Depends: ${shlibs:Depends}
+Recommends: procps, dhcp3-client
 Description: Configuration tool for rt2x00 wireless network cards
  RutilT is a Gtk+2 utility for Linux that helps you configure your wireless
  devices. Although primarily written for the rt2x00 project, it supports any

Added: unstable/rutilt/debian/patches/012_fix_set_ip.diff
===================================================================
--- unstable/rutilt/debian/patches/012_fix_set_ip.diff	                        (rev 0)
+++ unstable/rutilt/debian/patches/012_fix_set_ip.diff	2007-10-07 22:00:16 UTC (rev 39)
@@ -0,0 +1,14 @@
+--- rutilt.orig/set_ip.sh
++++ rutilt/set_ip.sh
+@@ -40,10 +40,7 @@
+ # No known essid, fallback on DHCP  but first kill any previously running
+ # dhcp client :
+     *) if [ -e /sbin/dhclient ]; then
+-           kill `ps -o pid= -C"dhclient $1"`
++           pkill -f "dhclient $1"
+            exec /sbin/dhclient $1
+-       else
+-           kill `ps -o pid= -C"dhcpd $1"`
+-           exec /sbin/dhcpd $1
+        fi;;
+ esac

Modified: unstable/rutilt/debian/patches/series
===================================================================
--- unstable/rutilt/debian/patches/series	2007-10-07 21:46:19 UTC (rev 38)
+++ unstable/rutilt/debian/patches/series	2007-10-07 22:00:16 UTC (rev 39)
@@ -6,6 +6,7 @@
 009_remove_unsafe_signal_handler.diff
 010_fix_cflags.diff
 011_fix_trayicon_toggle.diff
+012_fix_set_ip.diff
 001_fix_desktop.diff
 002_fix_install.diff
 003_fix_ELF_location.diff




More information about the Pkg-ralink-commits mailing list