[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[81fd230] | 6 | <sect1 id="ch-system-tar" role="wrap">
|
---|
[673b0d8] | 7 | <title>Tar-&tar-version;</title>
|
---|
| 8 | <?dbhtml filename="tar.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-tar"><primary sortas="a-Tar">Tar</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[81fd230] | 13 | <para>The Tar package contains an archiving program.</para>
|
---|
[5888299] | 14 |
|
---|
[a001133] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 18 | <seglistitem><seg>0.2 SBU</seg><seg>12.7 MB</seg></seglistitem>
|
---|
[a001133] | 19 | </segmentedlist>
|
---|
[673b0d8] | 20 |
|
---|
[81fd230] | 21 | <segmentedlist>
|
---|
[45992ae] | 22 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 23 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 24 | Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
---|
| 25 | </segmentedlist>
|
---|
[a001133] | 26 | </sect2>
|
---|
[3554fa3a] | 27 |
|
---|
[a001133] | 28 | <sect2 role="installation">
|
---|
[73aedd1d] | 29 | <title>Installation of Tar</title>
|
---|
| 30 |
|
---|
[2e02c35] | 31 | <para>Apply a patch to fix some issues with the test suite when using
|
---|
| 32 | GCC-&gcc-version;:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
|
---|
| 35 |
|
---|
[2a0a14b] | 36 | <para>Tar has a bug when the <parameter>-S</parameter> option is used
|
---|
[801e4b5] | 37 | with files larger than 4 GB. The following patch properly fixes this issue:</para>
|
---|
[5c0f191] | 38 |
|
---|
[3e36a78] | 39 | <screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
|
---|
[5c0f191] | 40 |
|
---|
[73aedd1d] | 41 | <para>Prepare Tar for compilation:</para>
|
---|
| 42 |
|
---|
[c76accc] | 43 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
---|
[73aedd1d] | 44 |
|
---|
| 45 | <para>Compile the package:</para>
|
---|
| 46 |
|
---|
| 47 | <screen><userinput>make</userinput></screen>
|
---|
| 48 |
|
---|
[673b0d8] | 49 | <para>To test the results, issue:
|
---|
[8a5f906] | 50 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 51 |
|
---|
[81fd230] | 52 | <para>Install the package:</para>
|
---|
[73aedd1d] | 53 |
|
---|
| 54 | <screen><userinput>make install</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | </sect2>
|
---|
[6370fa6] | 57 |
|
---|
[5888299] | 58 |
|
---|
[c6cb3aa] | 59 | <sect2 id="contents-tar" role="content"><title>Contents of Tar</title>
|
---|
[673b0d8] | 60 |
|
---|
[81fd230] | 61 | <segmentedlist>
|
---|
| 62 | <segtitle>Installed programs</segtitle>
|
---|
| 63 | <seglistitem><seg>rmt and tar</seg></seglistitem>
|
---|
| 64 | </segmentedlist>
|
---|
| 65 |
|
---|
| 66 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 67 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 68 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 69 |
|
---|
| 70 | <varlistentry id="rmt">
|
---|
| 71 | <term><command>rmt</command></term>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>Remotely manipulates a magnetic
|
---|
| 74 | tape drive through an interprocess communication connection</para>
|
---|
| 75 | <indexterm zone="ch-system-tar rmt"><primary sortas="b-rmt">rmt</primary></indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="tar">
|
---|
| 80 | <term><command>tar</command></term>
|
---|
| 81 | <listitem>
|
---|
[2a0a14b] | 82 | <para>Creates, extracts files from, and lists the contents of archives,
|
---|
| 83 | also known as tarballs</para>
|
---|
[81fd230] | 84 | <indexterm zone="ch-system-tar tar"><primary sortas="b-tar">tar</primary></indexterm>
|
---|
| 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 | </variablelist>
|
---|
[673b0d8] | 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | </sect1>
|
---|
[81fd230] | 92 |
|
---|