aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/cowpatty/Makefile
blob: 2a8ef002b0678b3dfc17e00a6c5d69ba2df259c8 (plain) (blame)
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
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$

PORTNAME=   cowpatty
PORTVERSION=    4.6
CATEGORIES= net-mgmt security
MASTER_SITES=   http://www.willhackforsushi.com/code/cowpatty/${PORTVERSION}/ \
        http://mcx2.org/files/
EXTRACT_SUFX=   .tgz

MAINTAINER= rodrigo@FreeBSD.org
COMMENT=    Brute-force dictionary attack against WPA-PSK

LICENSE=    GPLv2

USES=       ssl
PORTDOCS=   FAQ README
SUB_FILES=  pkg-message
MAKE_JOBS_UNSAFE=   yes
OPTIONS_DEFINE= DOCS

PLIST_FILES=    bin/cowpatty bin/genpmk

post-patch:
    ${REINPLACE_CMD} \
        -e "s|\(-DOPENSSL\)|\1 -I${OPENSSLINC} -L${OPENSSLLIB} |g" \
        ${WRKSRC}/Makefile

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>