diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gzip.xml | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index 4782bcce6..de57c742b 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -35,34 +35,16 @@ <sect2 role="installation"> <title>Installation of Gzip</title> - <para>Gzip has 2 known security vulnerabilities. The following patch - addresses both of them:</para> - -<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen> - - <para>The <command>gzexe</command> command calls <command>tail</command> - with options that do not conform to newer versions of the POSIX standard, - and therefore are not accepted by current versions of Coreutils. Fix this - problem by issuing the following command:</para> - -<screen><userinput>sed -i 's/tail +/tail -n +/' gzexe.in</userinput></screen> - <para>Prepare Gzip for compilation:</para> <screen><userinput>./configure --prefix=/usr</userinput></screen> - <para>The <command>gzexe</command> script has the location of the - <command>gzip</command> binary hard-wired into it. Because the - location of the binary is changed later, the following command ensures - that the new location gets placed into the script:</para> - -<screen><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen> - <para>Compile the package:</para> <screen><userinput>make</userinput></screen> - <para>This package does not come with a test suite.</para> + <para>To test the results, issue: + <userinput>make check</userinput>.</para> <para>Install the package:</para> |