Ticket #25344: openvas-server-3.0.0.diff

File openvas-server-3.0.0.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • Portfile

     
    33PortSystem              1.0
    44
    55name                    openvas-server
    6 version                 2.0.3
    7 set download_id         624
     6replaced_by             openvas-scanner
     7version                 3.0.0
    88platforms               darwin
    99categories              security
    1010maintainers             ryandesign
    1111homepage                http://www.openvas.org/
    12 master_sites            http://wald.intevation.org/frs/download.php/${download_id}
     12distfiles
    1313
    1414description \
    1515    Open Vulnerability Assessment System server
    1616
    17 long_description \
    18     OpenVAS is the Open Vulnerability Assessment System. This port is \
    19     the server component.
     17long_description        OpenVAS is the Open Vulnerability Assessment System. \
     18                        ${name} has been renamed ${replaced_by}.
    2019
    21 checksums \
    22     md5     d3ab75534253f57766be0f835a6c95da \
    23     sha1    4ca87b1065d3d6b1559b582f0a6c5af476f0bb71 \
    24     rmd160  0bb3029dca0a3c88177559052e5cd4192107cfc6
     20pre-configure {
     21    ui_error "${name} has been renamed ${replaced_by}; please install that port instead."
     22    return -code error "obsolete port"
     23}
    2524
    26 depends_build \
    27     path:bin/pkg-config:pkgconfig \
    28     path:bin/xmkmf:imake
    29 
    30 depends_lib \
    31     path:bin/openvas-libnasl-config:openvas-libnasl \
    32     path:lib/libX11.dylib:xorg-libX11
    33 
    34 use_parallel_build      yes
    35 
    36 livecheck.type          regex
    37 livecheck.url           http://wald.intevation.org/frs/?group_id=29
    38 livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
     25livecheck.type          none