Hping2 version rc3 - How to Download and Install on Mac OS X
Saturday the 20th of March, 2010

    version rc3

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


      The hping2 Portfile 56909 2009-09-03 13:14:16Z snc macports.org $
      PortSystem 1.0
      Name: hping2
      Version: rc3
      Revision: 2
      Category: net
      Maintainers: nomaintainer
      Description: a network tool
      Long Description: a network tool able to send custom packets.
      Homepage: http://www.hping.org/
      Platform: darwin
      distfiles ${name}.0.0-${version}.tar.gz
      Master Sites: ${homepage}
      Checksums: md5 029bf240f2e0545b664b2f8b9118d9e8
      Patch Files: patch-Makefile.in patch-libpcap_stuff.c patch-ars.c patch-sendip.c patch-bytesex.h
      post-build {
      system "cd ${worksrcpath} && make strip"
      }
      post-configure {
      reinplace "s|INSTALL_PATH=|INSTALL_PATH=${destroot}${prefix}|g" ${worksrcpath}/Makefile
      reinplace "s|INSTALL_MANPATH=|INSTALL_MANPATH=${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
      }
      post-destroot {
      file delete ${destroot}${prefix}/sbin/hping
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.