diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/automake.xml | 2 | ||||
-rw-r--r-- | chapter06/diffutils.xml | 2 | ||||
-rw-r--r-- | chapter06/gettext.xml | 2 | ||||
-rw-r--r-- | chapter06/glibc.xml | 7 | ||||
-rw-r--r-- | chapter06/inetutils.xml | 9 | ||||
-rw-r--r-- | chapter06/m4.xml | 3 | ||||
-rw-r--r-- | chapter06/shadow.xml | 4 |
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 &:" 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"' >> 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> |