source: general/sysutils/pax.xml@ a1f2d184

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a1f2d184 was 2180f912, checked in by Pierre Labastie <pieere@…>, 10 years ago

Add pax utility from heirloom source

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12866 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.4 KB
Line 
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
60 &lfs75_checked;
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@' &amp;&amp;
114make makefiles &amp;&amp;
115make -C libcommon &amp;&amp;
116make -C libuxre &amp;&amp;
117make -C cpio</userinput></screen>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>install -v -m755 cpio/pax_su3 /usr/bin/pax &amp;&amp;
124install -v -m644 cpio/pax.1 /usr/share/man/man1</userinput></screen>
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para>
131 <command>sed ...</command>: This changes the configuration file
132 <filename>build/mk.config</filename> so that the system zlib and
133 libbz2 are used and linked as shared libraries.
134 </para>
135
136 <para>
137 <command>make makefiles</command>: This command builds all the
138 makefiles.
139 </para>
140
141 <para>
142 <command>make -C lib...</command>: First builds the necessary libraries.
143 </para>
144
145 <para>
146 <command>make -C cpio</command>: Then builds the archive utilities.
147 </para>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Program</segtitle>
156
157 <seglistitem>
158 <seg>
159 pax.
160 </seg>
161 </seglistitem>
162 </segmentedlist>
163
164 <variablelist>
165 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
166 <?dbfo list-presentation="list"?>
167 <?dbhtml list-presentation="table"?>
168
169 <varlistentry id="pax-prog">
170 <term><command>pax</command></term>
171 <listitem>
172 <para>
173 copies files to and from archives in several formats.
174 </para>
175 <indexterm zone="pax pax-prog">
176 <primary sortas="b-pax">pax</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180 </variablelist>
181 </sect2>
182</sect1>
Note: See TracBrowser for help on using the repository browser.