# $Id$

PortSystem 1.0

name			ffp
version			0.0.8
revision		3
categories		net security
license			BSD
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		https://www.thc.org/thc-ffp/
master_sites	https://www.thc.org/releases/
checksums		md5  e96ab1f681815046c364c8d3d0c1285c \
				sha1 4dbbf50583e36c1bc940e8525d7d0a0b63892c1b

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

depends_build	bin:ginstall:coreutils
depends_lib		path:lib/libssl.dylib: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}/
}