C-ares version 1.6.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.6.0

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


      The c-ares Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: c-ares
      Version: 1.6.0
      Category: net
      Maintainers: toby
      Description: asynchronous DNS library
      Long Description: c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT.
      Homepage: http://c-ares.haxx.se/
      Platform: darwin
      license MIT
      Master Sites: ${homepage}
      Checksums: md5 4503b0db3dd79d3c1f58d87722dbab46 sha1 50b0f5955769117720c8ff2bde6a8a8ece65d7a3 rmd160 3eccaad5df124525c70c47a76cc3fc2cbd31bbe8
      configure.args --mandir=${prefix}/share/man --enable-shared

      post-configure {
      system "ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
      }

      livecheck.type regex
      livecheck.regex href=\"c-ares-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz\"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.