From 89a56fe4e8d549af29109974da8d5289fbfe9d44 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 20 Aug 2016 02:20:59 +0000 Subject: community/aircrack-ng: build fix aarch64 --- community/aircrack-ng/APKBUILD | 13 ++++++--- community/aircrack-ng/altarches.patch | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 community/aircrack-ng/altarches.patch (limited to 'community/aircrack-ng') diff --git a/community/aircrack-ng/APKBUILD b/community/aircrack-ng/APKBUILD index 6f2c0348c5..74455dd0a4 100644 --- a/community/aircrack-ng/APKBUILD +++ b/community/aircrack-ng/APKBUILD @@ -12,7 +12,9 @@ depends="ethtool wireless-tools iw sqlite" makedepends="coreutils openssl-dev sqlite-dev libnl-dev linux-headers pcre-dev bsd-compat-headers" subpackages="$pkgname-doc" -source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz" +source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz + altarches.patch + " builddir="$srcdir"/$pkgname-$_pkgver build() { @@ -26,6 +28,9 @@ package() { smandir=/usr/share/man/man8/ -C "$builddir" install || return 1 } -md5sums="3bbc7d5035a98ec01e78774d05c3fcce aircrack-ng-1.2-rc4.tar.gz" -sha256sums="d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 aircrack-ng-1.2-rc4.tar.gz" -sha512sums="f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c aircrack-ng-1.2-rc4.tar.gz" +md5sums="3bbc7d5035a98ec01e78774d05c3fcce aircrack-ng-1.2-rc4.tar.gz +373d8ede12e3c1b8b81a747e8b802614 altarches.patch" +sha256sums="d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 aircrack-ng-1.2-rc4.tar.gz +23fe9e2e3386e043ebf56326bd9a19b0a22f42e819ae9888c827fe9467526cf3 altarches.patch" +sha512sums="f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c aircrack-ng-1.2-rc4.tar.gz +5fc06239a6ce10314a431f24ef82c78646e6a016161d7b74f4dc2153432229c4f05d759c2685c5b41ae0fbb307946bbc8a4999067e3a548da8016a6b643f7891 altarches.patch" diff --git a/community/aircrack-ng/altarches.patch b/community/aircrack-ng/altarches.patch new file mode 100644 index 0000000000..655eeb017a --- /dev/null +++ b/community/aircrack-ng/altarches.patch @@ -0,0 +1,55 @@ +From 252717588f2483a007bbd8bb6ceac3257e8c67e8 Mon Sep 17 00:00:00 2001 +From: Thomas d'Otreppe +Date: Mon, 15 Feb 2016 05:43:40 +0000 +Subject: [PATCH] Fixing Aircrack-ng compilation on ARM 64 bit. + +git-svn-id: http://svn.aircrack-ng.org/trunk@2843 28c6078b-6c39-48e3-add9-af49d547ecab +--- + autocfg | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/autocfg b/autocfg +index 82fa156..a957ae6 100644 +--- a/autocfg ++++ b/autocfg +@@ -116,7 +116,7 @@ EOF + } + + case "$CC" in +- mips-* | arm-*) ++ mips-* | arm-* | aarch64-* | ppc64* | s390*) + IS_CROSS=1 + IS_X86=0 + ;; +@@ -129,7 +129,7 @@ case "$UARCH" in + x86_64 | amd64 | i*86*) + IS_X86=1 + ;; +- *arm*) ++ *arm* | aarch64) + IS_ARM=1 + ;; + *mips*) +From 913443c9745f72899fdd75e71217dd7b3d76ce34 Mon Sep 17 00:00:00 2001 +From: Thomas d'Otreppe +Date: Mon, 15 Feb 2016 05:46:41 +0000 +Subject: [PATCH] Fixing Aircrack-ng compilation on ARM 64 bit. + +git-svn-id: http://svn.aircrack-ng.org/trunk@2844 28c6078b-6c39-48e3-add9-af49d547ecab +--- + autocfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/autocfg b/autocfg +index a957ae6..6848506 100644 +--- a/autocfg ++++ b/autocfg +@@ -129,7 +129,7 @@ case "$UARCH" in + x86_64 | amd64 | i*86*) + IS_X86=1 + ;; +- *arm* | aarch64) ++ *arm* | *aarch64* | ppc64* | s390*) + IS_ARM=1 + ;; + *mips*) -- cgit v1.2.3