Rb-ifconfig - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    rb-ifconfig  most recent diff


    version

      View the most recent changes for the rb-ifconfig port at: rb-ifconfig.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-ifconfig.
      The raw portfile for rb-ifconfig is located here:
      http://rb-ifconfig.darwinports.com/dports/ruby/rb-ifconfig/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-ifconfig


      The rb-ifconfig Portfile 40601 2008-10-08 07:18:04Z jmr macports.org $
      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup {ifconfig ruby-ifconfig} 1.2 setup.rb {README TODO ChangeLog test}
      Maintainers: nomaintainer
      Description: Ruby wrapper around the ifconfig command on many platforms
      Long Description: This is a Ruby wrapper around the ifconfig command. The goal is to make getting any information that ifconfig provides easy to access.
      Category:-append sysutils
      Homepage: http://www.packetspike.net/~daniel/ruby/ifconfig/
      Master Sites: ${homepage}
      Checksums: md5 bef9810b76f6b1d53ed42a22a7a66320 sha1 dbcbcddc86fc02cdd3b642be31b5020a2f4f2f88
      Platform: darwin

      post-patch {
      foreach file [glob ${worksrcpath}/test/*.rb ${worksrcpath}/test/ts_run] {
      reinplace "s|^#!.*ruby|#!${ruby.bin}|" $file
      }
      }

      test.run yes
      test.dir ${worksrcpath}/test
      test.cmd ${ruby.bin}
      test.target ./ts_run


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.