source: general/genlib/libarchive.xml@ 64596e61

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 64596e61 was 64596e61, checked in by Bruce Dubbs <bdubbs@…>, 11 months ago

Update to sqlite-autoconf-3.34.0.
Update to poppler-20.12.0.
Update to libarchive-3.5.0.
Update to pulseaudio-14.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23949 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 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
78 <ulink url="&patch-root;/libarchive-&libarchive-version;-testsuite_fix-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="libxml2"/>,
88 <xref linkend="lzo"/>, and
89 <xref linkend="nettle"/>
90 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/libarchive"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libarchive</title>
100
101 <para>
102 First, adapt the test suite to changes in glibc-2.32:
103 </para>
104
105<screen><userinput remap="pre">patch -Np1 -i ../libarchive-&libarchive-version;-testsuite_fix-1.patch</userinput></screen>
106
107 <para>
108 Install <application>libarchive</application> by running the following
109 commands:
110 </para>
111
112<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
113make</userinput></screen>
114
115 <para>
116 To test the results, issue: <command>LC_ALL=C make check</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
132
133 <para>
134 <option>--without-xml2</option>: This switch sets expat for xar archive
135 format support instead of preferred libxml2 if both packages are installed.
136 </para>
137
138 <para>
139 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
140 support instead of preferred Nettle if both packages are installed.
141 </para>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 bsdcat, bsdcpio, and bsdtar
156 </seg>
157 <seg>
158 libarchive.so
159 </seg>
160 <seg>
161 None
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="bsdcat">
172 <term><command>bsdcat</command></term>
173 <listitem>
174 <para>
175 expands files to standard output.
176 </para>
177 <indexterm zone="libarchive bsdcat">
178 <primary sortas="b-bsdcat">bsdcat</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="bsdcpio">
184 <term><command>bsdcpio</command></term>
185 <listitem>
186 <para>
187 is a tool similar to <command>cpio</command>.
188 </para>
189 <indexterm zone="libarchive bsdcpio">
190 <primary sortas="b-bsdcpio">bsdcpio</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="bsdtar">
196 <term><command>bsdtar</command></term>
197 <listitem>
198 <para>
199 is a tool similar to GNU <command>tar</command>.
200 </para>
201 <indexterm zone="libarchive bsdtar">
202 <primary sortas="b-bsdtar">bsdtar</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libarchive-lib">
208 <term><filename class="libraryfile">libarchive.so</filename></term>
209 <listitem>
210 <para>
211 is a library that can create and read several streaming
212 archive formats.
213 </para>
214 <indexterm zone="libarchive libarchive-lib">
215 <primary sortas="c-libarchive">libarchive.so</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect2>
223
224</sect1>
Note: See TracBrowser for help on using the repository browser.