Ticket #25343: openvas-scanner-3.0.2.diff

File openvas-scanner-3.0.2.diff, 2.6 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • Portfile

     
    22
    33PortSystem              1.0
    44
    5 name                    openvas-server
    6 version                 2.0.3
    7 set download_id         624
     5name                    openvas-scanner
     6version                 3.0.2
     7set download_id         724
    88platforms               darwin
    99categories              security
    1010maintainers             ryandesign
     
    1212master_sites            http://wald.intevation.org/frs/download.php/${download_id}
    1313
    1414description \
    15     Open Vulnerability Assessment System server
     15    Open Vulnerability Assessment System scanner
    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} is the scanner component, formerly called \
     19                        the server component.
    2020
    21 checksums \
    22     md5     d3ab75534253f57766be0f835a6c95da \
    23     sha1    4ca87b1065d3d6b1559b582f0a6c5af476f0bb71 \
    24     rmd160  0bb3029dca0a3c88177559052e5cd4192107cfc6
     21checksums               md5     0fbadc838d4f21c43f1ce6c8180287e6 \
     22                        sha1    088092bf6211f43bc4c7e668936087882094b58a \
     23                        rmd160  34c9040c54997a4394433425af8359dc895d745b
    2524
    2625depends_build \
    2726    path:bin/pkg-config:pkgconfig \
    2827    path:bin/xmkmf:imake
    2928
    3029depends_lib \
    31     path:bin/openvas-libnasl-config:openvas-libnasl \
     30    path:bin/libopenvas-config:openvas-libraries \
    3231    path:lib/libX11.dylib:xorg-libX11
    3332
     33patchfiles              patch-cnvts-make_world.diff
     34
     35# http://wald.intevation.org/tracker/index.php?func=detail&aid=1233&group_id=29&atid=220
     36configure.cflags-append -Ds6_addr32=__u6_addr.__u6_addr32
     37
    3438use_parallel_build      yes
    3539
     40# openvas-libraries is not universal
     41universal_variant       no
     42
    3643livecheck.type          regex
    3744livecheck.url           http://wald.intevation.org/frs/?group_id=29
    3845livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
  • files/patch-cnvts-make_world.diff

     
     1--- cnvts/make_world.orig       2009-06-19 06:56:24.000000000 -0500
     2+++ cnvts/make_world    2010-06-19 03:52:36.000000000 -0500
     3@@ -3,9 +3,6 @@
     4 
     5 os=`uname`
     6 case "$os" in
     7- Darwin)
     8-       MAKEFLAG="-f Makefile.darwin"
     9-       ;;
     10   *)
     11        MAKEFLAG=""
     12        ;;