summaryrefslogtreecommitdiff
path: root/net/reaver/Makefile
blob: 3da4668326272359033f3040ea1bc171b52a1a07 (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

PORTNAME=	reaver
DISTVERSIONPREFIX=	v
DISTVERSION=	1.6.6
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>