wok-current view reaver/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 04d1b86ab08a |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.6.6"
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 }