diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2006-07-30 02:11:20 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2006-07-30 02:11:20 +0000 |
commit | 0c9cfb0d9febed7b2c0d36c5a69f93385deba7a4 (patch) | |
tree | 9c04a91641d333cb93fa96045985fbe6eef77d28 | |
parent | 30fde72d667c95b293e6d0b0f5bb33808dfccece (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 10 | ||||
-rw-r--r-- | chapter03/patches.xml | 8 | ||||
-rw-r--r-- | chapter06/db.xml | 4 | ||||
-rw-r--r-- | chapter08/kernel.xml | 4 | ||||
-rw-r--r-- | patches.ent | 4 |
5 files changed, 28 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9bc4a6cf8..fac719ab7 100644 --- a/chapter01/changelog.xml +++ b/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> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index bdd6dc8a7..9cb8714f0 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -67,6 +67,14 @@ </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> <para>Download: <ulink url="&patches-root;&diffutils-i18n-patch;"/></para> diff --git a/chapter06/db.xml b/chapter06/db.xml index 367f85e65..7f16b8317 100644 --- a/chapter06/db.xml +++ b/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 && diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index afb2df34b..7a39de32d 100644 --- a/chapter08/kernel.xml +++ b/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; && -cp -r Documentation/* /usr/share/doc/linux-&linux-version;</screen> +<screen><userinput>install -d /usr/share/doc/linux-&linux-version; && +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 diff --git a/patches.ent b/patches.ent index b35922aee..d01d5bd46 100644 --- a/patches.ent +++ b/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"> |