wok-current annotate reaver/receipt @ rev 23227
updated nano and nano-doc (4.2 -> 4.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 24 07:03:56 2020 +0100 (2020-03-24) |
parents | 86e99f475c87 |
children | b630eaf326da |
rev | line source |
---|---|
pascal@13609 | 1 # SliTaz package receipt. |
pascal@13609 | 2 |
pascal@13609 | 3 PACKAGE="reaver" |
Hans-G?nter@21837 | 4 VERSION="1.6.5" |
pascal@13609 | 5 CATEGORY="network" |
pascal@13609 | 6 SHORT_DESC="Brute force attack against Wifi Protected Setup." |
pascal@13609 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
pascal@20015 | 9 WEB_SITE="https://github.com/t6x/reaver-wps-fork-t6x" |
Hans-G?nter@21837 | 10 |
pascal@20015 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20015 | 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
pascal@13609 | 13 |
Hans-G?nter@21837 | 14 DEPENDS="aircrack-ng libpcap pixiewps" |
pascal@20017 | 15 BUILD_DEPENDS="libpcap-dev" |
pascal@13609 | 16 |
pascal@13609 | 17 # Rules to configure and make the package. |
pascal@13609 | 18 compile_rules() |
pascal@13609 | 19 { |
pascal@13609 | 20 cd $src/src |
Hans-G?nter@21837 | 21 ./configure \ |
Hans-G?nter@21837 | 22 --prefix=/usr \ |
Hans-G?nter@21837 | 23 --localstatedir=/var \ |
Hans-G?nter@21837 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21837 | 25 make && |
Hans-G?nter@21837 | 26 make install |
Hans-G?nter@21837 | 27 # make cleanbin |
pascal@13609 | 28 } |
pascal@13609 | 29 |
pascal@13609 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13609 | 31 genpkg_rules() |
pascal@13609 | 32 { |
Hans-G?nter@21837 | 33 mkdir -p $fs/var/lib/reaver |
Hans-G?nter@21837 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@21837 | 35 mkdir -p $install/usr/share/doc |
Hans-G?nter@21837 | 36 mkdir -p $install/usr/share/man |
Hans-G?nter@21837 | 37 |
Hans-G?nter@21837 | 38 cp -a $src/src/wash $fs/usr/bin |
Hans-G?nter@21837 | 39 cp -a $src/src/reaver $fs/usr/bin |
Hans-G?nter@21837 | 40 cp -a $src/README.md $install/usr/share/doc |
Hans-G?nter@21837 | 41 cp -a $src/docs/* $install/usr/share/doc |
Hans-G?nter@21837 | 42 mv $install/usr/share/doc/reaver.1 $install/usr/share/man |
pascal@13609 | 43 } |