From 85aeef2e2639e589672383d69b2e553e269cada7 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 15 Mar 2002 00:35:20 +0000 Subject: [PATCH] upgraded to bison-1.34, gettext-0.11.1, shadow-4.0.3, grep-2.5 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1710 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++---- chapter06/grep-inst.xml | 1 + chapter06/shadowpwd-exp.xml | 8 +------- chapter06/shadowpwd-inst.xml | 10 ++++++++-- index.xml | 26 +++++++++++++------------- 5 files changed, 29 insertions(+), 26 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ec8074e2d..492a17099 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -13,11 +13,12 @@ automake-1.6 bin86-0.16.2 binutils-2.12 -bison-1.33 +bison-1.34 bzip2-1.0.2 e2fsprogs-1.27 gawk-3.1.0 -gettext-0.11 +gettext-0.11.1 +grep-2.5 less-374 lfs-bootscripts-1.8 lilo-22.2 @@ -25,7 +26,7 @@ man-pages-1.48 modutils-2.4.14 reiserfsprogs-3.x.1b -shadow-4.0.2 +shadow-4.0.3 texinfo-4.1 util-linux-2.11o @@ -33,7 +34,8 @@ March 14th, 2002 [gerard]: Upgraded to -lfs-bootscripts-1.8 +bison-1.34, gettext-0.11.1, grep-2.5, lfs-bootscripts-1.8, +shadow-4.0.3 March 11th, 2002 [gerard]: Upgraded to binutils-2.12 diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index 17885b7f5..69a616a33 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -5,6 +5,7 @@ ./configure --prefix=/usr --bindir=/bin && make && +rm /bin/egrep /bin/fgrep && make install diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml index 3defeb609..2ab8ca54d 100644 --- a/chapter06/shadowpwd-exp.xml +++ b/chapter06/shadowpwd-exp.xml @@ -1,11 +1,6 @@ Command explanations -sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' -src/useradd.c.backup > src/useradd.c &&: -This sed is used to fix a compilation bug which occurs due to a -variable (nflg) being used but not defined. - cp limits login.access /etc: These files were not installed during the installation of the package so we copy them manually as those files are used to configure authentication @@ -15,8 +10,7 @@ details on the system. /etc/login.defs: /var/spool/mail is the old location of the user mailboxes. The location that is used nowadays is /var/mail. -ln -sf vipw vigr and -ln -sf vipw.8 vigr.8: According to the manpage of +ln -sf vipw vigr: According to the manpage of vipw, vigr should be a symlink to it. Because the shadow installation procedure doesn't create these symlinks, we create them manually. diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 7af472138..7873f6974 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -9,14 +9,20 @@ passwords and how to get the most out of this Shadow package. Install the Shadow Password Suite by running the following commands: -./configure --prefix=/usr && +./configure --prefix=/usr --enable-shared && make && make install && cd etc && cp limits login.access /etc && sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs && cd /usr/sbin && -ln -sf vipw vigr +ln -sf vipw vigr && +rm /bin/vipw && +mv /bin/sg /usr/bin && +cd /lib && +mv libshadow.*a /usr/lib && +cd /usr/lib && +ln -s ../../lib/libshadow.so diff --git a/index.xml b/index.xml index 0617c5229..00cc46cac 100644 --- a/index.xml +++ b/index.xml @@ -574,9 +574,9 @@ - - - + + + @@ -657,10 +657,10 @@ - + - + @@ -771,10 +771,10 @@ - + - + @@ -843,13 +843,13 @@ - - + + - + - + @@ -1028,10 +1028,10 @@ - + - +