6.57. Tar-1.23

The Tar package contains an archiving program.

Approximate build time: 1.9 SBU
Required disk space: 21.2 MB

6.57.1. Installation of Tar

Again, fix a bug that was inserted into the latest code release:

sed -i /SIGPIPE/d src/tar.c

Also, fix a bug that causes a buffer overflow when creating a new tar file. This fix is needed when building with gcc-4.5 and later.

patch -Np1 -i ../tar-1.23-overflow_fix-1.patch

Prepare Tar for compilation:

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

Compile the package:

make

To test the results (about 1 SBU), issue:

sed -i '35 i\
AT_UNPRIVILEGED_PREREQ' tests/remfiles01.at
make check

Install the package:

make install

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