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

Last change on this file since f5dc8de was cee2ca2, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Went through and made sure that every package in the final system that needs both --build and --host has them.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
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
28<para os="p1">Apply a patch to fix some issues with the test suite when using
29GCC-&gcc-version;:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
32
33 <para os="p3">Tar has a bug when the <option>-S</option> option is used with
34 files larger than 4 GB. The following patch properly fixes this issue:</para>
35
36<screen os="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
37
38 <para os="p5">This patch fixes a security vulnerability in Tar:</para>
39
40<screen os="p6"><userinput>patch -Np1 -i ../&tar-security_fixes-patch;</userinput></screen>
41
42 <para os="a">Prepare Tar for compilation:</para>
43
44<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
45 --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
46
47 <para os="c">Compile the package:</para>
48
49<screen os="d"><userinput>make</userinput></screen>
50
51 <para os="e">Install the package:</para>
52
53<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
54
55 </sect2>
56
57 <sect2 id="contents-tar" role="content">
58 <title>Contents of Tar</title>
59
60 <segmentedlist>
61 <segtitle>Installed programs</segtitle>
62
63 <seglistitem>
64 <seg>rmt and tar</seg>
65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
73 <varlistentry id="rmt">
74 <term><command>rmt</command></term>
75 <listitem>
76 <para>Remotely manipulates a magnetic
77 tape drive through an interprocess communication connection</para>
78 <indexterm zone="ch-system-tar rmt">
79 <primary sortas="b-rmt">rmt</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="tar">
85 <term><command>tar</command></term>
86 <listitem>
87 <para>Creates, extracts files from, and lists the contents of
88 archives, also known as tarballs</para>
89 <indexterm zone="ch-system-tar tar">
90 <primary sortas="b-tar">tar</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 </variablelist>
96
97 </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.