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

    gzrecover  most recent diff


    version 0.5

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


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

      PortSystem 1.0

      Name: gzrecover
      set my_name gzrt
      Version: 0.5
      Category: archivers
      Platform: darwin
      Maintainers: nomaintainer
      Description: attempts to extract bad gzip archives

      Long Description: Gzrecover attempts to skip over bad data in a gzip archive. It will try to to skip over bad data and extract whatever files might be there.

      Homepage: http://www.urbanophile.com/arenn/hacking/gzrt/
      Master Sites: ${homepage}
      distname ${my_name}-${version}

      Checksums: md5 91e9cbc1d92276742691dca89d6b8293 sha1 99f1320dc795da666cd17d331c359e5c2433c129 rmd160 e14e80de9b5e9abee8c68e6f2a9164c038b1d3a9

      depends_lib port:zlib

      post-patch {
      foreach {var} {CFLAGS LDFLAGS} {
      eval reinplace -E "\"/^${var}/s|\\\\+=|= \${${var}}|\"" ${worksrcpath}/Makefile
      }
      }

      use_configure no

      set CFLAGS ${configure.cflags}
      set LDFLAGS ${configure.ldflags}

      build.env CC=${configure.cc}

      destroot {
      xinstall ${worksrcpath}/gzrecover ${destroot}${prefix}/bin
      xinstall -m 0444 ${worksrcpath}/gzrecover.1 ${destroot}${prefix}/share/man/man1

      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
      }

      Variant: universal {
      set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
      set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}"
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.