Download and Install tripwire version 2.4.1.2 on Mac OS X
Thursday the 24th of July, 2008

    tripwire  most recent diff


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



      # $Id: Portfile 34935 2008-03-12 05:05:11Z jmr macports.org $

      PortSystem 1.0

      Name: tripwire
      Version: 2.4.1.2
      Category: security
      Platform: darwin
      Maintainers: nomaintainer
      Description: integrity assurance and intrusion detection tool
      Long Description: Tripwire software is a tool that checks to see what has changed on your system. The program monitors key attributes of files that should not change, including binary signature, size, expected change of size, etc. Tripwire is originally known as an intrusion detection tool, but can be used for many other purposes such as integrity assurance, change management, policy compliance and more.
      Homepage: http://sourceforge.net/projects/tripwire/
      use_bzip2 yes
      master_sites sourceforge:${name}
      distname ${distname}-src
      distfiles ${distname}.tar.bz2
      checksums ${distname}.tar.bz2 md5 8a1147c278b528ed593023912c4b649a

      depends_lib port:openssl
      depends_build port:automake

      #variant anacron {
      # depends_run bin:anacron:anacron
      #}

      patchfiles patch-Makefile.am patch-platform.h patch-aclocal.m4 patch-configure.in patch-configure patch-install.cfg patch-install.sh

      post-patch { file attributes ${worksrcpath}/configure -permissions +x }

      pre-configure {
      system "cd ${worksrcpath} && aclocal"
      }
      configure.args --sysconfdir="${prefix}/etc/${name}" --mandir="${prefix}/share/man"

      post-destroot {
      # Installation locations
      set bindir "${prefix}/sbin"
      set sysconfdir "${prefix}/etc/${name}"
      set vardbdir "${prefix}/var/db/${name}"
      set docdir "${prefix}/share/doc/${name}"
      if {[variant_isset anacron]} {
      set crondir "${prefix}/etc/cron.daily"
      } else {
      set crondir "${docdir}"
      }
      # Install setup script for post installation configuration
      xinstall -m 0744 ${filespath}/twsetup.sh.in ${destroot}${sysconfdir}/twsetup.sh
      # Install quickstart guide
      xinstall -d -m 0755 ${destroot}${docdir}
      xinstall -m 0644 ${filespath}/quickstart.gif ${destroot}${docdir}/quickstart.gif
      xinstall -m 0644 ${filespath}/quickstart.txt.in ${destroot}${docdir}/quickstart.txt
      # Install daily cron job entry (requires anacron)
      xinstall -d -m 0755 ${destroot}${crondir}
      xinstall -m 0744 ${filespath}/${name}-check.in ${destroot}${crondir}/${name}-check
      # Configure paths in various files
      reinplace "s| PREFIX |${prefix}|g" ${destroot}${sysconfdir}/twsetup.sh ${destroot}${crondir}/${name}-check ${destroot}${docdir}/quickstart.txt
      reinplace "s| BINDIR |${bindir}|g" ${destroot}${sysconfdir}/twsetup.sh ${destroot}${crondir}/${name}-check ${destroot}${docdir}/quickstart.txt
      reinplace "s| SYSCONFDIR |${sysconfdir}|g" ${destroot}${sysconfdir}/twsetup.sh ${destroot}${crondir}/${name}-check ${destroot}${docdir}/quickstart.txt
      reinplace "s| VARDBDIR |${vardbdir}|g" ${destroot}${sysconfdir}/twsetup.sh ${destroot}${crondir}/${name}-check ${destroot}${docdir}/quickstart.txt
      reinplace "s| DOCDIR |${docdir}|g" ${destroot}${sysconfdir}/twsetup.sh ${destroot}${crondir}/${name}-check ${destroot}${docdir}/quickstart.txt
      # Prevent empty directory removal
      system "touch ${destroot}${vardbdir}/report/.turd"
      }

      post-install {
      ui_msg "------------------------------------------------------------"
      ui_msg "Please read the quick start guide located at:"
      ui_msg " "
      ui_msg " ${prefix}/share/doc/${name}/quickstart.txt"
      ui_msg " "
      ui_msg "for post installation configuration instructions and"
      ui_msg "general usage information."
      ui_msg "------------------------------------------------------------"
      }


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

     Where to find more information:

    Darwin Ports



    image test