mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Added security patch to unzip
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7383 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
50d1a605eb
commit
c91c114e28
@ -11,7 +11,7 @@
|
||||
<!ENTITY unzip-md5sum "9d23919999d6eac9217d1f41472034a9">
|
||||
<!ENTITY unzip-size "1.1 MB">
|
||||
<!ENTITY unzip-buildsize "6.7 MB">
|
||||
<!ENTITY unzip-time "0.1 SBU">
|
||||
<!ENTITY unzip-time "Less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
|
||||
@ -76,6 +76,14 @@
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/unzip-&unzip-version;-security_fix-1.patch"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/unzip-&unzip-version;-security_fix-2.patch"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Optional patch: <ulink
|
||||
url="&patch-root;/unzip-5.50-alt-iconv-v1.1.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
@ -140,9 +148,9 @@
|
||||
<replaceable></path/to/unzipped/files></replaceable></userinput></screen>
|
||||
</blockquote>
|
||||
|
||||
<para>3) Apply this patch to unzip:
|
||||
<ulink url="https://bugzilla.altlinux.ru/attachment.cgi?id=532"/>.
|
||||
It will apply with some offsets.</para>
|
||||
<para>3) Apply the optional
|
||||
<filename>unzip-5.50-alt-iconv-v1.1.patch</filename> patch to unzip. It
|
||||
will apply with some offsets.</para>
|
||||
|
||||
<para>It allows to specify the assumed filename encoding in the ZIP
|
||||
archive using the <option>-O charset_name</option> option and the
|
||||
@ -163,10 +171,11 @@
|
||||
<title>Installation of UnZip</title>
|
||||
|
||||
<para>Note that if you applied the patch described above for locale issues,
|
||||
the required security patch will have some offsets. Now install
|
||||
the first required security patch will have some offsets. Now install
|
||||
<application>UnZip</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-security_fix-1.patch &&
|
||||
patch -Np1 -i ../unzip-&unzip-version;-security_fix-2.patch &&
|
||||
make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>.</para>
|
||||
|
@ -45,7 +45,11 @@
|
||||
<para>April 14th, 2008</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Add optional dependencies ro autofs.</para>
|
||||
<para>[bdubbs] - Add 2nd security patch to unzip. Also moved
|
||||
locale patch to BLFS repository.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Add optional dependencies to autofs.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user