source: general/sysutils/pax.xml@ 96ed758

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 96ed758 was 96ed758, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

More tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15542 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 &lfs77_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;
114
115make makefiles &amp;&amp;
116make -C libcommon &amp;&amp;
117make -C libuxre &amp;&amp;
118make -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 &amp;&amp;
125install -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>
Note: See TracBrowser for help on using the repository browser.