Skip to contentSkip to conversation

wireless tools: bump to version 30.pre9

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireless tools: bump to version 30.pre9

It seems there won't be any new release soon (or ever), so update to the latest pre version for better functionality (non-ASCII ESSIDs, bigger scan buffer for example).
Also update the bzero deprecation patch since it missed some instances.

---
 package/wireless_tools/Config.in                   |  1 +
 .../wireless_tools-01-remove-bzero.patch           | 95 ++++++++++++++++++++++
 .../wireless_tools-29-remove-bzero.patch           | 29 -------
 package/wireless_tools/wireless_tools.mk           |  5 +-
 4 files changed, 99 insertions(+), 31 deletions(-)
 create mode 100644 package/wireless_tools/wireless_tools-01-remove-bzero.patch
 delete mode 100644 package/wireless_tools/wireless_tools-29-remove-bzero.patch
package/wireless_tools/Config.in +1 -0
index 0840187..0968fd3 100644
@@ -9,6 +9,7 @@ if BR2_PACKAGE_WIRELESS_TOOLS
 
 config BR2_PACKAGE_WIRELESS_TOOLS_LIB
 	bool "Install shared library"
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  The shared library of wireless tools
 
package/wireless_tools/wireless_tools-01-remove-bzero.patch new file +95 -0

95 lines not on this page · raw message

package/wireless_tools/wireless_tools-29-remove-bzero.patch deleted +0 -29
deleted file mode 100644
index 4714b31..0000000
@@ -1,29 +0,0 @@
---- a/iwlib.c	2007-06-29 19:43:31.000000000 -0400
-+++ b/iwlib.c	2008-03-12 14:18:48.000000000 -0400
-@@ -475,7 +475,7 @@ iw_get_range_info(int		skfd,
-   union iw_range_raw *	range_raw;
- 
-   /* Cleanup */
--  bzero(buffer, sizeof(buffer));
-+  memset(buffer, 0, sizeof(buffer));
- 
-   wrq.u.data.pointer = (caddr_t) buffer;
-   wrq.u.data.length = sizeof(buffer);
-@@ -504,7 +504,7 @@ iw_get_range_info(int		skfd,
-   else
-     {
-       /* Zero unknown fields */
--      bzero((char *) range, sizeof(struct iw_range));
-+      memset((char *) range, 0, sizeof(struct iw_range));
- 
-       /* Initial part unmoved */
-       memcpy((char *) range,
-@@ -2960,7 +2960,7 @@ iw_process_scanning_token(struct iw_even
- 	oldwscan->next = wscan;
- 
-       /* Reset it */
--      bzero(wscan, sizeof(struct wireless_scan));
-+      memset(wscan, 0, sizeof(struct wireless_scan));
- 
-       /* Save cell identifier */
-       wscan->has_ap_addr = 1;
package/wireless_tools/wireless_tools.mk +3 -2
index ff9f6a5..2082006 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-WIRELESS_TOOLS_VERSION = 29
+WIRELESS_TOOLS_VERSION_MAJOR = 30
+WIRELESS_TOOLS_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR).pre9
 WIRELESS_TOOLS_SITE = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
 WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
 WIRELESS_TOOLS_LICENSE = GPLv2
@@ -16,7 +17,7 @@ WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
 
 
 ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
-	WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION)
+	WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
 	WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
 
 define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 wireless tools: bump to version 30.pre9

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

It seems there won't be any new release soon (or ever), so update to the latest pre version for better functionality (non-ASCII ESSIDs, bigger scan buffer for example).
Also update the bzero deprecation patch since it missed some instances.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard