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

clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since e3a1b160 was e3a1b160, checked in by William Harrington <kb0iic@…>, 7 years ago

Fix text for gets undeclaration.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/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">The following patch adds a man page for <command>tar</command>:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man-patch;</userinput></screen>
31
32    <para os="s1">EGLIBC-&eglibc-version; does not declare gets():</para>
33
34<screen os="s2"><userinput>sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>
35
36    <para os="a">Prepare Tar for compilation:</para>
37
38<screen os="b"><userinput>FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
39    --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
40
41    <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45    <para os="e">To test the results, issue:
46    <userinput>make check</userinput>.</para>
47
48    <para os="f">Install the package:</para>
49
50<screen os="g"><userinput>make install</userinput></screen>
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.