source: final-system/common/tar.xml@ e7eebae

Last change on this file since e7eebae was 5956f6b2, checked in by Jim Gifford <clfs@…>, 19 years ago

r2898@server (orig r1386): jciccone | 2006-04-14 18:43:49 -0700
Added a security patch for tar

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[bf8c11f]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 <segmentedlist>
23 <segtitle>&dependencies;</segtitle>
24
25 <seglistitem>
[ede92d9]26 <seg>Bash, Binutils, Bzip2, Coreutils, Diffutils, GCC,
27 Gettext, Glibc, Gzip, Grep, Make, Patch, Sed, and
28 Texinfo</seg>
[bf8c11f]29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Tar</title>
36
[e6423a01]37<para os="p1">Apply a patch to fix some issues with the test suite when using
[bf8c11f]38GCC-&gcc-version;:</para>
39
[e6423a01]40<screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
[bf8c11f]41
[e6423a01]42 <para os="p3">Tar has a bug when the <option>-S</option> option is used with
[bf8c11f]43 files larger than 4 GB. The following patch properly fixes this issue:</para>
44
[e6423a01]45<screen os="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
[bf8c11f]46
[5956f6b2]47 <para os="p5">This patch fixes a security vournability in tar</para>
48
49<screen os="p6"><userinput>patch -Np1 -i ../&tar-security_fixes-patch;</userinput></screen>
50
[e6423a01]51 <para os="a">Prepare Tar for compilation:</para>
[bf8c11f]52
[e6423a01]53<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[bf8c11f]54
[e6423a01]55 <para os="c">Compile the package:</para>
[bf8c11f]56
[e6423a01]57<screen os="d"><userinput>make</userinput></screen>
[bf8c11f]58
[e6423a01]59 <para os="e">To test the results, issue:
[bf8c11f]60 <userinput>make check</userinput>.</para>
61
[e6423a01]62 <para os="f">Install the package:</para>
[bf8c11f]63
[e6423a01]64<screen os="g"><userinput>make install</userinput></screen>
[bf8c11f]65
66 </sect2>
67
68 <sect2 id="contents-tar" role="content">
69 <title>Contents of Tar</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
73
74 <seglistitem>
75 <seg>rmt and tar</seg>
76 </seglistitem>
77 </segmentedlist>
78
79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
83
84 <varlistentry id="rmt">
85 <term><command>rmt</command></term>
86 <listitem>
87 <para>Remotely manipulates a magnetic
88 tape drive through an interprocess communication connection</para>
89 <indexterm zone="ch-system-tar rmt">
90 <primary sortas="b-rmt">rmt</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="tar">
96 <term><command>tar</command></term>
97 <listitem>
98 <para>Creates, extracts files from, and lists the contents of
99 archives, also known as tarballs</para>
100 <indexterm zone="ch-system-tar tar">
101 <primary sortas="b-tar">tar</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 </variablelist>
107
108 </sect2>
109
110</sect1>
Note: See TracBrowser for help on using the repository browser.