Author: bdubbs
Date: 2008-10-29 23:35:58 -0600 (Wed, 29 Oct 2008)
New Revision: 8718

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter05/perl.xml
   trunk/BOOK/chapter06/perl.xml
   trunk/BOOK/general.ent
   trunk/BOOK/patches.ent
Log:
Fixed perl configuration so it knows the vendor library location.
Changes perl patches to a single consolidated patch with security and other 
fixes

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-30 05:35:58 UTC (rev 8718)
@@ -37,6 +37,17 @@
 
 -->
     <listitem>
+      <para>2008-10-30</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Added a consolidated patch to perl to address 
security 
+                                       and othe rissues.  Canged the configure 
options for perl to define
+                                       a venor library location.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2008-10-29</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml   2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/chapter01/whatsnew.xml   2008-10-30 05:35:58 UTC (rev 8718)
@@ -278,17 +278,21 @@
       <para>MPFR-&mpfr-version;</para>
     </listitem>
 
-    <listitem>
+    <!--<listitem>
       <para>&perl-libc-patch;</para>
     </listitem>
 
     <listitem>
       <para>&perl-page-patch;</para>
-    </listitem>
+    </listitem> -->
 
     <listitem>
+      <para>&perl-consolidated-patch;</para>
+    </listitem> 
+
+    <!--<listitem>
       <para>&perl-security-patch;</para>
-    </listitem>
+    </listitem>-->
 
     <listitem>
       <para>&procps-watch-patch;</para>

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml    2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/chapter03/patches.xml    2008-10-30 05:35:58 UTC (rev 8718)
@@ -202,15 +202,23 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <!-- <varlistentry>
       <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&perl-libc-patch;"/></para>
         <para>MD5 sum: <literal>&perl-libc-patch-md5;</literal></para>
       </listitem>
+    </varlistentry> -->
+
+    <varlistentry>
+      <term>Perl Consolidated Patch - 
<token>&perl-consolidated-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink 
url="&patches-root;&perl-consolidated-patch;"/></para>
+        <para>MD5 sum: <literal>&perl-consolidated-patch-md5;</literal></para>
+      </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <!-- <varlistentry>
       <term>Perl Page Patch - <token>&perl-page-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&perl-page-patch;"/></para>
@@ -224,7 +232,7 @@
         <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>

Modified: trunk/BOOK/chapter05/perl.xml
===================================================================
--- trunk/BOOK/chapter05/perl.xml       2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/chapter05/perl.xml       2008-10-30 05:35:58 UTC (rev 8718)
@@ -43,10 +43,10 @@
   <sect2 role="installation">
     <title>Installation of Perl</title>
 
-    <para>First adapt some hard-wired paths to the C library by applying
-    the following patch:</para>
+    <para>First apply a series of patches to address security issues and adapt 
some 
+               hard-wired paths to the C library by applying the following 
patch:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i 
../&perl-libc-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i 
../&perl-consolidated-patch;</userinput></screen>
 
     <!-- <para>Fix an incompatibility with gcc-&gcc-version;:</para>
 
@@ -57,7 +57,8 @@
     'Data/Dumper Fcntl IO POSIX' part of the command correct&mdash;they are all
     letters):</para>
 
-<screen><userinput remap="configure">./configure.gnu --prefix=/tools 
-Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen>
+<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools \
+                  -Dstatic_ext='Data/Dumper Fcntl IO 
POSIX'</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>

Modified: trunk/BOOK/chapter06/perl.xml
===================================================================
--- trunk/BOOK/chapter06/perl.xml       2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/chapter06/perl.xml       2008-10-30 05:35:58 UTC (rev 8718)
@@ -47,14 +47,16 @@
 
 <screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; 
/etc/hosts</userinput></screen>
 
-    <para>The following patch fixes known vulnerabilities:</para>
+    <para>The following patch fixes known vulnerabilities and other issues
+               identified by the developers:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i 
../&perl-security-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i 
../&perl-consolidated-patch;</userinput></screen>
 
-    <para>The following patch fixes an incompatibility with
+    <!-- <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>
@@ -77,15 +79,24 @@
     package is built. If you prefer, you can use the defaults that Perl
     auto-detects, by preparing Perl for compilation with:</para>
 
-<screen><userinput remap="configure">./configure.gnu --prefix=/usr \
-    -Dman1dir=/usr/share/man/man1 \
-    -Dman3dir=/usr/share/man/man3 \
-    -Dpager="/usr/bin/less -isR"</userinput></screen>
+<screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \
+                  -Dvendorprefix=/usr           \
+                  -Dman1dir=/usr/share/man/man1 \
+                  -Dman3dir=/usr/share/man/man3 \
+                  -Dpager="/usr/bin/less -isR"</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
 
       <varlistentry>
+        <term><parameter>-Dvendorprefix=/usr</parameter></term>
+        <listitem>
+          <para>This ensures <command>perl</command> knows how to
+          tell packages where they should install their perl modules.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
         <listitem>
           <para>This corrects an error in the way that 
<command>perldoc</command>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/general.ent      2008-10-30 05:35:58 UTC (rev 8718)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20081029">
-<!ENTITY releasedate "October 28, 2009">
+<!ENTITY version "SVN-20081030">
+<!ENTITY releasedate "October 30, 2009">
 <!ENTITY copyrightdate "1999-2008"><!-- jhalfs needs a literal dash, not 
&ndash; -->
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent      2008-10-29 03:38:42 UTC (rev 8717)
+++ trunk/BOOK/patches.ent      2008-10-30 05:35:58 UTC (rev 8718)
@@ -113,19 +113,10 @@
 <!ENTITY ncurses-coverity-patch-size "16.8 KB">
 
 
-<!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
-<!ENTITY perl-libc-patch-md5 "3bf8aef1fb6eb6110405e699e4141f99">
-<!ENTITY perl-libc-patch-size "1.1 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-page-patch "perl-&perl-version;-page-1.patch">
-<!ENTITY perl-page-patch-md5 "16abf98d92d896601250ca610243cdf5">
-<!ENTITY perl-page-patch-size "0.7 KB">
-
-<!ENTITY perl-security-patch "perl-&perl-version;-security_fix-1.patch">
-<!ENTITY perl-security-patch-md5 "4b1384ba595abd070824c2519d1d3176">
-<!ENTITY perl-security-patch-size "0.8 KB">
-
-
 <!ENTITY procps-watch-patch "procps-&procps-version;-watch_unicode-1.patch">
 <!ENTITY procps-watch-patch-md5 "2e5b57608177bd54349c718db9b5843d">
 <!ENTITY procps-watch-patch-size "3.6 KB">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to