Ignore:
Timestamp:
Feb 21, 2006, 1:23:04 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
69caf2f
Parents:
82fedc4
Message:

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gzip.xml

    r82fedc4 re0e40d3  
    3535    <title>Installation of Gzip</title>
    3636
    37     <para os="a">The following patch fixes two security vulnerabilities in Gzip.
     37    <para os="p1">The following patch fixes two security vulnerabilities in Gzip.
    3838    First, a path traversal bug when using the <option>-N</option> option
    3939    (CAN-2005-1228) Second, a race condition in the file permission restore
    4040    code (CAN-2005-0998)</para>
    4141
    42 <screen os="b"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
    43 
    44     <para os="c">Prepare Gzip for compilation:</para>
    45 
    46 <screen><userinput>./configure --prefix=/usr</userinput></screen>
    47 
    48     <para os="d">The <command>gzexe</command> script has the location of the
     42<screen os="p2"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
     43
     44    <para os="a">Prepare Gzip for compilation:</para>
     45
     46<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     47
     48    <para os="c">The <command>gzexe</command> script has the location of the
    4949    <command>gzip</command> binary hard-wired into it. Because the
    5050    location of the binary is changed later, the following command ensures
    5151    that the new location gets placed into the script:</para>
    5252
    53 <screen os="e"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
    54 
    55     <para os="f">Compile the package:</para>
    56 
    57 <screen os="g"><userinput>make</userinput></screen>
    58 
    59     <para os="h">Install the package:</para>
    60 
    61 <screen os="i"><userinput>make install</userinput></screen>
    62 
    63     <para os="j">Move the <command>gzip</command> program to the <filename
     53<screen os="d"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
     54
     55    <para os="e">Compile the package:</para>
     56
     57<screen os="f"><userinput>make</userinput></screen>
     58
     59    <para os="g">Install the package:</para>
     60
     61<screen os="h"><userinput>make install</userinput></screen>
     62
     63    <para os="i">Move the <command>gzip</command> program to the <filename
    6464    class="directory">/bin</filename> directory and create some commonly
    6565    used symlinks to it:</para>
    6666
    67 <screen os="k"><userinput>mv /usr/bin/gzip /bin
     67<screen os="j"><userinput>mv /usr/bin/gzip /bin
    6868rm /usr/bin/{gunzip,zcat}
    6969ln -s gzip /bin/gunzip
Note: See TracChangeset for help on using the changeset viewer.