source: general/genlib/libarchive.xml@ 427b46a

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 427b46a was bfbc72a, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Tags
GDB: Mention the TUI test suite failing

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

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[57f7cfa]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
[fffb149]7 <!ENTITY libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
[57f7cfa]8 <!ENTITY libarchive-download-ftp " ">
[65906dd]9 <!ENTITY libarchive-md5sum "1f8c29149832baff8bae232fd2f9b0ec">
10 <!ENTITY libarchive-size "4.7 MB">
[64596e61]11 <!ENTITY libarchive-buildsize "40 MB (add 29 MB for tests)">
[65906dd]12 <!ENTITY libarchive-time "0.3 SBU (add 1.0 SBU for tests)">
[57f7cfa]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
[5b38e37]32 <para>
33 The <application>libarchive</application> library provides a single
34 interface for reading/writing various compression formats.
35 </para>
[57f7cfa]36
[bfbc72a]37 &lfs101_checked;
[57f7cfa]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[5b38e37]42 <para>
[56605b9]43 Download (HTTP): <ulink url="&libarchive-download-http;"/>
44 </para>
[57f7cfa]45 </listitem>
46 <listitem>
[5b38e37]47 <para>
48 Download (FTP): <ulink url="&libarchive-download-ftp;"/>
49 </para>
[57f7cfa]50 </listitem>
51 <listitem>
[5b38e37]52 <para>
53 Download MD5 sum: &libarchive-md5sum;
54 </para>
[57f7cfa]55 </listitem>
56 <listitem>
[5b38e37]57 <para>
58 Download size: &libarchive-size;
59 </para>
[57f7cfa]60 </listitem>
61 <listitem>
[5b38e37]62 <para>
63 Estimated disk space required: &libarchive-buildsize;
64 </para>
[57f7cfa]65 </listitem>
66 <listitem>
[5b38e37]67 <para>
68 Estimated build time: &libarchive-time;
69 </para>
[57f7cfa]70 </listitem>
71 </itemizedlist>
72
[297b344]73<!--
[eeaa41b7]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>
[297b344]83-->
[57f7cfa]84 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
85
[af822af]86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
[56605b9]88 <xref linkend="libxml2"/>,
[bc0d10e]89 <xref linkend="lzo"/>, and
90 <xref linkend="nettle"/>
91 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
[57f7cfa]92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
[5b38e37]95 <ulink url="&blfs-wiki;/libarchive"/>
96 </para>
[57f7cfa]97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libarchive</title>
101
[297b344]102<!--
[eeaa41b7]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>
[297b344]108-->
[eeaa41b7]109
[5b38e37]110 <para>
111 Install <application>libarchive</application> by running the following
112 commands:
113 </para>
[57f7cfa]114
[4dd2e4c]115<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[57f7cfa]116make</userinput></screen>
117
[5b38e37]118 <para>
[d2812732]119 To test the results, issue: <command>LC_ALL=C make check</command>.
[5b38e37]120 </para>
[b88be39]121
[5b38e37]122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
[57f7cfa]125
126<screen role="root"><userinput>make install</userinput></screen>
127
[40a4d44]128 </sect2>
[0d7900a]129
[5b38e37]130 <sect2 role="commands">
[40a4d44]131 <title>Command Explanations</title>
132
[5b38e37]133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
134 href="../../xincludes/static-libraries.xml"/>
[40a4d44]135
[9efe5ae]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
[57f7cfa]146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
[fd27868]152 <segtitle>Installed Programs</segtitle>
[40a4d44]153 <segtitle>Installed Libraries</segtitle>
[fd27868]154 <segtitle>Installed Directories</segtitle>
[57f7cfa]155
156 <seglistitem>
[5b38e37]157 <seg>
[fdbead3]158 bsdcat, bsdcpio, and bsdtar
[5b38e37]159 </seg>
160 <seg>
161 libarchive.so
162 </seg>
163 <seg>
164 None
165 </seg>
[57f7cfa]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
[fdbead3]174 <varlistentry id="bsdcat">
175 <term><command>bsdcat</command></term>
176 <listitem>
177 <para>
[4c24eb0a]178 expands files to standard output
[fdbead3]179 </para>
180 <indexterm zone="libarchive bsdcat">
181 <primary sortas="b-bsdcat">bsdcat</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
[57f7cfa]186 <varlistentry id="bsdcpio">
187 <term><command>bsdcpio</command></term>
188 <listitem>
[5b38e37]189 <para>
[4c24eb0a]190 is a tool similar to <command>cpio</command>
[5b38e37]191 </para>
[57f7cfa]192 <indexterm zone="libarchive bsdcpio">
193 <primary sortas="b-bsdcpio">bsdcpio</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
[40a4d44]198 <varlistentry id="bsdtar">
199 <term><command>bsdtar</command></term>
200 <listitem>
[5b38e37]201 <para>
[4c24eb0a]202 is a tool similar to GNU <command>tar</command>
[5b38e37]203 </para>
[40a4d44]204 <indexterm zone="libarchive bsdtar">
205 <primary sortas="b-bsdtar">bsdtar</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
[0d7900a]209
[5b38e37]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
[4c24eb0a]215 archive formats
[5b38e37]216 </para>
217 <indexterm zone="libarchive libarchive-lib">
218 <primary sortas="c-libarchive">libarchive.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
[57f7cfa]223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.