reaverwps: enable parallel build (#156976)
This commit is contained in:
parent
e4b53634e6
commit
2f8c18fd4d
2 changed files with 15 additions and 0 deletions
|
@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
|
|||
wrapProgram $out/bin/wash --run "[ -s ${confdir}/reaver/reaver.db ] || install -D $out/etc/reaver.db ${confdir}/reaver/reaver.db"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches = [ ./parallel-build.patch ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Brute force attack against Wifi Protected Setup";
|
||||
homepage = "https://code.google.com/archive/p/reaver-wps/";
|
||||
|
|
11
pkgs/tools/networking/reaver-wps/parallel-build.patch
Normal file
11
pkgs/tools/networking/reaver-wps/parallel-build.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/Makefile.in 2012-01-18 10:02:40.000000000 +0100
|
||||
+++ src/Makefile.in 2022-01-27 19:29:19.324662149 +0100
|
||||
@@ -63,7 +63,7 @@
|
||||
80211.o: globule.o sql.o builder.o crc.o
|
||||
$(CC) $(CFLAGS) $(INC) 80211.c -c
|
||||
|
||||
-iface.o: globule.o
|
||||
+iface.o: globule.o libiw
|
||||
$(CC) $(CFLAGS) iface.c -c
|
||||
|
||||
sigalrm.o: globule.o
|
Loading…
Reference in a new issue