From 2bbd676359c39422bc5cdcd8b5b10b5af61d9eaf Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 18 Feb 2019 09:00:55 -0300 Subject: [PATCH] coWPAtty: update to 4.8. --- srcpkgs/coWPAtty/template | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/srcpkgs/coWPAtty/template b/srcpkgs/coWPAtty/template index 318542c669..27890cba26 100644 --- a/srcpkgs/coWPAtty/template +++ b/srcpkgs/coWPAtty/template @@ -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 " 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 }