1 | # $Id: Portfile 30204 2007-10-22 21:05:01Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name nessus-libraries |
---|
5 | version 2.2.6 |
---|
6 | categories net security |
---|
7 | maintainers opendarwin.org@darkart.com openmaintainer |
---|
8 | description Nessus security scanner |
---|
9 | long_description Nessus is a security scanner that crawls across a network, looking \ |
---|
10 | for well-known vulnerabilities and common misconfigurations. |
---|
11 | |
---|
12 | homepage http://www.nessus.org/ |
---|
13 | platforms darwin |
---|
14 | master_sites ftp://ftp.nessus.org/pub/nessus/nessus-${version}/src/ \ |
---|
15 | ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${version}/src/ \ |
---|
16 | http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${version}/src/ \ |
---|
17 | ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${version}/src/ \ |
---|
18 | ftp://ftp.chg.ru/pub/security/nessus/nessus-${version}/src/ \ |
---|
19 | ftp://ftp.sekure.net/pub/nessus/nessus-${version}/src/ |
---|
20 | checksums md5 ac027cd2dfa149a44a6dbb748eb93ce9 \ |
---|
21 | sha1 7552cb5c48ace2e38537d8b58a1c7968172399cc |
---|
22 | worksrcdir ${name}/ |
---|
23 | |
---|
24 | configure.cc gcc |
---|
25 | |
---|
26 | configure.args --mandir=\\\${prefix}/share/man \ |
---|
27 | --infodir=\\\${prefix}/share/info \ |
---|
28 | --enable-cipher \ |
---|
29 | --with-ssl=${prefix} |
---|
30 | |
---|
31 | depends_lib port:openssl |
---|
32 | |
---|
33 | variant no_ssl { depends_lib-delete port:openssl |
---|
34 | configure.args-delete --with-ssl=${prefix} |
---|
35 | configure.args-append --without-ssl |
---|
36 | } |
---|
37 | |
---|
38 | variant bpf_sharing { |
---|
39 | configure.args-append --enable-bpf-sharing |
---|
40 | } |
---|