aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-07 16:42:31 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-07 16:42:31 +0000
commit549cfcfe7ac0afc6676ff824027c1c3e03c8f0fd (patch)
tree0f5ed649feb63483daef589f9d3d7067ec01e4b7 /chapter06
parent4bc6304e662f1ea1806a9828d85a0866f5751f8e (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gzip-exp.xml8
-rw-r--r--chapter06/gzip-inst.xml3
-rw-r--r--chapter06/gzip.xml1
3 files changed, 11 insertions, 1 deletions
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 @@
+<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>
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 @@
<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;
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;</screen>
&c6-gzip-inst;
+&c6-gzip-exp;
&aa-gzip-desc;
&aa-gzip-dep;