diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-01-31 18:12:22 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-01-31 18:12:22 +0000 |
commit | b8913f423c8828d2488ff315c9b93cf8ecba3607 (patch) | |
tree | 7fa86d70d67462378701139a80a86d8bec818eca /chapter06 | |
parent | 7880fbdcba66e5279a14d2e104b46d5e8081f865 (diff) |
Upgrade to Gzip-1.3.10. Fixes #1924.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7898 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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> |