restore patchset application (also to fix CVE-2014-6271) [release 4.3.026-2mamba;Sun Sep 28 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:45:31 +01:00
parent cb472f9059
commit 714406a842
2 changed files with 11 additions and 9 deletions

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 4.3.026-2mamba
- restore patchset application (also to fix CVE-2014-6271)
* Fri Sep 26 2014 Automatic Build System <autodist@mambasoft.it> 4.3.026-1mamba
- automatic version update by autodist