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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1f51dd0 was e3a1b160, checked in by William Harrington <kb0iic@…>, 11 years ago

Fix text for gets undeclaration.

  • Property mode set to 100644
File size: 2.6 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
[c5dbf71]30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man-patch;</userinput></screen>
[6af3a34]31
[e3a1b160]32 <para os="s1">EGLIBC-&eglibc-version; does not declare gets():</para>
[90d5468]33
34<screen os="s2"><userinput>sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>
35
[e0e40d3]36 <para os="a">Prepare Tar for compilation:</para>
[3f8be484]37
[3eeef443]38<screen os="b"><userinput>FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
39 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[3f8be484]40
[e0e40d3]41 <para os="c">Compile the package:</para>
[3f8be484]42
[e0e40d3]43<screen os="d"><userinput>make</userinput></screen>
[3f8be484]44
[e0e40d3]45 <para os="e">To test the results, issue:
[3f8be484]46 <userinput>make check</userinput>.</para>
47
[e0e40d3]48 <para os="f">Install the package:</para>
[3f8be484]49
[e0e40d3]50<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]51
52 </sect2>
53
54 <sect2 id="contents-tar" role="content">
55 <title>Contents of Tar</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59
60 <seglistitem>
61 <seg>rmt and tar</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="rmt">
71 <term><command>rmt</command></term>
72 <listitem>
73 <para>Remotely manipulates a magnetic
74 tape drive through an interprocess communication connection</para>
75 <indexterm zone="ch-system-tar rmt">
76 <primary sortas="b-rmt">rmt</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry id="tar">
82 <term><command>tar</command></term>
83 <listitem>
84 <para>Creates, extracts files from, and lists the contents of
85 archives, also known as tarballs</para>
86 <indexterm zone="ch-system-tar tar">
87 <primary sortas="b-tar">tar</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 </sect2>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.