aircrack-ng: add new package

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2015-06-03 19:51:10 -07:00
parent c01a103d27
commit e257382625
2 changed files with 65 additions and 0 deletions
@@ -0,0 +1,37 @@
SUMMARY = "Aircrack-ng is a set of tools for auditing wireless networks"
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."
SECTION = "security"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=2;md5=1fbd81241fe252ec0f5658a521ab7dd8"
DEPENDS = "libnl openssl sqlite3 libpcre libpcap"
RC = "rc2"
SRC_URI = "http://download.aircrack-ng.org/${BP}-${RC}.tar.gz \
file://fixup_cflags.patch"
SRC_URI[md5sum] = "ebe9d537f06f4d6956213af09c4476da"
SRC_URI[sha256sum] = "ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9"
inherit autotools-brokensep pkgconfig
S = "${WORKDIR}/${BP}-rc2"
PACKAGECONFIG ?= ""
CFLAGS += " -I${S}/src/include"
OEMAKE_EXTRA = "sqlite=true experimental=true pcre=true \
prefix=${prefix} \
"
do_compile () {
make ${OEMAKE_EXTRA} TOOL_PREFIX=${TARGET_SYS}-
}
do_install () {
make DESTDIR=${D} ${OEMAKE_EXTRA} ext_scripts=true install
}
FILES_${PN} += "/usr/local/"
RDEPENDS_${PN} = "libpcap"
@@ -0,0 +1,28 @@
Upstream Status: Iinappropriate
Issues do to build env.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Index: aircrack-ng-1.2-rc2/src/Makefile
===================================================================
--- aircrack-ng-1.2-rc2.orig/src/Makefile
+++ aircrack-ng-1.2-rc2/src/Makefile
@@ -3,8 +3,6 @@ include $(AC_ROOT)/common.mak
TEST_DIR = $(AC_ROOT)/test
-CFLAGS += -Iinclude
-
iCC = $(shell find /opt/intel/cc/*/bin/icc)
iCFLAGS = -w -mcpu=pentiumpro -march=pentiumpro $(COMMON_CFLAGS)
iOPTFLAGS = -O3 -ip -ipo -D_FILE_OFFSET_BITS=64
@@ -102,7 +100,7 @@ endif
ifeq ($(subst TRUE,true,$(filter TRUE true,$(sqlite) $(SQLITE))),true)
- LIBSQL = -L/usr/local/lib -lsqlite3
+ LIBSQL = -lsqlite3
else
LIBSQL =
endif