diff --git a/appendixa/findutils-down.xml b/appendixa/findutils-down.xml index 7bbea3106..cfeecc0ed 100644 --- a/appendixa/findutils-down.xml +++ b/appendixa/findutils-down.xml @@ -4,7 +4,12 @@ Findutils (&findutils-version;): -Findutils Patch (&findutils-version;): +Findutils Patch (&findutils-patch-version;): + + + +Findutils Segfault Patch (&findutils-segfault-patch-version;): + diff --git a/appendixa/libtool-down.xml b/appendixa/libtool-down.xml index 5eae295c3..d1b2b6d76 100644 --- a/appendixa/libtool-down.xml +++ b/appendixa/libtool-down.xml @@ -2,5 +2,10 @@ Official Download Location Libtool (&libtool-version;): - + + +Libtool Patch (&libtool-patch-version;): + + + diff --git a/appendixa/ncurses-down.xml b/appendixa/ncurses-down.xml index 68c33c036..5e0fca353 100644 --- a/appendixa/ncurses-down.xml +++ b/appendixa/ncurses-down.xml @@ -2,9 +2,6 @@ Official Download Location Ncurses (&ncurses-version;): - + -Ncurses Patch (&ncurses-version;): - - diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2280afcab..e6c7d5ea1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,54 @@ +Upgraded to: + +autoconf-2.54 +automake-1.7.1 +e2fsprogs-1.29 +groff-1.18.1 +kbd-1.08 +less-378 +make-3.80 +man-pages-1.53 +modutils-2.4.21 +ncurses-5.3 +procps-3.0.4 +psmisc-21.2 +util-linux-2.11w + + + +Added: + +findutils-4.1-segfault.patch +libtool-1.4.2.patch + + + +Removed: + +ncurses-5.2-2.patch + + + +October 21st, 2002 [timothy]: Chapter 06 - Linux-2.4.19: +Replaced mkdir /usr/include/asm and +cp command with +cp -HR. + +October 21st, 2002 [timothy]: Added findutils-4.1-segfault.patch +to fix a segfault in locate when it encounters a very long path +name. + +October 21st, 2002 [timothy]: Added libtool-1.4.2.patch to fix +an incompatibility between Autoconf 2.53 and Libtool 1.4.x. + +October 21st, 2002 [timothy]: Upgraded to automake-1.7.1, +modutils-2.4.21, man-pages-1.53, kbd-1.08, util-linux-2.11w, autoconf-2.54, +e2fsprogs-1.29, groff-1.18.1, psmisc-21.2, less-378, procps-3.0.4, +make-3.80, ncurses-5.3. + October 20th, 2002 [timothy]: Uncompressed patches. diff --git a/chapter04/findutils-patch.xml b/chapter04/findutils-patch.xml index 73f5974f9..e95062f19 100644 --- a/chapter04/findutils-patch.xml +++ b/chapter04/findutils-patch.xml @@ -1,3 +1,7 @@ Findutils Patch (&findutils-patch-version;) - &findutils-patch-size;: + +Findutils Patch (&findutils-segfault-patch-version;) - &findutils-segfault-patch-size;: + + diff --git a/chapter04/libtool-patch.xml b/chapter04/libtool-patch.xml new file mode 100644 index 000000000..aab8f43fa --- /dev/null +++ b/chapter04/libtool-patch.xml @@ -0,0 +1,3 @@ +Libtool Patch (&libtool-patch-version;) - &libtool-patch-size;: + + diff --git a/chapter04/packages.xml b/chapter04/packages.xml index 702492849..40fcef620 100644 --- a/chapter04/packages.xml +++ b/chapter04/packages.xml @@ -21,6 +21,7 @@ &c3-fileutils-patch; &c3-findutils; &c3-findutils-patch; +&c3-findutils-segfault-patch; &c3-flex; &c3-gawk; &c3-gawk-patch; @@ -39,6 +40,7 @@ &c3-less; &c3-bootscripts; &c3-libtool; +&c3-libtool-patch; &c3-lilo; &c3-kernel; &c3-m4; @@ -49,7 +51,6 @@ &c3-manpages; &c3-modutils; &c3-ncurses; -&c3-ncurses-patch; &c3-netkitbase; &c3-nettools; &c3-patch; diff --git a/chapter06/findutils-exp.xml b/chapter06/findutils-exp.xml index 174cf2db7..9902a8916 100644 --- a/chapter06/findutils-exp.xml +++ b/chapter06/findutils-exp.xml @@ -1,9 +1,13 @@ Command explanations -patch -Np1 -i ../findutils-&findutils-patch-version;.patch: This -patch is to fix some compilation errors by -avoiding a variable conflict and changing some bad syntax. +patch -Np1 -i ../findutils-&findutils-patch-version;.patch: +This patch fixes some compilation errors by avoiding a variable conflict +and changing some bad syntax. + +patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch: +This patch fixes a segfault in locate when encountering +a very long path name. diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index 889d0ef36..6960b15e4 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -8,6 +8,7 @@ commands. Install Findutils by running the following commands: patch -Np1 -i ../findutils-&findutils-patch-version;.patch && +patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch && ./configure --prefix=/usr && make libexecdir=/usr/bin && make libexecdir=/usr/bin install @@ -22,6 +23,7 @@ location. The following commands use the database file /var/lib/misc/locatedb which is FHS compliant. patch -Np1 -i ../findutils-&findutils-patch-version;.patch && +patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch && ./configure --prefix=/usr && make localstatedir=/var/lib/misc libexecdir=/usr/bin && make localstatedir=/var/lib/misc libexecdir=/usr/bin install diff --git a/chapter06/kbd-exp.xml b/chapter06/kbd-exp.xml index e8d9e7fee..2654d238d 100644 --- a/chapter06/kbd-exp.xml +++ b/chapter06/kbd-exp.xml @@ -2,12 +2,8 @@ Command explanations patch -Np1 -i ../kbd-&kbd-patch-version;.patch: -This patch fixes two problems. The first one is the loadkeys -d -behaviour, which is broken in current kbd versions. It is necessary to fix this, -because the boot scripts rely on a proper loadkeys -d. -The second part of the patch changes a Makefile so some utilities that are -not installed by default (setlogcons, setvesablank and getunimap) are also -installed. +This patch changes a Makefile so some utilities that are not installed by +default (setlogcons, setvesablank and getunimap) are installed. diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml index c6daefdae..04539cf33 100644 --- a/chapter06/kbd-inst.xml +++ b/chapter06/kbd-inst.xml @@ -1,14 +1,17 @@ Installation of Kbd -This package requires its patch to be applied before you can -install it. Make sure it's unpacked before running the installation -commands. +Kbd doesn't install some of its utilities (setlogcons, setvesablank +and getunimap) by default. The kbd patch enables the compilation of these +utilities. + +Apply the patch by running the following command: + +patch -Np1 -i ../kbd-&kbd-patch-version;.patch Install Kbd by running the following commands: -patch -Np1 -i ../kbd-&kbd-patch-version;.patch && -./configure && +./configure && make && make install diff --git a/chapter06/kernel-exp.xml b/chapter06/kernel-exp.xml index 21bfabd20..2956f0bd7 100644 --- a/chapter06/kernel-exp.xml +++ b/chapter06/kernel-exp.xml @@ -16,8 +16,7 @@ shouldn't rely on the source tree being clean after untarring. include/linux/version.h file and the platform-specific include/asm symlink. -mkdir /usr/include/asm -, cp include/asm/* /usr/include/asm and +cp -HR include/asm /usr/include and cp -R include/asm-generic /usr/include: These commands copy the platform-specific assembler kernel header files to /usr/include/asm and make mrproper && make include/linux/version.h && make symlinks && -mkdir /usr/include/asm && -cp include/asm/* /usr/include/asm && +cp -HR include/asm /usr/include && cp -R include/asm-generic /usr/include && cp -R include/linux /usr/include && touch /usr/include/linux/autoconf.h && diff --git a/chapter06/libtool-exp.xml b/chapter06/libtool-exp.xml new file mode 100644 index 000000000..cdfd192b1 --- /dev/null +++ b/chapter06/libtool-exp.xml @@ -0,0 +1,10 @@ + +Command explanations + +patch -Np1 -i ../libtool-&libtool-patch-version;.patch: +This patch fixes an incompatibility between Autoconf 2.53 and Libtool 1.4.x. +Specifically, the deprecated m4 macro AC_PROVIDE_AC_LIBTOOL is replaced by +AC_PROVIDE_ELSEIF. + + + diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index 8e5774a28..eb1dae1cd 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -3,7 +3,8 @@ Install Libtool by running the following commands: -./configure --prefix=/usr && +patch -Np1 -i ../libtool-&libtool-patch-version;.patch && +./configure --prefix=/usr && make && make install diff --git a/chapter06/libtool.xml b/chapter06/libtool.xml index 92dcd7f0e..045bc381c 100644 --- a/chapter06/libtool.xml +++ b/chapter06/libtool.xml @@ -6,6 +6,7 @@ Estimated required disk space: &libtool-compsize; &c6-libtool-inst; +&c6-libtool-exp; &aa-libtool-desc; &aa-libtool-dep; diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml index 9342a4e78..8885c403f 100644 --- a/chapter06/ncurses-exp.xml +++ b/chapter06/ncurses-exp.xml @@ -1,11 +1,6 @@ Command explanations -patch -Np1 -i ../ncurses-&ncurses-version;-patch: -This patch fixes a compile problem with GCC-3.2 because Ncurses uses -constructions that are not valid in ANSI C++ and don't compile with -recent GCC versions that conform to the standard. - --with-shared: This enables the build of the shared ncurses library files. diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index d4a17128c..d6be4e396 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -1,19 +1,14 @@ Installation of Ncurses -This package requires its patch to be applied before you can -install it. Make sure it's unpacked before running the installation -commands. - Install Ncurses by running the following commands: -patch -Np1 -i ../ncurses-&ncurses-patch-version;.patch && -./configure --prefix=/usr --with-shared && +./configure --prefix=/usr --with-shared && make && make install && -chmod 755 /usr/lib/*.5.2 && +chmod 755 /usr/lib/*.&ncurses-version; && mv /usr/lib/libncurses.so.5* /lib && -ln -s libncurses.a /usr/lib/libcurses.a && +ln -sf libncurses.a /usr/lib/libcurses.a && ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so && ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so diff --git a/chapter06/procps-exp.xml b/chapter06/procps-exp.xml index 539ceccd2..ac5ab7d96 100644 --- a/chapter06/procps-exp.xml +++ b/chapter06/procps-exp.xml @@ -1,7 +1,9 @@ Command explanations -patch -Np1 -i ../procps-&procps-patch-version;.patch: This patch fixes a locale problem that makes top crash under certain locale settings. +patch -Np1 -i ../procps-&procps-patch-version;.patch: +This patch fixes a locale problem that makes top crash under certain +locale settings. make XSCPT="" install: This will set the Makefile variable XSCPT to an empty value so that diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml index 130037b7f..b3b749f97 100644 --- a/chapter06/procps-inst.xml +++ b/chapter06/procps-inst.xml @@ -9,8 +9,7 @@ commands. patch -Np1 -i ../procps-&procps-patch-version;.patch && make && -make XSCPT="" install && -mv /usr/bin/kill /bin +make XSCPT="" install diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index 8f38b0014..ee406e301 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -7,21 +7,14 @@ make && make install -Psmisc installs the -/usr/share/man/man1/pidof.1 man page, but Psmisc's -pidof program isn't installed by default. Generally, this isn't a problem -because we later install the Sysvinit package, which provides -a better pidof program. +Psmisc's pidof program isn't installed by default. Generally, this +isn't a problem because we later install the Sysvinit package, which +provides a better pidof program. -It's up to you now to decide if you are going to use the Sysvinit -package, which provides a pidof program, or not. If you are going to, you -should remove Psmisc's pidof man page by running: - -rm /usr/share/man/man1/pidof.1 - -If you're not going to use Sysvinit, you should complete this -package's installation by creating the /bin/pidof -symlink by running: +It's up to you to decide if you are going to use the Sysvinit +package, which provides a pidof program, or not. If you're not going to +use Sysvinit, you should complete this package's installation by creating +the /bin/pidof symlink by running: ln -s killall /bin/pidof diff --git a/entities/autoconf.ent b/entities/autoconf.ent index 62b01565a..6b9fca240 100644 --- a/entities/autoconf.ent +++ b/entities/autoconf.ent @@ -8,10 +8,10 @@ - + - + diff --git a/entities/automake.ent b/entities/automake.ent index 0c8356548..149bd397a 100644 --- a/entities/automake.ent +++ b/entities/automake.ent @@ -8,10 +8,10 @@ - + - + diff --git a/entities/e2fsprogs.ent b/entities/e2fsprogs.ent index 1bb8745bd..6e6ee7710 100644 --- a/entities/e2fsprogs.ent +++ b/entities/e2fsprogs.ent @@ -9,10 +9,10 @@ - + - + diff --git a/entities/findutils.ent b/entities/findutils.ent index 46984f41e..2db8250b9 100644 --- a/entities/findutils.ent +++ b/entities/findutils.ent @@ -1,5 +1,6 @@ + @@ -20,6 +21,8 @@ + + diff --git a/entities/groff.ent b/entities/groff.ent index 274f344c8..4c92fae43 100644 --- a/entities/groff.ent +++ b/entities/groff.ent @@ -9,10 +9,10 @@ - + - + diff --git a/entities/kbd.ent b/entities/kbd.ent index 08859c3be..2f7bed518 100644 --- a/entities/kbd.ent +++ b/entities/kbd.ent @@ -10,12 +10,12 @@ - + - - - + + + diff --git a/entities/less.ent b/entities/less.ent index a01f8b0a8..5f469b535 100644 --- a/entities/less.ent +++ b/entities/less.ent @@ -8,10 +8,10 @@ - + - + diff --git a/entities/libtool.ent b/entities/libtool.ent index c8c45caa2..c24a19b6f 100644 --- a/entities/libtool.ent +++ b/entities/libtool.ent @@ -1,7 +1,9 @@ + + @@ -12,6 +14,8 @@ + + diff --git a/entities/make.ent b/entities/make.ent index 60c63ceb3..bd67510b7 100644 --- a/entities/make.ent +++ b/entities/make.ent @@ -12,10 +12,10 @@ - + - + diff --git a/entities/manpages.ent b/entities/manpages.ent index 24fdbf304..fe38536d7 100644 --- a/entities/manpages.ent +++ b/entities/manpages.ent @@ -8,10 +8,10 @@ - + - + diff --git a/entities/modutils.ent b/entities/modutils.ent index 7e7803101..dd7f20ccc 100644 --- a/entities/modutils.ent +++ b/entities/modutils.ent @@ -8,7 +8,7 @@ - + diff --git a/entities/ncurses.ent b/entities/ncurses.ent index 14693ea71..d5cd3bc21 100644 --- a/entities/ncurses.ent +++ b/entities/ncurses.ent @@ -1,5 +1,4 @@ - @@ -10,10 +9,10 @@ - + - + diff --git a/entities/procps.ent b/entities/procps.ent index 97f6f116f..1e474f82b 100644 --- a/entities/procps.ent +++ b/entities/procps.ent @@ -10,11 +10,11 @@ - + - - + + diff --git a/entities/psmisc.ent b/entities/psmisc.ent index 0892d9f54..8d08f1dd9 100644 --- a/entities/psmisc.ent +++ b/entities/psmisc.ent @@ -9,10 +9,10 @@ - + - + diff --git a/entities/utillinux.ent b/entities/utillinux.ent index e6dea91ac..bbe53be3c 100644 --- a/entities/utillinux.ent +++ b/entities/utillinux.ent @@ -12,10 +12,10 @@ - + - + diff --git a/index.xml b/index.xml index a0ac1d44d..323cd7fad 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + +