From 714406a8421c89644aed39f84f8514e70ede36e9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:45:31 +0100 Subject: [PATCH] restore patchset application (also to fix CVE-2014-6271) [release 4.3.026-2mamba;Sun Sep 28 2014] --- bash-patchset.sh => bash-autoupdate | 0 bash.spec | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) rename bash-patchset.sh => bash-autoupdate (100%) diff --git a/bash-patchset.sh b/bash-autoupdate similarity index 100% rename from bash-patchset.sh rename to bash-autoupdate diff --git a/bash.spec b/bash.spec index 0a63123..e9284e9 100644 --- a/bash.spec +++ b/bash.spec @@ -3,7 +3,7 @@ Name: bash Version: 4.3.026 -Release: 1mamba +Release: 2mamba Summary: The GNU Bourne Again shell (bash) Group: Applications/Shells Vendor: openmamba @@ -12,13 +12,13 @@ Packager: Silvan Calarco URL: http://www.gnu.org/software/bash/bash.html Source0: ftp://ftp.gnu.org/pub/gnu/bash/bash-%{majver}.tar.gz # Official upstream patches from `http://ftp.gnu.org/gnu/bash/bash-4.2-patches' -# Create bash-patchset for current release using bash-patchset.sh script -#Source1: bash-patchset-%{version}.tar.gz +# Create bash-patchset for current release using bash-autoupdate script +Source1: bash-patchset-%{version}.tar.gz Source2: dot-bashrc Source3: dot-bash_profile Source4: dot-bash_logout Source5: bash-2.0.5-cross-compile-config.cache -Source6: bash-patchset.sh +Source6: bash-autoupdate #Source7: http://translationproject.org/PO-files/it/bash-%{majver}.it.po Patch0: %{name}-4.1-bash-requires.patch License: GPL @@ -72,12 +72,11 @@ In addition, most sh scripts can be run by Bash without modification. This package includes doc guide examples and manual for bash. %prep -%setup -q -n %{name}-%{majver} -#-a1 +%setup -q -n %{name}-%{majver} -a1 #%patch0 -p1 -b .bash-requires -#for f in bash-patchset-%{version}/*; do -# patch -p0 < $f -#done +for f in bash-patchset-%{version}/*; do + patch -p0 < $f +done %if "%{_host}" != "%{_build}" # cross-compiling: give configure some anwsers @@ -165,6 +164,9 @@ exit 0 %{_docdir}/bash/* %changelog +* Sun Sep 28 2014 Silvan Calarco 4.3.026-2mamba +- restore patchset application (also to fix CVE-2014-6271) + * Fri Sep 26 2014 Automatic Build System 4.3.026-1mamba - automatic version update by autodist