Ticket #36370: hydra-raimue.diff
File hydra-raimue.diff, 2.7 KB (added by raimue (Rainer Müller), 12 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name hydra 6 version 5.4 7 revision 3 8 distname ${name}-${version}-src 6 version 7.3 7 license {GPL-3 OpenSSLException} 9 8 categories security net 10 9 platforms darwin 11 maintainers nomaintainer10 maintainers gmail.com:openandreaponza 12 11 13 12 description \ 14 13 A very fast network logon cracker which support many services … … 20 19 support. 21 20 22 21 homepage http://www.thc.org/thc-hydra 23 master_sites http://freeworld.thc.org/releases 24 checksums md5 fa08b465d19321e77b1a0ef912eeecc1 22 master_sites http://www.thc.org/releases 25 23 26 depends_lib port:openssl port:libssh01 24 checksums rmd160 c2d3dc47b2573fddd0aecc103ed609cebfea2879 \ 25 sha256 14805ba70f3f22beb00344db161a1a84d61059655f2be37dd02a5c5cceae306d 27 26 28 patchfiles patch-configure.diff 27 depends_lib port:openssl port:libssh 29 28 30 post-patch {31 reinplace "s|SSL_PATH=\"\"|SSL_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure32 reinplace "s|SSL_IPATH=\"\"|SSL_IPATH=\"${prefix}/include\"|" ${worksrcpath}/configure33 reinplace "s|CRYPTO_PATH=\"\"|CRYPTO_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure34 reinplace "s|SSH_PATH=\"\"|SSH_PATH=\"${prefix}/lib/libssh01\"|" ${worksrcpath}/configure35 reinplace "s|SSH_IPATH=\"\"|SSH_IPATH=\"${prefix}/include/libssh01\"|" ${worksrcpath}/configure36 }37 38 29 configure.args --disable-xhydra 39 30 40 31 post-configure { 41 32 reinplace "s|CC=gcc|CC=${configure.cc}|" ${worksrcpath}/Makefile 33 reinplace "s|/man/man1|/share/man/man1|" ${worksrcpath}/Makefile 42 34 } 43 35 44 build.args XIPATHS="-I${prefix}/include/libssh01 -I${prefix}/include" \ 45 XLIBPATHS="-L${prefix}/lib/libssh01 -L${prefix}/lib" 46 36 build.args XIPATHS="-I${prefix}/include/libssh -I${prefix}/include" \ 37 XLIBPATHS="-L${prefix}/lib/libssh -L${prefix}/lib" 47 38 pre-destroot { 48 39 reinplace "s|PREFIX=${prefix}|PREFIX=${destroot}${prefix}|" ${worksrcpath}/Makefile 49 40 set docdir ${destroot}${prefix}/share/doc/${name}-${version} 50 41 xinstall -d ${docdir} 51 42 xinstall -m 644 -W ${worksrcpath} \ 52 43 CHANGES \ 53 LICENCE.HYDRA \ 54 LICENSE.GNU \ 44 LICENSE \ 55 45 README \ 56 TODO \57 46 ${docdir} 58 47 } 59 48