Browse Source

Upgrade to Perl-5.10.1. Fixes #2479.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9060 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 16 years ago
parent
commit
352e6fc5aa
7 changed files with 20 additions and 33 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 3 3
      chapter03/patches.xml
  4. 3 3
      chapter05/perl.xml
  5. 1 18
      chapter06/perl.xml
  6. 4 4
      packages.ent
  7. 3 3
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
     <listitem>
       <para>2009-08-26</para>
       <para>2009-08-26</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] Upgraded to Perl-5.10.1. Fixes
+          <ulink url="&lfs-ticket-root;2479">#2479</ulink>.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[matthew] Upgraded to Linux-2.6.30.5. Fixes
           <para>[matthew] Upgraded to Linux-2.6.30.5. Fixes
           <ulink url="&lfs-ticket-root;2475">#2475</ulink>.</para>
           <ulink url="&lfs-ticket-root;2475">#2475</ulink>.</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -148,9 +148,9 @@
     <!--<listitem>
     <!--<listitem>
       <para>Patch &patch-version;</para>
       <para>Patch &patch-version;</para>
     </listitem>-->
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Perl &perl-version;</para>
       <para>Perl &perl-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
     <!--<listitem>
       <para>Procps &procps-version;</para>
       <para>Procps &procps-version;</para>
     </listitem>-->
     </listitem>-->

+ 3 - 3
chapter03/patches.xml

@@ -163,10 +163,10 @@
     </varlistentry> -->
     </varlistentry> -->
 
 
     <varlistentry>
     <varlistentry>
-      <term>Perl Consolidated Patch - <token>&perl-consolidated-patch-size;</token>:</term>
+      <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>
       <listitem>
-        <para>Download: <ulink url="&patches-root;&perl-consolidated-patch;"/></para>
-        <para>MD5 sum: <literal>&perl-consolidated-patch-md5;</literal></para>
+        <para>Download: <ulink url="&patches-root;&perl-libc-patch;"/></para>
+        <para>MD5 sum: <literal>&perl-libc-patch-md5;</literal></para>
       </listitem>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 

+ 3 - 3
chapter05/perl.xml

@@ -43,10 +43,10 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Perl</title>
     <title>Installation of Perl</title>
 
 
-    <para>First apply the following patch to address security issues and adapt
-    some hard-wired paths to the C library:</para>
+    <para>First apply the following patch to adapt some hard-wired paths to the
+    C library:</para>
 
 
-<screen><userinput remap="pre">patch -Np1 -i ../&perl-consolidated-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
 
 
     <!-- <para>Fix an incompatibility with gcc-&gcc-version;:</para>
     <!-- <para>Fix an incompatibility with gcc-&gcc-version;:</para>
 
 

+ 1 - 18
chapter06/perl.xml

@@ -47,23 +47,6 @@
 
 
 <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>The following patch fixes known vulnerabilities and other issues
-    identified by the developers:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&perl-consolidated-patch;</userinput></screen>
-
-    <!-- <para>The following patch fixes an incompatibility with
-    Glibc-&glibc-version;:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&perl-page-patch;</userinput></screen>
-    -->
-
-    <!-- Confirmed that this is not required any longer
-    <para>Fix an incompatibility with gcc-&gcc-version;:</para>
-
-<screen><userinput remap="pre">sed -i 's/command /command[ -]/' makedepend.SH</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
@@ -72,7 +55,7 @@
 <screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"           \
 <screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"           \
        -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
        -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
        -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
        -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
-    ext/Compress/Raw/Zlib/config.in</userinput></screen>
+    ext/Compress-Raw-Zlib/config.in</userinput></screen>
 
 
     <para>To have full control over the way Perl is set up, you can run the
     <para>To have full control over the way Perl is set up, you can run the
     interactive <command>Configure</command> script and hand-pick the way this
     interactive <command>Configure</command> script and hand-pick the way this

+ 4 - 4
packages.ent

@@ -398,10 +398,10 @@
 <!ENTITY patch-ch6-du "1.9 MB">
 <!ENTITY patch-ch6-du "1.9 MB">
 <!ENTITY patch-ch6-sbu "less than 0.1 SBU">
 <!ENTITY patch-ch6-sbu "less than 0.1 SBU">
 
 
-<!ENTITY perl-version "5.10.0">
-<!ENTITY perl-size "15,230 KB">
-<!ENTITY perl-url "http://cpan.org/src/perl-&perl-version;.tar.gz">
-<!ENTITY perl-md5 "d2c39b002ebfd2c3c5dba589365c5a71">
+<!ENTITY perl-version "5.10.1">
+<!ENTITY perl-size "11,336 KB">
+<!ENTITY perl-url "http://cpan.org/src/perl-&perl-version;.tar.bz2">
+<!ENTITY perl-md5 "82400c6d34f7b7b43d0196c76cd2bbb1">
 <!ENTITY perl-home "http://cpan.org/">
 <!ENTITY perl-home "http://cpan.org/">
 <!ENTITY perl-ch5-du "106 MB">
 <!ENTITY perl-ch5-du "106 MB">
 <!ENTITY perl-ch5-sbu "0.8 SBU">
 <!ENTITY perl-ch5-sbu "0.8 SBU">

+ 3 - 3
patches.ent

@@ -84,9 +84,9 @@
 <!ENTITY patch-fixes-patch-size "1.7 KB">
 <!ENTITY patch-fixes-patch-size "1.7 KB">
 
 
 
 
-<!ENTITY perl-consolidated-patch "perl-&perl-version;-consolidated-1.patch">
-<!ENTITY perl-consolidated-patch-md5 "d1bcffb5d671bd659f7ca5c451a0c752">
-<!ENTITY perl-consolidated-patch-size "7.1 KB">
+<!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
+<!ENTITY perl-libc-patch-md5 "c463ad3abf6304392e5d635ed5dd627b">
+<!ENTITY perl-libc-patch-size "1 KB">
 
 
 <!ENTITY procps-watch-patch "procps-&procps-version;-watch_unicode-1.patch">
 <!ENTITY procps-watch-patch "procps-&procps-version;-watch_unicode-1.patch">
 <!ENTITY procps-watch-patch-md5 "cd1a757e532d93662a7ed71da80e6b58">
 <!ENTITY procps-watch-patch-md5 "cd1a757e532d93662a7ed71da80e6b58">