wok-6.x view reaver/receipt @ rev 20016
Up reaver (1.6.1) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 11 13:47:43 2017 +0200 (2017-08-11) |
parents | d1ac58163591 |
children | 4a5e07d7fa51 |
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Brute force attack against Wifi Protected Setup."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/t6x/reaver-wps-fork-t6x"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/reaver"
14 DEPENDS="libpcap libsqlite"
15 BUILD_DEPENDS="libpcap-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
22 make && make cleanbin
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/etc/reaver $fs/usr/bin
29 mkdir -p $install/usr/share/doc $install/usr/share/man
30 cp -a $src/src/wash $fs/usr/bin
31 cp -a $src/src/reaver $fs/usr/bin
32 cp -a $src/README.md $src/docs/* $install/usr/share/doc
33 mv $install/usr/share/doc/reaver.1.gz $install/usr/share/man
34 }