[2180f912] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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 | <!ENTITY pax-download-http "&sourceforge-repo;/heirloom/heirloom-&pax-version;.tar.bz2">
|
---|
| 8 | <!ENTITY pax-download-ftp " ">
|
---|
| 9 | <!ENTITY pax-md5sum "d846be4b268b1d55b6ffcef847f09979">
|
---|
| 10 | <!ENTITY pax-size "977 KB">
|
---|
| 11 | <!ENTITY pax-buildsize "9.2 MB">
|
---|
| 12 | <!ENTITY pax-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="pax" xreflabel="Pax-&pax-version;">
|
---|
| 16 | <?dbhtml filename="pax.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 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 |
|
---|
[c569acc5] | 52 | &lfs7a_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>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/pax"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Pax</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | This package has somewhat unusual installation instructions, because
|
---|
| 98 | <application>pax</application> is part of a larger set of utilities
|
---|
| 99 | included in the same tarball. Issue the following commands:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput>sed -i build/mk.config \
|
---|
| 103 | -e '/LIBZ/s@ -Wl[^ ]*@@g' \
|
---|
| 104 | -e '/LIBBZ2/{s@^#@@;s@ -Wl[^ ]*@@g}' \
|
---|
| 105 | -e '/BZLIB/s@0@1@' &&
|
---|
[96ed758] | 106 |
|
---|
[2180f912] | 107 | make makefiles &&
|
---|
| 108 | make -C libcommon &&
|
---|
| 109 | make -C libuxre &&
|
---|
| 110 | make -C cpio</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <screen role="root"><userinput>install -v -m755 cpio/pax_su3 /usr/bin/pax &&
|
---|
| 117 | install -v -m644 cpio/pax.1 /usr/share/man/man1</userinput></screen>
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | <command>sed ...</command>: This changes the configuration file
|
---|
| 125 | <filename>build/mk.config</filename> so that the system zlib and
|
---|
| 126 | libbz2 are used and linked as shared libraries.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | <command>make makefiles</command>: This command builds all the
|
---|
| 131 | makefiles.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | <command>make -C lib...</command>: First builds the necessary libraries.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | <command>make -C cpio</command>: Then builds the archive utilities.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Program</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
| 152 | pax.
|
---|
| 153 | </seg>
|
---|
| 154 | </seglistitem>
|
---|
| 155 | </segmentedlist>
|
---|
| 156 |
|
---|
| 157 | <variablelist>
|
---|
| 158 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 159 | <?dbfo list-presentation="list"?>
|
---|
| 160 | <?dbhtml list-presentation="table"?>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="pax-prog">
|
---|
| 163 | <term><command>pax</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>
|
---|
| 166 | copies files to and from archives in several formats.
|
---|
| 167 | </para>
|
---|
| 168 | <indexterm zone="pax pax-prog">
|
---|
| 169 | <primary sortas="b-pax">pax</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 | </variablelist>
|
---|
| 174 | </sect2>
|
---|
| 175 | </sect1>
|
---|