[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[2180f912] | 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 |
|
---|
[3a8cdb1] | 7 | <!-- https does not work for mirbsd site with recent OpenSSL (note: we are
|
---|
| 8 | using OpenSSL for wget and curl). Don't change it to https when you
|
---|
| 9 | see https://www.mirbsd.org/ "works" in a browser. Seems it uses a
|
---|
| 10 | too old version of tls. -->
|
---|
[9ff9d3b] | 11 | <!ENTITY pax-download-http "http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-&pax-version;.tgz">
|
---|
[2180f912] | 12 | <!ENTITY pax-download-ftp " ">
|
---|
[19ebe9b7] | 13 | <!ENTITY pax-md5sum "9a723154a4201a0892b7ff815b6753b5">
|
---|
| 14 | <!ENTITY pax-size "180 KB">
|
---|
| 15 | <!ENTITY pax-buildsize "1.6 MB">
|
---|
[2180f912] | 16 | <!ENTITY pax-time "less than 0.1 SBU">
|
---|
| 17 | ]>
|
---|
| 18 |
|
---|
| 19 | <sect1 id="pax" xreflabel="Pax-&pax-version;">
|
---|
| 20 | <?dbhtml filename="pax.html"?>
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | <title>Pax-&pax-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="pax">
|
---|
| 26 | <primary sortas="a-pax">pax</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Pax</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>pax</application> is an archiving utility created by POSIX
|
---|
| 34 | and defined by the POSIX.1-2001 standard. Rather than sort out the
|
---|
| 35 | incompatible options that have crept up between
|
---|
| 36 | <application>tar</application> and <application>cpio</application>,
|
---|
| 37 | along with their implementations across various versions of UNIX, the
|
---|
| 38 | IEEE designed a new archive utility. The name <quote>pax</quote> is
|
---|
| 39 | an acronym for portable archive exchange. Furthermore,
|
---|
| 40 | <quote>pax</quote> means <quote>peace</quote> in Latin, so its name
|
---|
| 41 | implies that it shall create peace between the
|
---|
| 42 | <application>tar</application> and <application>cpio</application>
|
---|
| 43 | format supporters. The command invocation and command structure is
|
---|
| 44 | somewhat a unification of both <application>tar</application> and
|
---|
| 45 | <application>cpio</application>.
|
---|
| 46 | </para>
|
---|
| 47 | <para>
|
---|
| 48 | <application>pax</application> has been required to be present in LSB
|
---|
| 49 | conformant systems since LSB version 3.0.
|
---|
| 50 | </para>
|
---|
| 51 |
|
---|
[aa996df1] | 52 | &lfs122_checked;
|
---|
[2180f912] | 53 |
|
---|
| 54 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 55 | <itemizedlist spacing="compact">
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download (HTTP): <ulink url="&pax-download-http;"/>
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Download (FTP): <ulink url="&pax-download-ftp;"/>
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Download MD5 sum: &pax-md5sum;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Download size: &pax-size;
|
---|
| 74 | </para>
|
---|
| 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Estimated disk space required: &pax-buildsize;
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>
|
---|
| 83 | Estimated build time: &pax-time;
|
---|
| 84 | </para>
|
---|
| 85 | </listitem>
|
---|
| 86 | </itemizedlist>
|
---|
[71654ad] | 87 | <!--
|
---|
[20a27fc] | 88 | <bridgehead renderas="sect3">Pax Dependencies</bridgehead>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 91 | <para role="required">
|
---|
| 92 | <xref linkend="cpio"/></para>
|
---|
[24b90dd] | 93 | -->
|
---|
| 94 |
|
---|
[2180f912] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of Pax</title>
|
---|
| 99 |
|
---|
[8fa893e] | 100 | <para>Install pax by running the following commands:.</para>
|
---|
[2180f912] | 101 |
|
---|
[8fa893e] | 102 | <note>
|
---|
| 103 | <para>This package expands to the directory <emphasis>pax</emphasis>.</para>
|
---|
| 104 | </note>
|
---|
[20a27fc] | 105 |
|
---|
[8fa893e] | 106 | <screen><userinput>bash Build.sh</userinput></screen>
|
---|
[96ed758] | 107 |
|
---|
[8fa893e] | 108 | <para>This package does not come with a test suite.</para>
|
---|
[2180f912] | 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
[8fa893e] | 114 | <note>
|
---|
[8558044] | 115 | <para>This package also creates hard links from <command>pax</command>
|
---|
| 116 | to the programs <command>cpio</command> and <command>tar</command> in
|
---|
| 117 | the build directory. The LFS editors do not recommend that they be
|
---|
[8fa893e] | 118 | installed as they will overwrite the GNU versions of these programs.</para>
|
---|
| 119 | </note>
|
---|
[2180f912] | 120 |
|
---|
[a19b7a4] | 121 | <screen role="root"><userinput>install -v pax /usr/bin &&
|
---|
[8fa893e] | 122 | install -v -m644 pax.1 /usr/share/man/man1</userinput></screen>
|
---|
[a19b7a4] | 123 |
|
---|
[2180f912] | 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Program</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
| 133 | <seg>
|
---|
[e6fb085] | 134 | pax
|
---|
[2180f912] | 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="pax-prog">
|
---|
| 145 | <term><command>pax</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
[4c24eb0a] | 148 | copies files to and from archives in several formats
|
---|
[2180f912] | 149 | </para>
|
---|
| 150 | <indexterm zone="pax pax-prog">
|
---|
| 151 | <primary sortas="b-pax">pax</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 | </variablelist>
|
---|
| 156 | </sect2>
|
---|
[4c24eb0a] | 157 |
|
---|
[2180f912] | 158 | </sect1>
|
---|