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