source: general/sysutils/cpio.xml@ d17e355

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d17e355 was d17e355, checked in by Randy McMurchy <randy@…>, 14 years ago

Updated to cpio-2.11

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8389 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 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 <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
8 <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
9 <!ENTITY cpio-md5sum "20fc912915c629e809f80b96b2e75d7d">
10 <!ENTITY cpio-size "1 MB">
11 <!ENTITY cpio-buildsize "13 MB">
12 <!ENTITY cpio-time "0.3 SBU">
13]>
14
15<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
16 <?dbhtml filename="cpio.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>cpio-&cpio-version;</title>
24
25 <indexterm zone="cpio">
26 <primary sortas="a-Cpio">Cpio</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to cpio</title>
31
32 <para>The <application>cpio</application> package contains
33 tools for archiving.</para>
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>Download (HTTP): <ulink url="&cpio-download-http;"/></para>
39 </listitem>
40 <listitem>
41 <para>Download (FTP): <ulink url="&cpio-download-ftp;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download MD5 sum: &cpio-md5sum;</para>
45 </listitem>
46 <listitem>
47 <para>Download size: &cpio-size;</para>
48 </listitem>
49 <listitem>
50 <para>Estimated disk space required: &cpio-buildsize;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated build time: &cpio-time;</para>
54 </listitem>
55 </itemizedlist>
56
57 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Required Patch: <ulink
61 url="&patch-root;/cpio-&cpio-version;-gcc43_inline-1.patch"/></para>
62 </listitem>
63 </itemizedlist> -->
64
65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/cpio"/></para>
67
68 </sect2>
69
70 <sect2 role="installation">
71 <title>Installation of cpio</title>
72
73 <para>Install <application>cpio</application> by running the following
74 commands:</para>
75
76<screen><userinput>./configure --prefix=/usr \
77 --bindir=/bin \
78 --libexecdir=/tmp \
79 --enable-mt \
80 --with-rmt=/usr/sbin/rmt &amp;&amp;
81make &amp;&amp;
82makeinfo --html -o doc/html doc/cpio.texi &amp;&amp;
83makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &amp;&amp;
84makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi</userinput></screen>
85
86 <para>If you have <xref linkend="tetex"/> installed and wish to create
87 PDF or Postscript documentation, issue one or both of the following
88 commands:</para>
89
90<screen><userinput>make -C doc pdf &amp;&amp;
91make -C doc ps</userinput></screen>
92
93 <para>To test the results, issue <command>make check</command></para>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install &amp;&amp;
98install -v -m755 -d /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
99install -v -m644 doc/html/* \
100 /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
101install -v -m644 doc/cpio.{html,txt} \
102 /usr/share/doc/cpio-&cpio-version;</userinput></screen>
103
104 <para>If you built PDF or Postscript documentation, install it
105 by issuing the following commands as the
106 <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>install -v -m644 doc/cpio.{pdf,ps,dvi} \
109 /usr/share/doc/cpio-&cpio-version;</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><parameter>--bindir=/bin</parameter>: This parameter installs
117 <command>cpio</command> to <filename class="directory">/bin</filename>
118 instead of <filename class="directory">/usr/bin</filename> as recommended
119 by the FHS guidelines.</para>
120
121 <para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so
122 that <filename class='directory'>/usr/libexec</filename> is not
123 created.</para>
124
125 <para><parameter>--enable-mt</parameter>: This parameter forces the
126 building and installation of the <command>mt</command> program.</para>
127
128 <para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter
129 inhibits building the <command>rmt</command> program as it is already
130 installed by the <application>Tar</application> package in LFS.</para>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
143 <seg>cpio and mt</seg>
144 <seg>None</seg>
145 <seg>/usr/share/doc/cpio-&cpio-version;</seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="cpio-prog">
155 <term><command>cpio</command></term>
156 <listitem>
157 <para>copies files to and from archives.</para>
158 <indexterm zone="cpio cpio-prog">
159 <primary sortas="b-cpio">cpio</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="mt">
165 <term><command>mt</command></term>
166 <listitem>
167 <para>controls magnetic tape drive operations.</para>
168 <indexterm zone="cpio mt">
169 <primary sortas="b-mt">mt</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.