reaverwps: enable parallel build (#156976)

This commit is contained in:
dasj19 2022-02-12 15:23:43 +01:00 committed by GitHub
parent e4b53634e6
commit 2f8c18fd4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -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/";

View 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