summaryrefslogtreecommitdiff
path: root/system/bzip2/bzip2-1.0.4-POSIX-shell.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-23 19:10:10 -0400
committerMax Rees <maxcrees@me.com>2019-07-23 19:10:10 -0400
commitb0c732dec4e83b2f18cb2cd323373b7247a6f2d3 (patch)
tree57bf26622e248cc0d71b344617cd91039fce619c /system/bzip2/bzip2-1.0.4-POSIX-shell.patch
parent0b09c67b8eba048295e57af90599dd74d1e30df8 (diff)
downloadpackages-b0c732dec4e83b2f18cb2cd323373b7247a6f2d3.tar.gz
packages-b0c732dec4e83b2f18cb2cd323373b7247a6f2d3.tar.bz2
packages-b0c732dec4e83b2f18cb2cd323373b7247a6f2d3.tar.xz
packages-b0c732dec4e83b2f18cb2cd323373b7247a6f2d3.zip
system/bzip2: [CVE] bump to 1.0.8
bzip2-1.0.4-POSIX-shell.patch integrated: https://sourceware.org/git/?p=bzip2.git;a=commit;h=33414da1d2bedf2cbe693f0e21fdaef11d221b1d CVE-2016-3189.patch integrated: https://sourceware.org/git/?p=bzip2.git;a=commit;h=c1cdd98db3238cb711c7d9cdc5671452ce2822cb
Diffstat (limited to 'system/bzip2/bzip2-1.0.4-POSIX-shell.patch')
-rw-r--r--system/bzip2/bzip2-1.0.4-POSIX-shell.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/system/bzip2/bzip2-1.0.4-POSIX-shell.patch b/system/bzip2/bzip2-1.0.4-POSIX-shell.patch
deleted file mode 100644
index a5916eaff..000000000
--- a/system/bzip2/bzip2-1.0.4-POSIX-shell.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-bzgrep uses !/bin/sh but then uses the bashism ${var//} so replace those
-with calls to sed so POSIX shells work
-
-http://bugs.gentoo.org/193365
-
---- ./bzgrep
-+++ ./bzgrep
-@@ -63,10 +63,9 @@
- bzip2 -cdfq "$i" | $grep $opt "$pat"
- r=$?
- else
-- j=${i//\\/\\\\}
-- j=${j//|/\\|}
-- j=${j//&/\\&}
-- j=`printf "%s" "$j" | tr '\n' ' '`
-+ # the backslashes here are doubled up as we have to escape each one for the
-+ # shell and then escape each one for the sed expression
-+ j=`printf "%s" "${i}" | sed -e 's:\\\\:\\\\\\\\:g' -e 's:[|]:\\\\|:g' -e 's:[&]:\\\\&:g' | tr '\n' ' '`
- bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
- r=$?
- fi