source: trunk/dports/net/nessus-core/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            nessus-core
5version         2.2.6
6revision        0
7categories      net security
8maintainers     darkart.com:opendarwin.org openmaintainer
9description     Nessus security scanner
10long_description Nessus is a security scanner that crawls across a network, looking \
11                for well-known vulnerabilities and common misconfigurations.
12
13homepage        http://www.nessus.org/
14platforms       darwin
15master_sites    ftp://ftp.nessus.org/pub/nessus/nessus-${version}/src/ \
16                ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${version}/src/ \
17                http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${version}/src/ \
18                ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${version}/src/ \
19                ftp://ftp.chg.ru/pub/security/nessus/nessus-${version}/src/ \
20                ftp://ftp.sekure.net/pub/nessus/nessus-${version}/src/
21
22checksums       md5 616dd7727b90df1ac978b5e736c0a960 \
23                sha1 878434bbbae4f0edf9cc1c90315e2ee0524eb2e3
24worksrcdir      ${name}/
25depends_lib     lib:libnessus.${version}:nessus-libraries \
26                lib:libnasl.${version}:libnasl  \
27                port:gtk2
28
29patchfiles      patch-nessus-preferences.c \
30                patch-nessusd-preferences.c
31
32destroot.keepdirs       ${destroot}${prefix}/etc/nessus \
33                        ${destroot}${prefix}/var/nessus/jobs \
34                        ${destroot}${prefix}/var/nessus/logs \
35                        ${destroot}${prefix}/var/nessus/tmp \
36                        ${destroot}${prefix}/var/nessus/users
37
38post-patch       {
39        reinplace "s/INCLUDES_H/NESSUS_CORE_INCLUDES_H/g" ${worksrcpath}/include/includes.h
40        system "mv ${worksrcpath}/include/includes.h ${worksrcpath}/include/nessus-core-includes.h"
41        ui_debug "changing all includes.h to nessus-core-includes.h"
42        foreach item [exec find ${worksrcpath} -type f] {
43                reinplace "s/includes.h/nessus-core-includes.h/g" ${item}
44        }
45        ui_debug "Done changing all includes.h to nessus-core-includes.h"
46        }
47
48configure.args  --mandir=\\\${prefix}/share/man \
49                --infodir=\\\${prefix}/share/info
50
51variant no_x11 {
52        configure.args-append   --disable-gtk
53        depends_lib-delete      port:gtk2
54}
Note: See TracBrowser for help on using the repository browser.