coWPAtty: update to 4.8.

This commit is contained in:
maxice8 2019-02-18 09:00:55 -03:00 committed by maxice8
parent 313289a210
commit 2bbd676359

View file

@ -1,28 +1,22 @@
# Template file for 'coWPAtty'
pkgname=coWPAtty
_pkgname=cowpatty
version=4.6
revision=2
version=4.8
revision=1
wrksrc="${_pkgname}-${version}"
build_style=gnu-makefile
make_use_env=1
make_install_args="DESTDIR=/usr/ BINDIR=/usr/bin"
disable_parallel_build=yes
make_install_args="BINDIR=/usr/bin"
makedepends="libpcap-devel libressl-devel"
short_desc="WPA-PSK dictionary attack"
maintainer="nexolight <snow.dream.ch@gmail.com>"
license="GPL-2.0-only"
homepage="http://www.willhackforsushi.com"
distfiles="http://www.willhackforsushi.com/code/${_pkgname}/${version}/${_pkgname}-${version}.tgz"
checksum=cd3fc113e5052d3ee08ab71aa87edf772d044f760670c73fde5d5581d7803bc2
CFLAGS="-DOPENSSL"
homepage="https://github.com/joswr1ght/cowpatty"
distfiles="https://github.com/joswr1ght/cowpatty/archive/${version}.tar.gz"
checksum=8aae67f4823edb76dff036808137888d2479477ec1e52aa86d6cecd26d58aa23
pre_build() {
sed -i 's|^CFLAGS.*||g' Makefile
}
do_install() {
vbin cowpatty
vbin genpmk
vsed -e '/clang/d' \
-e 's|-g3 -ggdb||g' \
-i Makefile
}