reaver: configure with --enable-savetocurrent
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 25 Dec 2017 06:10:34 +0000 (14:10 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 25 Dec 2017 06:16:36 +0000 (14:16 +0800)
It will let reaver to save session file to cwd of the process instead of
/etc/reaver.  This has the same effect as the old patch

  0002-Use-the-current-directory-for-storing-and-loading-se.patch

which was removed in the transition to reaver-wps-t6x-fork

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/reaver/Makefile

index 137aaeae3273f64bac4771d140c924b6bcf3ea4b..0f2949c85ee45b10947c345975a8b0ba251465ac 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=reaver
 PKG_VERSION:=1.6.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@@ -28,6 +28,8 @@ include $(INCLUDE_DIR)/package.mk
 CONFIGURE_PATH:=src
 MAKE_PATH:=src
 
+CONFIGURE_ARGS += --enable-savetocurrent
+
 define Package/reaver
   SECTION:=net
   CATEGORY:=Network