wok view reaver/receipt @ rev 22592

updated cherokee packages (1.2.101 -> 1.2.104)
author Hans-G?nter Theisgen
date Tue Jan 07 16:51:34 2020 +0100 (2020-01-07)
parents 86e99f475c87
children b630eaf326da
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.6.5"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="aircrack-ng libpcap pixiewps"
15 BUILD_DEPENDS="libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 # make cleanbin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/lib/reaver
34 mkdir -p $fs/usr/bin
35 mkdir -p $install/usr/share/doc
36 mkdir -p $install/usr/share/man
38 cp -a $src/src/wash $fs/usr/bin
39 cp -a $src/src/reaver $fs/usr/bin
40 cp -a $src/README.md $install/usr/share/doc
41 cp -a $src/docs/* $install/usr/share/doc
42 mv $install/usr/share/doc/reaver.1 $install/usr/share/man
43 }