aboutsummaryrefslogtreecommitdiffstats
path: root/security/medusa/Makefile
blob: 5c477ce3f360f15202ac948b9d1eb3a7b3e05dc5 (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
# Created by: David Thiel <lx@redundancy.redundancy.org>
# $FreeBSD$

PORTNAME=   medusa
PORTVERSION=    2.2
CATEGORIES= security
MASTER_SITES=   http://www.foofus.net/~jmk/tools/

MAINTAINER= dbaio@FreeBSD.org
COMMENT=    Speedy, massively parallel, modular, login brute-forcer

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libssh2.so:security/libssh2

USES=   ssl

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-module-ncp=no --enable-module-afp=no

OPTIONS_DEFINE= SVN PGSQL DOCS
OPTIONS_SUB=    yes

SVN_LIB_DEPENDS=    libsvn_client-1.so:devel/subversion
SVN_CFLAGS=     -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
SVN_CONFIGURE_OFF=  --enable-module-svn=no

PGSQL_USES=     pgsql
PGSQL_CONFIGURE_ON= --enable-module-postgres
PGSQL_CONFIGURE_OFF=    --enable-module-postgres=no

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
    ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa \
        ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_medusa

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>