source: general/sysutils/p7zip.xml@ 3b339ddc

11.0 qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 3b339ddc was 3b339ddc, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Update to gcr-3.40.0
Update to gsettings-desktop-schemas-40.0
Update to yelp-xsl-40.0
Update to vte-0.64.0
Update to gjs-1.68.0
Update to gnome-desktop-40.0
Update to libgee-0.20.4
Update to libpeas-1.30.0
Update to libgweather-40.0
Update to evolution-data-server-3.40.0
Update to tracker3-3.1.1
Update to tracker3-miners-3.1.1
Fix a security vulnerability in Avahi
Fix a security vulnerability in p7zip
Fix a security vulnerability in NetworkManager
Add a gnome-minor-40 entity and change the static URLs for sysprof/pygobject3/libdazzle over to it
Fix the spacing for the gnome-40 entity

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

  • Property mode set to 100644
File size: 6.0 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 p7zip-download-http "https://github.com/jinfeihan57/p7zip/archive/v&p7zip-version;/p7zip-&p7zip-version;.tar.gz">
8 <!ENTITY p7zip-download-ftp " ">
9 <!ENTITY p7zip-md5sum "fd7e6b082db89edfc047c1ce2d810850">
10 <!ENTITY p7zip-size "6.2 MB">
11 <!ENTITY p7zip-buildsize "66 MB">
12 <!ENTITY p7zip-time "2.3 SBU (with tests)">
13]>
14
15<sect1 id="p7zip" xreflabel="p7zip-&p7zip-version;">
16 <?dbhtml filename="p7zip.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>p7zip-&p7zip-version;</title>
24
25 <indexterm zone="p7zip">
26 <primary sortas="a-p7zip">p7zip</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to p7zip</title>
31
32 <para>
33 <application>p7zip</application> is the Unix command-line port of 7-Zip, a
34 file archiver that archives with high compression ratios. It handles 7z,
35 ZIP, GZIP, Brotli, BZIP2, XZ, TAR, APM, ARJ, CAB, CHM, CPIO, CramFS, DEB,
36 DMG, FAT, HFS, ISO, Lizard, LZ5, LZFSE, LZH, LZMA, LZMA2, MBR, MSI, MSLZ,
37 NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z, and Zstd formats.
38 </para>
39
40 &lfs101_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&p7zip-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&p7zip-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &p7zip-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &p7zip-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &p7zip-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &p7zip-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76<!-- Applied in 17.03
77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing='compact'>
79 <listitem>
80 <para>Required patch: <ulink
81 url="&patch-root;/p7zip-&p7zip-version;-consolidated_fixes-1.patch"/></para>
82 </listitem>
83 </itemizedlist>
84-->
85
86 <bridgehead renderas="sect3">p7zip Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <ulink url="http://www.wxwidgets.org/">wxWidgets</ulink>
91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/p7zip"/>
95 </para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of p7zip</title>
101
102<!-- Applied in 17.03
103 <para>
104 First, update the package for gcc10 and some security issues:
105 </para>
106
107<screen><userinput>patch -Np1 -i ../p7zip-&p7zip-version;-consolidated_fixes-1.patch</userinput></screen>
108-->
109
110 <para>
111 First, prevent <application>p7zip</application> from installing
112 compressed manual pages:
113 </para>
114
115<screen><userinput remap="pre">sed '/^gzip/d' -i install.sh</userinput></screen>
116
117 <para>
118 Next, fix a security vulnerability:
119 </para>
120
121<screen><userinput remap="pre">sed -i '160a if(_buffer == nullptr || _size == _pos) return E_FAIL;' CPP/7zip/Common/StreamObjects.cpp</userinput></screen>
122
123 <para>
124 Install <application>p7zip</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>make all3</userinput></screen>
129
130 <para>
131 To test the results, issue: <command>make test</command>.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<!-- dev note: make DEST_DIR=<DESTDIR> install -->
139
140<screen role="root"><userinput>make DEST_HOME=/usr \
141 DEST_MAN=/usr/share/man \
142 DEST_SHARE_DOC=/usr/share/doc/p7zip-&p7zip-version; install</userinput></screen>
143
144 <note>
145 <para>
146 If using DESTDIR techniques, use DEST_DIR instead.
147 </para>
148 </note>
149
150 </sect2>
151
152 <sect2 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Libraries</segtitle>
158 <segtitle>Installed Directory</segtitle>
159
160 <seglistitem>
161 <seg>
162 7z, 7za, and 7zr
163 </seg>
164 <seg>
165 None
166 </seg>
167 <seg>
168 /usr/lib/p7zip and /usr/share/doc/p7zip-&p7zip-version;
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="Sevenz">
179 <term><command>7z</command></term>
180 <listitem>
181 <para>
182 is a file archiver utility
183 </para>
184 <indexterm zone="p7zip Sevenz">
185 <primary sortas="b-7z">7z</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="Sevenza">
191 <term><command>7za</command></term>
192 <listitem>
193 <para>
194 is a stand-alone executable handling less archive formats than
195 <command>7z</command>
196 </para>
197 <indexterm zone="p7zip Sevenza">
198 <primary sortas="b-7za">7za</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="Sevenzr">
204 <term><command>7zr</command></term>
205 <listitem>
206 <para>
207 is a minimal version of <command>7za</command> that handles only
208 7z archives
209 </para>
210 <indexterm zone="p7zip Sevenzr">
211 <primary sortas="b-7zr">7zr</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.