SHA256
3
0
forked from pool/bash

Update to bash 5.2 patchlevel 26

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=378
This commit is contained in:
Dr. Werner Fink 2024-01-16 09:08:48 +00:00 committed by Git OBS Bridge
parent b6fcb37fbd
commit 5a7ee7d04a
4 changed files with 26 additions and 6 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91f63c75796ddb746934ffc8106289f31b99970287393067ceb2a55d42e23428
size 30584
oid sha256:fd2f5e8ab1d04f97c681be63d585c545cd4d6b9ba5bee5e42ff06e107fbd9c37
size 32648

View File

@ -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>

View File

@ -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
@ -108,10 +108,10 @@ BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(readline) = 8.2
%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

View File

@ -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)}