Changeset 35f3cb4
- Timestamp:
- 05/06/2005 07:25:14 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 30edc031
- Parents:
- 514ef84d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/cpio.xml
r514ef84d r35f3cb4 5 5 %general-entities; 6 6 7 <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">8 <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">9 <!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">10 <!ENTITY cpio-size "561 KB">11 <!ENTITY cpio-buildsize "5.3 MB">12 <!ENTITY cpio-time "0.12 SBU">7 <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz"> 8 <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz"> 9 <!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d"> 10 <!ENTITY cpio-size "561 KB"> 11 <!ENTITY cpio-buildsize "5.3 MB"> 12 <!ENTITY cpio-time "0.12 SBU"> 13 13 ]> 14 14 15 15 <sect1 id="cpio" xreflabel="cpio-&cpio-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="cpio.html"?> 21 <title>cpio-&cpio-version;</title> 22 <indexterm zone="cpio"> 23 <primary sortas="a-Cpio">Cpio</primary></indexterm> 16 <?dbhtml filename="cpio.html"?> 24 17 25 <sect2> 26 <title>Introduction to <application>cpio</application></title> 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 27 22 28 <para>The <application>cpio</application> package contains 29 tools for archiving.</para> 23 <title>Cpio-&cpio-version;</title> 30 24 31 <sect3><title>Package information</title> 32 <itemizedlist spacing='compact'> 33 <listitem><para>Download (HTTP): <ulink 34 url="&cpio-download-http;"/></para></listitem> 35 <listitem><para>Download (FTP): <ulink 36 url="&cpio-download-ftp;"/></para></listitem> 37 <listitem><para>Download MD5 sum: &cpio-md5sum;</para></listitem> 38 <listitem><para>Download size: &cpio-size;</para></listitem> 39 <listitem><para>Estimated disk space required: 40 &cpio-buildsize;</para></listitem> 41 <listitem><para>Estimated build time: 42 &cpio-time;</para></listitem></itemizedlist> 43 </sect3> 25 <indexterm zone="cpio"> 26 <primary sortas="a-Cpio">Cpio</primary> 27 </indexterm> 44 28 45 </sect2> 29 <sect2> 30 <title>Introduction to Cpio</title> 46 31 47 <sect2> 48 <title>Installation of <application>cpio</application></title>32 <para>The <application>cpio</application> package contains 33 tools for archiving.</para> 49 34 50 <para>Install <application>cpio</application> by running the following 51 commands:</para> 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> 52 56 53 <screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c && 57 </sect2> 58 59 <sect2 role="installation"> 60 <title>Installation of Cpio</title> 61 62 <para>Install <application>cpio</application> by running the following 63 commands:</para> 64 65 <screen><userinput>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c && 54 66 ./configure CPIO_MT_PROG=mt --prefix=/usr \ 55 67 --bindir=/bin --libexecdir=/tmp \ 56 68 --with-rmt=/usr/sbin/rmt && 57 make</ command></userinput></screen>69 make</userinput></screen> 58 70 59 <para>Now, as the rootuser:</para>71 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 60 72 61 <screen ><userinput role='root'><command>make install</command></userinput></screen>73 <screen role="root"><userinput>make install</userinput></screen> 62 74 63 </sect2>75 </sect2> 64 76 65 <sect2>66 <title>Command explanations</title>77 <sect2 role="commands"> 78 <title>Command Explanations</title> 67 79 68 <para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>:69 This command fixes a build problem in the <command>mt</command> program.</para>80 <para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>: 81 This command fixes a build problem in the <command>mt</command> program.</para> 70 82 71 <para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the72 building and installation of the <command>mt</command> program.</para>83 <para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the 84 building and installation of the <command>mt</command> program.</para> 73 85 74 <para><parameter>--bindir=/bin</parameter>: This parameter installs75 <command>cpio</command> to <filename class="directory">/bin</filename> instead76 of <filename class="directory">/usr/bin</filename> as recommended by the77 <acronym>FHS</acronym>guidelines.</para>86 <para><parameter>--bindir=/bin</parameter>: This parameter installs 87 <command>cpio</command> to <filename class="directory">/bin</filename> instead 88 of <filename class="directory">/usr/bin</filename> as recommended by the 89 FHS guidelines.</para> 78 90 79 <para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so80 that <filename class='directory'>/usr/libexec</filename> is not created.</para>91 <para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so 92 that <filename class='directory'>/usr/libexec</filename> is not created.</para> 81 93 82 <para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits83 building the <command>rmt</command> program as it is already installed by the84 <application>tar</application> package in <acronym>LFS</acronym>.</para>94 <para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits 95 building the <command>rmt</command> program as it is already installed by the 96 <application>tar</application> package in LFS.</para> 85 97 86 </sect2>98 </sect2> 87 99 88 <sect2>89 <title>Contents</title>100 <sect2 role="content"> 101 <title>Contents</title> 90 102 91 <segmentedlist>92 <segtitle>Installed Programs</segtitle>93 <segtitle>Installed Libraries</segtitle>94 <segtitle>Installed Directories</segtitle>103 <segmentedlist> 104 <segtitle>Installed Programs</segtitle> 105 <segtitle>Installed Libraries</segtitle> 106 <segtitle>Installed Directories</segtitle> 95 107 96 <seglistitem>97 <seg>cpio and mt</seg>98 <seg>None</seg>99 <seg>None</seg>100 </seglistitem>101 </segmentedlist>108 <seglistitem> 109 <seg>cpio and mt</seg> 110 <seg>None</seg> 111 <seg>None</seg> 112 </seglistitem> 113 </segmentedlist> 102 114 103 <variablelist> 104 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 105 <?dbfo list-presentation="list"?> 115 <variablelist> 116 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 117 <?dbfo list-presentation="list"?> 118 <?dbhtml list-presentation="table"?> 106 119 107 <varlistentry id="cpio-prog"> 108 <term><command>cpio</command></term> 109 <listitem><para>copies files to and from archives.</para> 110 <indexterm zone="cpio cpio-prog"> 111 <primary sortas="b-cpio">cpio</primary> 112 </indexterm></listitem> 113 </varlistentry> 120 <varlistentry id="cpio-prog"> 121 <term><command>cpio</command></term> 122 <listitem> 123 <para>copies files to and from archives.</para> 124 <indexterm zone="cpio cpio-prog"> 125 <primary sortas="b-cpio">cpio</primary> 126 </indexterm> 127 </listitem> 128 </varlistentry> 114 129 115 <varlistentry id="mt"> 116 <term><command>mt</command></term> 117 <listitem><para>controls magnetic tape drive operations.</para> 118 <indexterm zone="cpio mt"> 119 <primary sortas="b-mt">mt</primary> 120 </indexterm></listitem> 121 </varlistentry> 122 </variablelist> 130 <varlistentry id="mt"> 131 <term><command>mt</command></term> 132 <listitem> 133 <para>controls magnetic tape drive operations.</para> 134 <indexterm zone="cpio mt"> 135 <primary sortas="b-mt">mt</primary> 136 </indexterm> 137 </listitem> 138 </varlistentry> 123 139 124 </sect2> 140 </variablelist> 141 142 </sect2> 125 143 126 144 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.