mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
reaverwps: enable parallel build (#156976)
This commit is contained in:
parent
e4b53634e6
commit
2f8c18fd4d
@ -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 New Issue
Block a user