10.49. Tar-1.15.1

The Tar package contains an archiving program.

10.49.1. Installation of Tar

Apply a patch to fix some issues with the test suite when using GCC-4.1.1:

patch -Np1 -i ../tar-1.15.1-gcc4_fix_tests-1.patch

Tar has a bug when the -S option is used with files larger than 4 GB. The following patch properly fixes this issue:

patch -Np1 -i ../tar-1.15.1-sparse_fix-1.patch

This patch fixes a security vulnerability in Tar:

patch -Np1 -i ../tar-1.15.1-security_fixes-1.patch

Prepare Tar for compilation:

./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin

Compile the package:

make

To test the results, issue: make check.

Install the package:

make install

10.49.2. Contents of Tar

Installed programs: rmt and tar

Short Descriptions

rmt

Remotely manipulates a magnetic tape drive through an interprocess communication connection

tar

Creates, extracts files from, and lists the contents of archives, also known as tarballs