diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-13 16:16:48 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-13 16:16:48 +0000 |
commit | d420de1b87a13bdf0f75a1c30c658a25977bd4de (patch) | |
tree | 08087aaddfdc28867abb1f8f3d25ac4bd7ef2beb /patches/bzip2/bzip2-1.0.4-POSIX-shell.patch | |
parent | e108232e4e7fc332d5585266f20a8dba3f62ce9c (diff) | |
download | midipix_build-d420de1b87a13bdf0f75a1c30c658a25977bd4de.tar.bz2 midipix_build-d420de1b87a13bdf0f75a1c30c658a25977bd4de.tar.xz |
vars/build.vars:bzip2: updated to v1.0.8 (via Redfoxmoon.)
patches/bzip2/CVE-2016-3189.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.4-POSIX-shell.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch: via Redfoxmoon.
patches/bzip2/bzip2-1.0.4-man-links.patch: updated (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.6-saneso.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/saneso.patch: via Redfoxmoon.
Diffstat (limited to 'patches/bzip2/bzip2-1.0.4-POSIX-shell.patch')
-rw-r--r-- | patches/bzip2/bzip2-1.0.4-POSIX-shell.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/patches/bzip2/bzip2-1.0.4-POSIX-shell.patch b/patches/bzip2/bzip2-1.0.4-POSIX-shell.patch deleted file mode 100644 index a5916eaf..00000000 --- a/patches/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 |