# HG changeset patch # User Christopher Rogers # Date 1293275638 0 # Node ID 083fdd98c8b0fc76998fceb48b0f148942c12ad5 # Parent 8135f4172a691880a3488966c14c672ae2676bd7 Add cowpatty. Wireless WPA/WPA2 PSK handshake cracking utility. diff -r 8135f4172a69 -r 083fdd98c8b0 cowpatty/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cowpatty/receipt Sat Dec 25 11:13:58 2010 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="cowpatty" +VERSION="4.6" +CATEGORY="network" +SHORT_DESC="Wireless WPA/WPA2 PSK handshake cracking utility." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="openssl libpcap" +BUILD_DEPENDS="openssl-dev libpcap-dev" +TARBALL="$PACKAGE-$VERSION.tgz" +WEB_SITE="http://www.willhackforsushi.com/?page_id=50" +WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make || return 1 + make strip || return 1 + make BINDIR="/usr/bin" DESTDIR="$PWD/_pkg/" install + install -D -m644 dict $PWD/_pkg/usr/share/cowpatty/dict +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/cowpatty $fs/usr/share +} +