wok view reaver/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/src
28 ./configure \
29 --prefix=/usr \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 # make cleanbin
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/var/lib/reaver
41 mkdir -p $fs/usr/bin
42 mkdir -p $install/usr/share/doc
43 mkdir -p $install/usr/share/man
45 cp -a $src/src/wash $fs/usr/bin
46 cp -a $src/src/reaver $fs/usr/bin
47 cp -a $src/README.md $install/usr/share/doc
48 cp -a $src/docs/* $install/usr/share/doc
49 mv $install/usr/share/doc/reaver.1 $install/usr/share/man
50 }