mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
60301301ae
Tag the rest of the packages I normally build before Xorg git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21991 af4574ff-66df-0310-9fd7-8a98e5e911e0
165 lines
4.8 KiB
XML
165 lines
4.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!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;
|
|
|
|
<!ENTITY pax-download-http "http://pub.allbsd.org/MirOS/dist/mir/cpio/paxmirabilis-&pax-version;.cpio.gz">
|
|
<!ENTITY pax-download-ftp " ">
|
|
<!ENTITY pax-md5sum "51172547aa7447244ba1db5768cdcdfd">
|
|
<!ENTITY pax-size "152 KB">
|
|
<!ENTITY pax-buildsize "920 KB">
|
|
<!ENTITY pax-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="pax" xreflabel="Pax-&pax-version;">
|
|
<?dbhtml filename="pax.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<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>
|
|
|
|
&lfs90_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>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/pax"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Pax</title>
|
|
|
|
<para>
|
|
This package has somewhat unusual installation instructions, because
|
|
<application>pax</application> is part of a larger set of utilities
|
|
included in the same tarball. Issue the following commands to
|
|
unpack and build the application:
|
|
</para>
|
|
|
|
<screen><userinput>gzip -dck paxmirabilis-20161104.cpio.gz | cpio -mid &&
|
|
cd pax &&
|
|
|
|
sed -i '/stat.h/a #include <sys/sysmacros.h>' cpio.c gen_subs.c tar.c &&
|
|
|
|
cc -O2 -DLONG_OFF_T -o pax -DPAX_SAFE_PATH=\"/bin\" *.c</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>install -v pax /bin &&
|
|
install -v pax.1 /usr/share/man/man1</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>sed ...</command>: This eliminates some irritating warnings.
|
|
</para>
|
|
|
|
</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>
|