# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name aircrack-ng version 1.1 categories security platforms darwin maintainers nomaintainer description Aircrack-ng is the next generation of aircrack with lots of new features long_description aircrack is an 802.11 WEP and WPA-PSK keys cracking \ program that can recover keys once enough data packets \ have been captured. It implements the standard FMS \ attack along with some optimizations like KoreK attacks, \ thus making the attack much faster compared to other WEP \ cracking tools. In fact, aircrack is a set of tools for \ auditing wireless networks. homepage http://aircrack-ng.org/ master_sites http://download.aircrack-ng.org/ checksums md5 f7a24ed8fad122c4187d06bfd6f998b4 \ sha1 16eed1a8cf06eb8274ae382150b56589b23adf77 \ rmd160 7d70533b0397e801d4a85c1be3584699364f3d38 post-patch { reinplace s@/usr/local@${prefix}@ ${worksrcpath}/common.mak reinplace s/-Werror// ${worksrcpath}/common.mak reinplace -E {s/#if defined.*/#if 0/} \ ${worksrcpath}/src/aircrack-ng.c \ ${worksrcpath}/src/common.h \ ${worksrcpath}/src/sha1-sse2.h } depends_build port:gmake depends_lib port:openssl use_configure no use_parallel_build yes variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.cmd ${prefix}/bin/gmake build.args ASM_AC= \ CC="${configure.cc} ${archflags}" destroot.args mandir=${prefix}/share/man/man1