source: general/sysutils/cpio.xml@ 327a263

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 327a263 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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