source: general/genlib/libarchive.xml@ 297b344

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 297b344 was 297b344, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Drop the libarchive test suite patch.

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

  • Property mode set to 100644
File size: 6.3 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 <!ENTITY libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/v&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
8 <!ENTITY libarchive-download-ftp " ">
9 <!ENTITY libarchive-md5sum "131df99708359ff05c6afb1d7ab8b585">
10 <!ENTITY libarchive-size "4.6 MB">
11 <!ENTITY libarchive-buildsize "40 MB (add 29 MB for tests)">
12 <!ENTITY libarchive-time "0.3 SBU (add 0.9 SBU for tests)">
13]>
14
15<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
16 <?dbhtml filename="libarchive.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libarchive-&libarchive-version;</title>
24
25 <indexterm zone="libarchive">
26 <primary sortas="a-libarchive">libarchive</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libarchive</title>
31
32 <para>
33 The <application>libarchive</application> library provides a single
34 interface for reading/writing various compression formats.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libarchive-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libarchive-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libarchive-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libarchive-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libarchive-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libarchive-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73<!--
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch:
79 <ulink url="&patch-root;/libarchive-&libarchive-version;-testsuite_fix-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83-->
84 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="libxml2"/>,
89 <xref linkend="lzo"/>, and
90 <xref linkend="nettle"/>
91 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/libarchive"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libarchive</title>
101
102<!--
103 <para>
104 First, adapt the test suite to changes in glibc-2.32:
105 </para>
106
107<screen><userinput remap="pre">patch -Np1 -i ../libarchive-&libarchive-version;-testsuite_fix-1.patch</userinput></screen>
108-->
109
110 <para>
111 Install <application>libarchive</application> by running the following
112 commands:
113 </para>
114
115<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 To test the results, issue: <command>LC_ALL=C make check</command>.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
134 href="../../xincludes/static-libraries.xml"/>
135
136 <para>
137 <option>--without-xml2</option>: This switch sets expat for xar archive
138 format support instead of preferred libxml2 if both packages are installed.
139 </para>
140
141 <para>
142 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
143 support instead of preferred Nettle if both packages are installed.
144 </para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 bsdcat, bsdcpio, and bsdtar
159 </seg>
160 <seg>
161 libarchive.so
162 </seg>
163 <seg>
164 None
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="bsdcat">
175 <term><command>bsdcat</command></term>
176 <listitem>
177 <para>
178 expands files to standard output.
179 </para>
180 <indexterm zone="libarchive bsdcat">
181 <primary sortas="b-bsdcat">bsdcat</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="bsdcpio">
187 <term><command>bsdcpio</command></term>
188 <listitem>
189 <para>
190 is a tool similar to <command>cpio</command>.
191 </para>
192 <indexterm zone="libarchive bsdcpio">
193 <primary sortas="b-bsdcpio">bsdcpio</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="bsdtar">
199 <term><command>bsdtar</command></term>
200 <listitem>
201 <para>
202 is a tool similar to GNU <command>tar</command>.
203 </para>
204 <indexterm zone="libarchive bsdtar">
205 <primary sortas="b-bsdtar">bsdtar</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libarchive-lib">
211 <term><filename class="libraryfile">libarchive.so</filename></term>
212 <listitem>
213 <para>
214 is a library that can create and read several streaming
215 archive formats.
216 </para>
217 <indexterm zone="libarchive libarchive-lib">
218 <primary sortas="c-libarchive">libarchive.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.