source: clfs-sysroot/BOOK/final-system/common/tar.xml@ c2e251c

Last change on this file since c2e251c was 3dc3c3e, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Add the 2 tar patches from trunk.

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[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
32 <para os="p3">The following patch contains a fix for an issue that may occur
33 when <command>tar</command> calls an outside compression utility like
34 <command>bzip2</command>:</para>
35
36<screen os="p4"><userinput>patch -Np1 -i ../&tar-revert_pipe_drain-patch;</userinput></screen>
37
[02095ae]38 <para os="a">Prepare Tar for compilation:</para>
39
[cee2ca2]40<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
41 --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[02095ae]42
43 <para os="c">Compile the package:</para>
44
45<screen os="d"><userinput>make</userinput></screen>
46
47 <para os="e">Install the package:</para>
48
[586feb7]49<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]50
51 </sect2>
52
53 <sect2 id="contents-tar" role="content">
54 <title>Contents of Tar</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58
59 <seglistitem>
60 <seg>rmt and tar</seg>
61 </seglistitem>
62 </segmentedlist>
63
64 <variablelist>
65 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
66 <?dbfo list-presentation="list"?>
67 <?dbhtml list-presentation="table"?>
68
69 <varlistentry id="rmt">
70 <term><command>rmt</command></term>
71 <listitem>
72 <para>Remotely manipulates a magnetic
73 tape drive through an interprocess communication connection</para>
74 <indexterm zone="ch-system-tar rmt">
75 <primary sortas="b-rmt">rmt</primary>
76 </indexterm>
77 </listitem>
78 </varlistentry>
79
80 <varlistentry id="tar">
81 <term><command>tar</command></term>
82 <listitem>
83 <para>Creates, extracts files from, and lists the contents of
84 archives, also known as tarballs</para>
85 <indexterm zone="ch-system-tar tar">
86 <primary sortas="b-tar">tar</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 </variablelist>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.