Ver Fonte

Added a patch to Berkeley DB to avoid potential program traps.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7709 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs há 19 anos atrás
pai
commit
0c9cfb0d9f
5 ficheiros alterados com 28 adições e 2 exclusões
  1. 10 0
      chapter01/changelog.xml
  2. 8 0
      chapter03/patches.xml
  3. 4 0
      chapter06/db.xml
  4. 2 2
      chapter08/kernel.xml
  5. 4 0
      patches.ent

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+
+    <listitem>
+      <para>July 29, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Added a patch to Berkeley DB to
+          avoid potential program traps.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
     
     <listitem>
       <para>July 21, 2006</para>

+ 8 - 0
chapter03/patches.xml

@@ -66,6 +66,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Database (Berkeley) Trap Patch - <token>&db-trap-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&db-trap-patch;"/></para>
+        <para>MD5 sum: <literal>&db-trap-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Diffutils Internationalization Fixes Patch - <token>&diffutils-i18n-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter06/db.xml

@@ -55,6 +55,10 @@
   <sect2 role="installation">
     <title>Installation of Berkeley DB</title>
 
+    <para>Patch the package to eliminate potential trap events:</para>
+ 
+<screen><userinput>patch -Np0 -i ../&db-trap-patch;</userinput></screen>
+
     <para>Prepare Berkeley DB for compilation:</para>
 
 <screen><userinput>cd build_unix &amp;&amp;

+ 2 - 2
chapter08/kernel.xml

@@ -117,8 +117,8 @@
 
     <para>Install the documentation for the Linux kernel:</para>
 
-<screen>install -d /usr/share/doc/linux-&linux-version; &amp;&amp;
-cp -r Documentation/* /usr/share/doc/linux-&linux-version;</screen>
+<screen><userinput>install -d /usr/share/doc/linux-&linux-version; &amp;&amp;
+cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
 
     <para>It is important to note that the files in the kernel source
     directory are not owned by <emphasis>root</emphasis>. Whenever a

+ 4 - 0
patches.ent

@@ -28,6 +28,10 @@
 <!ENTITY coreutils-uname-patch-size "4.6 KB">
 
 
+<!ENTITY db-trap-patch "db-&db-version;-trap-1.patch">
+<!ENTITY db-trap-patch-md5 "fb8cd6be418eac24b1916c53080ce1f3">
+<!ENTITY db-trap-patch-size "1.7 KB">
+
 <!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
 <!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
 <!ENTITY diffutils-i18n-patch-size "18 KB">