diff options
Diffstat (limited to 'chapter06/bzip2.xml')
-rw-r--r-- | chapter06/bzip2.xml | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml index 69d4d9b12..d3fa46c49 100644 --- a/chapter06/bzip2.xml +++ b/chapter06/bzip2.xml @@ -41,19 +41,6 @@ <screen><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen> - <para>The <command>bzgrep</command> command does not escape '|' and '&' - in filenames passed to it. This allows arbitrary commands to be executed - with the privileges of the user running <command>bzgrep</command>. Apply - the following to address this:</para> - -<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen> - - <para>The <command>bzdiff</command> script still uses the deprecated - <command>tempfile</command> program. Update it to use - <command>mktemp</command> instead:</para> - -<screen><userinput>sed -i 's@tempfile -d /tmp -p bz@mktemp -p /tmp@' bzdiff</userinput></screen> - <para>Prepare Bzip2 for compilation with:</para> <screen><userinput>make -f Makefile-libbz2_so @@ -85,7 +72,7 @@ make clean</userinput></screen> <para>Install the programs:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput>make PREFIX=/usr install</userinput></screen> <para>Install the shared <command>bzip2</command> binary into the <filename class="directory">/bin</filename> directory, make |