[23321] trunk/dports/security/hydra/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 28 15:07:42 PDT 2007
Revision: 23321
http://trac.macosforge.org/projects/macports/changeset/23321
Author: pmq at macports.org
Date: 2007-03-28 15:07:41 -0700 (Wed, 28 Mar 2007)
Log Message:
-----------
Rework the port into something not outdated
Make libssh a default
Change descriptions
Declare dependencies
Take ownership
Modified Paths:
--------------
trunk/dports/security/hydra/Portfile
Modified: trunk/dports/security/hydra/Portfile
===================================================================
--- trunk/dports/security/hydra/Portfile 2007-03-28 20:08:53 UTC (rev 23320)
+++ trunk/dports/security/hydra/Portfile 2007-03-28 22:07:41 UTC (rev 23321)
@@ -1,49 +1,43 @@
# $Id$
PortSystem 1.0
-name hydra
-version 5.0
-distname ${name}-${version}-src
-categories security
-maintainers julien.touche at touche.fr.st
-description parallized login hacker utility
-long_description \
- Hydra is a parallized login hacker utility. Hydra can \
- brute force attack on \
- FTP, POP3, IMAP, Telnet, HTTP Auth, NNTP, VNC, ICQ, \
- Socks5, PCNFS and more \
- services within SSL support. This port is provided as \
- a standalone program to \
- avoid installing a full Nessus scanner system. \
- \
- NOTE: Hydra is included in Nessus!
-homepage http://www.thc.org/releases.php \
- http://www.thehackerschoice.com
-master_sites http://www.thc.org/releases/
-platforms darwin
-checksums md5 792a9c6ec9e811f1559ee610b4428743
-depends_lib port:openssl
-patchfiles patch-hydra-sip.c
-post-patch {
- reinplace "s|/usr/local/|${prefix}/|g" ${worksrcpath}/configure
+name hydra
+version 5.3
+distname ${name}-${version}-src
+categories security net
+platforms darwin
+maintainers pmq at macports.org
+
+description A very fast network logon cracker which support many services
+long_description Hydra is a parallelized logon cracker utility. Hydra can \
+ brute force attack on FTP, POP3, IMAP, Telnet, HTTP Auth, \
+ NNTP, VNC, ICQ, Socks5, PCNFS and more services within SSL \
+ support.
+
+homepage http://www.thc.org/thc-hydra
+master_sites http://www.thc.org/releases/
+checksums md5 9c13a4909387284cebe867587be2fd98
+
+depends_lib port:openssl port:libssh port:apr0
+
+post-patch {
+ reinplace "s|/usr/local/|${prefix}/|g" ${worksrcpath}/configure
+ # don't take any chance with auto-detection
+ 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|APR_IPATH=\"\"|APR_IPATH=\"${prefix}/include\"|" ${worksrcpath}/configure
}
-build.type gnu
-build.args XLIBS="-lssl -lcrypto" XLIBPATHS="-L${prefix}/lib"
+build.args XLIBPATHS="-L${prefix}/lib"
pre-destroot {
- reinplace "s|PREFIX=${prefix}|PREFIX=${destroot}${prefix}|" \
- ${worksrcpath}/Makefile
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/README \
- ${destroot}${prefix}/share/doc/${name}
+ reinplace "s|PREFIX=${prefix}|PREFIX=${destroot}${prefix}|" ${worksrcpath}/Makefile
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}
-variant libssh {
- depends_lib-append port:libssh
-}
-
platform darwin 8 {
- build.args-append CC=/usr/bin/gcc-4.0
+ build.args-append CC=/usr/bin/gcc-4.0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070328/a8df15df/attachment.html
More information about the macports-changes
mailing list