blob: 45c848928d28e0c9400363853c9ef7ff9f3a02f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="reaver-wps-fork-t6x"
DESCRIPTION="Brute force attack against Wifi Protected Setup"
HOMEPAGE="https://github.com/t6x/reaver-wps-fork-t6x"
SRC_URI="https://github.com/t6x/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}/src"
PATCHES=(
"${FILESDIR}"/${P}-confdir.patch
)
src_install() {
# Upstream's Makefile does the same but in non-standard way.
dobin wash reaver
doman ../docs/reaver.1
dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH
keepdir /var/lib/reaver
}
|