source: general/sysutils/cpio.xml@ ca81b26

12.1 gimp3 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since ca81b26 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
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY cpio-download-http "&gnu-http;/cpio/cpio-&cpio-version;.tar.bz2">
[e1e58be]8 <!ENTITY cpio-download-ftp " ">
[791f986]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)">
[52d29f7]13]>
14
[1df9017f]15<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
[35f3cb4]16 <?dbhtml filename="cpio.html"?>
17
18
[a2ae800]19 <title>cpio-&cpio-version;</title>
[35f3cb4]20
21 <indexterm zone="cpio">
22 <primary sortas="a-Cpio">Cpio</primary>
23 </indexterm>
24
[4e82a189]25 <sect2 role="package">
[a2ae800]26 <title>Introduction to cpio</title>
[35f3cb4]27
[b1532549]28 <para>
29 The <application>cpio</application> package contains
30 tools for archiving.
31 </para>
[35f3cb4]32
[a73fc762]33 &lfs120_checked;
[bd32b6fd]34
[35f3cb4]35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
[b1532549]38 <para>
39 Download (HTTP): <ulink url="&cpio-download-http;"/>
40 </para>
[35f3cb4]41 </listitem>
42 <listitem>
[b1532549]43 <para>
44 Download (FTP): <ulink url="&cpio-download-ftp;"/>
45 </para>
[35f3cb4]46 </listitem>
47 <listitem>
[b1532549]48 <para>
49 Download MD5 sum: &cpio-md5sum;
50 </para>
[35f3cb4]51 </listitem>
52 <listitem>
[b1532549]53 <para>
54 Download size: &cpio-size;
55 </para>
[35f3cb4]56 </listitem>
57 <listitem>
[b1532549]58 <para>
59 Estimated disk space required: &cpio-buildsize;
60 </para>
[35f3cb4]61 </listitem>
62 <listitem>
[b1532549]63 <para>
64 Estimated build time: &cpio-time;
65 </para>
[35f3cb4]66 </listitem>
67 </itemizedlist>
68
[d2da67c]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
[35f3cb4]76 </sect2>
77
78 <sect2 role="installation">
[a2ae800]79 <title>Installation of cpio</title>
[35f3cb4]80
[b1532549]81 <para>
82 Install <application>cpio</application> by running the following
83 commands:
84 </para>
[35f3cb4]85
[f1d7196]86<screen><userinput>./configure --prefix=/usr \
[1b83b0e0]87 --enable-mt \
[4dd6703]88 --with-rmt=/usr/libexec/rmt &amp;&amp;
[d17e355]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>
[6587e936]93
[b1532549]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>
[f2cae5f]98
[a42c273]99<screen remap="doc"><userinput>make -C doc pdf &amp;&amp;
[d17e355]100make -C doc ps</userinput></screen>
[f2cae5f]101
[b1532549]102 <para>
103 To test the results, issue: <command>make check</command>.
104 </para>
[bccbdaea]105
[b1532549]106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
[6587e936]109
[d17e355]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>
[0882c90]116
[b1532549]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>
[f2cae5f]122
[a42c273]123<screen role="root"
124 remap="doc"><userinput>install -v -m644 doc/cpio.{pdf,ps,dvi} \
[f2cae5f]125 /usr/share/doc/cpio-&cpio-version;</userinput></screen>
126
[35f3cb4]127 </sect2>
[52d29f7]128
[35f3cb4]129 <sect2 role="commands">
130 <title>Command Explanations</title>
[0882c90]131
[cfd8dcb]132 <!-- FIXME: Removed due to merged-/usr transition
[b1532549]133 <para>
[cfd8dcb]134 <parameter>- -bindir=/bin</parameter>: This parameter installs
[b1532549]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>
[cfd8dcb]139 -->
[0882c90]140
[b1532549]141 <para>
142 <parameter>--enable-mt</parameter>: This parameter forces the
143 building and installation of the <command>mt</command> program.
144 </para>
[d17e355]145
[b1532549]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>
[0882c90]151
[35f3cb4]152 </sect2>
[52d29f7]153
[35f3cb4]154 <sect2 role="content">
155 <title>Contents</title>
[0882c90]156
[35f3cb4]157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
[6587e936]161
[35f3cb4]162 <seglistitem>
163 <seg>cpio and mt</seg>
164 <seg>None</seg>
[d17e355]165 <seg>/usr/share/doc/cpio-&cpio-version;</seg>
[35f3cb4]166 </seglistitem>
167 </segmentedlist>
[6587e936]168
[35f3cb4]169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
[6587e936]173
[35f3cb4]174 <varlistentry id="cpio-prog">
175 <term><command>cpio</command></term>
176 <listitem>
[b1532549]177 <para>
[4c24eb0a]178 copies files to and from archives
[b1532549]179 </para>
[35f3cb4]180 <indexterm zone="cpio cpio-prog">
181 <primary sortas="b-cpio">cpio</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
[6587e936]185
[35f3cb4]186 <varlistentry id="mt">
187 <term><command>mt</command></term>
188 <listitem>
[b1532549]189 <para>
[4c24eb0a]190 controls magnetic tape drive operations
[b1532549]191 </para>
[35f3cb4]192 <indexterm zone="cpio mt">
193 <primary sortas="b-mt">mt</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
[0882c90]197
[35f3cb4]198 </variablelist>
199
200 </sect2>
[1df9017f]201
202</sect1>
Note: See TracBrowser for help on using the repository browser.