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

    libarchive  most recent diff


    version 2.7.1

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


      The libarchive Portfile 55080 2009-08-06 17:30:57Z toby macports.org $

      PortSystem 1.0

      Name: libarchive
      Version: 2.7.1
      Category: archivers
      Maintainers: toby
      Description: functions for reading and writing streaming archives
      Long Description: Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and several cpio formats. It can also write shar archives.
      Homepage: http://code.google.com/p/libarchive/
      Platform: darwin

      Master Sites: googlecode

      Checksums: md5 f43382413b4457d0e192771b100a66e7 sha1 3810ded09b2d248eab9754d008f0cf144f27848d rmd160 7a0b5747569452f015e94e54afa90ca85dfd7cca

      depends_lib port:bzip2 port:zlib port:openssl

      configure.args --enable-bsdtar=shared --enable-bsdcpio=shared --without-lzmadec --without-lzma

      livecheck.regex files/libarchive-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz

      Variant: lzma description "LZMA support" {
      configure.args-delete --without-lzma
      depends_lib-append port:liblzma
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.