From 03d17c01ee8b1d2249be549fe17f33ae731b5307 Mon Sep 17 00:00:00 2001 From: nexolight Date: Tue, 11 Sep 2018 08:37:47 +0200 Subject: [PATCH] new package: coWPAtty-4.6 Closes: #2629 [via git-merge-pr] --- srcpkgs/coWPAtty/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/coWPAtty/template diff --git a/srcpkgs/coWPAtty/template b/srcpkgs/coWPAtty/template new file mode 100644 index 0000000000..fdaab7a915 --- /dev/null +++ b/srcpkgs/coWPAtty/template @@ -0,0 +1,27 @@ +# Template file for 'coWPAtty' +pkgname=coWPAtty +_pkgname=cowpatty +version=4.6 +revision=1 +wrksrc="${_pkgname}-${version}" +build_style=gnu-makefile +make_use_env=1 +make_install_args="DESTDIR=/usr/ 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" + +pre_build() { + sed -i 's|^CFLAGS.*||g' Makefile +} + +do_install() { + vbin cowpatty + vbin genpmk +}