Procházet zdrojové kódy

Add a security patch for Perl. Fixes #2963.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess před 13 roky
rodič
revize
24b4230df8
5 změnil soubory, kde provedl 21 přidání a 1 odebrání
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/perl.xml
  5. 4 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
     <listitem>
       <para>2011-11-25</para>
       <para>2011-11-25</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add a patch to fix a security vulnerability in Perl.
+          Fixes <ulink url="&lfs-ticket-root;2963">#2963</ulink>.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[matthew] - Upgrade to GDBM-1.10. Fixes
           <para>[matthew] - Upgrade to GDBM-1.10. Fixes
           <ulink url="&lfs-ticket-root;2962">#2962</ulink>.</para>
           <ulink url="&lfs-ticket-root;2962">#2962</ulink>.</para>

+ 1 - 1
chapter01/whatsnew.xml

@@ -229,7 +229,7 @@
     <title>Added:</title>
     <title>Added:</title>
 
 
     <listitem>
     <listitem>
-      <para>PLACEHOLDER</para>
+      <para>&perl-security-patch;</para>
     </listitem>
     </listitem>
 
 
   </itemizedlist>-->
   </itemizedlist>-->

+ 8 - 0
chapter03/patches.xml

@@ -147,6 +147,14 @@
       </listitem>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 
+    <varlistentry>
+      <term>Perl Security Patch - <token>&perl-security-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&perl-security-patch;"/></para>
+        <para>MD5 sum: <literal>&perl-security-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
 
 
     <varlistentry>
     <varlistentry>
       <term>Procps HZ Errors Patch - <token>&procps-hz_fixes-patch-size;</token>:</term>
       <term>Procps HZ Errors Patch - <token>&procps-hz_fixes-patch-size;</token>:</term>

+ 4 - 0
chapter06/perl.xml

@@ -47,6 +47,10 @@
 
 
 <screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
 <screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
 
 
+    <para>Apply a patch to fix a security vulnerability in Perl:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&perl-security-patch;</userinput></screen>
+
     <para>This version of Perl now builds the Compress::Raw::Zlib module. By
     <para>This version of Perl now builds the Compress::Raw::Zlib module. By
     default Perl will use an internal copy of the Zlib source for the build.
     default Perl will use an internal copy of the Zlib source for the build.
     Issue the following command so that Perl will use the Zlib library
     Issue the following command so that Perl will use the Zlib library

+ 4 - 0
patches.ent

@@ -80,6 +80,10 @@
 <!ENTITY perl-libc-patch-md5 "23682f20b6785e97f99d33be7719c9d6">
 <!ENTITY perl-libc-patch-md5 "23682f20b6785e97f99d33be7719c9d6">
 <!ENTITY perl-libc-patch-size "1 KB">
 <!ENTITY perl-libc-patch-size "1 KB">
 
 
+<!ENTITY perl-security-patch "perl-&perl-version;-security_fix-1.patch">
+<!ENTITY perl-security-patch-md5 "7fa3e7e11fecf9d75f65452d700c3dd5">
+<!ENTITY perl-security-patch-size "1 KB">
+
 
 
 <!ENTITY procps-hz_fixes-patch "procps-&procps-version;-fix_HZ_errors-1.patch">
 <!ENTITY procps-hz_fixes-patch "procps-&procps-version;-fix_HZ_errors-1.patch">
 <!ENTITY procps-hz_fixes-patch-md5 "2ea4c8e9a2c2a5a291ec63c92d7c6e3b">
 <!ENTITY procps-hz_fixes-patch-md5 "2ea4c8e9a2c2a5a291ec63c92d7c6e3b">