source: general/genlib/libarchive.xml@ 45ab6c7

11.0 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • 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/&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
8 <!ENTITY libarchive-download-ftp " ">
9 <!ENTITY libarchive-md5sum "1f8c29149832baff8bae232fd2f9b0ec">
10 <!ENTITY libarchive-size "4.7 MB">
11 <!ENTITY libarchive-buildsize "40 MB (add 29 MB for tests)">
12 <!ENTITY libarchive-time "0.3 SBU (add 1.0 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 &lfs101_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 Install <application>libarchive</application> by running the following
111 commands:
112 </para>
113
114<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 To test the results, issue: <command>LC_ALL=C make check</command>.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../../xincludes/static-libraries.xml"/>
134
135 <para>
136 <option>--without-xml2</option>: This switch sets expat for xar archive
137 format support instead of preferred libxml2 if both packages are installed.
138 </para>
139
140 <para>
141 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
142 support instead of preferred Nettle if both packages are installed.
143 </para>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>
157 bsdcat, bsdcpio, and bsdtar
158 </seg>
159 <seg>
160 libarchive.so
161 </seg>
162 <seg>
163 None
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="bsdcat">
174 <term><command>bsdcat</command></term>
175 <listitem>
176 <para>
177 expands files to standard output
178 </para>
179 <indexterm zone="libarchive bsdcat">
180 <primary sortas="b-bsdcat">bsdcat</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="bsdcpio">
186 <term><command>bsdcpio</command></term>
187 <listitem>
188 <para>
189 is a tool similar to <command>cpio</command>
190 </para>
191 <indexterm zone="libarchive bsdcpio">
192 <primary sortas="b-bsdcpio">bsdcpio</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="bsdtar">
198 <term><command>bsdtar</command></term>
199 <listitem>
200 <para>
201 is a tool similar to GNU <command>tar</command>
202 </para>
203 <indexterm zone="libarchive bsdtar">
204 <primary sortas="b-bsdtar">bsdtar</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="libarchive-lib">
210 <term><filename class="libraryfile">libarchive.so</filename></term>
211 <listitem>
212 <para>
213 is a library that can create and read several streaming
214 archive formats
215 </para>
216 <indexterm zone="libarchive libarchive-lib">
217 <primary sortas="c-libarchive">libarchive.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 </variablelist>
223
224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.