summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-10-29 12:06:31 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-10-29 12:06:31 +0100
commit732eb87eecc66a2ab4aa070394e340f0319e4d16 (patch)
tree652828d90a5064e4bac85935b02cf7a1e417308b
parent1445e111731eff514bd018eff69667c95a9b1ad4 (diff)
downloadnet-732eb87eecc66a2ab4aa070394e340f0319e4d16.tar.gz
net-732eb87eecc66a2ab4aa070394e340f0319e4d16.tar.xz
aircrack-ng: version bump to 1.4
-rw-r--r--packages/net-wireless/aircrack-ng/aircrack-ng-1.4.exheres-0 (renamed from packages/net-wireless/aircrack-ng/aircrack-ng-1.3.exheres-0)0
-rw-r--r--packages/net-wireless/aircrack-ng/aircrack-ng.exlib12
2 files changed, 11 insertions, 1 deletions
diff --git a/packages/net-wireless/aircrack-ng/aircrack-ng-1.3.exheres-0 b/packages/net-wireless/aircrack-ng/aircrack-ng-1.4.exheres-0
index a9323e6..a9323e6 100644
--- a/packages/net-wireless/aircrack-ng/aircrack-ng-1.3.exheres-0
+++ b/packages/net-wireless/aircrack-ng/aircrack-ng-1.4.exheres-0
diff --git a/packages/net-wireless/aircrack-ng/aircrack-ng.exlib b/packages/net-wireless/aircrack-ng/aircrack-ng.exlib
index 63e6616..5656127 100644
--- a/packages/net-wireless/aircrack-ng/aircrack-ng.exlib
+++ b/packages/net-wireless/aircrack-ng/aircrack-ng.exlib
@@ -5,7 +5,7 @@
require toolchain-funcs \
autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
-export_exlib_phases src_configure
+export_exlib_phases src_prepare src_configure
SUMMARY="Tools for cracking wireless network security"
DESCRIPTION="
@@ -53,6 +53,7 @@ DEFAULT_SRC_CONFIGURE_PARAMS=(
--enable-libnl
--disable-asan
--disable-code-coverage
+ --disable-hwloc
--disable-tsan
--disable-valgrind
--without-airpcap
@@ -70,6 +71,15 @@ DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
'sqlite sqlite3'
)
+aircrack-ng_src_prepare() {
+ # TODO: fix upstream, hard-coded gcc command
+ edo sed \
+ -e "s:gcc:${CC}:g" \
+ -i build/m4/ax_ext_have_static_lib.m4
+
+ autotools_src_prepare
+}
+
aircrack-ng_src_configure() {
local myconf=(
"${DEFAULT_SRC_CONFIGURE_PARAMS[@]}" \