glfs/general/sysutils/pax.xml
2024-01-19 22:39:35 +01:00

159 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!-- https does not work for mirbsd site with recent OpenSSL (note: we are
using OpenSSL for wget and curl). Don't change it to https when you
see https://www.mirbsd.org/ "works" in a browser. Seems it uses a
too old version of tls. -->
<!ENTITY pax-download-http "http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-&pax-version;.tgz">
<!ENTITY pax-download-ftp " ">
<!ENTITY pax-md5sum "87a0a3870ec437c41eb1b406334fe2c5">
<!ENTITY pax-size "172 KB">
<!ENTITY pax-buildsize "1.2 MB">
<!ENTITY pax-time "less than 0.1 SBU">
]>
<sect1 id="pax" xreflabel="Pax-&pax-version;">
<?dbhtml filename="pax.html"?>
<title>Pax-&pax-version;</title>
<indexterm zone="pax">
<primary sortas="a-pax">pax</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Pax</title>
<para>
<application>pax</application> is an archiving utility created by POSIX
and defined by the POSIX.1-2001 standard. Rather than sort out the
incompatible options that have crept up between
<application>tar</application> and <application>cpio</application>,
along with their implementations across various versions of UNIX, the
IEEE designed a new archive utility. The name <quote>pax</quote> is
an acronym for portable archive exchange. Furthermore,
<quote>pax</quote> means <quote>peace</quote> in Latin, so its name
implies that it shall create peace between the
<application>tar</application> and <application>cpio</application>
format supporters. The command invocation and command structure is
somewhat a unification of both <application>tar</application> and
<application>cpio</application>.
</para>
<para>
<application>pax</application> has been required to be present in LSB
conformant systems since LSB version 3.0.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&pax-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&pax-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &pax-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &pax-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &pax-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &pax-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Pax Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cpio"/></para>
-->
</sect2>
<sect2 role="installation">
<title>Installation of Pax</title>
<para>Install pax by running the following commands:.</para>
<note>
<para>This package expands to the directory <emphasis>pax</emphasis>.</para>
</note>
<screen><userinput>bash Build.sh</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<note>
<para>This package also creates hard links from <command>pax</command>
to the programs <command>cpio</command> and <command>tar</command> in
the build directory. The LFS editors do not recommend that they be
installed as they will overwrite the GNU versions of these programs.</para>
</note>
<screen role="root"><userinput>install -v pax /usr/bin &amp;&amp;
install -v -m644 pax.1 /usr/share/man/man1</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<seglistitem>
<seg>
pax
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="pax-prog">
<term><command>pax</command></term>
<listitem>
<para>
copies files to and from archives in several formats
</para>
<indexterm zone="pax pax-prog">
<primary sortas="b-pax">pax</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>