The Tar package contains an archiving program.
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:
To test the results, issue: make check.
Install the package: