1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 | <!-- 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. -->
|
---|
11 | <!ENTITY pax-download-http "http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-&pax-version;.tgz">
|
---|
12 | <!ENTITY pax-download-ftp " ">
|
---|
13 | <!ENTITY pax-md5sum "9a723154a4201a0892b7ff815b6753b5">
|
---|
14 | <!ENTITY pax-size "180 KB">
|
---|
15 | <!ENTITY pax-buildsize "1.6 MB">
|
---|
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 |
|
---|
52 | &lfs122_checked;
|
---|
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>
|
---|
87 | <!--
|
---|
88 | <bridgehead renderas="sect3">Pax Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
91 | <para role="required">
|
---|
92 | <xref linkend="cpio"/></para>
|
---|
93 | -->
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of Pax</title>
|
---|
99 |
|
---|
100 | <para>Install pax by running the following commands:.</para>
|
---|
101 |
|
---|
102 | <note>
|
---|
103 | <para>This package expands to the directory <emphasis>pax</emphasis>.</para>
|
---|
104 | </note>
|
---|
105 |
|
---|
106 | <screen><userinput>bash Build.sh</userinput></screen>
|
---|
107 |
|
---|
108 | <para>This package does not come with a test suite.</para>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <note>
|
---|
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
|
---|
118 | installed as they will overwrite the GNU versions of these programs.</para>
|
---|
119 | </note>
|
---|
120 |
|
---|
121 | <screen role="root"><userinput>install -v pax /usr/bin &&
|
---|
122 | install -v -m644 pax.1 /usr/share/man/man1</userinput></screen>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title>Contents</title>
|
---|
128 |
|
---|
129 | <segmentedlist>
|
---|
130 | <segtitle>Installed Program</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>
|
---|
134 | pax
|
---|
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>
|
---|
148 | copies files to and from archives in several formats
|
---|
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>
|
---|
157 |
|
---|
158 | </sect1>
|
---|