From 549cfcfe7ac0afc6676ff824027c1c3e03c8f0fd Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Sat, 7 Sep 2002 16:42:31 +0000 Subject: Added gzip patch, added re_max_failures2 to Textutils. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2079 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 8 +++++++- chapter04/gzip-patch.xml | 3 +++ chapter04/packages.xml | 1 + chapter05/textutils-inst.xml | 3 ++- chapter06/gzip-exp.xml | 8 ++++++++ chapter06/gzip-inst.xml | 3 ++- chapter06/gzip.xml | 1 + entities/gzip.ent | 4 ++++ index.xml | 4 ++-- 9 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 chapter04/gzip-patch.xml create mode 100644 chapter06/gzip-exp.xml diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 15e2e697c..223480f83 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,7 @@ gawk-3.1.1.patch gcc-3.2.patch glibc-2.2.5-2.patch +gzip-1.2.4b.patch ncurses-5.2.patch vim-6.1.patch zlib-1.1.4 @@ -47,11 +48,16 @@ Removed: -gzip-1.2.4a.patch reiserfsprogs-3.x.1b +September 7th, 2002 [timothy]: Chapter 06 - Gzip: +Added gzip-1.2.4b.patch. + +September 7th, 2002 [timothy]: Chapter 05 - Textutils: +Added re_max_failures2 for old host systems. + September 2nd, 2002 [timothy]: Chapter 06 - Bash: Removed creation of sh symlink. Creating the bash and sh symlinks: Added /bin/bash symlink, symlinked sh to bash. Gzip, Sysvinit, Util-Linux: Shortened cp diff --git a/chapter04/gzip-patch.xml b/chapter04/gzip-patch.xml new file mode 100644 index 000000000..4cb3def7c --- /dev/null +++ b/chapter04/gzip-patch.xml @@ -0,0 +1,3 @@ +Gzip Patch (&gzip-patch-version;) - &gzip-patch-size;: + + diff --git a/chapter04/packages.xml b/chapter04/packages.xml index 5cb8a69e5..c41bc0030 100644 --- a/chapter04/packages.xml +++ b/chapter04/packages.xml @@ -16,6 +16,7 @@ &c3-kernel; &c3-grep; &c3-gzip; +&c3-gzip-patch; &c3-make; &c3-sed; &c3-shellutils; diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml index 4dd4c9606..675f8b609 100644 --- a/chapter05/textutils-inst.xml +++ b/chapter05/textutils-inst.xml @@ -3,7 +3,8 @@ Install Textutils by running the following commands: -./configure --prefix=$LFS/static \ +CPPFLAGS=-Dre_max_failures=re_max_failures2 \ +    ./configure --prefix=$LFS/static \     --disable-nls && make LDFLAGS=-static && make install diff --git a/chapter06/gzip-exp.xml b/chapter06/gzip-exp.xml new file mode 100644 index 000000000..503f642e0 --- /dev/null +++ b/chapter06/gzip-exp.xml @@ -0,0 +1,8 @@ + +Command explanations + +patch -Np1 -i ../gzip-1.2.4b.patch: +This patch fixes a buffer overflow that occurs when a filename is +longer than 1020 characters. + + diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml index c4048e571..51aaf8748 100644 --- a/chapter06/gzip-inst.xml +++ b/chapter06/gzip-inst.xml @@ -3,7 +3,8 @@ Install Gzip by running the following commands: -./configure --prefix=/usr && +patch -Np1 -i ../gzip-&gzip-patch-version;.patch && +./configure --prefix=/usr && cp gzexe.in{,.backup} && sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in && make && diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index fbc7fcf9f..0cf15fa30 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -6,6 +6,7 @@ Estimated required disk space: &gzip-compsize; &c6-gzip-inst; +&c6-gzip-exp; &aa-gzip-desc; &aa-gzip-dep; diff --git a/entities/gzip.ent b/entities/gzip.ent index ff7cd4730..b2347c380 100644 --- a/entities/gzip.ent +++ b/entities/gzip.ent @@ -1,10 +1,12 @@ + + @@ -15,6 +17,8 @@ + + diff --git a/index.xml b/index.xml index d25fc25c4..62922f859 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + + -- cgit v1.2.3-54-g00ecf