Download and Install rb-password on Mac OS X
Monday the 8th of September, 2008

    rb-password  most recent diff


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



      # $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp macports.org $
      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup {password ruby-password} 0.5.2 extconf.rb {README doc example}
      revision 1
      Maintainers: nomaintainer
      Description: password manipulation methods for Ruby
      Long Description: Ruby/Password comprises a set of useful methods for creating, verifying and manipulating passwords. It includes an interface to CrackLib, a library commonly used for checking password strength. The target audience for this library is system administrators who need to write Ruby programs that prompt for, generate, verify and encrypt passwords.
      Category:-append sysutils
      Homepage: http://www.caliban.org/ruby/
      master_sites http://www.caliban.org/files/ruby/
      checksums md5 6a33fb9dd039f07fe2b81a0d8eed7f6f
      Platform: darwin

      depends_lib-append lib:libcrack.2:cracklib port:rb-termios

      patchfiles patch-tc_password.rb
      post-patch {
      cd ${worksrcpath}
      reinplace "s|^#!.*ruby|#!${ruby.bin}|" example/example.rb example/pwgen
      reinplace "s|/usr/local|${prefix}|g" extconf.rb
      reinplace "s|pw_dict|cracklib/&|g" extconf.rb
      }

      post-build {
      system "cd ${worksrcpath} && ${ruby.rdoc} -x CVS rbcrack.c"
      }

      test.run yes
      test.cmd ${ruby.bin} test/tc_password.rb


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

     Where to find more information:

    Darwin Ports



    image test