[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[02095ae] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-tar" role="wrap">
|
---|
| 9 | <?dbhtml filename="tar.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tar-&tar-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-tar">
|
---|
| 14 | <primary sortas="a-Tar">Tar</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Tar package contains an archiving program.</para>
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Tar</title>
|
---|
| 27 |
|
---|
[3dc3c3e] | 28 | <para os="p1">The following patch adds a man page for <command>tar</command>:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="p2"><userinput>patch -Np1 -i ../&tar-man_page-patch;</userinput></screen>
|
---|
| 31 |
|
---|
[fabddfd] | 32 | <para os="p3">The following patch will add support for new compressors like XZ Utils:</para>
|
---|
[3dc3c3e] | 33 |
|
---|
[fabddfd] | 34 | <screen os="p4"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>
|
---|
[3dc3c3e] | 35 |
|
---|
[d6fc20a] | 36 | <para os="a">Configure can not properly determine the results of a few
|
---|
| 37 | tests. Set them manually:</para>
|
---|
| 38 |
|
---|
| 39 | <screen os="b"><userinput>cat > config.cache << EOF
|
---|
| 40 | gl_cv_func_btowc_eof=yes
|
---|
| 41 | ac_cv_func_malloc_0_nonnull=yes
|
---|
| 42 | ac_cv_func_realloc_0_nonnull=yes
|
---|
| 43 | gl_cv_func_mbrtowc_incomplete_state=yes
|
---|
| 44 | gl_cv_func_mbrtowc_nul_retval=yes
|
---|
| 45 | gl_cv_func_mbrtowc_null_arg=yes
|
---|
| 46 | gl_cv_func_mbrtowc_retval=yes
|
---|
| 47 | gl_cv_func_wcrtomb_retval=yes
|
---|
| 48 | EOF</userinput></screen>
|
---|
| 49 |
|
---|
[02095ae] | 50 | <para os="a">Prepare Tar for compilation:</para>
|
---|
| 51 |
|
---|
[cee2ca2] | 52 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[d6fc20a] | 53 | --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin \
|
---|
| 54 | --cache-file=config.cache</userinput></screen>
|
---|
[02095ae] | 55 |
|
---|
| 56 | <para os="c">Compile the package:</para>
|
---|
| 57 |
|
---|
| 58 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <para os="e">Install the package:</para>
|
---|
| 61 |
|
---|
[586feb7] | 62 | <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[02095ae] | 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 id="contents-tar" role="content">
|
---|
| 67 | <title>Contents of Tar</title>
|
---|
| 68 |
|
---|
| 69 | <segmentedlist>
|
---|
| 70 | <segtitle>Installed programs</segtitle>
|
---|
| 71 |
|
---|
| 72 | <seglistitem>
|
---|
| 73 | <seg>rmt and tar</seg>
|
---|
| 74 | </seglistitem>
|
---|
| 75 | </segmentedlist>
|
---|
| 76 |
|
---|
| 77 | <variablelist>
|
---|
| 78 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 79 | <?dbfo list-presentation="list"?>
|
---|
| 80 | <?dbhtml list-presentation="table"?>
|
---|
| 81 |
|
---|
| 82 | <varlistentry id="rmt">
|
---|
| 83 | <term><command>rmt</command></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>Remotely manipulates a magnetic
|
---|
| 86 | tape drive through an interprocess communication connection</para>
|
---|
| 87 | <indexterm zone="ch-system-tar rmt">
|
---|
| 88 | <primary sortas="b-rmt">rmt</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 93 | <varlistentry id="tar">
|
---|
| 94 | <term><command>tar</command></term>
|
---|
| 95 | <listitem>
|
---|
| 96 | <para>Creates, extracts files from, and lists the contents of
|
---|
| 97 | archives, also known as tarballs</para>
|
---|
| 98 | <indexterm zone="ch-system-tar tar">
|
---|
| 99 | <primary sortas="b-tar">tar</primary>
|
---|
| 100 | </indexterm>
|
---|
| 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 |
|
---|
| 104 | </variablelist>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | </sect1>
|
---|