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
3 3 PortSystem 1.0 4 4 5 5 name openvas-libnasl 6 version 2.0.2 7 set download_id 619 6 replaced_by openvas-libraries 7 version 3.0.0 8 8 platforms darwin 9 9 categories security 10 10 maintainers ryandesign 11 11 homepage http://www.openvas.org/ 12 master_sites http://wald.intevation.org/frs/download.php/${download_id} 12 distfiles 13 13 14 checksums \15 md5 c6d4e9099b860a0dceda6c10eacc26f4 \16 sha1 7a4342418de2a591353a4404455ca97a49d589d8 \17 rmd160 59f583f7e91c1d7e69bd16ce4fcacccb25b49e0218 19 14 description \ 20 15 Open Vulnerability Assessment System NASL library 21 16 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. 17 long_description OpenVAS is the Open Vulnerability Assessment System. \ 18 ${name} has been merged into ${replaced_by} and is \ 19 no longer needed. 26 20 27 depends_build \ 28 path:bin/pkg-config:pkgconfig \29 path:bin/bison:bison \30 path:bin/gsed:gsed 21 pre-configure { 22 ui_error "${name} has been merged into ${replaced_by}; please install that port instead." 23 return -code error "obsolete port" 24 } 31 25 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 26 livecheck.type none -
files/patch-configure.diff
1 http://wald.intevation.org/tracker/index.php?func=detail&aid=1100&group_id=29&atid=2202 --- configure.orig 2009-08-18 01:48:28.000000000 -05003 +++ configure 2009-08-24 05:17:33.000000000 -05004 @@ -148,7 +148,7 @@5 )6 fi7 8 -XFLAGS="$CFLAGS"9 +XFLAGS="$CPPFLAGS"10 CPPFLAGS=`$LIBOPENVASCONFIG --cflags`11 CPPFLAGS="$XFLAGS"12