2011-02-14 22:40:51 +00:00
|
|
|
{stdenv, fetchsvn, libpcap, openssl, zlib, wirelesstools}:
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2011-02-14 22:40:51 +00:00
|
|
|
let
|
2012-12-28 01:16:31 +00:00
|
|
|
rev = "2212";
|
2011-02-14 22:40:51 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aircrack-ng-1.1-${rev}";
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2011-02-14 22:40:51 +00:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://trac.aircrack-ng.org/svn/trunk";
|
|
|
|
inherit rev;
|
2012-12-28 01:16:31 +00:00
|
|
|
sha256 = "80e567b4e4bc501721cd58f7efadcd13fc3b235a41486174826694a6e701ce09";
|
2009-02-01 21:21:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libpcap openssl zlib];
|
|
|
|
|
2009-02-02 21:57:18 +00: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 21:21:12 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wireless encryption crackign tools";
|
|
|
|
homepage = http://www.aircrack-ng.org/;
|
|
|
|
license = "GPL2+";
|
|
|
|
};
|
|
|
|
}
|