[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 | <!-- Place this in the general.ent file
|
---|
| 8 | <!ENTITY pax-version "070715">
|
---|
| 9 | -->
|
---|
| 10 |
|
---|
| 11 | <!ENTITY pax-download-http "&sourceforge-repo;/heirloom/heirloom-&pax-version;.tar.bz2">
|
---|
| 12 | <!ENTITY pax-download-ftp " ">
|
---|
| 13 | <!ENTITY pax-md5sum "d846be4b268b1d55b6ffcef847f09979">
|
---|
| 14 | <!ENTITY pax-size "977 KB">
|
---|
| 15 | <!ENTITY pax-buildsize "9.2 MB">
|
---|
| 16 | <!ENTITY pax-time "less than 0.1 SBU">
|
---|
| 17 | ]>
|
---|
| 18 |
|
---|
| 19 | <!-- Try to keep the indentation used in this file-->
|
---|
| 20 | <sect1 id="pax" xreflabel="Pax-&pax-version;">
|
---|
| 21 | <?dbhtml filename="pax.html"?>
|
---|
| 22 |
|
---|
| 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect1info>
|
---|
| 27 |
|
---|
| 28 | <!-- No other tags inside any title.
|
---|
| 29 | Use Title Case in All Titles -->
|
---|
| 30 | <title>Pax-&pax-version;</title>
|
---|
| 31 |
|
---|
| 32 | <indexterm zone="pax">
|
---|
| 33 | <primary sortas="a-pax">pax</primary>
|
---|
| 34 | </indexterm>
|
---|
| 35 |
|
---|
| 36 | <!--Required section-->
|
---|
| 37 | <sect2 role="package">
|
---|
| 38 | <title>Introduction to Pax</title>
|
---|
| 39 |
|
---|
| 40 | <para>
|
---|
| 41 | <application>pax</application> is an archiving utility created by POSIX
|
---|
| 42 | and defined by the POSIX.1-2001 standard. Rather than sort out the
|
---|
| 43 | incompatible options that have crept up between
|
---|
| 44 | <application>tar</application> and <application>cpio</application>,
|
---|
| 45 | along with their implementations across various versions of UNIX, the
|
---|
| 46 | IEEE designed a new archive utility. The name <quote>pax</quote> is
|
---|
| 47 | an acronym for portable archive exchange. Furthermore,
|
---|
| 48 | <quote>pax</quote> means <quote>peace</quote> in Latin, so its name
|
---|
| 49 | implies that it shall create peace between the
|
---|
| 50 | <application>tar</application> and <application>cpio</application>
|
---|
| 51 | format supporters. The command invocation and command structure is
|
---|
| 52 | somewhat a unification of both <application>tar</application> and
|
---|
| 53 | <application>cpio</application>.
|
---|
| 54 | </para>
|
---|
| 55 | <para>
|
---|
| 56 | <application>pax</application> has been required to be present in LSB
|
---|
| 57 | conformant systems since LSB version 3.0.
|
---|
| 58 | </para>
|
---|
| 59 |
|
---|
[798ffdc] | 60 | &lfs77_checked; &gcc5_checked;
|
---|
[2180f912] | 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Download (HTTP): <ulink url="&pax-download-http;"/>
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Download (FTP): <ulink url="&pax-download-ftp;"/>
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Download MD5 sum: &pax-md5sum;
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>
|
---|
| 81 | Download size: &pax-size;
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>
|
---|
| 86 | Estimated disk space required: &pax-buildsize;
|
---|
| 87 | </para>
|
---|
| 88 | </listitem>
|
---|
| 89 | <listitem>
|
---|
| 90 | <para>
|
---|
| 91 | Estimated build time: &pax-time;
|
---|
| 92 | </para>
|
---|
| 93 | </listitem>
|
---|
| 94 | </itemizedlist>
|
---|
| 95 |
|
---|
| 96 | <para condition="html" role="usernotes">
|
---|
| 97 | User Notes: <ulink url="&blfs-wiki;/pax"/>
|
---|
| 98 | </para>
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of Pax</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | This package has somewhat unusual installation instructions, because
|
---|
| 106 | <application>pax</application> is part of a larger set of utilities
|
---|
| 107 | included in the same tarball. Issue the following commands:
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <screen><userinput>sed -i build/mk.config \
|
---|
| 111 | -e '/LIBZ/s@ -Wl[^ ]*@@g' \
|
---|
| 112 | -e '/LIBBZ2/{s@^#@@;s@ -Wl[^ ]*@@g}' \
|
---|
| 113 | -e '/BZLIB/s@0@1@' &&
|
---|
[96ed758] | 114 |
|
---|
[2180f912] | 115 | make makefiles &&
|
---|
| 116 | make -C libcommon &&
|
---|
| 117 | make -C libuxre &&
|
---|
| 118 | make -C cpio</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>install -v -m755 cpio/pax_su3 /usr/bin/pax &&
|
---|
| 125 | install -v -m644 cpio/pax.1 /usr/share/man/man1</userinput></screen>
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | <command>sed ...</command>: This changes the configuration file
|
---|
| 133 | <filename>build/mk.config</filename> so that the system zlib and
|
---|
| 134 | libbz2 are used and linked as shared libraries.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | <command>make makefiles</command>: This command builds all the
|
---|
| 139 | makefiles.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | <command>make -C lib...</command>: First builds the necessary libraries.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
| 147 | <command>make -C cpio</command>: Then builds the archive utilities.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Program</segtitle>
|
---|
| 157 |
|
---|
| 158 | <seglistitem>
|
---|
| 159 | <seg>
|
---|
| 160 | pax.
|
---|
| 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="pax-prog">
|
---|
| 171 | <term><command>pax</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | copies files to and from archives in several formats.
|
---|
| 175 | </para>
|
---|
| 176 | <indexterm zone="pax pax-prog">
|
---|
| 177 | <primary sortas="b-pax">pax</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 | </variablelist>
|
---|
| 182 | </sect2>
|
---|
| 183 | </sect1>
|
---|