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

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

Remove sed for gets security hole and add perl command to generate man.1 page from tarman.

  • 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="a">Prepare Tar for compilation:</para>
33
34<screen os="b"><userinput>FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
35 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
36
37 <para os="c">Compile the package:</para>
38
39<screen os="d"><userinput>make</userinput></screen>
40
41 <para os="e">To test the results, issue:
42 <userinput>make check</userinput>.</para>
43
44 <para os="f">Install the package:</para>
45
46<screen os="g"><userinput>make install</userinput></screen>
47
48 <para os="h">Generate the man page and place it in the proper location:</para>
49
50<screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</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.