aboutsummaryrefslogtreecommitdiff
path: root/security/medusa/Makefile
blob: e00276b74fe09f2e3ef05a4903642e13a6575d8d (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
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	medusa
# Date created:		2006-05-01
# Whom:			David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#

PORTNAME=	medusa
PORTVERSION=	1.3
CATEGORIES=	security
MASTER_SITES=	http://www.foofus.net/jmk/tools/ \
		http://redundancy.redundancy.org/mirror/

MAINTAINER=	lx@redundancy.redundancy.org
COMMENT=	A speedy, massively parallel, modular, login brute-forcer

OPTIONS=	SVN "Enable Subversion module" off \
		POSTGRESQL "Enable PostgreSQL module" off

LIB_DEPENDS+=	ssh2:${PORTSDIR}/security/libssh2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-untested --program-transform=

MAN1=		medusa.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=		Does not build on ia64
.endif

.if ${OSVERSION} < 500000
LIB_DEPENDS+=	pth.20:${PORTSDIR}/devel/pth
CFLAGS+=	-L${LOCALBASE}/lib/pth
USE_GCC=	3.2+
.endif

.if defined(WITH_SVN)
LIB_DEPENDS+=	svn_client-1:${PORTSDIR}/devel/subversion
CFLAGS+=	-I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
.endif

.if defined(WITH_POSTGRESQL)
USE_PGSQL=	yes
.endif

.include <bsd.port.post.mk>