Index: head/security/hydra/Makefile =================================================================== --- head/security/hydra/Makefile (revision 547427) +++ head/security/hydra/Makefile (revision 547428) @@ -1,65 +1,65 @@ # Created by: Laurent LEVIER # $FreeBSD$ PORTNAME= hydra DISTVERSIONPREFIX=v -DISTVERSION= 8.9.1 +DISTVERSION= 9.1 CATEGORIES= security 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 USES= gmake localbase ssl USE_GITHUB= yes GH_ACCOUNT= vanhauser-thc GH_PROJECT= thc-hydra GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl=${OPENSSLINC} \ --with-ssl-lib=${OPENSSLLIB} 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 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 gnome 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 .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 Index: head/security/hydra/distinfo =================================================================== --- head/security/hydra/distinfo (revision 547427) +++ head/security/hydra/distinfo (revision 547428) @@ -1,3 +1,3 @@ -TIMESTAMP = 1555078345 -SHA256 (vanhauser-thc-thc-hydra-v8.9.1_GH0.tar.gz) = 7c615622d9d22a65b007e545f2d85da06c422a042f720bd6c5578a1844dec40e -SIZE (vanhauser-thc-thc-hydra-v8.9.1_GH0.tar.gz) = 1186320 +TIMESTAMP = 1599117231 +SHA256 (vanhauser-thc-thc-hydra-v9.1_GH0.tar.gz) = ce08a5148c0ae5ff4b0a4af2f7f15c5946bc939a57eae1bbb6dda19f34410273 +SIZE (vanhauser-thc-thc-hydra-v9.1_GH0.tar.gz) = 611846 Index: head/security/hydra/files/patch-configure =================================================================== --- head/security/hydra/files/patch-configure (revision 547427) +++ head/security/hydra/files/patch-configure (nonexistent) @@ -1,21 +0,0 @@ ---- configure.orig 2016-08-11 07:50:21 UTC -+++ configure -@@ -1009,7 +1009,7 @@ XLIBPATHS="" - XIPATHS="" - - if [ -n "$FIREBIRD_PATH" -o -n "$PCRE_PATH" -o -n "$IDN_PATH" -o -n "$SSL_PATH" -o -n "$CRYPTO_PATH" -o -n "$NSL_PATH" -o -n "$SOCKET_PATH" -o -n "$RESOLV_PATH" -o -n "$SAPR3_PATH" -o -n "$SSH_PATH" -o -n "$POSTGRES_PATH" -o -n "$SVN_PATH" -o -n "$NCP_PATH" -o -n "$CURSES_PATH" -o -n "$ORACLE_PATH" -o -n "$AFP_PATH" -o -n "$MYSQL_PATH" ]; then -- XLIBPATHS="-L/usr/lib -L/usr/local/lib -L/lib" -+ XLIBPATHS="-L/usr/local/lib -L/usr/lib -L/lib" - fi - if [ -n "$MYSQL_IPATH" ]; then - XIPATHS="$XIPATHS -I$MYSQL_IPATH" -@@ -1024,6 +1024,9 @@ if [ -n "$SSL_PATH" ]; then - XDEFINES="$XDEFINES -DLIBOPENSSL" - fi - fi -+if [ -d $PREFIX/include ];then -+ XIPATHS="$XIPATHS -I$PREFIX/include" -+fi - if [ -n "$CURSES_PATH" ]; then - XDEFINES="$XDEFINES -DLIBNCURSES" - fi Property changes on: head/security/hydra/files/patch-configure ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/hydra/files/patch-hydra-gtk-make_xhydra.sh =================================================================== --- head/security/hydra/files/patch-hydra-gtk-make_xhydra.sh (revision 547427) +++ head/security/hydra/files/patch-hydra-gtk-make_xhydra.sh (nonexistent) @@ -1,11 +0,0 @@ ---- hydra-gtk/make_xhydra.sh.orig 2016-08-11 07:50:21 UTC -+++ hydra-gtk/make_xhydra.sh -@@ -8,7 +8,7 @@ test -e Makefile || { - cat errors - exit 1 - } --make > /dev/null 2> errors -+gmake > /dev/null 2> errors - test -e src/xhydra || { - echo "Error: could not compile. Analyse this:" - cat errors Property changes on: head/security/hydra/files/patch-hydra-gtk-make_xhydra.sh ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/hydra/files/patch-hydra-gtk_make__xhydra.sh =================================================================== --- head/security/hydra/files/patch-hydra-gtk_make__xhydra.sh (nonexistent) +++ head/security/hydra/files/patch-hydra-gtk_make__xhydra.sh (revision 547428) @@ -0,0 +1,11 @@ +--- hydra-gtk/make_xhydra.sh.orig 2020-07-29 07:36:37 UTC ++++ hydra-gtk/make_xhydra.sh +@@ -8,7 +8,7 @@ test -e Makefile || { + cat errors + exit 1 + } +-make > /dev/null 2> errors ++gmake > /dev/null 2> errors + test -e src/xhydra || { + echo "Error: could not compile. Analyse this:" + cat errors Property changes on: head/security/hydra/files/patch-hydra-gtk_make__xhydra.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/hydra/files/patch-hydra.h =================================================================== --- head/security/hydra/files/patch-hydra.h (revision 547427) +++ head/security/hydra/files/patch-hydra.h (revision 547428) @@ -1,13 +1,13 @@ ---- hydra.h.orig 2019-01-02 12:38:23 UTC +--- hydra.h.orig 2020-07-29 07:36:37 UTC +++ hydra.h -@@ -38,10 +38,6 @@ - #endif +@@ -44,10 +44,6 @@ #endif + #endif -#ifdef LIBSSH -- #include +-#include -#endif - #ifdef HAVE_ZLIB - #include + #include #endif