aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-02-05 19:35:28 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-02-05 19:35:28 +0000
commit7e131ea6e5b035e0273e110f0a2123ce47cd31c1 (patch)
treed82c45b609db429166eb14b2c718851b1dcd0e32 /chapter06
parentd5a59bf5fcc6a1bd615bc539647bec6bff4b7a94 (diff)
Update to glibc-2.25.
Revert gperf to version 3.0.4. Update to linux-4.9.8.tar.xz. Update to check-0.11.0. Update to shadow-4.4. Update to e2fsprogs-1.43.4. Update to sed-4.4. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/automake.xml2
-rw-r--r--chapter06/diffutils.xml2
-rw-r--r--chapter06/gettext.xml2
-rw-r--r--chapter06/glibc.xml7
-rw-r--r--chapter06/inetutils.xml9
-rw-r--r--chapter06/m4.xml3
-rw-r--r--chapter06/shadow.xml4
7 files changed, 9 insertions, 20 deletions
diff --git a/chapter06/automake.xml b/chapter06/automake.xml
index f0905fd84..8816e2358 100644
--- a/chapter06/automake.xml
+++ b/chapter06/automake.xml
@@ -62,7 +62,7 @@
<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
make -j4 check</userinput></screen>
- <para>Three tests are known ot fail.</para>
+ <para>Four tests are known to fail.</para>
<para>Install the package:</para>
diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml
index 89bd81be7..d98bc500d 100644
--- a/chapter06/diffutils.xml
+++ b/chapter06/diffutils.xml
@@ -57,8 +57,6 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>The test-update-copyright.sh failure can be safely ignored.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/gettext.xml b/chapter06/gettext.xml
index 355d79a62..dc198b748 100644
--- a/chapter06/gettext.xml
+++ b/chapter06/gettext.xml
@@ -58,8 +58,6 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>Nine tests fail due to missing dependencies.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 2c8718932..49775184a 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -77,9 +77,10 @@ cd build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">../configure --prefix=/usr \
- --enable-kernel=&min-kernel; \
- --enable-obsolete-rpc \
+<screen><userinput remap="configure">../configure --prefix=/usr \
+ --enable-kernel=&min-kernel; \
+ --enable-obsolete-rpc \
+ --enable-stack-protector=strong \
libc_cv_slibdir=/lib</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index af4c1790d..df6ffc3af 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -39,12 +39,7 @@
<sect2 role="installation">
<title>Installation of Inetutils</title>
-<!--
- <para>Create a definition to allow the <command>ifconfig</command> program
- to build properly:</para>
-<screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
--->
<para>Prepare Inetutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
@@ -110,10 +105,6 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
- coding of some support program paths. All tests pass if the tests are
- rerun at the end of Chapter 6.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index 804173a8f..1bb55fed3 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -52,15 +52,12 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>The test-update-copyright.sh failure can safely be ignored.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
-
<sect2 id="contents-m4" role="content">
<title>Contents of M4</title>
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 66482202c..c9d63a4d0 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -81,6 +81,10 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
<screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen>
+ <para>Fix a security issue identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i -e '47 d' -e '60,65 d' libmisc/myname.c</userinput></screen>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput remap="configure">./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen>