# $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $
PortSystem 1.0

name			ffp
version			0.0.8
revision		2
categories		net security
platforms		darwin
maintainers		nomaintainer
description		generates fuzzy fingerprints to facilitate MiM attacks
long_description	ffp is a tool that generates fuzzy fingerprints. \
					Fuzzy fingerprinting is a technique that extends \
					common man-in-the-middle attacks by generating \
					fingerprints that closely resemble the target's \
					public key fingerprint.

homepage		http://thc.org/thc-ffp/
master_sites	http://thc.org/releases/
checksums		md5  ddcb6acaaf579c4219268812e49b285a \
				sha1 50f17b355b7b108918fa2a6dc1e3e4d64cbde335

livecheck.type  regex
livecheck.regex "ffp-(.*?).tar.gz"

depends_build	bin:ginstall:coreutils
depends_lib		port:openssl

configure.args --with-ssl-dir=${prefix}

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 755 -c ${worksrcpath}/doc/ffp.html ${destroot}${prefix}/share/doc/${name}/
}
