wok-current view reaver/receipt @ rev 25234

updated python-routes (2.4.1 -> 2.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:31:59 2022 +0100 (2022-07-13)
parents b630eaf326da
children
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 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src/src
27 ./configure \
28 --prefix=/usr \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 # make cleanbin
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/var/lib/reaver
40 mkdir -p $fs/usr/bin
41 mkdir -p $install/usr/share/doc
42 mkdir -p $install/usr/share/man
44 cp -a $src/src/wash $fs/usr/bin
45 cp -a $src/src/reaver $fs/usr/bin
46 cp -a $src/README.md $install/usr/share/doc
47 cp -a $src/docs/* $install/usr/share/doc
48 mv $install/usr/share/doc/reaver.1 $install/usr/share/man
49 }