source: trunk/dports/net/nmap/Portfile @ 125169

Last change on this file since 125169 was 125169, checked in by dluke@…, 5 years ago

nmap: version bump, update to 6.47 (fixes #44901)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 125169 2014-09-08 14:10:44Z dluke@macports.org $
2
3PortSystem 1.0
4
5name            nmap
6version         6.47
7categories      net
8maintainers     darkart.com:opendarwin.org geeklair.net:dluke
9description     Port scanning utility for large networks
10license         {GPL-2 OpenSSLException}
11homepage        http://nmap.org/
12platforms       darwin freebsd
13
14long_description Nmap is a utility for port scanning large networks, although \
15                 it works fine for single hosts. The guiding philosophy for \
16                 the creation of nmap was TMTOWTDI (There's More Than One Way \
17                 To Do It). This is the Perl slogan, but it is equally \
18                 applicable to scanners. Sometimes you need speed, other \
19                 times you may need stealth. In some cases, bypassing \
20                 firewalls may be required. Not to mention the fact that you \
21                 may want to scan different protocols (UDP, TCP, ICMP, etc.). \
22                 You just can't do all this with one scanning mode. And you \
23                 don't want to have 10 different scanners around, all with \
24                 different interfaces and capabilities.
25
26master_sites    http://download.insecure.org/nmap/dist/ \
27                ftp://nuxi.ucdavis.edu/pub/misc/
28
29checksums       md5     edfe81f6763223c0a29bfa15a8526e2a \
30                sha1    0c917453a91a5e85c2a217d27c3853b0f3e0e6ac \
31                rmd160  20c4023935e53fbceb2ef33205cb301fb29bd0b2 \
32                sha256  8fa11e9e203ce2d81a207db5ca4f110a525f6c01c1dd0018325a7112a51aa591
33
34depends_lib     port:libpcap \
35                port:openssl \
36                port:pcre \
37                port:zlib \
38                port:apr \
39                port:subversion
40
41use_bzip2       yes
42
43configure.args  --without-zenmap --without-ndiff \
44                --mandir=\\\${prefix}/share/man \
45                --infodir=\\\${prefix}/share/info \
46                --with-openssl=${prefix} \
47                --with-libpcre=${prefix} \
48                --with-liblua=included
49
50# nmap's configure script in nselib-bin does not respect --with-liblua=included
51configure.env ac_cv_header_lua_h=no
52
53use_parallel_build      no
54configure.ccache        no
55
56variant no_ssl  description {build without ssl support} {
57                        configure.args-delete --with-openssl=${prefix}
58                        depends_lib-delete port:openssl
59                }
60
61variant no_pcre description {build without pcre support} {
62                        configure.args-delete --with-pcre=${prefix}
63                        depends_lib-delete port:pcre
64                }
65
66variant zenmap description {build zenmap in addition to nmap} {
67                        configure.args-delete --without-zenmap
68                        configure.python ${prefix}/bin/python2.7
69                        depends_lib-append port:py27-pygtk
70                }
Note: See TracBrowser for help on using the repository browser.