Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | SUMMARY = "Aircrack-ng is a set of tools for auditing wireless networks" |
| 2 | DESCRIPTION = "Aircrack-ng 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, as well as the PTW attack, thus making the attack much faster compared to other WEP cracking tools." |
| 3 | SECTION = "security" |
| 4 | LICENSE = "GPL-2.0" |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=2;md5=1fbd81241fe252ec0f5658a521ab7dd8" |
| 7 | |
| 8 | DEPENDS = "libnl openssl sqlite3 libpcre libpcap" |
| 9 | RC = "rc2" |
| 10 | SRC_URI = "http://download.aircrack-ng.org/${BP}-${RC}.tar.gz \ |
| 11 | file://fixup_cflags.patch" |
| 12 | |
| 13 | SRC_URI[md5sum] = "ebe9d537f06f4d6956213af09c4476da" |
| 14 | SRC_URI[sha256sum] = "ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9" |
| 15 | |
| 16 | inherit autotools-brokensep pkgconfig |
| 17 | |
| 18 | S = "${WORKDIR}/${BP}-rc2" |
| 19 | |
| 20 | PACKAGECONFIG ?= "" |
| 21 | CFLAGS += " -I${S}/src/include" |
| 22 | |
| 23 | OEMAKE_EXTRA = "sqlite=true experimental=true pcre=true \ |
| 24 | prefix=${prefix} \ |
| 25 | " |
| 26 | |
| 27 | do_compile () { |
| 28 | make ${OEMAKE_EXTRA} TOOL_PREFIX=${TARGET_SYS}- |
| 29 | } |
| 30 | |
| 31 | do_install () { |
| 32 | make DESTDIR=${D} ${OEMAKE_EXTRA} ext_scripts=true install |
| 33 | } |
| 34 | |
| 35 | FILES_${PN} += "/usr/local/" |
| 36 | |
| 37 | RDEPENDS_${PN} = "libpcap" |