source: general/genlib/libarchive.xml@ eeaa41b7

10.0 10.1 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 eeaa41b7 was eeaa41b7, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Some tags, and a fix for the libarchive test suite problem

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23537 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
[dd352da0]7 <!ENTITY libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/v&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
[57f7cfa]8 <!ENTITY libarchive-download-ftp " ">
[06bb5bde]9 <!ENTITY libarchive-md5sum "4b216ea3015ecf8ae555a2026f9a6b73">
[dd352da0]10 <!ENTITY libarchive-size "4.6 MB">
[06bb5bde]11 <!ENTITY libarchive-buildsize "40 MB (add 28 MB for tests)">
12 <!ENTITY libarchive-time "0.4 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
[eeaa41b7]37 &lfs10_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
[eeaa41b7]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
[57f7cfa]83 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
84
[af822af]85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
[56605b9]87 <xref linkend="libxml2"/>,
[bc0d10e]88 <xref linkend="lzo"/>, and
89 <xref linkend="nettle"/>
90 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
[57f7cfa]91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
[5b38e37]94 <ulink url="&blfs-wiki;/libarchive"/>
95 </para>
[57f7cfa]96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libarchive</title>
100
[eeaa41b7]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
[5b38e37]107 <para>
108 Install <application>libarchive</application> by running the following
109 commands:
110 </para>
[57f7cfa]111
[4dd2e4c]112<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[57f7cfa]113make</userinput></screen>
114
[5b38e37]115 <para>
[d2812732]116 To test the results, issue: <command>LC_ALL=C make check</command>.
[5b38e37]117 </para>
[b88be39]118
[5b38e37]119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
[57f7cfa]122
123<screen role="root"><userinput>make install</userinput></screen>
124
[40a4d44]125 </sect2>
[0d7900a]126
[5b38e37]127 <sect2 role="commands">
[40a4d44]128 <title>Command Explanations</title>
129
[5b38e37]130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
[40a4d44]132
[9efe5ae]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
[57f7cfa]143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
[fd27868]149 <segtitle>Installed Programs</segtitle>
[40a4d44]150 <segtitle>Installed Libraries</segtitle>
[fd27868]151 <segtitle>Installed Directories</segtitle>
[57f7cfa]152
153 <seglistitem>
[5b38e37]154 <seg>
[fdbead3]155 bsdcat, bsdcpio, and bsdtar
[5b38e37]156 </seg>
157 <seg>
158 libarchive.so
159 </seg>
160 <seg>
161 None
162 </seg>
[57f7cfa]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
[fdbead3]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
[57f7cfa]183 <varlistentry id="bsdcpio">
184 <term><command>bsdcpio</command></term>
185 <listitem>
[5b38e37]186 <para>
187 is a tool similar to <command>cpio</command>.
188 </para>
[57f7cfa]189 <indexterm zone="libarchive bsdcpio">
190 <primary sortas="b-bsdcpio">bsdcpio</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
[40a4d44]195 <varlistentry id="bsdtar">
196 <term><command>bsdtar</command></term>
197 <listitem>
[5b38e37]198 <para>
199 is a tool similar to GNU <command>tar</command>.
200 </para>
[40a4d44]201 <indexterm zone="libarchive bsdtar">
202 <primary sortas="b-bsdtar">bsdtar</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
[0d7900a]206
[5b38e37]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
[57f7cfa]220 </variablelist>
221
222 </sect2>
223
224</sect1>
Note: See TracBrowser for help on using the repository browser.