2011-02-14 23:40:51 +01:00
|
|
|
{stdenv, fetchsvn, libpcap, openssl, zlib, wirelesstools}:
|
2009-02-01 22:21:12 +01:00
|
|
|
|
2011-02-14 23:40:51 +01:00
|
|
|
let
|
2012-08-11 14:40:54 +02:00
|
|
|
rev = "2178";
|
2011-02-14 23:40:51 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aircrack-ng-1.1-${rev}";
|
2009-02-01 22:21:12 +01:00
|
|
|
|
2011-02-14 23:40:51 +01:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://trac.aircrack-ng.org/svn/trunk";
|
|
|
|
inherit rev;
|
2012-08-11 14:40:54 +02:00
|
|
|
sha256 = "0rwj2nk4nyy0l9dg6rpg2h5gpvcygs5irj4i6fdcsr8xf0blq7yw";
|
2009-02-01 22:21:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libpcap openssl zlib];
|
|
|
|
|
2009-02-02 22:57:18 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's@^prefix.*@prefix = '$out@ -i common.mak
|
|
|
|
sed -e 's@/usr/local/bin@'${wirelesstools}@ -i src/osdep/linux.c
|
|
|
|
'';
|
2009-02-01 22:21:12 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wireless encryption crackign tools";
|
|
|
|
homepage = http://www.aircrack-ng.org/;
|
|
|
|
license = "GPL2+";
|
|
|
|
};
|
|
|
|
}
|