Index: Portfile
===================================================================
--- Portfile	(revision 100686)
+++ Portfile	(working copy)
@@ -3,12 +3,11 @@
 PortSystem              1.0
 
 name                    hydra
-version                 5.4
-revision                3
-distname                ${name}-${version}-src
+version                 7.3
+license                 {GPL-3 OpenSSLException}
 categories              security net
 platforms               darwin
-maintainers             nomaintainer
+maintainers             gmail.com:openandreaponza
 
 description \
     A very fast network logon cracker which support many services
@@ -20,40 +19,30 @@
     support.
 
 homepage                http://www.thc.org/thc-hydra
-master_sites            http://freeworld.thc.org/releases
-checksums               md5 fa08b465d19321e77b1a0ef912eeecc1
+master_sites            http://www.thc.org/releases
 
-depends_lib             port:openssl port:libssh01
+checksums               rmd160 c2d3dc47b2573fddd0aecc103ed609cebfea2879 \
+                        sha256 14805ba70f3f22beb00344db161a1a84d61059655f2be37dd02a5c5cceae306d
 
-patchfiles              patch-configure.diff
+depends_lib             port:openssl port:libssh
 
-post-patch {
-    reinplace "s|SSL_PATH=\"\"|SSL_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure
-    reinplace "s|SSL_IPATH=\"\"|SSL_IPATH=\"${prefix}/include\"|" ${worksrcpath}/configure
-    reinplace "s|CRYPTO_PATH=\"\"|CRYPTO_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure
-    reinplace "s|SSH_PATH=\"\"|SSH_PATH=\"${prefix}/lib/libssh01\"|" ${worksrcpath}/configure
-    reinplace "s|SSH_IPATH=\"\"|SSH_IPATH=\"${prefix}/include/libssh01\"|" ${worksrcpath}/configure
-}
-
 configure.args          --disable-xhydra
 
 post-configure {
     reinplace "s|CC=gcc|CC=${configure.cc}|" ${worksrcpath}/Makefile
+    reinplace "s|/man/man1|/share/man/man1|"  ${worksrcpath}/Makefile
 }
 
-build.args              XIPATHS="-I${prefix}/include/libssh01 -I${prefix}/include" \
-                        XLIBPATHS="-L${prefix}/lib/libssh01 -L${prefix}/lib"
-
+build.args              XIPATHS="-I${prefix}/include/libssh -I${prefix}/include" \
+                        XLIBPATHS="-L${prefix}/lib/libssh -L${prefix}/lib"
 pre-destroot {
     reinplace "s|PREFIX=${prefix}|PREFIX=${destroot}${prefix}|" ${worksrcpath}/Makefile
     set docdir ${destroot}${prefix}/share/doc/${name}-${version}
     xinstall -d ${docdir}
     xinstall -m 644 -W ${worksrcpath} \
         CHANGES \
-        LICENCE.HYDRA \
-        LICENSE.GNU \
+        LICENSE \
         README \
-        TODO \
         ${docdir}
 }
 
Index: files/patch-configure.diff (deleted)
===================================================================
