[94505] trunk/dports/net/p0f/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jun 20 19:08:48 PDT 2012
Revision: 94505
https://trac.macports.org/changeset/94505
Author: ryandesign at macports.org
Date: 2012-06-20 19:08:47 -0700 (Wed, 20 Jun 2012)
Log Message:
-----------
p0f: whitespace / formatting changes / add modeline
Modified Paths:
--------------
trunk/dports/net/p0f/Portfile
Modified: trunk/dports/net/p0f/Portfile
===================================================================
--- trunk/dports/net/p0f/Portfile 2012-06-21 02:06:02 UTC (rev 94504)
+++ trunk/dports/net/p0f/Portfile 2012-06-21 02:08:47 UTC (rev 94505)
@@ -1,50 +1,56 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name p0f
-version 2.0.8
+name p0f
+version 2.0.8
set major [lindex [split ${version} .] 0]
-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.
+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/p0f3/
master_sites ${homepage}releases/ \
${homepage}releases/old/${major}.x/
-extract.suffix .tgz
-checksums sha1 7b4d5b2f24af4b5a299979134bc7f6d7b1eaf875 \
- rmd160 87d5b30d2d5e156b9fdcb026160155f413ce13d3
+extract.suffix .tgz
-depends_build port:gmake
+checksums sha1 7b4d5b2f24af4b5a299979134bc7f6d7b1eaf875 \
+ rmd160 87d5b30d2d5e156b9fdcb026160155f413ce13d3
-worksrcdir ${name}
-patchfiles p0f.c.patch p0fq.c.patch
+depends_build port:gmake
-post-patch {
- reinplace "s|/etc/p0f|${prefix}/share/p0f|g" ${worksrcpath}/config.h
+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
+use_configure no
-build.args CC=${configure.cc}
+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}
+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}
}
-livecheck.regex ${name}-(\[0-9.\]+b?)${extract.suffix}
-livecheck.type regex
-livecheck.url http://lcamtuf.coredump.cx/p0f3/releases/
+livecheck.regex ${name}-(\[0-9.\]+b?)${extract.suffix}
+livecheck.type regex
+livecheck.url http://lcamtuf.coredump.cx/p0f3/releases/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120620/2cda27b1/attachment-0001.html>
More information about the macports-changes
mailing list