2013-03-29 20:33:41 +01:00
|
|
|
# Created by: David Thiel <lx@redundancy.redundancy.org>
|
2006-05-02 09:36:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= medusa
|
2014-07-06 12:52:53 +02:00
|
|
|
PORTVERSION= 2.1.1
|
2006-05-02 09:36:47 +02:00
|
|
|
CATEGORIES= security
|
2012-04-11 20:35:46 +02:00
|
|
|
MASTER_SITES= http://www.foofus.net/~jmk/tools/ \
|
2006-05-02 09:36:47 +02:00
|
|
|
http://redundancy.redundancy.org/mirror/
|
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-29 20:33:41 +01:00
|
|
|
COMMENT= Speedy, massively parallel, modular, login brute-forcer
|
2006-05-02 09:36:47 +02:00
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
LIB_DEPENDS+= libssh2.so:${PORTSDIR}/security/libssh2
|
2006-07-12 03:05:51 +02:00
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
BROKEN_ia64= Does not build on ia64
|
2006-05-02 09:36:47 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2010-02-22 22:58:41 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-module-ncp=no --enable-module-afp=no
|
2006-05-02 09:36:47 +02:00
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
OPTIONS_DEFINE= SVN PGSQL DOCS
|
|
|
|
OPTIONS_SUB= yes
|
2006-07-12 03:05:51 +02:00
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-07-12 03:05:51 +02:00
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
.if ${PORT_OPTIONS:MSVN}
|
2014-07-06 12:52:53 +02:00
|
|
|
LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion
|
2006-07-12 03:05:51 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
|
2007-12-11 21:09:36 +01:00
|
|
|
.else
|
2010-02-22 22:58:41 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-module-svn=no
|
2006-07-12 03:05:51 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2014-11-22 21:40:08 +01:00
|
|
|
USES+= pgsql
|
2007-12-11 21:09:36 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-module-postgres
|
|
|
|
.else
|
2009-02-10 17:36:55 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-module-postgres=no
|
2007-12-11 21:09:36 +01:00
|
|
|
.endif
|
|
|
|
|
2009-02-10 17:36:55 +01:00
|
|
|
post-install:
|
2014-07-06 12:52:53 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa \
|
|
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_medusa
|
2006-07-12 03:05:51 +02:00
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-07-06 12:52:53 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
2010-02-22 22:58:41 +01:00
|
|
|
.endif
|
|
|
|
|
2014-07-06 12:52:53 +02:00
|
|
|
.include <bsd.port.mk>
|