diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bzip2-inst.xml | 22 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/mawk-inst.xml | 14 | ||||
-rw-r--r-- | chapter06/mawk.xml | 13 | ||||
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 14 |
5 files changed, 12 insertions, 53 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index 905e4eb53..c24d79ea3 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -3,25 +3,21 @@ <para>Install Bzip2 by running the following commands:</para> -<para><screen><userinput>make -f Makefile-libbz2_so && -make bzip2recover libbz2.a && -ln -s libbz2.so.1.0.1 libbz2.so && +<para><screen><userinput>make && +make -f Makefile-libbz2_so && +make PREFIX=/usr install && cp bzip2-shared /bin/bzip2 && -cp bzip2recover /bin && -cp bzip2.1 /usr/share/man/man1 && -cp bzlib.h /usr/include && +ln -s libbz2.so.1.0 libbz2.so && cp -a libbz2.so* /lib && -rm /usr/lib/libbz2.a && -cp libbz2.a /usr/lib && cd /usr/lib && ln -sf ../../lib/libbz2.so && +cd /usr/bin && +rm bunzip2 bzcat bzip2 && +mv bzip2recover bzless bzmore /bin && cd /bin && ln -sf bzip2 bunzip2 && -ln -sf bzip2 bzcat && -cd /usr/share/man/man1 && -ln -sf bzip2.1 bunzip2.1 && -ln -sf bzip2.1 bzcat.1 && -ln -sf bzip2.1 bzip2recover.1</userinput></screen></para> +ln -sf bzip2 bzcat</userinput></screen></para> + <para>Although it's not strictly a part of a basic LFS system it's worth mentioning that a patch for Tar can be downloaded which enables the tar diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 3c7601438..2db19f760 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -12,7 +12,7 @@ &c6-makedev; &c6-manpages; &c6-findutils; -&c6-mawk; +&c6-gawk; &c6-ncurses; &c6-vim; &c6-gcc; diff --git a/chapter06/mawk-inst.xml b/chapter06/mawk-inst.xml deleted file mode 100644 index 199bd0f56..000000000 --- a/chapter06/mawk-inst.xml +++ /dev/null @@ -1,14 +0,0 @@ -<sect2> -<title>Installation of Mawk</title> - -<para>Install Mawk by running the following commands:</para> - -<para><screen><userinput>./configure && -make && -make BINDIR=/usr/bin \ - MANDIR=/usr/share/man/man1 install && -cd /usr/bin && -ln -sf mawk awk</userinput></screen></para> - -</sect2> - diff --git a/chapter06/mawk.xml b/chapter06/mawk.xml deleted file mode 100644 index b79830b62..000000000 --- a/chapter06/mawk.xml +++ /dev/null @@ -1,13 +0,0 @@ -<sect1 id="ch06-mawk"> -<title>Installing Mawk-&mawk-version;</title> -<?dbhtml filename="mawk.html" dir="chapter06"?> - -<screen>Estimated build time: &mawk-time; -Estimated required disk space: &mawk-compsize;</screen> - -&c6-mawk-inst; -&aa-mawk-desc; -&aa-mawk-dep; - -</sect1> - diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index d89b56931..7af472138 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -9,24 +9,14 @@ passwords and how to get the most out of this Shadow package.</para> <para>Install the Shadow Password Suite by running the following commands:</para> -<para><screen><userinput>cp src/useradd.c src/useradd.c.backup && -sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \ - src/useradd.c.backup > src/useradd.c && -./configure --prefix=/usr && +<para><screen><userinput>./configure --prefix=/usr && make && make install && cd etc && cp limits login.access /etc && sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs && -cd /lib && -mv libshadow.*a /usr/lib && -ln -sf libshadow.so.0 libshadow.so && -cd /usr/lib && -ln -sf ../../lib/libshadow.so && cd /usr/sbin && -ln -sf vipw vigr && -cd /usr/share/man/man8 && -ln -sf vipw.8 vigr.8</userinput></screen></para> +ln -sf vipw vigr</userinput></screen></para> </sect2> |