Portsentry version 1.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    portsentry  most recent diff


    version 1.1

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


      The portsentry Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $
      PortSystem 1.0
      Name: portsentry
      Version: 1.1
      Category: security
      Maintainers: touche.fr.st:julien.touche
      Description: port scan detection and active defense
      Long Description: PortSentry is part of the Abacus Project suite of security tools. It is a program designed to detect and respond to port scans against a target host in real-time. There are other port scan detectors that perform similar detection of scans, but PortSentry has some unique features that may make it worth looking into.
      Homepage: http://sourceforge.net/projects/sentrytools
      Master Sites: http://www.packetstormsecurity.org/UNIX/IDS/ sourceforge:sentrytools
      Platform: darwin
      Checksums: md5 782839446b7eca554bb1880ef0882670
      configure { }
      build.target generic

      ## 1.2 beta from sf.net doesn't compile
      ## 1.2
      #checksums md5 3ebd3618ba9abfea2525e236bd44cebd
      #set worksrcdir ${name}_beta

      post-patch {
      reinplace "s|/usr/local/psionic/portsentry/portsentry.conf|${prefix}/etc/${name}/portsentry.conf|" ${worksrcpath}/portsentry_config.h
      reinplace "s|/usr/local/psionic/portsentry|${prefix}/etc/${name}|g" ${worksrcpath}/portsentry.conf
      }

      destroot {
      file mkdir ${destroot}${prefix}/etc/${name}
      file mkdir ${destroot}${prefix}/share/doc/${name}
      foreach doc_file {
      README.install README.methods README.stealth
      } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
      foreach file {
      portsentry.conf portsentry.ignore
      } { system "install -m 644 ${worksrcpath}/$file ${destroot}${prefix}/etc/${name}" }
      system "install -m 755 ${worksrcpath}/portsentry ${destroot}${prefix}/libexec/"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.