From 2344896535c2d4b6c188ece8d96c1b955de5cc5b Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 2 Jul 2002 19:25:34 +0000 Subject: fix all patches to use -patch-version entities and remove hard-coding of patch versions. sorry to timothy for breaking his run of changelog entries\! git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2024 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter05/fileutils-inst.xml | 2 +- chapter05/findutils-exp.xml | 2 +- chapter05/findutils-inst.xml | 2 +- chapter05/tar-inst.xml | 2 +- chapter06/ed-inst.xml | 2 +- chapter06/findutils-exp.xml | 2 +- chapter06/findutils-inst.xml | 4 ++-- chapter06/gawk-exp.xml | 2 +- chapter06/gawk-inst.xml | 2 +- chapter06/glibc-exp.xml | 2 +- chapter06/glibc-inst.xml | 2 +- chapter06/perl-exp.xml | 2 +- chapter06/perl-inst.xml | 2 +- chapter06/tar-inst.xml | 2 +- chapter06/vim-inst.xml | 4 ++-- entities/ed.ent | 1 + entities/fileutils.ent | 1 + entities/findutils.ent | 1 + entities/gawk.ent | 1 + entities/glibc.ent | 1 + entities/perl.ent | 1 + entities/tar.ent | 1 + entities/vim.ent | 1 + 24 files changed, 29 insertions(+), 17 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 81db9a072..bf64c7fce 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -46,6 +46,10 @@ +July 2nd, 2002 [markh]: Internal change - Made all +patches use a &package-patch-version; entity and removed all +hardcoding of patch versions. + June 30th, 2002 [timothy]: Updated to man-pages-1.51 and automake-1.6.2 diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 9f0c94a52..89deed1f9 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -21,7 +21,7 @@ machines, run the following command. Do not attempt this fix if you don't have Glibc-2.2.3 installed. It will more than likely result in all kinds of compile time problems. -patch -Np1 -i ../fileutils-&fileutils-version;.patch +patch -Np1 -i ../fileutils-&fileutils-patch-version;.patch Install Fileutils by running the following commands: diff --git a/chapter05/findutils-exp.xml b/chapter05/findutils-exp.xml index d7eba25bb..174cf2db7 100644 --- a/chapter05/findutils-exp.xml +++ b/chapter05/findutils-exp.xml @@ -1,7 +1,7 @@ Command explanations -patch -Np1 -i ../findutils-4.1.patch: This +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. diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml index f79ad3a88..2247dedf1 100644 --- a/chapter05/findutils-inst.xml +++ b/chapter05/findutils-inst.xml @@ -7,7 +7,7 @@ commands. Install Findutils by running the following commands: -patch -Np1 -i ../findutils-4.1.patch && +patch -Np1 -i ../findutils-&findutils-patch-version;.patch && CPPFLAGS=-Dre_max_failures=re_max_failures2 \ ./configure --prefix=$LFS/static && make LDFLAGS=-static && diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index bec453e4a..ec0e9a671 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -8,7 +8,7 @@ for gzip files). Apply the patch by running the following command: -patch -Np1 -i ../tar-1.13.patch +patch -Np1 -i ../tar-&tar-patch-version;.patch Install Tar by running the following commands: diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml index 38ca3d528..4ffb7407f 100644 --- a/chapter06/ed-inst.xml +++ b/chapter06/ed-inst.xml @@ -12,7 +12,7 @@ days. Install Ed by running the following commands: -patch -Np1 -i ../ed-&ed-version;.patch && +patch -Np1 -i ../ed-&ed-patch-version;.patch && ./configure --prefix=/usr && make && make install && diff --git a/chapter06/findutils-exp.xml b/chapter06/findutils-exp.xml index d7eba25bb..174cf2db7 100644 --- a/chapter06/findutils-exp.xml +++ b/chapter06/findutils-exp.xml @@ -1,7 +1,7 @@ Command explanations -patch -Np1 -i ../findutils-4.1.patch: This +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. diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index b8c48bdf0..b32686595 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -7,7 +7,7 @@ commands. Install Findutils by running the following commands: -patch -Np1 -i ../findutils-&findutils-version;.patch && +patch -Np1 -i ../findutils-&findutils-patch-version;.patch && ./configure --prefix=/usr && make libexecdir=/usr/bin && make libexecdir=/usr/bin install @@ -21,7 +21,7 @@ If you would rather be FHS compliant, you may wish to use another location. The following commands use the database file /var/lib/misc/locatedb which is FHS compliant. -patch -Np1 -i ../findutils-4.1.patch && +patch -Np1 -i ../findutils-&findutils-patch-version;.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/gawk-exp.xml b/chapter06/gawk-exp.xml index f76aa456c..47da69290 100644 --- a/chapter06/gawk-exp.xml +++ b/chapter06/gawk-exp.xml @@ -1,7 +1,7 @@ Command explanations -patch -Np1 -i ../gawk-&gawk-version;.patch: This +patch -Np1 -i ../gawk-&gawk-patch-version;.patch: This patch alters the code that determines the location of the libexec directory. This patch will allow us to override it by passing --libexecdir to the diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index f480e1ea4..29c1b421f 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -17,7 +17,7 @@ class="directory">/usr/bin it'll run rm -rf Install Gawk by running the following commands: -patch -Np1 -i ../gawk-&gawk-version;.patch && +patch -Np1 -i ../gawk-&gawk-patch-version;.patch && ./configure --prefix=/usr --libexecdir=/usr/bin && make && make install diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index c3e474308..9c40d702e 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -1,7 +1,7 @@ Command explanations -patch -Np1 -i ../glibc-&glibc-version;.patch: +patch -Np1 -i ../glibc-&glibc-patch-version;.patch: This patch converts all occurances of $(PERL) to /usr/bin/perl in the malloc/Makefile file. This is done because Glibc can't diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 31b7bda77..caaacb802 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -26,7 +26,7 @@ is putting your system at very high risk. Install Glibc by running the following commands: -patch -Np1 -i ../glibc-&glibc-version;.patch && +patch -Np1 -i ../glibc-&glibc-patch-version;.patch && touch /etc/ld.so.conf && mkdir ../glibc-build && cd ../glibc-build && diff --git a/chapter06/perl-exp.xml b/chapter06/perl-exp.xml index 01b4140c7..c41ccb921 100644 --- a/chapter06/perl-exp.xml +++ b/chapter06/perl-exp.xml @@ -1,7 +1,7 @@ Command explanations -patch -Np1 -i ../perl-&perl-version;.patch: This +patch -Np1 -i ../perl-&perl-patch-version;.patch: This patch fixes a compile problem with GCC-3.1. diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index c14b4ef0e..bac124b7c 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -7,7 +7,7 @@ commands. Install Perl by running the following commands: -patch -Np1 -i ../perl-&perl-version;.patch && +patch -Np1 -i ../perl-&perl-patch-version;.patch && ./configure.gnu --prefix=/usr && make && make install diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml index 665e69de7..07ab9fb4b 100644 --- a/chapter06/tar-inst.xml +++ b/chapter06/tar-inst.xml @@ -9,7 +9,7 @@ for gzip files). Apply the patch by running the following command: -patch -Np1 -i ../tar-1.13.patch +patch -Np1 -i ../tar-&tar-patch-version;.patch Install Tar by running the following commands: diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 5514109b4..26f5ecc12 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -13,7 +13,7 @@ Currently there are hints for Emacs, joe, and nano. Install Vim by running the following commands: -patch -Np1 -i ../vim-&vim-version;.patch && +patch -Np1 -i ../vim-&vim-patch-version;.patch && ./configure --prefix=/usr && make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && make install && @@ -35,7 +35,7 @@ for their temporary state files, like temporary save files for example. If you wish vim to conform to the FHS, you should use this command set instead of the one presented above: -patch -Np1 -i ../vim-&vim-version;.patch && +patch -Np1 -i ../vim-&vim-patch-version;.patch && ./configure --prefix=/usr --localstatedir=/var/lib/vim && make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && make install && diff --git a/entities/ed.ent b/entities/ed.ent index 97d52e679..c9a088754 100644 --- a/entities/ed.ent +++ b/entities/ed.ent @@ -15,6 +15,7 @@ + diff --git a/entities/fileutils.ent b/entities/fileutils.ent index 3b8ef7336..58a0a4f37 100644 --- a/entities/fileutils.ent +++ b/entities/fileutils.ent @@ -18,6 +18,7 @@ + diff --git a/entities/findutils.ent b/entities/findutils.ent index 86955f245..d8319de4c 100644 --- a/entities/findutils.ent +++ b/entities/findutils.ent @@ -19,6 +19,7 @@ + diff --git a/entities/gawk.ent b/entities/gawk.ent index 470a27006..cb9f10b42 100644 --- a/entities/gawk.ent +++ b/entities/gawk.ent @@ -18,6 +18,7 @@ + diff --git a/entities/glibc.ent b/entities/glibc.ent index b2243ef16..0b15eb6ce 100644 --- a/entities/glibc.ent +++ b/entities/glibc.ent @@ -18,6 +18,7 @@ + diff --git a/entities/perl.ent b/entities/perl.ent index 44b5a9835..ac1e633e0 100644 --- a/entities/perl.ent +++ b/entities/perl.ent @@ -15,6 +15,7 @@ + diff --git a/entities/tar.ent b/entities/tar.ent index 4dc14afab..5d98a7b0c 100644 --- a/entities/tar.ent +++ b/entities/tar.ent @@ -16,6 +16,7 @@ + diff --git a/entities/vim.ent b/entities/vim.ent index a11ca628a..657243126 100644 --- a/entities/vim.ent +++ b/entities/vim.ent @@ -16,6 +16,7 @@ + -- cgit v1.2.3-54-g00ecf