Nmap version 4.76 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    version 4.76

      View the most recent changes for the nmap port at: nmap.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for nmap.
      The raw portfile for nmap 4.76 is located here:
      http://nmap.darwinports.com/dports/net/nmap/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/nmap


      The nmap Portfile 41685 2008-11-09 03:47:15Z dluke macports.org $

      PortSystem 1.0

      Name: nmap
      Version: 4.76
      Category: net
      Maintainers: opendarwin.org darkart.com dluke geeklair.net
      Description: Port scanning utility for large networks
      Homepage: http://nmap.org/
      Platform: 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: http://download.insecure.org/nmap/dist/ ftp://nuxi.ucdavis.edu/pub/misc/

      Checksums: md5 278dd2e849cc3dbb947df961a1aaffd0 sha1 a71141738b4512b6d5b35ef94258e525df30a586 rmd160 ec93522e05e7233e8950b28ab12b45355e63c0c7

      depends_lib port:libpcap port:openssl port:pcre port:zlib

      use_bzip2 yes

      configure.args --without-zenmap --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info --with-openssl=${prefix} --with-libpcre=${prefix} --with-liblua=included

      # 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

      Variant: no_ssl description {build without ssl support} {
      configure.args-delete --with-openssl=${prefix}
      depends_lib-delete port:openssl
      }

      Variant: no_pcre description {build without pcre support} {
      configure.args-delete --with-pcre=${prefix}
      depends_lib-delete port:pcre
      }

      Variant: zenmap description {build zenmap in addition to nmap} {
      configure.args-delete --without-zenmap
      depends_lib-append port:py25-gtk port:py25-sqlite3
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/nmap
      % sudo port install nmap
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching nmap
      ---> Verifying checksum for nmap
      ---> Extracting nmap
      ---> Configuring nmap
      ---> Building nmap with target all
      ---> Staging nmap into destroot
      ---> Installing nmap
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using nmap with these commands:
      %  man nmap
      % apropos nmap
      % which nmap
      % locate nmap

     Where to find more information:

    Darwin Ports



    Lightbox this page.