aboutsummaryrefslogtreecommitdiffstats
path: root/security/slurpie/Makefile
blob: ec124f8790d44d5d39107514d112796ff527622d (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
34
35
36
37
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

PORTNAME=   slurpie
PORTVERSION=    2.0b
CATEGORIES= security
MASTER_SITES=   ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/ \
        http://people.FreeBSD.org/~foxfair/distfiles/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A passwd file cracker (supports distributed nodes)

PLIST_FILES=    sbin/slurp sbin/slurpie
PORTDOCS=   README

NO_STAGE=   yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-patch:
# Fix for GCC 4.2
    @${REINPLACE_CMD} -e \
        's,(u_char)cfg.ptask_level = ,cfg.ptask_level = (u_int),' \
        ${WRKSRC}/src/slurpie.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/slurp* ${PREFIX}/sbin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>