Download and Install checkpassword-pam version 0.99 on Mac OS X
Friday the 25th of July, 2008

    checkpassword-pam  most recent diff


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



      # $Id: Portfile 30252 2007-10-23 02:19:43Z jmpp macports.org $
      PortSystem 1.0

      Name: checkpassword-pam
      Version: 0.99
      Category: security
      Maintainers: nomaintainer
      Description: implementation of checkpassword-compatible auth program
      Long Description: checkpassword-pam was written from scratch. There are several older packages called checkpassword-pam, derived from DJB's checkpassword code. This checkpassword-pam is more modern and administrator-friendly.
      Homepage: http://checkpasswd-pam.sourceforge.net/
      master_sites sourceforge:checkpasswd-pam
      checksums md5 47db7b71f281115b030d4947f09f4374
      Platform: darwin

      patchfiles patch-pam-support.c

      configure.args --mandir='${prefix}/share/man'
      post-configure {
      file copy -force ${filespath}/check.sh.in ${worksrcpath}/check.sh
      reinplace "s| PREFIX |${prefix}|" ${worksrcpath}/check.sh
      }

      post-destroot {
      # Check if user is running as root
      if {$env(USER) == "root"} {
      system "chmod 4511 ${destroot}${prefix}/bin/${name}"
      } else {
      ui_msg "-----------------------------------------------------------"
      ui_msg "Note that you are not running as root, so ${name}"
      ui_msg "cannot be installed setuid root. Therefore, it will only"
      ui_msg "be able to be executed by root."
      ui_msg "-----------------------------------------------------------"
      system "chmod 0511 ${destroot}${prefix}/bin/${name}"
      }
      xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING INSTALL interface.html NEWS README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0755 check.sh ${destroot}${prefix}/share/doc/${name}/check.sh
      ui_msg "-----------------------------------------------------------"
      ui_msg "A sample check script has been provided here:\n"
      ui_msg " ${prefix}/share/doc/${name}/check.sh\n"
      ui_msg "You can use this to verify that your PAM configuration"
      ui_msg "is correct for ${name} usage."
      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/checkpassword-pam
      % sudo port install checkpassword-pam
      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 checkpassword-pam
      ---> Verifying checksum for checkpassword-pam
      ---> Extracting checkpassword-pam
      ---> Configuring checkpassword-pam
      ---> Building checkpassword-pam with target all
      ---> Staging checkpassword-pam into destroot
      ---> Installing checkpassword-pam
    - 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 checkpassword-pam with these commands:
      %  man checkpassword-pam
      % apropos checkpassword-pam
      % which checkpassword-pam
      % locate checkpassword-pam

     Where to find more information:

    Darwin Ports



    image test