[lfs-book] r9867 - in trunk/BOOK: . chapter01 chapter03 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Wed May 30 12:38:12 PDT 2012


Author: matthew
Date: 2012-05-30 13:38:07 -0600 (Wed, 30 May 2012)
New Revision: 9867

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/bzip2.xml
   trunk/BOOK/chapter06/ncurses.xml
   trunk/BOOK/chapter06/shadow.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent
Log:
Correct the location of various package's man pages. Fixes #3097.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter01/changelog.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -40,6 +40,10 @@
       <para>2012-05-30</para>
       <itemizedlist>
          <listitem>
+           <para>[matthew] - Correct the location of various package's man
+           pages. Fixes <ulink url="&lfs-ticket-root;3097">#3097</ulink>.</para>
+         </listitem>
+         <listitem>
            <para>[matthew] - Upgrade to Util-Linux-2.21.2. Fixes
            <ulink url="&lfs-ticket-root;3100">#3100</ulink>.</para>
          </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter01/whatsnew.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -169,9 +169,9 @@
     <!--<listitem>
       <para>Sed &sed-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Shadow &shadow-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Sysklogd &sysklogd-version;</para>
     </listitem>-->
@@ -300,6 +300,10 @@
       <para>perl-5.14.2-security-1.patch</para>
     </listitem>
 
+    <listitem>
+      <para>shadow-4.1.5-nscd-1.patch</para>
+    </listitem>
+
   </itemizedlist>
 
 </sect1>

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter03/patches.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -163,14 +163,6 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
-      <term>Shadow nscd Patch - <token>&shadow-nscd-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&shadow-nscd-patch;"/></para>
-        <para>MD5 sum: <literal>&shadow-nscd-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
     <!--<varlistentry>
       <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term>
       <listitem>

Modified: trunk/BOOK/chapter06/bzip2.xml
===================================================================
--- trunk/BOOK/chapter06/bzip2.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter06/bzip2.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -51,6 +51,10 @@
 
 <screen><userinput remap="pre">sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile</userinput></screen>
 
+    <para>Ensure the man pages are installed into the correct location:</para>
+
+<screen><userinput remap="pre">sed -i "s@(PREFIX)/man@(PREFIX)/share/man at g" Makefile</userinput></screen>
+
     <para>Prepare Bzip2 for compilation with:</para>
 
 <screen><userinput remap="make">make -f Makefile-libbz2_so

Modified: trunk/BOOK/chapter06/ncurses.xml
===================================================================
--- trunk/BOOK/chapter06/ncurses.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter06/ncurses.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -53,7 +53,8 @@
 
     <para>Prepare Ncurses for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr --with-shared --without-debug --enable-widec</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --with-shared \
+            --without-debug --enable-widec</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure option:</title>

Modified: trunk/BOOK/chapter06/shadow.xml
===================================================================
--- trunk/BOOK/chapter06/shadow.xml	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/chapter06/shadow.xml	2012-05-30 19:38:07 UTC (rev 9867)
@@ -49,12 +49,6 @@
       command below.</para>
     </note>
 
-    <para>Apply a patch to fix an issue when running various programs from this
-    package when they are used when the <command>nscd</command> daemon is not
-    running:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&shadow-nscd-patch;</userinput></screen>
-
     <para>Disable the installation of the <command>groups</command> program
     and its man pages, as Coreutils provides a better version:</para>
 

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/packages.ent	2012-05-30 19:38:07 UTC (rev 9867)
@@ -463,10 +463,10 @@
 <!ENTITY sed-ch6-du "8.3 MB">
 <!ENTITY sed-ch6-sbu "0.2 SBU">
 
-<!ENTITY shadow-version "4.1.5">
-<!ENTITY shadow-size "2,105 KB">
+<!ENTITY shadow-version "4.1.5.1">
+<!ENTITY shadow-size "2,142 KB">
 <!ENTITY shadow-url "http://pkg-shadow.alioth.debian.org/releases/shadow-&shadow-version;.tar.bz2">
-<!ENTITY shadow-md5 "d5f7a588fadb79faeb4b08b1eee82e9a">
+<!ENTITY shadow-md5 "a00449aa439c69287b6d472191dc2247">
 <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
 <!ENTITY shadow-ch6-du "30 MB">
 <!ENTITY shadow-ch6-sbu "0.3 SBU">

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2012-05-30 19:35:17 UTC (rev 9866)
+++ trunk/BOOK/patches.ent	2012-05-30 19:38:07 UTC (rev 9867)
@@ -99,11 +99,6 @@
 <!ENTITY readline-fixes-patch-size "1.3 KB">
 
 
-<!ENTITY shadow-nscd-patch "shadow-&shadow-version;-nscd-1.patch">
-<!ENTITY shadow-nscd-patch-md5 "6fd6a209c1aa623bad913fcff20b7d8e">
-<!ENTITY shadow-nscd-patch-size "1.1 KB">
-
-
 <!ENTITY tar-overflow-patch "tar-&tar-version;-overflow_fix-1.patch">
 <!ENTITY tar-overflow-patch-md5 "1912ec36d2a0e2b96678651cf583ce6f">
 <!ENTITY tar-overflow-patch-size "1.7 KB"> 




More information about the lfs-book mailing list