source: general/genlib/libarchive.xml@ 453910f

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 453910f was 453910f, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Initial round of tags from me

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