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

    version 2.2.3

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


      The apg Portfile 44897 2009-01-04 15:32:49Z css macports.org $

      PortSystem 1.0
      Name: apg
      Version: 2.2.3
      Category: security
      Maintainers: css

      Description: tool set for random password generation

      Long Description: APG generates random passwords. Its pronounceable password generation algorithm conforms to NIST FIPS 181, and its random character algorithm has 35 configurable modes. APG supports ANSI X9.17 random number generation (CAST/SHA1) with a built-in password quality checking system.

      Platform: darwin
      Homepage: http://www.adel.nursat.kz/apg/
      Master Sites: ${homepage}/download/
      Checksums: md5 3b3fc4f11e90635519fe627c1137c9ac

      depends_lib lib:crypto:openssl

      Patch Files: patch-Makefile.diff

      post-patch {
      reinplace "s|__DESTROOT__|${destroot}|" ${worksrcpath}/Makefile
      }

      use_configure no

      destroot {
      xinstall -m 755 -s ${worksrcpath}/apg ${destroot}${prefix}/bin
      xinstall -m 644 ${worksrcpath}/doc/man/apg.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath}/doc APG_TIPS pronun.txt rfc0972.txt rfc1750.txt ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} README COPYING THANKS ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.