Changeset 94505


Ignore:
Timestamp:
Jun 21, 2012, 2:08:47 AM (8 years ago)
Author:
ryandesign@…
Message:

p0f: whitespace / formatting changes / add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/p0f/Portfile

    r94504 r94505  
     1# -*- 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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem          1.0
    45
    5 name              p0f
    6 version           2.0.8
     6name                p0f
     7version             2.0.8
    78set major           [lindex [split ${version} .] 0]
    8 categories        net security
    9 platforms         darwin
    10 maintainers       nomaintainer
    11 description       versatile passive OS fingerprinting, masquerade detection tool
    12 long_description  p0f is a versatile passive OS fingerprinting and \
    13                         masquerade detection utility, to be used for evidence or \
    14                         information gathering on servers, firewalls, IDSes, and \
    15                         honeypots, for pen-testing, or just for the fun of it.
     9categories          net security
     10platforms           darwin
     11maintainers         nomaintainer
     12
     13description         versatile passive OS fingerprinting, masquerade detection tool
     14
     15long_description    p0f is a versatile passive OS fingerprinting and \
     16                    masquerade detection utility, to be used for evidence or \
     17                    information gathering on servers, firewalls, IDSes, and \
     18                    honeypots, for pen-testing, or just for the fun of it.
    1619
    1720homepage            http://lcamtuf.coredump.cx/p0f3/
    1821master_sites        ${homepage}releases/ \
    1922                    ${homepage}releases/old/${major}.x/
    20 extract.suffix    .tgz
    21 checksums         sha1 7b4d5b2f24af4b5a299979134bc7f6d7b1eaf875 \
    22                   rmd160 87d5b30d2d5e156b9fdcb026160155f413ce13d3
     23extract.suffix      .tgz
    2324
    24 depends_build     port:gmake
     25checksums           sha1    7b4d5b2f24af4b5a299979134bc7f6d7b1eaf875 \
     26                    rmd160  87d5b30d2d5e156b9fdcb026160155f413ce13d3
    2527
    26 worksrcdir        ${name}
    27 patchfiles        p0f.c.patch p0fq.c.patch
     28depends_build       port:gmake
    2829
    29 post-patch      {
    30         reinplace "s|/etc/p0f|${prefix}/share/p0f|g" ${worksrcpath}/config.h
     30worksrcdir          ${name}
     31
     32patchfiles          p0f.c.patch \
     33                    p0fq.c.patch
     34
     35post-patch  {
     36    reinplace "s|/etc/p0f|${prefix}/share/p0f|g" ${worksrcpath}/config.h
    3137}
    3238
    33 use_configure   no
     39use_configure       no
    3440
    35 build.args      CC=${configure.cc}
     41build.args          CC=${configure.cc}
    3642
    37 destroot        {
    38         xinstall -m 755 -s ${worksrcpath}/p0f ${destroot}${prefix}/bin
    39         xinstall -m 644 ${worksrcpath}/p0f.1 ${destroot}${prefix}/share/man/man1
    40         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
    41                 ${destroot}${prefix}/share/${name}
    42         xinstall -m 644 -W ${worksrcpath} p0f.fp p0fa.fp p0fr.fp p0fo.fp \
    43                 ${destroot}${prefix}/share/${name}
    44         xinstall -m 644 -W ${worksrcpath}/doc COPYING CREDITS ChangeLog KNOWN_BUGS \
    45                 README TODO ${destroot}${prefix}/share/doc/${name}
     43destroot {
     44    xinstall -m 755 -s ${worksrcpath}/p0f ${destroot}${prefix}/bin
     45    xinstall -m 644 ${worksrcpath}/p0f.1 ${destroot}${prefix}/share/man/man1
     46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
     47        ${destroot}${prefix}/share/${name}
     48    xinstall -m 644 -W ${worksrcpath} p0f.fp p0fa.fp p0fr.fp p0fo.fp \
     49        ${destroot}${prefix}/share/${name}
     50    xinstall -m 644 -W ${worksrcpath}/doc COPYING CREDITS ChangeLog KNOWN_BUGS \
     51        README TODO ${destroot}${prefix}/share/doc/${name}
    4652}
    4753
    48 livecheck.regex ${name}-(\[0-9.\]+b?)${extract.suffix}
    49 livecheck.type  regex
    50 livecheck.url   http://lcamtuf.coredump.cx/p0f3/releases/
     54livecheck.regex     ${name}-(\[0-9.\]+b?)${extract.suffix}
     55livecheck.type      regex
     56livecheck.url       http://lcamtuf.coredump.cx/p0f3/releases/
Note: See TracChangeset for help on using the changeset viewer.