cvs commit: LFS/BOOK/entities gzip.ent

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Thu Jan 16 21:09:21 PST 2003


timothy     03/01/17 00:09:21

  Modified:    BOOK/chapter06 gzip-inst.xml gzip.xml
               BOOK/entities gzip.ent
  Removed:     BOOK/chapter06 gzip-exp.xml
  Log:
  Billy's gzip conversion.
  
  Revision  Changes    Path
  1.16      +34 -5     LFS/BOOK/chapter06/gzip-inst.xml
  
  Index: gzip-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gzip-inst.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- gzip-inst.xml	7 Sep 2002 16:42:31 -0000	1.15
  +++ gzip-inst.xml	17 Jan 2003 05:09:20 -0000	1.16
  @@ -1,14 +1,28 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Installation of Gzip</title>
   
  -<para>Install Gzip by running the following commands:</para>
  +<para>Prepare Gzip to be compiled:</para>
   
  -<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch &&
  +<para><screen><userinput>
  +patch -Np1 -i ../gzip-&gzip-patch-version;.patch && 
   ./configure --prefix=/usr &&
   cp gzexe.in{,.backup} &&
  -sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in &&
  -make &&
  -make install &&
  +sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in
  +</userinput></screen></para>
  +
  +<para>Continue with compiling the package:</para>
  +
  +<para><screen><userinput>make</userinput></screen></para>
  +
  +<para>And finish off installing the package:</para>
  +
  +<para><screen><userinput>make install</userinput></screen></para>
  +
  +<para>Move the Gzip binaries to the root partition:</para>
  +
  +<para><screen><userinput>
   mv /usr/bin/gzip /bin &&
   rm /usr/bin/{gunzip,zcat} &&
   ln -s gzip /bin/gunzip &&
  @@ -17,3 +31,18 @@
   
   </sect2>
   
  +<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>
  +
  +<para><userinput>
  +cp gzexe.in{,.backup} &&
  +sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput>
  +Change the default installation directory for Gzip so it will be
  +installed on the root partition.</para>
  +
  +
  +</sect2>
  
  
  
  1.10      +2 -3      LFS/BOOK/chapter06/gzip.xml
  
  Index: gzip.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gzip.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- gzip.xml	7 Sep 2002 16:42:31 -0000	1.9
  +++ gzip.xml	17 Jan 2003 05:09:20 -0000	1.10
  @@ -5,9 +5,8 @@
   <screen>Estimated build time:           &gzip-time;
   Estimated required disk space:  &gzip-compsize;</screen>
   
  -&c6-gzip-inst;
  -&c6-gzip-exp;
  -&aa-gzip-desc;
  +&aa-gzip-shortdesc;
   &aa-gzip-dep;
  +&c6-gzip-inst;
   
   </sect1>
  
  
  
  1.11      +0 -1      LFS/BOOK/entities/gzip.ent
  
  Index: gzip.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/entities/gzip.ent,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- gzip.ent	15 Jan 2003 01:45:00 -0000	1.10
  +++ gzip.ent	17 Jan 2003 05:09:20 -0000	1.11
  @@ -6,7 +6,6 @@
   
   <!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-shortdesc SYSTEM "../appendixa/gzip-shortdesc.xml">
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list