mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
32f3830565
Release 8.4 ! Reports came in that the rdp module is not working reliable sometimes, most likely against new Windows versions. please test, report and if possible send a fix * Proxy support re-implemented: - HYDRA_PROXY[_HTTP] environment can be a text file with up to 64 entries - HYDRA_PROXY_AUTH was deprecated, set login/password in HTTP_PROXY[_HTTP] * New protocol: adam6500 - this one is work in progress, please test and report * New protocol: rpcap - thanks to Petar Kaleychev <petar.kaleychev@gmail.com> * New command line options: -y : disables -x 1aA interpretation, thanks to crondaemon for the patch -I : ignore an existing hydra.restore file (dont wait for 10 seconds) * hydra-svn: works now with the current libsvn version * hydra-ssh: initial check for password auth support now uses login supplied * Fixed dpl4hydra to be able to update from the web again * Fixed crash when -U was used without any service (thanks to thecarterb for reporting) * Updated default password lists * The protocols vnc, xmpp, telnet, imap, nntp and pcanywhere got accidentially long sleep commands due a patch in 8.2, fixed * Added special error message for clueless users :)
62 lines
2.0 KiB
Makefile
62 lines
2.0 KiB
Makefile
# Created by: Laurent LEVIER <llevier@argosnet.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hydra
|
|
PORTVERSION= 8.4
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://www.thc.org/releases/ \
|
|
PACKETSTORM/groups/thc/
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= Brute force attack utility working on multiple network services
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libidn.so:dns/libidn \
|
|
libpcre.so:devel/pcre \
|
|
libsasl2.so:security/cyrus-sasl2
|
|
|
|
PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh bin/hydra-wizard.sh \
|
|
man/man1/hydra.1.gz man/man1/pw-inspector.1.gz
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake localbase ssl
|
|
CONFIGURE_ARGS= --with-ssl=${OPENSSLINC} \
|
|
--with-ssl-lib=${OPENSSLLIB}
|
|
|
|
OPTIONS_DEFINE= FIREBIRD SSH SVN X11
|
|
OPTIONS_DEFAULT=SSH
|
|
OPTIONS_EXCLUDE=NLS DOCS
|
|
FIREBIRD_USES= firebird
|
|
SVN_LIB_DEPENDS= libsvn_client-1.so:devel/subversion
|
|
SSH_LIB_DEPENDS= libssh.so.4:security/libssh
|
|
X11_USES= gettext pkgconfig
|
|
X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
X11_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango
|
|
X11_PLIST_FILES= bin/xhydra man/man1/xhydra.1.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${SSL_DEFAULT:Mlibressl*}
|
|
IGNORE= Detected LibreSSL (missing RSA_get0_key and others)
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|CC=gcc||; s|-O3|${CFLAGS}|;' \
|
|
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.unix
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hydra ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/hydra-wizard.sh ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/hydra.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
post-install-X11-on:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|