aircrack-ng: update to 1.2.
Closes #14330. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
3cbd7ff0d4
commit
810df5cd42
1 changed files with 20 additions and 22 deletions
|
@ -1,28 +1,26 @@
|
|||
# Template build file for 'aircrack-ng'
|
||||
# Template file for 'aircrack-ng'
|
||||
pkgname=aircrack-ng
|
||||
_aircrack_ver=1.2
|
||||
_aircrack_rc=rc4
|
||||
version="${_aircrack_ver}${_aircrack_rc}"
|
||||
revision=7
|
||||
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libressl-devel sqlite-devel libnl3-devel"
|
||||
short_desc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
|
||||
homepage="http://www.aircrack-ng.org/"
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="libnl3-devel libressl-devel sqlite-devel zlib-devel"
|
||||
short_desc="Complete suite of tools to assess WiFi network security"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
|
||||
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
|
||||
license="GPL-2.0-or-later, BSD-3-Clause, OpenSSL"
|
||||
homepage="http://www.aircrack-ng.org/"
|
||||
distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
|
||||
checksum=794ffed5400f35cb78f3466eabb47546f050e0ac35287c174acce60763a0fa7c
|
||||
|
||||
post_extract() {
|
||||
# detect our cross compilers
|
||||
sed -i 's,\(mips-\* | arm-\*\),\1 | arm???-* | aarch64-* ,' autocfg
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) broken="https://travis-ci.org/voidlinux/void-packages/jobs/377975294#L1206";;
|
||||
armv7*) broken="https://travis-ci.org/voidlinux/void-packages/jobs/377975296#L1091";;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make CC=$CC CXX=$CXX sqlite=true libnl=true ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
|
||||
post_install() {
|
||||
vlicense LICENSE.OpenSSL
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue