summaryrefslogtreecommitdiff
path: root/net/reaver/Makefile
blob: 1e3bee24c3083f6297324ab508ef73b193f1c610 (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
# $FreeBSD$

PORTNAME=	reaver
DISTVERSIONPREFIX=	v
DISTVERSION=	1.6.5
PORTREVISION=	2
CATEGORIES=	net

MAINTAINER=	freebsd@sysctl.cz
COMMENT=	Reaver brute force attack against WPS (Wi-Fi Protected Setup)

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/../docs/LICENSE

USES=		compiler:c++11-lang gmake
GNU_CONFIGURE=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	t6x
GH_PROJECT=	${PORTNAME}-wps-fork-t6x

WRKSRC_SUBDIR=	src

PLIST_FILES=	bin/reaver \
		bin/wash \
		man/man1/reaver.1.gz

post-install:
		@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/reaver bin/wash
		@${RM} -r ${STAGEDIR}/var/lib
		${INSTALL_MAN} ${WRKSRC}/../docs/reaver.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>