From d6083feb7261fae49891d4b874704013cd9171a0 Mon Sep 17 00:00:00 2001 From: Joseph Benden Date: Sat, 9 Jul 2022 15:43:30 -0700 Subject: [PATCH] aircrack-ng: update to 1.7. Signed-off-by: Joseph Benden --- srcpkgs/aircrack-ng/template | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template index ef5d46cebac1..34a8af32c5a9 100644 --- a/srcpkgs/aircrack-ng/template +++ b/srcpkgs/aircrack-ng/template @@ -1,30 +1,36 @@ # Template file for 'aircrack-ng' pkgname=aircrack-ng -version=1.6 -revision=4 +version=1.7 +revision=1 build_style=gnu-configure -hostmakedepends="automake libtool pkg-config" -makedepends="libnl3-devel openssl-devel sqlite-devel zlib-devel libcap-devel" +hostmakedepends="automake ethtool libtool pkg-config" +makedepends="libhwloc-devel libnl3-devel libpcap-devel libpciaccess-devel + libxml2-devel openssl-devel pcre-devel sqlite-devel zlib-devel" +checkdepends="cmocka-devel expect" short_desc="Complete suite of tools to assess WiFi network security" -maintainer="Orphaned " +maintainer="Joseph Benden " license="GPL-2.0-or-later, BSD-3-Clause, OpenSSL" homepage="https://www.aircrack-ng.org/" changelog="https://www.aircrack-ng.org/doku.php?id=changelog" distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz" -checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247 +checksum=05a704e3c8f7792a17315080a21214a4448fd2452c1b0dd5226a3a55f90b58c3 +configure_args+="--without-opt --with-experimental" -CFLAGS="-fcommon" +if [ -z "$CROSS_BUILD" ]; then + configure_args+=" --with-ext-scripts" + makedepends+=" python3-devel" +fi pre_configure() { - ACLOCAL=/usr/bin/aclocal \ - AUTOCONF=/usr/bin/autoconf \ - AUTOHEADER=/usr/bin/autoheader \ - AUTOMAKE=/usr/bin/automake \ - LIBTOOLIZE=/usr/bin/libtoolize \ - NOCONFIGURE=1 \ - ./autogen.sh + autoreconf -vif } post_install() { + vdoc AUTHORS + vdoc ChangeLog + vdoc README + vdoc README.md + vdoc SECURITY.md + vlicense LICENSE vlicense LICENSE.OpenSSL }