From 102c4bb675eb4b18e4be2719cad4b4b43a7d4e91 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Tue, 25 Aug 2015 21:13:13 +0000 Subject: [PATCH] Add an upstream patch for MPFR. Update to libpipeline-1.4.1. Update to linux-4.1.6. Update to man-db-2.7.2. Add a patch to allow glibc to build properly on i386 systems. Remove obsolete r* programs from inetutils. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 24 +++++++++++++++++ chapter01/whatsnew.xml | 15 ++++++++--- chapter03/patches.xml | 19 +++++++++---- chapter05/glibc.xml | 4 +++ chapter06/glibc.xml | 4 +++ chapter06/inetutils.xml | 54 ++++++++++--------------------------- chapter06/mpfr.xml | 6 ++--- chapter06/revisedchroot.xml | 2 +- general.ent | 4 +-- packages.ent | 16 +++++------ patches.ent | 30 +++++---------------- 11 files changed, 92 insertions(+), 86 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f764ee67c..d838bb3fb 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,30 @@ --> + + 2015-08-25 + + + [renodr] - Add an upstream patch for MPFR. + + + [renodr] - Update to libpipeline-1.4.1. + + + [renodr] - Update to linux-4.1.6. + + + [renodr] - Update to man-db-2.7.2. + + + [renodr] - Add a patch to allow glibc to build properly on i386 systems. + + + [renodr] - Remove obsolete r* programs from inetutils. + + + + 2015-08-19 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index e7bd21459..0906688ea 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -139,9 +139,9 @@ - + @@ -154,9 +154,9 @@ - + Man-pages &man-pages-version; @@ -246,6 +246,13 @@ &gcc-upstream-patch; --> + + &glibc-upstream-patch; + + + + &mpfr-upstream-patch; + &systemd-compat-patch; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 57f21aeae..885570743 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -57,6 +57,14 @@ + + Glibc i386 Patch - &glibc-upstream-patch-size;: + + Download: + MD5 sum: &glibc-upstream-patch-md5; + + + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: @@ -64,13 +72,14 @@ MD5 sum: &kbd-backspace-patch-md5; - - + Readline Upstream Fixes Patch - &readline-fixes-patch-size;: diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index ecbefa16a..34a372434 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,6 +43,10 @@ Installation of Glibc + First, fix a build problem that affects i386 systems: + +patch -Np1 -i ../&glibc-upstream-patch; + The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index f1c1a68d1..d313c39e4 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -66,6 +66,10 @@ Glibc autoconf tests would give false results and defeat the goal of achieving a clean build. + Now, fix a build problem that affects i386 systems: + +patch -Np1 -i ../&glibc-upstream-patch; + The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml index 84fffedca..95a846326 100644 --- a/chapter06/inetutils.xml +++ b/chapter06/inetutils.xml @@ -51,11 +51,25 @@ --localstatedir=/var \ --disable-logger \ --disable-whois \ + --disable-rcp \ + --disable-rexec \ + --disable-rlogin \ + --disable-rsh \ --disable-servers The meaning of the configure options: + + --disable-r* + + These parameters disable building obsolete programs that should + not be used due to security issues. The functions provided by these + programs can be provided by the openssh + package in the BLFS book. + + + --disable-logger @@ -179,46 +193,6 @@ mv -v /usr/bin/ifconfig /sbin - - rcp - - Performs remote file copy - - rcp - - - - - - rexec - - Executes commands on a remote host - - rexec - - - - - - rlogin - - Performs remote login - - rlogin - - - - - - rsh - - Runs a remote shell - - rsh - - - - talk diff --git a/chapter06/mpfr.xml b/chapter06/mpfr.xml index 597df4d65..8da91cb47 100644 --- a/chapter06/mpfr.xml +++ b/chapter06/mpfr.xml @@ -40,12 +40,12 @@ Installation of MPFR - +patch -Np1 -i ../&mpfr-upstream-patch; + Prepare MPFR for compilation: ./configure --prefix=/usr \ diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml index 32a86a251..25332ba0e 100644 --- a/chapter06/revisedchroot.xml +++ b/chapter06/revisedchroot.xml @@ -41,7 +41,7 @@ linkend="ch-system-bindmount"/> and . - Finally, thre were several static libraries that were not supressed earlier + Finally, there were several static libraries that were not supressed earlier in the chapter in order to satisfy the regression tests in several packages. These libraries are from binutils, bzip2, e2fsprogs, libtool, and zlib. If desired, remove them now: diff --git a/general.ent b/general.ent index d2ecb7df0..c7a28f304 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - + - + diff --git a/packages.ent b/packages.ent index a47a0f301..346471e6d 100644 --- a/packages.ent +++ b/packages.ent @@ -357,10 +357,10 @@ - + - + @@ -375,12 +375,12 @@ - + - + - + - + + + + - - - - - + + +