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/bzip2.xml

    r82fedc4 re0e40d3  
    3636    <title>Installation of Bzip2</title>
    3737
    38     <para os="j">Apply a patch to install the documentation for this
     38    <para os="p1">Apply a patch to install the documentation for this
    3939    package:</para>
    4040
    41 <screen os="k"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
    42 
    43     <para os="l">The <command>bzgrep</command> command does not escape '|' and
     41<screen os="p2"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
     42
     43    <para os="p3">The <command>bzgrep</command> command does not escape '|' and
    4444    '&amp;' in filenames passed to it. This allows arbitrary commands to be
    4545    executed with the privileges of the user running <command>bzgrep</command>.
    4646    Apply the following patch to address this:</para>
    4747
    48 <screen os="m"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
     48<screen os="p4"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
    4949
    5050    <para os="a">The Bzip2 package does not contain a <command>configure</command>
    5151    script. Compile it with:</para>
    5252
    53 <screen><userinput>make -f Makefile-libbz2_so
     53<screen os="b"><userinput>make -f Makefile-libbz2_so
    5454make clean</userinput></screen>
    5555
    56     <para os="b">The <parameter>-f</parameter> flag will cause Bzip2 to be built
     56    <para os="c">The <parameter>-f</parameter> flag will cause Bzip2 to be built
    5757    using a different <filename>Makefile</filename> file, in this case the
    5858    <filename>Makefile-libbz2_so</filename> file, which creates a dynamic
     
    6060    Bzip2 utilities against it.</para>
    6161
    62     <para os="c">Compile and test the package:</para>
    63 
    64 <screen><userinput>make</userinput></screen>
    65 
    66     <para os="e">If reinstalling Bzip2, perform
     62    <para os="d">Compile and test the package:</para>
     63
     64<screen os="e"><userinput>make</userinput></screen>
     65
     66    <para os="f">If reinstalling Bzip2, perform
    6767    <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the
    6868    following <command>make install</command> will fail.</para>
    6969
    70     <para os="f">Install the programs:</para>
    71 
    72 <screen os="g"><userinput>make install</userinput></screen>
    73 
    74     <para os="h">Install the shared <command>bzip2</command> binary into the
     70    <para os="g">Install the programs:</para>
     71
     72<screen os="h"><userinput>make install</userinput></screen>
     73
     74    <para os="i">Install the shared <command>bzip2</command> binary into the
    7575    <filename class="directory">/bin</filename> directory, make
    7676    some necessary symbolic links, and clean up:</para>
    7777
    78 <screen os="i"><userinput>cp bzip2-shared /bin/bzip2
     78<screen os="j"><userinput>cp bzip2-shared /bin/bzip2
    7979cp -a libbz2.so* /lib
    8080ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
Note: See TracChangeset for help on using the changeset viewer.