aboutsummaryrefslogtreecommitdiffstats
path: root/security/hydra/Makefile
blob: f133823e1520840ac944e8a6cc0efc27dd9ae344 (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
# ex:ts=8
# Ports collection makefile for:  hydra
# Date created:           Tue Oct 08, 2002
# Whom:               Laurent LEVIER (llevier@argosnet.com)
#
# $FreeBSD$
#

PORTNAME=   hydra
PORTVERSION=    4.5
CATEGORIES= security
MASTER_SITES=   http://www.thc.org/releases/ \
        ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= groups/thc
EXTRACT_SUFX=   -src.tar.gz

MAINTAINER= llevier@argosnet.com
COMMENT=    Brute force attack utility working on multiple network services

NO_LATEST_LINK= yes
PLIST_FILES=    bin/hydra
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
USE_OPENSSL=    yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src

post-patch:
    @${REINPLACE_CMD} -e 's|CC = gcc||; \
        s|-O2|${CFLAGS}|; s|md4\..||g' \
        ${WRKSRC}/Makefile.am

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin

.include <bsd.port.mk>