# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup  openssl 1.0

name			ffp
version			0.0.8
revision		5
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	path:libexec/coreutils/libstdbuf.so:coreutils

openssl.branch          1.0
openssl.configure	build_flags pkgconfig

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