Changeset e0e40d3 for BOOK/final-system/common/bzip2.xml
- Timestamp:
- Feb 21, 2006, 1:23:04 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 69caf2f
- Parents:
- 82fedc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/bzip2.xml
r82fedc4 re0e40d3 36 36 <title>Installation of Bzip2</title> 37 37 38 <para os=" j">Apply a patch to install the documentation for this38 <para os="p1">Apply a patch to install the documentation for this 39 39 package:</para> 40 40 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 '|' and41 <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 44 44 '&' in filenames passed to it. This allows arbitrary commands to be 45 45 executed with the privileges of the user running <command>bzgrep</command>. 46 46 Apply the following patch to address this:</para> 47 47 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> 49 49 50 50 <para os="a">The Bzip2 package does not contain a <command>configure</command> 51 51 script. Compile it with:</para> 52 52 53 <screen ><userinput>make -f Makefile-libbz2_so53 <screen os="b"><userinput>make -f Makefile-libbz2_so 54 54 make clean</userinput></screen> 55 55 56 <para os=" b">The <parameter>-f</parameter> flag will cause Bzip2 to be built56 <para os="c">The <parameter>-f</parameter> flag will cause Bzip2 to be built 57 57 using a different <filename>Makefile</filename> file, in this case the 58 58 <filename>Makefile-libbz2_so</filename> file, which creates a dynamic … … 60 60 Bzip2 utilities against it.</para> 61 61 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, perform62 <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 67 67 <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the 68 68 following <command>make install</command> will fail.</para> 69 69 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 the70 <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 75 75 <filename class="directory">/bin</filename> directory, make 76 76 some necessary symbolic links, and clean up:</para> 77 77 78 <screen os=" i"><userinput>cp bzip2-shared /bin/bzip278 <screen os="j"><userinput>cp bzip2-shared /bin/bzip2 79 79 cp -a libbz2.so* /lib 80 80 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
Note: See TracChangeset
for help on using the changeset viewer.