From aef951337996795182241f1847b2286ca74392fc Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 14 Jul 2020 07:22:55 +0000 Subject: [PATCH] Add official patch bash50-018 OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=316 --- bash-5.0-patches.tar.bz2 | 4 ++-- bash.changes | 8 ++++++++ bash.spec | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bash-5.0-patches.tar.bz2 b/bash-5.0-patches.tar.bz2 index 8422af97..12d88a05 100644 --- a/bash-5.0-patches.tar.bz2 +++ b/bash-5.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8c836e86b07a8fe59984c8e8cd31cd416e3763b7699ba8e7425aea5e7e23d804 -size 12816 +oid sha256:079f287939ff1fbd753c397277ad58249ba96bb06b7ed4a212cc3626aada8a3e +size 12963 diff --git a/bash.changes b/bash.changes index 98e902e7..d466fcd7 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 14 07:20:07 UTC 2020 - Dr. Werner Fink + +- Add official patch bash50-018 + * In certain cases, bash does not perform quoted null removal on patterns + that are used as part of word expansions such as ${parameter##pattern}, so + empty patterns are treated as non-empty. + ------------------------------------------------------------------- Sat May 9 07:03:45 UTC 2020 - Dr. Werner Fink diff --git a/bash.spec b/bash.spec index 25ed4934..ed681c23 100644 --- a/bash.spec +++ b/bash.spec @@ -201,6 +201,7 @@ echo -e '\033[1m\032[31mShift JIS support disabled\033[m' %endif %setup -q -n bash-%{bversion}%{bextend} -b1 typeset -i level +set +x for patch in ../bash-%{bversion}-patches/*; do test -e $patch || break let level=0 || true @@ -214,6 +215,7 @@ for patch in ../bash-%{bversion}-patches/*; do echo Patch $patch patch -s -p$level < $patch done +set -x %patch1 -p0 -b .manual %patch2 -p0 -b .security %patch3 -p0 -b .2.4.4