reaver: upgrade to 1.6.6

Also cleans up past template mistakes made in the 1.4 to 1.6.5
transition:
Remove commented out lines referencing the sqlite database
Remove commented-out do_install override
Remove u_char -> unsigned char sed (u_char still present in source but
    upstream fixed build breaks.

reaver-wps-fork-t6x commit 46ccf2e268f7 has the database removal,
d559537b7021 has the u_char fix, and 8977bdf66e43 fixes the destdir
breakage that required the do_install override.

Fixes: 09da89673e64 ("reaver: update to 1.6.5")
This commit is contained in:
Colin Booth 2021-05-12 11:22:15 -07:00 committed by Érico Nogueira Rolim
parent 74540558a8
commit bddd5e60e2

View file

@ -1,29 +1,13 @@
# Template file for 'reaver'
pkgname=reaver
version=1.6.5
revision=2
build_style=gnu-configure
version=1.6.6
revision=1
build_wrksrc="src"
#conf_files="/etc/reaver/reaver.db"
build_style=gnu-configure
makedepends="libpcap-devel"
short_desc="Brute force attack tool against Wifi Protected Setup (WPS)"
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="https://github.com/t6x/reaver-wps-fork-t6x"
distfiles="https://github.com/t6x/reaver-wps-fork-t6x/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=342e9d265cf459bd2387205b73a63d1fc7582e268f0e9aec20613f3ec11b6a6b
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl) find -type f -exec sed -i "{}" -e"s;u_char;unsigned char;g" \;
;;
esac
}
#do_install() {
# # The Makefile's install target is broken (ignores destdir)
# vmkdir etc/${pkgname}
# vinstall ${pkgname}.db 644 etc/${pkgname}
# vbin wash
# vbin reaver
#}
checksum=e329a0da0b6dd888916046535ff86a6aa144644561937954e560bb1810ab6702