From 00abb8f1501e00263aba78e959e2a84471c15aea Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 18 May 2017 23:32:21 +0000 Subject: [PATCH] Move library versions for presevation of debugging symbols to packages.ent. Update to linux-4.11.1. Update to shadow-4.5. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11253 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 19 +++++++++++++++++++ chapter01/whatsnew.xml | 4 ++-- chapter06/shadow.xml | 30 ------------------------------ chapter06/strippingagain.xml | 9 +++++---- general.ent | 6 +++--- packages.ent | 24 ++++++++++++++++-------- 6 files changed, 45 insertions(+), 47 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fc628dd30..8e1932c51 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,25 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2017-05-19 + + + [bdubbs] - Move library versions for presevation + of debugging symbols to packages.ent. Fixes + #4085. + + + [bdubbs] - Update to linux-4.11.1. Fixes + #4086. + + + [bdubbs] - Update to shadow-4.5. Fixes + #4087. + + + + 2017-05-13 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 64e8f28ee..6c1b117ed 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -200,9 +200,9 @@ - + diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index e54c4ee54..d90210985 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -70,32 +70,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ -e 's@/var/spool/mail@/var/mail@' etc/login.defs - Now fix a bug that prevents useradd from - setting the shell entry in the /etc/passwd file. In this case we need a - short patch, but can include it directly here without the need for a - separate file: - -echo '--- src/useradd.c (old) -+++ src/useradd.c (new) -@@ -2027,6 +2027,8 @@ - is_shadow_grp = sgr_file_present (); - #endif - -+ get_defaults (); -+ - process_flags (argc, argv); - - #ifdef ENABLE_SUBIDS -@@ -2036,8 +2038,6 @@ - (!user_id || (user_id <= uid_max && user_id >= uid_min)); - #endif /* ENABLE_SUBIDS */ - -- get_defaults (); -- - #ifdef ACCT_TOOLS_SETUID - #ifdef USE_PAM - {' | patch -p0 -l - If you chose to build Shadow with Cracklib support, run the following: @@ -107,10 +81,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;sed -i 's/1000/999/' etc/useradd - Fix a security issue identified upstream: - -sed -i -e '47 d' -e '60,65 d' libmisc/myname.c - Prepare Shadow for compilation: ./configure --sysconfdir=/etc --with-group-name-max-length=32 diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml index f95b534be..a1d1d8388 100644 --- a/chapter06/strippingagain.xml +++ b/chapter06/strippingagain.xml @@ -32,7 +32,8 @@ -save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so" + +save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so" cd /lib @@ -42,9 +43,9 @@ for LIB in $save_lib; do objcopy --add-gnu-debuglink=$LIB.dbg $LIB done -save_usrlib="libquadmath.so.0.0.0 libstdc++.so.6.0.23 - libmpx.so.2.0.1 libmpxwrappers.so.2.0.1 libitm.so.1.0.0 - libcilkrts.so.5.0.0 libatomic.so.1.2.0" +save_usrlib="libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; + libmpx.so.&libmpx-version; libmpxwrappers.so.&libmpxwrap-version; libitm.so.&libitm-version; + libcilkrts.so.&libcilkrts-version; libatomic.so.&libatomic-version;" cd /usr/lib diff --git a/general.ent b/general.ent index a139a75cf..6719c684c 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index a582cd2e0..d135a6b63 100644 --- a/packages.ent +++ b/packages.ent @@ -218,6 +218,13 @@ + + + + + + + @@ -249,6 +256,7 @@ + @@ -392,12 +400,12 @@ - - - - + + + + - +