From e6c8119c856fd132496ee137167ce16d90baddbf Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Thu, 25 May 2006 14:01:00 +0000 Subject: [PATCH] Fixed generation of diff's man page, fixes #1800. Thanks Randy McMurchy for the report and Ken Moffat for the fix. Also, some slight wording adjustments on the Shadow page. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7627 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 +++++++++++ chapter06/diffutils.xml | 8 ++++++++ chapter06/shadow.xml | 3 +-- general.ent | 4 ++-- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 15cff052b..df58d95fc 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,17 @@ --> + + May 25, 2006 + + + [jhuntwork] - Fixed generation of diff's man page. + Thanks Randy McMurchy for the report and Ken Moffat for the fix. + Fixes #1800. + + + + May 22, 2006 diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml index 3c55e77b6..855c7d418 100644 --- a/chapter06/diffutils.xml +++ b/chapter06/diffutils.xml @@ -41,6 +41,14 @@ patch -Np1 -i ../&diffutils-i18n-patch; + The above patch will cause the Diffutils build system to attempt to + rebuild the diff.1 man page using the unavailable + program help2man. The result is an unreadable man page for + diff. We can avoid this by updating the timestamp on + the file man/diff.1: + +touch man/diff.1 + Prepare Diffutils for compilation: ./configure --prefix=/usr diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 626335673..cb606490b 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -131,8 +131,7 @@ convert-mans UTF-8 ISO-8859-9 man/tr/*.? etc/login.defs > /etc/login.defs - If you built Shadow with Cracklib support, insert the following into - the sed given below: + If you built Shadow with Cracklib support, run the following: sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs diff --git a/general.ent b/general.ent index 90c227a11..fa91dbb83 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +