Accepting request 1139152 from Base:System
- Add upstream patches * bash52-022 It's possible for readline to try to zero out a line that's not null-terminated, leading to a memory fault. * bash52-023 Running `local -' multiple times in a shell function would overwrite the original saved set of options. * bash52-024 Fix bug where associative array compound assignment would not expand tildes in values. * bash52-025 Make sure a subshell checks for and handles any terminating signals before exiting (which might have arrived after the command completed) so the parent and any EXIT trap will see the correct value for $?. OBS-URL: https://build.opensuse.org/request/show/1139152 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=189
This commit is contained in:
commit
15863f5432
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91f63c75796ddb746934ffc8106289f31b99970287393067ceb2a55d42e23428
|
||||
size 30584
|
||||
oid sha256:fd2f5e8ab1d04f97c681be63d585c545cd4d6b9ba5bee5e42ff06e107fbd9c37
|
||||
size 32648
|
||||
|
19
bash.changes
19
bash.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 08:49:57 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add upstream patches
|
||||
* bash52-022
|
||||
It's possible for readline to try to zero out a line that's not
|
||||
null-terminated, leading to a memory fault.
|
||||
* bash52-023
|
||||
Running `local -' multiple times in a shell function would
|
||||
overwrite the original saved set of options.
|
||||
* bash52-024
|
||||
Fix bug where associative array compound assignment would not
|
||||
expand tildes in values.
|
||||
* bash52-025
|
||||
Make sure a subshell checks for and handles any terminating
|
||||
signals before exiting (which might have arrived after the
|
||||
command completed) so the parent and any EXIT trap will see
|
||||
the correct value for $?.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 09:08:33 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bash
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -105,13 +105,13 @@ BuildRequires: update-alternatives
|
||||
BuildRequires: pkgconfig(audit)
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
# This has to be always the same version as included in the bash its self
|
||||
BuildRequires: pkgconfig(readline) = 8.2
|
||||
BuildRequires: pkgconfig(readline) >= %{rl_version}
|
||||
%if %{with alternatives}
|
||||
Requires(post): update-alternatives
|
||||
Requires(post): libreadline%{rl_major} = %{rl_version}
|
||||
Requires(post): libreadline%{rl_major} >= %{rl_version}
|
||||
Requires(preun):update-alternatives
|
||||
%endif
|
||||
Requires: libreadline%{rl_major} = %{rl_version}
|
||||
Requires: libreadline%{rl_major} >= %{rl_version}
|
||||
Suggests: bash-doc = %{version}
|
||||
Suggests: command-not-found
|
||||
Provides: /bin/bash
|
||||
|
@ -13,4 +13,5 @@ OFS="$IFS"
|
||||
IFS=-
|
||||
last=($(tar --wildcards -tf ${sourcedir}/bash-${version}-patches.tar.bz2 '*/bash[0-9][0-9]-*[0-9]' | sed -r 's@\.patch$@@'| sort -t '-' -k 3,3 -n | tail -n 1))
|
||||
IFS="$OFS"
|
||||
echo ${last[3]/*0/}
|
||||
shopt -s extglob
|
||||
echo ${last[3]##+(0)}
|
||||
|
Loading…
Reference in New Issue
Block a user