1 libtar - C library for manipulating tar files
4 libtar is a library for manipulating tar files from within C programs.
5 Here are some of its features:
7 * Handles both POSIX tar file format and the GNU extensions.
8 * API provides functions for easy use, such as tar_extract_all().
9 * Also provides functions for more granular use, such as
16 To build libtar, ensure that autoconf and libtool are both installed on
17 your system, then run these commands:
19 autoreconf --force --install
28 To build this software as an Encap package, you can pass the
29 --enable-encap option to configure. This will be automatically
30 enabled if the epkg or mkencap programs are detected on the system,
31 but can be overridden by the --disable-encap option.
33 When building an Encap package, the configure script will automatically
34 adjust the installation prefix to use an appropriate Encap package
35 directory. It does this using a heuristic algorithm which examines the
36 values of the ${ENCAP_SOURCE} and ${ENCAP_TARGET} environment variables
37 and the argument to configure's --prefix option.
39 If mkencap was detected on the system, it will be automatically run during
40 "make install". By default, epkg will also be run, but this can be
41 inhibited with the --disable-epkg-install configure option.
43 For information on the Encap package management system, see the WSG
52 The configure script will attempt to find the zlib library on your system
53 for use with the libtar driver program. The zlib package is available from:
55 http://www.gzip.org/zlib/
57 If zlib is installed on your system, but you do not wish to use it,
58 specify the --without-zlib option when you invoke configure.
64 For documentation of the libtar API, see the enclosed manpages. For more
65 information on the libtar package, see:
67 http://www.feep.net/libtar/
69 Source code for the latest version of libtar will be available there, as
70 well as Encap binary distributions for many common platforms.
76 I develop and test libtar on the following platforms:
84 It should also build on the following platforms, but I do not actively
98 If you successfully build libtar on another platform, please email me a
99 patch and/or configuration information.
105 libtar depends on some library calls which are not available or not
106 usable on some platforms. To accomodate these systems, I've included
107 a version of these calls in the compat subdirectory.
109 I've slightly modified these functions for integration into this source
110 tree, but the functionality has not been modified from the original
111 source. Please note that while this code should work for you, I didn't
112 write it, so please don't send me bug reports on it.
118 Feedback and bug reports are welcome.
120 Mark D. Roth <roth@uiuc.edu>
121 Campus Information Technologies and Educational Services
122 University of Illinois at Urbana-Champaign