Thursday, July 25, 2024

UPDATE: aircrack-ng

Fix building on arm and powerpc.


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 Makefile
--- Makefile 11 Jun 2024 05:55:16 -0000 1.41
+++ Makefile 19 Jul 2024 11:21:16 -0000
@@ -2,7 +2,7 @@ COMMENT= 802.11 WEP and WPA-PSK keys cr

VER= 1.7
DISTNAME= aircrack-ng-${VER}
-REVISION= 0
+REVISION= 1
CATEGORIES= security

HOMEPAGE= https://www.aircrack-ng.org/
Index: patches/patch-lib_libac_cpu_simd_cpuid_c
===================================================================
RCS file: patches/patch-lib_libac_cpu_simd_cpuid_c
diff -N patches/patch-lib_libac_cpu_simd_cpuid_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_libac_cpu_simd_cpuid_c 19 Jul 2024 11:21:16 -0000
@@ -0,0 +1,119 @@
+Index: lib/libac/cpu/simd_cpuid.c
+--- lib/libac/cpu/simd_cpuid.c.orig
++++ lib/libac/cpu/simd_cpuid.c
+@@ -35,16 +35,20 @@
+ #elif defined(__arm__) || defined(__aarch64__)
+ #ifdef HAS_AUXV
+ #include <sys/auxv.h>
++#ifdef __linux__
+ #include <asm/hwcap.h>
+

No comments:

Post a Comment