2013-06-02 19:54:20 +02:00
|
|
|
{stdenv, fetchurl, libpcap, openssl, zlib, wirelesstools}:
|
2009-02-01 22:21:12 +01:00
|
|
|
|
2011-02-14 23:40:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-06-02 19:54:20 +02:00
|
|
|
name = "aircrack-ng-1.2-beta1";
|
2009-02-01 22:21:12 +01:00
|
|
|
|
2013-06-02 19:54:20 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.aircrack-ng.org/${name}.tar.gz";
|
|
|
|
sha256 = "19cfib7sqp2rdm3lc84jrzsa6r8443gkm1ifbmhygsqn6fnkj8zi";
|
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+";
|
|
|
|
};
|
|
|
|
}
|