# $Id$ PortSystem 1.0 name p0f version 2.0.8 categories net security platforms darwin maintainers nomaintainer description versatile passive OS fingerprinting, masquerade detection tool long_description p0f is a versatile passive OS fingerprinting and \ masquerade detection utility, to be used for evidence or \ information gathering on servers, firewalls, IDSes, and \ honeypots, for pen-testing, or just for the fun of it. homepage http://lcamtuf.coredump.cx/p0f.shtml master_sites http://lcamtuf.coredump.cx/p0f/ extract.suffix .tgz checksums sha1 7b4d5b2f24af4b5a299979134bc7f6d7b1eaf875 \ rmd160 87d5b30d2d5e156b9fdcb026160155f413ce13d3 depends_build port:gmake worksrcdir ${name} patchfiles p0f.c.patch p0fq.c.patch post-patch { reinplace "s|/etc/p0f|${prefix}/share/p0f|g" ${worksrcpath}/config.h } use_configure no build.args CC=${configure.cc} destroot { xinstall -m 755 -s ${worksrcpath}/p0f ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/p0f.1 ${destroot}${prefix}/share/man/man1 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} p0f.fp p0fa.fp p0fr.fp p0fo.fp \ ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath}/doc COPYING CREDITS ChangeLog KNOWN_BUGS \ README TODO ${destroot}${prefix}/share/doc/${name} }