aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2006-03-28 22:30:12 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2006-03-28 22:30:12 +0000
commita35536fb94b7c1e991abb9ae27d225c750178420 (patch)
treec3584295fbd3d05a22f1b1388475156d739ae6a5 /package/hostapd
parent6a55bde84b43dfc17ac2911844bf5dc069ef4e9f (diff)
downloadmaster-187ad058-a35536fb94b7c1e991abb9ae27d225c750178420.tar.gz
master-187ad058-a35536fb94b7c1e991abb9ae27d225c750178420.tar.bz2
master-187ad058-a35536fb94b7c1e991abb9ae27d225c750178420.zip
fix problems from ticket #385, thx mikea
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3532 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Makefile4
-rw-r--r--package/hostapd/patches/001-cross_compile_fix.patch22
2 files changed, 20 insertions, 6 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index e7b42dc4a3..f801256956 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=hostapd
-PKG_VERSION:=0.5.1
+PKG_VERSION:=0.5.2
PKG_RELEASE:=1
-PKG_MD5SUM:=3e38533604187e291f45a2f6873b71cc
+PKG_MD5SUM:=b7f4739ca4758798f8dc3b1ea9fd00d0
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/package/hostapd/patches/001-cross_compile_fix.patch b/package/hostapd/patches/001-cross_compile_fix.patch
index ca2bb23c77..8b5ca681d2 100644
--- a/package/hostapd/patches/001-cross_compile_fix.patch
+++ b/package/hostapd/patches/001-cross_compile_fix.patch
@@ -1,6 +1,7 @@
-diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile
---- hostapd-0.3.9-old/Makefile 2005-06-11 05:03:36.000000000 +0200
-+++ hostapd-0.3.9-new/Makefile 2005-08-14 08:09:52.000000000 +0200
+Common subdirectories: hostapd-0.5.2/logwatch and hostapd-0.5.2.new/logwatch
+diff -u hostapd-0.5.2/Makefile hostapd-0.5.2.new/Makefile
+--- hostapd-0.5.2/Makefile 2006-03-20 03:20:09.000000000 +0000
++++ hostapd-0.5.2.new/Makefile 2006-03-21 22:25:23.803473592 +0000
@@ -3,7 +3,7 @@
DIR_HOSTAP=.
@@ -10,7 +11,7 @@ diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile
endif
# define HOSTAPD_DUMP_STATE to include SIGUSR1 handler for dumping state to
-@@ -173,7 +173,7 @@
+@@ -266,7 +266,7 @@
for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
hostapd: $(OBJS)
@@ -19,3 +20,16 @@ diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile
driver_conf.c: Makefile .config
rm -f driver_conf.c
+@@ -330,10 +330,10 @@
+ endif
+
+ nt_password_hash: $(NOBJS)
+- $(CC) -o nt_password_hash $(NOBJS) $(LIBS_n)
++ $(CC) -o nt_password_hash $(NOBJS) $(LDFLAGS) $(LIBS_n)
+
+ hlr_auc_gw: $(HOBJS)
+- $(CC) -o hlr_auc_gw $(HOBJS) $(LIBS_h)
++ $(CC) -o hlr_auc_gw $(HOBJS) $(LDFLAGS) $(LIBS_h)
+
+ clean:
+ rm -f core *~ *.o hostapd hostapd_cli nt_password_hash hlr_auc_gw