29 lines
856 B
Bash
29 lines
856 B
Bash
# Template file for 'reaver'
|
|
pkgname=reaver
|
|
version=1.6.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_wrksrc="src"
|
|
#conf_files="/etc/reaver/reaver.db"
|
|
makedepends="libpcap-devel"
|
|
short_desc="Brute force attack tool against Wifi Protected Setup (WPS)"
|
|
maintainer="cipr3s <cipr3s@gmx.com>"
|
|
license="GPL-2"
|
|
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
|
|
#}
|