summaryrefslogtreecommitdiff
path: root/recipes/wifi-radar/files
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/wifi-radar/files
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/wifi-radar/files')
-rw-r--r--recipes/wifi-radar/files/wifi-radar.patch37
-rw-r--r--recipes/wifi-radar/files/wifi-radar_destktop.patch13
2 files changed, 50 insertions, 0 deletions
diff --git a/recipes/wifi-radar/files/wifi-radar.patch b/recipes/wifi-radar/files/wifi-radar.patch
new file mode 100644
index 0000000000..da34dfb50c
--- /dev/null
+++ b/recipes/wifi-radar/files/wifi-radar.patch
@@ -0,0 +1,37 @@
+--- wifi-radar-1.9.6/wifi-radar 2006-03-28 00:41:40.000000000 +0200
++++ wifi-radar-1.9.6/wifi-radar.new 2006-05-14 22:50:25.000000000 +0200
+@@ -73,7 +73,7 @@
+ #
+ # List of supported DHCP clients in order of preference
+ #
+-POSSIBLE_DHCP_CLIENTS = "dhcpcd dhclient pump"
++POSSIBLE_DHCP_CLIENTS = "udhcpc dhcpcd dhclient pump"
+ DHCP_TIMEOUT = 30
+ HOSTNAME = socket.gethostname()
+
+@@ -81,7 +81,13 @@
+ DHCP_COMMAND = which( i )
+ if DHCP_COMMAND:
+
+- if i == "dhcpcd":
++ if i == "udhcpc":
++ DHCP_PIDFILE = "/var/run/udhcpc.%s.pid" % INTERFACE
++ DHCP_ARGS = "-p " + DHCP_PIDFILE + " -i"
++ DHCP_KILL_COMMAND = "" # no kill command available
++ break
++
++ elif i == "dhcpcd":
+ DHCP_PIDFILE = "/var/run/dhcpcd-%s.pid" % INTERFACE
+ #
+ # See "man dhcpcd-bin" or "man dhcpcd" for additional options.
+@@ -138,8 +144,8 @@
+ # WPA_SUPPLICANT
+ WPA_SUPPLICANT_COMMAND = "/usr/sbin/wpa_supplicant"
+ WPA_SUPPLICANT_KILL_COMMAND=""
+-WPA_SUPPLICANT_CONF="/etc/wpa_supplicant/wpa_supplicant.conf"
+-WPA_DRIVER="ipw"
++WPA_SUPPLICANT_CONF="/etc/wpa_supplicant.conf"
++WPA_DRIVER="hostap"
+ WPA_SUPPLICANT_PIDFILE = "/var/run/wpa_supplicant.pid"
+ WPA_SUPPLICANT_ARGS = "-B -i " + INTERFACE + " -c " + WPA_SUPPLICANT_CONF + " -D " + WPA_DRIVER + " -p " + WPA_SUPPLICANT_PIDFILE
+
diff --git a/recipes/wifi-radar/files/wifi-radar_destktop.patch b/recipes/wifi-radar/files/wifi-radar_destktop.patch
new file mode 100644
index 0000000000..ce0dd91464
--- /dev/null
+++ b/recipes/wifi-radar/files/wifi-radar_destktop.patch
@@ -0,0 +1,13 @@
+--- wifi-radar-1.9.6/wifi-radar.desktop 2006-02-08 23:27:46.000000000 +0100
++++ wifi-radar-1.9.6/wifi-radar.desktop.new 2006-05-14 22:06:29.000000000 +0200
+@@ -5,8 +5,8 @@
+ Name=Wifi-radar
+ GenericName=Wireless tool
+ Comment=Tool for connecting to wireless networks
+-Icon=wifi-radar.svg
++Icon=wifi-radar.png
+ FilePattern=wifi-radar
+ TryExec=wifi-radar
+-Exec=gksudo -S wifi-radar
++Exec=wifi-radar
+ Categories=Application;Network;