source: BOOK/final-system/common/tar.xml@ e963bf3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e963bf3 was 6af3a34, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Patches to File, Man, Tar, and Texinfo to support XZ Utils

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[7691941]28 <para os="p1">The following patch adds a man page for <command>tar</command>:</para>
[ce3a096]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
[7691941]33 when <command>tar</command> calls an outside compression utility like
34 <command>bzip2</command>:</para>
[bf56c25]35
[ce3a096]36<screen os="p4"><userinput>patch -Np1 -i ../&tar-revert_pipe_drain-patch;</userinput></screen>
[bf56c25]37
[6af3a34]38 <para os="p5">The following patch will add support for new compressors like XZ Utils:</para>
39
40<screen os="p6"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>
41
[e0e40d3]42 <para os="a">Prepare Tar for compilation:</para>
[3f8be484]43
[e0e40d3]44<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[3f8be484]45
[e0e40d3]46 <para os="c">Compile the package:</para>
[3f8be484]47
[e0e40d3]48<screen os="d"><userinput>make</userinput></screen>
[3f8be484]49
[e0e40d3]50 <para os="e">To test the results, issue:
[3f8be484]51 <userinput>make check</userinput>.</para>
52
[e0e40d3]53 <para os="f">Install the package:</para>
[3f8be484]54
[e0e40d3]55<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]56
57 </sect2>
58
59 <sect2 id="contents-tar" role="content">
60 <title>Contents of Tar</title>
61
62 <segmentedlist>
63 <segtitle>Installed programs</segtitle>
64
65 <seglistitem>
66 <seg>rmt and tar</seg>
67 </seglistitem>
68 </segmentedlist>
69
70 <variablelist>
71 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
72 <?dbfo list-presentation="list"?>
73 <?dbhtml list-presentation="table"?>
74
75 <varlistentry id="rmt">
76 <term><command>rmt</command></term>
77 <listitem>
78 <para>Remotely manipulates a magnetic
79 tape drive through an interprocess communication connection</para>
80 <indexterm zone="ch-system-tar rmt">
81 <primary sortas="b-rmt">rmt</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 <varlistentry id="tar">
87 <term><command>tar</command></term>
88 <listitem>
89 <para>Creates, extracts files from, and lists the contents of
90 archives, also known as tarballs</para>
91 <indexterm zone="ch-system-tar tar">
92 <primary sortas="b-tar">tar</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 </variablelist>
98
99 </sect2>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.