Netcat version 1.10 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    version 1.10

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


      The netcat Portfile 54601 2009-07-30 06:26:57Z toby macports.org $

      PortSystem 1.0

      Name: netcat
      Version: 1.10
      Revision: 2
      Category: net
      Maintainers: darkart.com:opendarwin.org
      Description: Utility for managing network connections
      Long Description: Netcat is a simple Unix utility which reads and writes data across network connections using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
      Platform: darwin freebsd
      Master Sites: ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/
      ## http://public.www.planetmirror.com/pub/lprng/TOOLS/netcat
      ## http://downloads.planetmirror.com/pub/lprng/TOOLS/netcat/nc110.tgz

      ## provide a 'homepage' to make "port lint" happy...
      Homepage: http://nc110.sourceforge.net/

      ##
      ## build the version string to match how netcat is distributed
      regsub -all "\\." ${version} "" num
      ## and appropriately name the distfile
      distfiles nc${num}.tgz
      extract.mkdir yes

      Checksums: md5 402632f2fe01c169ff19a0ad6e9d608c

      use_configure no
      build.target generic

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/netcat
      xinstall -m 755 -s -W ${worksrcpath} nc ${destroot}${prefix}/bin
      xinstall -m 644 -W ${worksrcpath} README ${destroot}${prefix}/share/doc/netcat
      }

    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/netcat
      % sudo port install netcat
      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 netcat
      ---> Verifying checksum for netcat
      ---> Extracting netcat
      ---> Configuring netcat
      ---> Building netcat with target all
      ---> Staging netcat into destroot
      ---> Installing netcat
    - 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 netcat with these commands:
      %  man netcat
      % apropos netcat
      % which netcat
      % locate netcat

     Where to find more information:

    Darwin Ports



    Lightbox this page.