Fix non-POSIX syntax in gzexe's calls to tail. Fixes #1876.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7787 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2006-09-09 17:17:18 +00:00
parent e539e17d81
commit 5e66a56483
2 changed files with 11 additions and 0 deletions

View File

@ -38,6 +38,10 @@
<listitem>
<para>2006-09-09</para>
<itemizedlist>
<listitem>
<para>[matthew] - Fix non-POSIX syntax in gzexe's calls to tail.
Fixes #1876. Thanks to Robert Connolly for the report.</para>
</listitem>
<listitem>
<para>[matthew] - Upgrade to linux-2.6.17.13.</para>
</listitem>

View File

@ -40,6 +40,13 @@
<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>