Homebrew/homebrew-dupes — pull request #33 by oschrenk (2012-05-29 20:41:53+00:00)
Title: libarchive 3.0.4

Updates supplied tar command

I was experiencing a weird behaviour. `tar` was not working for a specific iso file

$ curl --output ubuntu-12.04-alternate-i386.iso -L http://releases.ubuntu.com/precise/ubuntu-12.04-alternate-i386.iso
$ md5 -q ubuntu-12.04-alternate-i386.iso
$ tar --version
$ tar -xvf ubuntu-12.04-alternate-i386.iso

did not work for me.

Whereas

$ brew install https://raw.github.com/oschrenk/homebrew-dupes/edbc2b464d0bf4420508297418481178299f420a/libarchive.rb
$ /usr/local/bin/bsdtar --version
bsdtar 3.0.4 - libarchive 3.0.4
$ /usr/local/bin/bsdtar -xvf ubuntu-12.04-alternate-i386.iso

extracted the file as expected.