Xtar -- archive extractor

Latest version: xtar-2.2.tar.gz.

Xtar is an archive extractor with the following highlights:

Linux & Mac versions compile using native gcc compilers on these operating systems (both 32 & 64 bit versions tested to work).
Windows version compiles using mingw cross compiler on Linux (at least 32 bit version works).

The progress indicator is visible on command line, much like in the example below. There is every dot per 2% of the compressed material extracted from the source archive.

    xtar -C sysroot embedded-arm-sysroot-0.80.tar.xz
    .....9....8....7....6....5....4....3....2....1....0
The example above also gives small glue of where 'symbolic link rewriting' is useful. When creating 'sysroot' arhive, the symbolic link targets are often absolute. For example /usr/bin/find is symlink to /bin/busybox.

Xtar rewrites that as /usr/bin/find -> ../../bin/busybox , keeping the links inside the extracted archive tree. In case of hard links, removing leading '/':s do the job (if any).

In general xtar expects that the archives given to it are coming from trusted, polite source and therefore robustness against '/../' abuse is not tested (that might work, though).

Below there is file index of xtar releases, diffs to previous versions, and last (but not least) copyright and license information.

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[TXT]bzip2-1.0.5-LICENSE28-Mar-2011 12:52 1.9K 
[TXT]diff-1.2-1.3.html21-Nov-2012 18:18 14K 
[TXT]diff-1.3-1.7.html21-Nov-2012 18:19 242K 
[TXT]diff-1.7-1.8.html21-Nov-2012 18:19 17K 
[TXT]diff-1.8-1.9.html21-Nov-2012 18:19 33K 
[TXT]diff-1.9-2.0.html21-Nov-2012 18:19 31K 
[TXT]diff-2.0-2.1.html21-Nov-2012 18:19 50K 
[TXT]diff-2.1-2.2.html21-Nov-2012 18:20 5.7K 
[TXT]diffa.sh11-Jun-2012 09:24 4.7K 
[   ]gitlog15-Apr-2011 09:22 19K 
[   ]libarchive-2.8.4-COPYING28-Mar-2011 12:52 2.8K 
[   ]xtar-1.2.tar.gz19-Nov-2009 16:03 176K 
[   ]xtar-1.3.tar.gz11-Sep-2010 13:49 174K 
[   ]xtar-1.7.tar.gz19-Oct-2010 16:07 178K 
[   ]xtar-1.8.tar.gz20-Oct-2010 17:00 181K 
[   ]xtar-1.9.tar.gz26-Oct-2010 10:32 181K 
[   ]xtar-2.0.tar.gz11-Jun-2012 09:28 273K 
[   ]xtar-2.1.tar.gz28-Mar-2011 18:06 276K 
[   ]xtar-2.2.tar.gz15-Apr-2011 09:25 276K 
[TXT]xtar.man.html21-Nov-2012 18:12 4.0K 
[TXT]xz-5.0.1-COPYING28-Mar-2011 12:52 2.7K 
[   ]zlib-1.2.3-README15-Oct-2010 13:05 5.6K 

This is my attempt to create portable and easily extendable tar extraction
program, which supports:

	- all tar formats supported by libarchive 2.8.4
	- gzip, bzip2 and xz (+lzma) decompression

Target platforms: Unix, Windows (using mingw (cross) compiler).
	- Note that archive_windows.[ch] is not included (but viewed
	  during development for hints. good stuff.)

This program includes the needed parts from libarchive, bzip2 and zlib
source code (added on demand during trial and error compilation loops).

See files

	- libarchive-2.8.4-COPYING
	- bzip2-1.0.5-LICENSE
	- zlib-1.2.3-README
	- xz-5.0.1-COPYING

for copyright information of these parts. For the other files the following
copyright apply:

Copyright (c) 2008 
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer
   in this position and unchanged.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tomi Ollila, too ├Ąt iki piste fi
xtar version 2.2 2011-04-15