Browse Source

Upgrade to Perl-5.12.0. Fixes #2635.

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

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
     <listitem>
       <para>2010-04-20</para>
       <para>2010-04-20</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] Upgrade to Perl-5.12.0.  Fixes
+          <ulink url="&lfs-ticket-root;2635">#2635</ulink>.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[matthew] Upgrade to Kbd-1.15.2.  Fixes
           <para>[matthew] Upgrade to Kbd-1.15.2.  Fixes
           <ulink url="&lfs-ticket-root;2634">#2634</ulink>.</para>
           <ulink url="&lfs-ticket-root;2634">#2634</ulink>.</para>

+ 5 - 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>-->
@@ -222,6 +222,9 @@
     <listitem>
     <listitem>
       <para>grep-2.5.4-debian_fixes-1.patch</para>
       <para>grep-2.5.4-debian_fixes-1.patch</para>
     </listitem>
     </listitem>
+    <listitem>
+      <para>perl-5.10.1-utf8-1.patch</para>
+    </listitem>
     <listitem>
     <listitem>
       <para>vim-7.2-fixes-5.patch</para>
       <para>vim-7.2-fixes-5.patch</para>
     </listitem>
     </listitem>

+ 0 - 15
chapter03/patches.xml

@@ -147,21 +147,6 @@
       </listitem>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 
-    <varlistentry>
-      <term>Perl UTF8 Patch - <token>&perl-utf8-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&perl-utf8-patch;"/></para>
-        <para>MD5 sum: <literal>&perl-utf8-patch-md5;</literal></para>
-      </listitem>
-    </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 Watch Patch - <token>&procps-watch-patch-size;</token>:</term>
       <term>Procps Watch Patch - <token>&procps-watch-patch-size;</token>:</term>

+ 2 - 2
chapter05/perl.xml

@@ -54,11 +54,11 @@
 sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen> -->
 sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen> -->
 
 
     <para>Prepare Perl for compilation (make sure to get the
     <para>Prepare Perl for compilation (make sure to get the
-    'Data/Dumper Fcntl IO POSIX' part of the command correct&mdash;they are all
+    'Data/Dumper Fcntl IO' part of the command correct&mdash;they are all
     letters):</para>
     letters):</para>
 
 
 <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools \
 <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools \
-                  -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen>
+                  -Dstatic_ext='Data/Dumper Fcntl IO'</userinput></screen>
 
 
     <variablelist>
     <variablelist>
       <title>The meaning of the configure options:</title>
       <title>The meaning of the configure options:</title>

+ 1 - 6
chapter06/perl.xml

@@ -47,11 +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>Fix a problem where invalid utf-8 characters cause a segmentation 
-    fault:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&perl-utf8-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
@@ -60,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>
+    cpan/Compress-Raw-Zlib/config.in</userinput></screen>
 
 
     <para>To have full control over the way Perl is set up, you can remove the
     <para>To have full control over the way Perl is set up, you can remove the
     <quote>-des</quote> options from the following command and hand-pick the way
     <quote>-des</quote> options from the following command and hand-pick the way

+ 3 - 3
packages.ent

@@ -394,10 +394,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.1">
-<!ENTITY perl-size "11,336 KB">
+<!ENTITY perl-version "5.12.0">
+<!ENTITY perl-size "12,016 KB">
 <!ENTITY perl-url "http://cpan.org/src/5.0/perl-&perl-version;.tar.bz2">
 <!ENTITY perl-url "http://cpan.org/src/5.0/perl-&perl-version;.tar.bz2">
-<!ENTITY perl-md5 "82400c6d34f7b7b43d0196c76cd2bbb1">
+<!ENTITY perl-md5 "3e15696f4160775a90f6b2fb3ccc98c2">
 <!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">

+ 0 - 4
patches.ent

@@ -76,10 +76,6 @@
 <!ENTITY perl-libc-patch-md5 "800dfd3c9618731ee5cf57f77a7942b4">
 <!ENTITY perl-libc-patch-md5 "800dfd3c9618731ee5cf57f77a7942b4">
 <!ENTITY perl-libc-patch-size "1 KB">
 <!ENTITY perl-libc-patch-size "1 KB">
 
 
-<!ENTITY perl-utf8-patch "perl-&perl-version;-utf8-1.patch">
-<!ENTITY perl-utf8-patch-md5 "f0c8a66598708bd7def8e85eed82bb95">
-<!ENTITY perl-utf8-patch-size "8 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">
 <!ENTITY procps-watch-patch-size "3.5 KB">
 <!ENTITY procps-watch-patch-size "3.5 KB">