summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/reaver/files/reaver-1.4_var_db.patch')
-rw-r--r--net-wireless/reaver/files/reaver-1.4_var_db.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/reaver/files/reaver-1.4_var_db.patch b/net-wireless/reaver/files/reaver-1.4_var_db.patch
new file mode 100644
index 000000000000..de4317b59ffc
--- /dev/null
+++ b/net-wireless/reaver/files/reaver-1.4_var_db.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -3,7 +3,7 @@ LIBWPS_DIR=libwps
+ INC=-I$(LIBWPS_DIR)
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-CONFDIR=@sysconfdir@/@target@
++CONFDIR=/var/db/reaver
+ CFLAGS=-DCONF_DIR='"$(CONFDIR)"' -DREAVER_DATABASE='"$(CONFDIR)/reaver.db"' @CFLAGS@
+ LDFLAGS=$(LIBWPS_DIR)/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a @LDFLAGS@
+