Ticket #25340: openvas-libnasl-3.0.0.diff

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

     
    33PortSystem              1.0
    44
    55name                    openvas-libnasl
    6 version                 2.0.2
    7 set download_id         619
     6replaced_by             openvas-libraries
     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
    14 checksums \
    15     md5     c6d4e9099b860a0dceda6c10eacc26f4 \
    16     sha1    7a4342418de2a591353a4404455ca97a49d589d8 \
    17     rmd160  59f583f7e91c1d7e69bd16ce4fcacccb25b49e02
    18 
    1914description \
    2015    Open Vulnerability Assessment System NASL library
    2116
    22 long_description \
    23     OpenVAS is the Open Vulnerability Assessment System. This port \
    24     contains the Nessus Attack Scripting Language (NASL) library used \
    25     by the server component.
     17long_description        OpenVAS is the Open Vulnerability Assessment System. \
     18                        ${name} has been merged into ${replaced_by} and is \
     19                        no longer needed.
    2620
    27 depends_build \
    28     path:bin/pkg-config:pkgconfig \
    29     path:bin/bison:bison \
    30     path:bin/gsed:gsed
     21pre-configure {
     22    ui_error "${name} has been merged into ${replaced_by}; please install that port instead."
     23    return -code error "obsolete port"
     24}
    3125
    32 depends_lib \
    33     path:bin/gpgme-config:gpgme \
    34     path:bin/libopenvas-config:openvas-libraries
    35 
    36 patchfiles              patch-configure.diff
    37 
    38 use_parallel_build      yes
    39 
    40 livecheck.type          regex
    41 livecheck.url           http://wald.intevation.org/frs/?group_id=29
    42 livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
     26livecheck.type          none
  • files/patch-configure.diff

     
    1 http://wald.intevation.org/tracker/index.php?func=detail&aid=1100&group_id=29&atid=220
    2 --- configure.orig      2009-08-18 01:48:28.000000000 -0500
    3 +++ configure   2009-08-24 05:17:33.000000000 -0500
    4 @@ -148,7 +148,7 @@
    5  )
    6  fi
    7  
    8 -XFLAGS="$CFLAGS"
    9 +XFLAGS="$CPPFLAGS"
    10  CPPFLAGS=`$LIBOPENVASCONFIG --cflags`
    11  CPPFLAGS="$XFLAGS"
    12