497 Commits

Author SHA256 Message Date
40afbbdaf4 Accepting request 1332470 from Base:System
- Remove obsolete qemu workaround (forwarded request 1332460 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1332470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=205
2026-02-12 16:24:43 +00:00
f829abc5c7 - Remove obsolete qemu workaround
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=420
2026-02-11 12:44:44 +00:00
4eb2aa48b7 Accepting request 1322180 from Base:System
- Add upstream patch
  * Bash-5.3 Official patch 8 -- bash53-009
    A SIGINT during a reverse i-search can cause a segmentation fault
    due to accessing data freed by a signal handler.

OBS-URL: https://build.opensuse.org/request/show/1322180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=204
2025-12-12 20:40:10 +00:00
6fd6b93341 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=418
2025-12-11 10:04:44 +00:00
20aa2836a6 Accepting request 1320336 from Base:System
- Add upstream patches
  * Bash-5.3 Official patch 4 -- bash53-004
    The Linux kernel reports incorrect sizes for files in /sys/block/*/uevent,
    leading bash to report a read error when the byte count does not agree
    with the file size from fstat(2).
  * Bash-5.3 Official patch 5 -- bash53-005
    Restoring the default disposition in a subshell for a signal bash treats
    specially can cause a crash.
  * Bash-5.3 Official patch 6 -- bash53-006
    When `globasciiranges' is enabled, glob patterns with ranges in bracket
    expressions can produce incorrect matches for character ranges whose
    start and end are non-ascii characters.
  * Bash-5.3 Official patch 7 -- bash53-007
    No-fork command substitutions can perform redirections that act on the
    enclosing command as well.
  * Bash-5.3 Official patch 8 -- bash53-008
    Bash tries to consume entire multibyte characters when looking for backslash
    escapes in $'...' strings, and treats too many characters as potentially
    beginning a multibyte character in UTF-8 locales. Being more selective about
    when to call mbrtowc() can lead to optimized string processing and script
    speedups. This patch also handles the unlikely situation of a locale
    encoding null wide characters with non-null bytes.
- Remove patch boo1254087.patch now upstream with bash53-004

OBS-URL: https://build.opensuse.org/request/show/1320336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=203
2025-11-28 15:50:28 +00:00
ba966d95b5 Update to patch level 8
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=416
2025-11-27 09:15:29 +00:00
106807e962 Accepting request 1319067 from Base:System
- Cherry pick from commit 01070d43248fb97f3b2a08d780ae5a392573ce34 
  two fixes:
  * boo1254087.patch -- fix for short reads by `source' builtin (boo#1254087)
  * risc-v.patch -- fix for crash on RISC-V machines

OBS-URL: https://build.opensuse.org/request/show/1319067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=202
2025-11-24 13:05:06 +00:00
94d5c86f8f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=414
2025-11-21 11:23:20 +00:00
1618d7771d Fix for boo#1254087 and fix for RISC-V
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=413
2025-11-21 09:56:37 +00:00
23a1462f39 Accepting request 1308134 from Base:System
To discuss: this would simplyfy our Bootstrap cycle; patchutils just gains new deps on xmlto, which pulls docbook-xsl, docbook-4, libxslt, sgml-skel, and unzip into ring0 - for something we might easily avoid (forwarded request 1307921 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1308134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=201
2025-10-01 16:55:34 +00:00
021d48f15e Accepting request 1307921 from home:dimstar:Factory
To discuss: this would simplyfy our Bootstrap cycle; patchutils just gains new deps on xmlto, which pulls docbook-xsl, docbook-4, libxslt, sgml-skel, and unzip into ring0 - for something we might easily avoid

OBS-URL: https://build.opensuse.org/request/show/1307921
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=411
2025-09-30 08:51:54 +00:00
abbfe85f08 Accepting request 1296985 from Base:System
- Take refreshed source tar ball with uptodate (g)po files
- Refresh (g)po files as well due our patches

- Add upstream patches
  * bash53-001
    In posix mode, `wait -n' with pid arguments does not restrict the set of
    processes it considers to those arguments.
  * bash53-002
    There are too many differences in the various implementations of shm_open(2)
    to rely on it for bash's use.
  * bash53-003
    Bash leaves internal quoting in place when expanding array subscripts
    that appear inside array subscripts in an arithmetic context, causing
    expansion failures.

- The package bash-loadables supplements a specific bash version

-  Update to bash 5.3
a. When checking whether a script file argument is a binary file, check the
   first two lines of a script if the first line begins with `#!'.
b. Bash does a better job of preserving user-supplied quotes around a word
   completion, instead of requoting it.
c. Bash reports the starting line number in an error message about an
   unterminated compound command like `if' without a `fi'.
d. Implement the POSIX requirement that running the `jobs' builtin removes
   jobs from the jobs list.
f. Call bash signal handlers while executing programmable completion commands,
   instead of readline's.
g. Print an error message if a regular expression used with [[ fails to compile.
h. The `umask' builtin now has additional features for full POSIX conformance.

OBS-URL: https://build.opensuse.org/request/show/1296985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=200
2025-08-13 14:23:38 +00:00
35de41399e Take refreshed upstream source tar ball
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=409
2025-08-01 08:01:16 +00:00
5eed5007a8 Refresh (g)po file
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=408
2025-08-01 06:02:25 +00:00
80ce79a17e Add upstream patches bash53-001, bash53-002, and bash53-003
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=407
2025-07-28 11:10:08 +00:00
5a663ad427 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=406
2025-07-17 10:39:18 +00:00
69cafd04e3 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=405
2025-07-17 09:33:29 +00:00
ad8ed15ee4 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=404
2025-07-17 09:28:51 +00:00
069df2d281 Update to bash-5.3
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=403
2025-07-17 09:15:35 +00:00
5764f7292f Accepting request 1271572 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1271572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=199
2025-04-23 15:26:42 +00:00
3e3be0a940 Accepting request 1271101 from home:hsk17:branches:openSUSE:Factory:Staging:Gcc7
add -std=gnu17 to CFLAGS to fix gcc15 compile time error

OBS-URL: https://build.opensuse.org/request/show/1271101
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=401
2025-04-22 09:53:11 +00:00
6fa0a5795f Accepting request 1267821 from Base:System
- Make it build even on s390 with profiling

OBS-URL: https://build.opensuse.org/request/show/1267821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=198
2025-04-14 10:55:10 +00:00
8b6905a54e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=399
2025-04-08 06:08:21 +00:00
e8119a87de .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=398
2025-04-04 14:24:31 +00:00
f919d17976 Accepting request 1251754 from Base:System
Skip PGO with %want_reproducible_builds (boo#1040589) (forwarded request 1251745 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/1251754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=197
2025-03-12 14:19:57 +00:00
9c838c9897 Accepting request 1251745 from home:bmwiedemann:branches:Base:System
Skip PGO with %want_reproducible_builds (boo#1040589)

OBS-URL: https://build.opensuse.org/request/show/1251745
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=396
2025-03-10 10:35:22 +00:00
c9d196ce62 Accepting request 1248296 from Base:System
- Explicitly specify that the build recipe needs bash (forwarded request 1248227 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/1248296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=196
2025-02-27 13:48:57 +00:00
d02192406c Accepting request 1248227 from home:jengelh:branches:Base:System
- Explicitly specify that the build recipe needs bash

OBS-URL: https://build.opensuse.org/request/show/1248227
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=394
2025-02-25 08:09:14 +00:00
8ebcdc0f9b Accepting request 1240150 from Base:System
- As in bash-sh there is only a symbolic link avoid to require a version

- Move (/etc/skel/.bashrc) and (/etc/skel/.profile) to (/usr/etc/skel/).

OBS-URL: https://build.opensuse.org/request/show/1240150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=195
2025-01-25 18:10:09 +00:00
ae35b07fec .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=392
2025-01-24 12:10:46 +00:00
7043673d86 Accepting request 1233720 from home:heitormoreira:branches:Base:System
- Move (/etc/skel/.bashrc) and (/etc/skel/.profile) to (/usr/etc/skel/).

OBS-URL: https://build.opensuse.org/request/show/1233720
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=391
2025-01-24 12:08:52 +00:00
7b6b4e5561 Accepting request 1233142 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=194
2024-12-24 15:25:28 +00:00
47fddfb475 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=389
2024-12-16 12:47:42 +00:00
071b240e0c Accepting request 1203319 from Base:System
- Add upstream patches
  * bash52-037
    Fix the case where text to be completed from the line buffer (quoted) is
    compared to the common prefix of the possible matches (unquoted) and the
    quoting makes the former appear to be longer than the latter. Readline
    assumes the match doesn't add any characters to the word and doesn't display
    multiple matches.
  * bash52-036
    When readline is accumulating bytes until it reads a complete multibyte
    character, reading a byte that makes the multibyte character invalid can
    result in discarding the bytes in the partial character.
  * bash52-035
    There are systems that supply one of select or pselect, but not both.
  * bash52-034
    If we parse a compound assignment during an alias expansion, it's possible
    to have the current input string popped out from underneath the parse. In
    this case, we should not restore the input we were using when we began to
    parse the compound assignment.
  * bash52-033
    A typo in the autoconf test for strtold causes false negatives for strtold
    being available and working when compiled with gcc-14.
- Port patch bash-3.2-printf.patch to fit change in bash52-033

OBS-URL: https://build.opensuse.org/request/show/1203319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=193
2024-09-25 19:51:33 +00:00
781e8797b0 Update to bash-5.2 patch level 37
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=387
2024-09-25 07:21:27 +00:00
e42ba3ba96 Accepting request 1194674 from Base:System
- Add upstream patches
  * bash52-027
    The configure test for the presence of strtoimax(3) is inverted.
  * bash52-028
    A DEBUG trap in an asynchronous process can steal the controlling terminal
    away from the calling shell, causing it to exit.
  * bash52-030
    `wait -n' can fail to return some jobs if they exit due to signals the shell
    does not report to the user.
  * bash52-031
    There is a memory leak in the code that implements the optimized $(<file)
    expansion for some code paths.
  * bash52-032
    When printing functions containing coprocesses, the displayed coproc command
    has the word COPROC inserted unconditionally, resulting in function bodies
    that cannot be re-read as input.

OBS-URL: https://build.opensuse.org/request/show/1194674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=192
2024-08-20 14:12:19 +00:00
eb653a25ee Add upstream patches bash52-027, bash52-028, bash52-030, bash52-031, and bash52-032
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=385
2024-08-19 09:21:15 +00:00
5f1e22fc88 Accepting request 1163955 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1163955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=191
2024-04-03 15:18:10 +00:00
68fef67808 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=383
2024-03-25 14:32:42 +00:00
18a2c9eaa3 Accepting request 1152946 from Base:System
- Harden bash to be compiled with gcc 14 (boo#1220564)
  * Modify patch bash-4.2-nscdunmap.dif to include <sys/mman.h>
  * Port bash-5.2.dif to the former change
  * Add patch bash-5.2-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1152946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=190
2024-03-01 22:35:57 +00:00
4b1489f765 Harden for gcc 14
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=381
2024-02-28 14:05:40 +00:00
df37604102 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
2024-01-17 21:14:14 +00:00
ca2c1669fe .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=379
2024-01-16 09:53:38 +00:00
087990d7c4 Update to bash 5.2 patchlevel 26
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=378
2024-01-16 09:08:48 +00:00
b4b0d103e3 Accepting request 1126551 from Base:System
- Declare token YYEOF to be able to support older bison versions
  as well 

- Be sure to have a usable bison installed at build time 

- Add upstream patches
  * bash52-021
    There is an off-by-one error that causes command substitutions to fail when
    they appear in a word expansion inside a here-document.
  * bash52-020
    The parser did not allow `time' to appear as the first reserved word in a
    command substitution.
  * bash52-019
    There are some cases where the shell reaped a background (asynchronous) job
    and would incorrectly try to set the terminal's process group back to the
    shell's. In these cases it never set the terminal process group to that
    jobs's process group initially, so resetting it is incorrect.
  * bash52-018
    There are two problems with returning tokens to yyparse() when the shell
    encounters a syntax error or when it reads EOF.
    When reading a WORD token, the parser has to return the correct value to
    yyparse. Previous versions returned a value < 0, which the bash parser
    translated into YYERRCODE for bison, and in newer versions of bison, the
    appropriate reset actions didn't happen. We should return YYUNDEF, which
    bison uses for `invalid token'. Since we can return a token < 0 for both
    invalid tokens and EOF, the bash tokenizer needs to differentiate between
    those two cases.
  * bash52-017
    In certain cases, using the `.' builtin in a subshell would optimize away
    the rest of the commands in the subshell.

OBS-URL: https://build.opensuse.org/request/show/1126551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=188
2023-11-17 19:47:59 +00:00
802ac05499 support also older bison versions
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=376
2023-11-15 09:09:46 +00:00
f959305304 bison version
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=375
2023-11-15 07:37:26 +00:00
f148dd0ccb Update to bash 5.2 patchlevel 21
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=374
2023-11-14 17:16:52 +00:00
5d3e637087 Accepting request 1057035 from Base:System
- Replace transitional %usrmerged macro with regular version check (boo#1206798) (forwarded request 1051448 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/1057035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=187
2023-01-11 13:32:45 +00:00
f4fb3c1920 Accepting request 1051448 from home:lnussel:usrmerge
- Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1051448
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=372
2023-01-09 10:27:26 +00:00