Author: bdubbs
Date: 2007-01-14 14:26:28 -0700 (Sun, 14 Jan 2007)
New Revision: 6398
Modified:
trunk/BOOK/general/sysutils/unzip.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added security patch to unzip
Modified: trunk/BOOK/general/sysutils/unzip.xml
===================================================================
--- trunk/BOOK/general/sysutils/unzip.xml 2007-01-14 20:42:17 UTC (rev
6397)
+++ trunk/BOOK/general/sysutils/unzip.xml 2007-01-14 21:26:28 UTC (rev
6398)
@@ -66,6 +66,14 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing='compact'>
+ <listitem>
+ <para>Required patch: <ulink
+ url="&patch-root;/unzip-&unzip-version;-security_fix-1.patch"/></para>
+ </listitem>
+ </itemizedlist>
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/unzip"/></para>
@@ -128,7 +136,8 @@
</blockquote>
<para>3) Apply this patch to unzip:
- <ulink url="https://bugzilla.altlinux.ru/attachment.cgi?id=532"/></para>
+ <ulink url="https://bugzilla.altlinux.ru/attachment.cgi?id=532"/>.
+ 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
@@ -148,10 +157,12 @@
<sect2 role="installation">
<title>Installation of UnZip</title>
- <para>Install <application>UnZip</application> by running the following
- commands:</para>
+ <para>Note that if you applied the patch described above for locale issues,
+ the required security patch will have some offsets. Now install
+ <application>UnZip</application> by running the following commands:</para>
-<screen><userinput>make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64
linux</userinput></screen>
+<screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-security_fix-1.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>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2007-01-14 20:42:17 UTC
(rev 6397)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2007-01-14 21:26:28 UTC
(rev 6398)
@@ -45,6 +45,9 @@
<para>January 14th, 2007</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Added security patch to unzip.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Updated patch in ed to correct an error.
Thanks to Tyler Berry.</para>
</listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page