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