aircrack-ng: add patch to make package build for aarch64

Solves https://github.com/termux/termux-root-packages/issues/11.
Also clean up dependencies a bit.
This commit is contained in:
Henrik Grimler 2018-03-05 22:58:08 +01:00 committed by Yaksh Bariya
parent 188e9a692a
commit 319094b4d2
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1,21 @@
Bug report here: https://trac.aircrack-ng.org/ticket/1672
--- ./autocfg 2016-02-08 05:12:08.000000000 +0000
+++ ../autocfg 2018-03-05 21:34:31.725976283 +0000
@@ -116,7 +116,7 @@
}
case "$CC" in
- mips-* | arm-*)
+ mips-* | arm-* | aarch64-*)
IS_CROSS=1
IS_X86=0
;;
@@ -129,7 +129,7 @@
x86_64 | amd64 | i*86*)
IS_X86=1
;;
- *arm*)
+ *arm* | *aarch64*)
IS_ARM=1
;;
*mips*)

View File

@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://www.aircrack-ng.org TERMUX_PKG_HOMEPAGE=https://www.aircrack-ng.org
TERMUX_PKG_DESCRIPTION="an 802.11 WEP and WPA-PSK keys cracking program" TERMUX_PKG_DESCRIPTION="an 802.11 WEP and WPA-PSK keys cracking program"
TERMUX_PKG_VERSION=1.2-rc4 TERMUX_PKG_VERSION=1.2-rc4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.aircrack-ng.org/aircrack-ng-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://download.aircrack-ng.org/aircrack-ng-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 TERMUX_PKG_SHA256=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
TERMUX_PKG_MAINTAINER="Auxilus @Auxilus" TERMUX_PKG_MAINTAINER="Auxilus @Auxilus"
TERMUX_PKG_DEPENDS="libnl, libnl-dev, openssl, openssl-dev, libpcap, libpcap-dev" TERMUX_PKG_DEPENDS="libnl, openssl, libpcap"
TERMUX_PKG_BUILD_DEPENDS="libnl-dev, openssl-dev, libpcap-dev"
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_BLACKLISTED_ARCHES="aarch64"
# See https://github.com/termux/termux-root-packages/issues/11