diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index d54b215c7..fdaaee9c4 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,22 @@
-->
+
+ 2016-03-04
+
+
+ [dj] - Prevent attr and shadow from overwriting
+ man pages installed by the man-pages package - Merged from
+ trunk.
+
+
+ [dj] - Retain flex static library for automake
+ regression tests. Remove at the end of Chapter 6 - Merged from
+ trunk.
+
+
+
+
2016-02-19
diff --git a/chapter06/attr.xml b/chapter06/attr.xml
index ebcf536e5..95952b015 100644
--- a/chapter06/attr.xml
+++ b/chapter06/attr.xml
@@ -49,7 +49,7 @@
Prevent installation of manual pages that were already installed by
the package:
-sed -i -e "/SUBDIRS/s|man2||" man/Makefile
+sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile
Prepare Attr for compilation:
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index c0adcfb58..2d0f80cdd 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -43,9 +43,7 @@
Prepare Flex for compilation:
-./configure --prefix=/usr \
- --disable-static \
- --docdir=/usr/share/doc/flex-&flex-version;
+./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;
Compile the package:
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml
index 40c69c6be..ad4070400 100644
--- a/chapter06/revisedchroot.xml
+++ b/chapter06/revisedchroot.xml
@@ -43,15 +43,15 @@
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,
+ libraries are from binutils, bzip2, e2fsprogs, flex, libtool, and zlib. If desired,
remove them now:
rm -f /usr/lib/lib{bfd,opcodes}.a
rm -f /usr/lib/libbz2.a
rm -f /usr/lib/lib{com_err,e2p,ext2fs,ss}.a
rm -f /usr/lib/libltdl.a
+rm -f /usr/lib/libfl.a
+rm -f /usr/lib/libfl_pic.a
rm -f /usr/lib/libz.a
-
-
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 38d2dc345..81f39131b 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -50,10 +50,14 @@
Disable the installation of the groups program
- and its man pages, as Coreutils provides a better version:
+ and its man pages, as Coreutils provides a better version. Also
+ Prevent the installation of manual pages that were already installed by the
+ package:
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
-find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
+find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
+find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
+find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
Instead of using the default
crypt method, use the more secure
diff --git a/general.ent b/general.ent
index fdcfb724e..7e9b233d8 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
-
+
-
+