From 18fd33b46962d5b3920363d0e6739f1f63a7f063 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 12 Oct 2011 21:34:45 +0000 Subject: Upgrade to Module-Init-Tools-3.16. Fixes #2882. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9629 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter01/whatsnew.xml | 7 +++++-- chapter03/patches.xml | 8 ++++++++ chapter06/module-init-tools.xml | 11 ++++++----- packages.ent | 6 +++--- patches.ent | 5 +++++ 6 files changed, 31 insertions(+), 10 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index abca98c2f..46dc49f01 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,10 @@ 2011-10-12 + + [matthew] - Upgrade to Module-Init-Tools-3.16. Fixes + #2882. + [matthew] - Upgrade to Glibc-2.14.1. Fixes #2940. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index c61ba28b5..e22426ae2 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -148,9 +148,9 @@ - + MPC &mpc-version; @@ -254,6 +254,9 @@ libpipeline-&libpipeline-version; + + &module-init-tools-man-patch; + &mpfr-fixes-patch; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index b100a5959..48bbc4034 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -131,6 +131,14 @@ + + Module Init Tools - &module-init-tools-man-patch-size;: + + Download: + MD5 sum: &module-init-tools-man-patch-md5; + + + MPFR Fixes Patch - &mpfr-fixes-patch-size;: diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml index 54fc310e2..aff6383c0 100644 --- a/chapter06/module-init-tools.xml +++ b/chapter06/module-init-tools.xml @@ -41,10 +41,10 @@ Installation of Module-Init-Tools - To avoid a problem with regenerating the man pages when not needed, - first rewrite a file that just points to another man page: + Apply a patch that contains the generated man pages that were missing + from the released source tarball: -echo '.so man5/modprobe.conf.5' > modprobe.d.5 +patch -Np1 -i ../&module-init-tools-man-patch; The test suite of this package is geared towards the needs of its Maintainer. The command make check builds a specially @@ -53,14 +53,15 @@ make clean command is required to clean up the source tree before recompiling for normal use): -./configure +DOCBOOKTOMAN=/bin/true ./configure make check +sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &@' tests/runtests ./tests/runtests make clean Prepare Module-Init-Tools for compilation: -./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man +DOCBOOKTOMAN=/bin/true ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man Compile the package: diff --git a/packages.ent b/packages.ent index 743769493..7291f89fa 100644 --- a/packages.ent +++ b/packages.ent @@ -375,10 +375,10 @@ - - + + - + diff --git a/patches.ent b/patches.ent index 4c602cc48..4b696c4a5 100644 --- a/patches.ent +++ b/patches.ent @@ -70,6 +70,11 @@ + + + + + -- cgit v1.2.3-54-g00ecf