Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (57 sloc) 2.29 KB
PortSystem 1.0
name nmap
version 7.70
categories net
maintainers darkart.com:opendarwin.org {geeklair.net:dluke @danielluke}
description Port scanning utility for large networks
license {GPL-2 OpenSSLException}
homepage https://nmap.org/
platforms darwin freebsd
long_description Nmap is a utility for port scanning large networks, although \
it works fine for single hosts. The guiding philosophy for \
the creation of nmap was TMTOWTDI (There's More Than One Way \
To Do It). This is the Perl slogan, but it is equally \
applicable to scanners. Sometimes you need speed, other \
times you may need stealth. In some cases, bypassing \
firewalls may be required. Not to mention the fact that you \
may want to scan different protocols (UDP, TCP, ICMP, etc.). \
You just can't do all this with one scanning mode. And you \
don't want to have 10 different scanners around, all with \
different interfaces and capabilities.
master_sites https://nmap.org/dist/
checksums md5 84eb6fbe788e0d4918c2b1e39421bf79 \
sha1 71057361a0953bba5967dc0385de77f3eed792de \
rmd160 39b176e3b515bb5bf95503e3cb431a0dcd9e97ed \
sha256 847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18 \
size 10467371
depends_lib port:libpcap \
port:zlib \
port:apr
use_bzip2 yes
configure.args --without-zenmap --without-ndiff \
--mandir=\\\${prefix}/share/man \
--infodir=\\\${prefix}/share/info \
--with-liblua=included \
--without-subversion
# nmap's configure script in nselib-bin does not respect --with-liblua=included
configure.env ac_cv_header_lua_h=no
use_parallel_build no
configure.ccache no
default_variants +subversion +ssl +pcre
variant ssl description {build with ssl support} {
configure.args-append --with-openssl=${prefix}
depends_lib-append path:lib/libssl.dylib:openssl
}
variant pcre description {build with pcre support} {
configure.args-append --with-pcre=${prefix}
depends_lib-append port:pcre
}
variant subversion description {build with subversion (nmap-update) support} {
configure.args-delete --without-subversion
depends_lib-append port:subversion
}
variant zenmap description {build zenmap in addition to nmap} {
configure.args-delete --without-zenmap
configure.python ${prefix}/bin/python2.7
depends_lib-append port:py27-pygtk
}
You can’t perform that action at this time.