6.53. Tar-1.15.1

The Tar package contains an archiving program.

Approximate build time: 0.2 SBU
Required disk space: 13.7 MB

6.53.1. Installation of Tar

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

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

Recent versions of Tar are vulnerable to a buffer overflow from specially crafted archives. The following patch addresses this:

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

6.53.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