1 Description: add type to IMPORT keyword in ifrename's udev rules file
2 Author: Guus Sliepen <guus@debian.org>
3 Bug-Debian: http://bugs.debian.org/650606
5 --- wireless-tools-30~pre9.orig/19-udev-ifrename.rules
6 +++ wireless-tools-30~pre9/19-udev-ifrename.rules
8 # when udev runs (i.e. on boot partition).
10 # Enable this rule to test with udevtest.
11 -#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
12 +#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
15 # If interface is found in /etc/iftab, subsequent rename rules are bypassed.
16 # If interface is not found in /etc/iftab, subsequent rename rules applies.
17 -SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"
18 +SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"
19 --- wireless-tools-30~pre8.orig/Makefile
20 +++ wireless-tools-30~pre8/Makefile
22 ## a local version (non-root).
23 ## Standard distros should comment that option to save space and to
24 ## build libiw.so used by third parties...
28 ## Uncomment this to build without using libm (less efficient).
29 ## This is mostly useful for embedded platforms without maths.
32 INSTALL_DIR= $(PREFIX)/sbin
33 INSTALL_LIB= $(PREFIX)/lib
34 -INSTALL_INC= $(PREFIX)/include
35 -INSTALL_MAN= $(PREFIX)/man
36 +INSTALL_INC= $(PREFIX)/usr/include
37 +INSTALL_MAN= $(PREFIX)/usr/share/man
41 --- wireless-tools-29.orig/iftab.5
42 +++ wireless-tools-29/iftab.5
44 (logical or), specify two different mappings with the same interface
45 name (one on each line).
47 -always use the first matching mapping starting from the
51 -therefore more restrictive mapping should be specified last.
52 +always uses the last matching mapping in iftab.
54 .\" INTERFACE NAME part
56 --- wireless-tools-30~pre8.orig/iwlib.c
57 +++ wireless-tools-30~pre8/iwlib.c
62 + memset((char *) &wrq, 0, sizeof(struct iwreq));
63 memset((char *) info, 0, sizeof(struct wireless_config));
65 /* Get wireless name */