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
This commit is contained in:
Timothy Bauscher 2002-09-07 16:42:31 +00:00
parent 4bc6304e66
commit 549cfcfe7a
9 changed files with 30 additions and 5 deletions

View File

@ -39,6 +39,7 @@
<listitem><para>gawk-3.1.1.patch</para></listitem>
<listitem><para>gcc-3.2.patch</para></listitem>
<listitem><para>glibc-2.2.5-2.patch</para></listitem>
<listitem><para>gzip-1.2.4b.patch</para></listitem>
<listitem><para>ncurses-5.2.patch</para></listitem>
<listitem><para>vim-6.1.patch</para></listitem>
<listitem><para>zlib-1.1.4</para></listitem>
@ -47,11 +48,16 @@
<listitem><para>Removed:
<itemizedlist>
<listitem><para>gzip-1.2.4a.patch</para></listitem>
<listitem><para>reiserfsprogs-3.x.1b</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>September 7th, 2002 [timothy]: Chapter 06 - Gzip:
Added gzip-1.2.4b.patch.</para></listitem>
<listitem><para>September 7th, 2002 [timothy]: Chapter 05 - Textutils:
Added re_max_failures2 for old host systems.</para></listitem>
<listitem><para>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

3
chapter04/gzip-patch.xml Normal file
View File

@ -0,0 +1,3 @@
Gzip Patch (&gzip-patch-version;) - &gzip-patch-size;:
<ulink url="&ftp;/gzip-&gzip-patch-version;.patch.bz2"/>
<ulink url="&http;/gzip-&gzip-patch-version;.patch.bz2"/>

View File

@ -16,6 +16,7 @@
&c3-kernel;
&c3-grep;
&c3-gzip;
&c3-gzip-patch;
&c3-make;
&c3-sed;
&c3-shellutils;

View File

@ -3,7 +3,8 @@
<para>Install Textutils by running the following commands:</para>
<para><screen><userinput>./configure --prefix=$LFS/static \
<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>

8
chapter06/gzip-exp.xml Normal file
View File

@ -0,0 +1,8 @@
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../gzip-1.2.4b.patch:</userinput>
This patch fixes a buffer overflow that occurs when a filename is
longer than 1020 characters.</para>
</sect2>

View File

@ -3,7 +3,8 @@
<para>Install Gzip by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
cp gzexe.in{,.backup} &amp;&amp;
sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in &amp;&amp;
make &amp;&amp;

View File

@ -6,6 +6,7 @@
Estimated required disk space: &gzip-compsize;</screen>
&c6-gzip-inst;
&c6-gzip-exp;
&aa-gzip-desc;
&aa-gzip-dep;

View File

@ -1,10 +1,12 @@
<!ENTITY c3-gzip SYSTEM "../chapter03/gzip.xml">
<!ENTITY c3-gzip-patch SYSTEM "../chapter03/gzip-patch.xml">
<!ENTITY c5-gzip SYSTEM "../chapter05/gzip.xml">
<!ENTITY c5-gzip-inst SYSTEM "../chapter05/gzip-inst.xml">
<!ENTITY c6-gzip SYSTEM "../chapter06/gzip.xml">
<!ENTITY c6-gzip-inst SYSTEM "../chapter06/gzip-inst.xml">
<!ENTITY c6-gzip-exp SYSTEM "../chapter06/gzip-exp.xml">
<!ENTITY aa-gzip SYSTEM "../appendixa/gzip.xml">
<!ENTITY aa-gzip-desc SYSTEM "../appendixa/gzip-desc.xml">
@ -15,6 +17,8 @@
<!ENTITY gzip-depversion "1.2.4a">
<!ENTITY gzip-contversion "1.2.4a">
<!ENTITY gzip-size "179 KB">
<!ENTITY gzip-patch-size "1 KB">
<!ENTITY gzip-patch-version "1.2.4b">
<!ENTITY gzip-package "gzip-&gzip-version;.tar.bz2">
<!ENTITY gzip-dir "gzip-&gzip-version;">

View File

@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
<!ENTITY version "20020902">
<!ENTITY releasedate "September 2nd, 2002">
<!ENTITY version "20020907">
<!ENTITY releasedate "September 7th, 2002">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">