ソースを参照

Added Vim Security Vulnerability patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4471 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 20 年 前
コミット
008a51dd95
4 ファイル変更16 行追加2 行削除
  1. 3 0
      chapter01/changelog.xml
  2. 6 0
      chapter03/patches.xml
  3. 5 0
      chapter06/vim.xml
  4. 2 2
      general.ent

+ 3 - 0
chapter01/changelog.xml

@@ -39,6 +39,7 @@ of the LFS Book.</para>
 <itemizedlist>
 <listitem><para>util-linux-2.12p-cramfs-1.patch</para></listitem>
 <listitem><para>linux-2.6.10-security_fix-1.patch</para></listitem>
+<listitem><para>vim-6.3-security_fix-1.patch</para></listitem>
 </itemizedlist>
 </listitem>
 
@@ -48,6 +49,8 @@ of the LFS Book.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>December 30th, 2004 [jeremy]: Added Vim security vulnerability patch - Thanks Matt</para></listitem>
+
 <listitem><para>December 30th, 2004 [jeremy]: Added Linux kernel security vulnerability fix into chapter 8</para></listitem>
 
 <listitem><para>December 30th, 2004 [jeremy]: Upgrade Bison to version 2.0</para></listitem>

+ 6 - 0
chapter03/patches.xml

@@ -154,6 +154,12 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Vim Security Patch - 8KB:</term><listitem>
+<para><ulink url="&patches-root;vim-&vim-version;-security_fix-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 </variablelist>
 
 <!--

+ 5 - 0
chapter06/vim.xml

@@ -27,6 +27,11 @@
 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h
 echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h</userinput></screen>
 
+<para>Vim has a security vulnerability already addressed upstream.  The
+following patch fixes the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../vim-&vim-version;-security_fix-1.patch</userinput></screen>
+
 <para>Now prepare Vim for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20041225">
-<!ENTITY releasedate "December 25, 2004">
+<!ENTITY version "SVN-20041230">
+<!ENTITY releasedate "December 30, 2004">
 <!ENTITY milestone "6.1">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">