source: general/sysutils/cpio.xml@ aa8180f

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since aa8180f was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

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