source: trunk/dports/security/unhash/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                unhash
6version             1.1
7revision            2
8categories          security
9platforms           darwin
10maintainers         mww openmaintainer
11license             GPL-2
12description         brute force attack against MD5 or SHA1 hashes
13long_description    UnHash is a program that tries a brute force attack \
14                    against a given hash. The hash can be MD5 or SHA1, and \
15                    the program will auto-detect which one is given.
16
17homepage            http://www.dxp2532.info/
18master_sites        ${homepage}/tools/
19checksums           md5     b0cce452ec2eb64c4e0a8ec1b04a32d5 \
20                    sha1    ea9638aa3e8969a674d3e3f67144bd47cfeffa53 \
21                    rmd160  4f6a896783073249b5b3b8021f61b57943146d93
22use_bzip2           yes
23
24depends_lib         path:lib/libssl.dylib:openssl
25
26patchfiles          patch-Makefile
27
28post-extract {
29    file copy ${filespath}/strnlen.h ${filespath}/strnlen.c ${worksrcpath}
30}
31
32use_configure       no
33use_parallel_build  no
34
35build.type          gnu
36build.args          CPPFLAGS="${configure.cppflags}" CFLAGS="${configure.cflags}" LIBS="-L${prefix}/lib -lssl -lcrypto" CC="${configure.cc}"
37
38destroot {
39    xinstall -m 755 -s ${worksrcpath}/unhash ${destroot}${prefix}/bin
40    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}-${version}
41    xinstall -m 444 -W ${worksrcpath} CHANGES COPYING INSTALL README TODO ${destroot}${prefix}/share/doc/${name}-${version}
42}
43
Note: See TracBrowser for help on using the repository browser.