From 141731e1b88e5e7fb3cea0d2fa15be86c3072167 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Fri, 14 Oct 2005 14:55:00 +0000 Subject: Added the bzip2 security and install docs patches git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7009 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter03/patches.xml | 14 ++++++++++++++ chapter06/bzip2.xml | 11 +++++++++++ 3 files changed, 30 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69bae9433..c9af4270e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -27,6 +27,8 @@ First a summary, then a detailed log. Added: texinfo-4.8-tempfile_fix-1.patch +bzip2-1.0.3-install_docs-1.patch +bzip2-1.0.3-bzgrep_security-1.patch @@ -36,6 +38,9 @@ First a summary, then a detailed log. +October 14th, 2005 [jhuntwork]: Added the bzip2 security +and install docs patches. + October 14th, 2005 [jhuntwork]: Added the tempfile patch for texinfo. diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 7972df910..e6f31e55f 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -29,6 +29,20 @@ needed to build an LFS system: + +Bzip2 Documentation Patch - 1 KB: + + + + + + +Bzip2 Bzgrep Security Fixes Patch - 1 KB: + + + + + Coreutils Suppress Uptime, Kill, Su Patch - 15 KB: diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml index f8907d789..cc4e011fc 100644 --- a/chapter06/bzip2.xml +++ b/chapter06/bzip2.xml @@ -30,6 +30,17 @@ GCC, Glibc, and Make Installation of Bzip2 +Apply a patch to install the documentation for this package: + +patch -Np1 -i ../&bzip2-docs-patch; + +The bzgrep command does not escape '|' and '&' in +filenames passed to it. This allows arbitrary commands to be executed with the +privileges of the user running bzgrep. Apply the following to +address this: + +patch -Np1 -i ../&bzip2-bzgrep-patch; + Prepare Bzip2 for compilation with: make -f Makefile-libbz2_so -- cgit v1.2.3-54-g00ecf