Commit Graph

449 Commits

Author SHA1 Message Date
Dominique Leuenberger
3561793dda 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
Dr. Werner Fink
66d848070f 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
Dominique Leuenberger
0e267a7162 Accepting request 1043053 from Base:System
- Add upstream patches
  * bash52-013
    Bash can leak memory when referencing a non-existent associative
    array element.
  * bash52-014
    Bash defers processing additional terminating signals when running
    the EXIT trap while exiting due to a terminating signal.  This
    patch allows the new terminating signal to kill the shell immediately.
  * bash52-015
    There are several cases where bash is too aggressive when optimizing
    out forks in subshells. For example, `eval' and traps should never
    be optimized.

OBS-URL: https://build.opensuse.org/request/show/1043053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=186
2022-12-18 16:22:19 +00:00
Dr. Werner Fink
994d284532 Update to bash52-015
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=370
2022-12-14 14:56:41 +00:00
Dominique Leuenberger
b8e8d2996c Accepting request 1038668 from Base:System
- Add upstream patches
  * bash52-010
    Bash-5.2 checks the first 128 characters of an executable file that execve()
    refuses to execute to see whether it's a binary file before trying to
    execute it as a shell script. This defeats some previously-supported use
    cases like "self-executing" jar files or "self-uncompressing" scripts.
  * bash52-011
    Using timeouts and readline editing with the `read' builtin (read -e -t) can
    leave the readline timeout enabled, potentially resulting in an erroneous
    timeout on the next call.
  * bash52-012
    When running in bash compatibility mode, nested command substitutions can
    leave the `extglob' option enabled.

OBS-URL: https://build.opensuse.org/request/show/1038668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=185
2022-11-30 13:58:49 +00:00
Dr. Werner Fink
861b59092d Update to bash 5.2 patchlevel 12
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=368
2022-11-28 11:45:55 +00:00
Dominique Leuenberger
2ce59826d5 Accepting request 1035012 from Base:System
- Add upstream patches
  * bash52-003
    Command substitutions need to preserve newlines instead of replacing them
    with semicolons, especially in the presence of multiple here-documents.
  * bash52-004
    Bash needs to keep better track of nested brace expansions to avoid problems
    with quoting and POSIX semantics.
  * bash52-005
    Null pattern substitution replacement strings can cause a crash.
  * bash52-006
    In interactive shells, interrupting the shell while entering a command
    substitution can inhibit alias expansion.
  * bash52-007
    This patch fixes several problems with alias expansion inside command
    substitutions when in POSIX mode.
  * bash52-008
    Array subscript expansion can inappropriately quote brackets if the expression
    contains < or >.
  * bash52-009
    Bash arithmetic expansion should allow `@' and `*' to be used as associative
    array keys in expressions.

OBS-URL: https://build.opensuse.org/request/show/1035012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=184
2022-11-12 16:40:01 +00:00
Dr. Werner Fink
5244d31e0f Add upstream patches from bash52-003 up to bash52-009
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=366
2022-11-09 15:14:20 +00:00
Dominique Leuenberger
0f52577aef Accepting request 1032788 from Base:System
- Set DEFAULT_LOADABLE_BUILTINS_PATH to get BASH_LOADABLES_PATH
  correct (boo#1204567)

OBS-URL: https://build.opensuse.org/request/show/1032788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=183
2022-11-04 16:31:21 +00:00
Dr. Werner Fink
61d0a2e0a8 BASH_LOADABLES_PATH
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=364
2022-11-02 08:18:10 +00:00
Dominique Leuenberger
82811b871b Accepting request 1030166 from Base:System
- Explicit require versioned libreadline8 as we face new ABI
  functions used by the bash (boo#1204336)

OBS-URL: https://build.opensuse.org/request/show/1030166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=182
2022-10-23 14:32:35 +00:00
Dr. Werner Fink
f9ebcf0d20 Try to avoid trouble with ABI changes of (lib)readline with only minor version update
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=362
2022-10-20 11:26:29 +00:00
Dominique Leuenberger
15ad3805f7 Accepting request 1010475 from Base:System
- Don't strip binaries
- Work around a signal mask issue with qemu linux-user emulation (forwarded request 1010321 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1010475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=181
2022-10-18 10:44:09 +00:00
Dr. Werner Fink
f547224b00 Accepting request 1010321 from home:Andreas_Schwab:Factory
- Don't strip binaries
- Work around a signal mask issue with qemu linux-user emulation

OBS-URL: https://build.opensuse.org/request/show/1010321
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=360
2022-10-13 12:46:15 +00:00
Dr. Werner Fink
ffd636866a Accepting request 1010225 from home:Andreas_Schwab:Factory
- Remove backup of patched tests

OBS-URL: https://build.opensuse.org/request/show/1010225
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=359
2022-10-12 12:36:34 +00:00
Richard Brown
d93a48fedf Accepting request 1008386 from Base:System
- Add upstream patches
  * bash52-001
    Expanding unset arrays in an arithmetic context can cause a
    segmentation fault.
  * bash52-002
    Starting bash with an invalid locale specification for
    LC_ALL/LANG/LC_CTYPE can cause the shell to crash.
- Do not run checks in parallel as it eats memory, a lot of memory
- Disable alternate array implementation as it eats a lot of memory

- Update to final bash 5.2 
  a. When replacing a history entry, make sure the existing entry has a non-NULL
     timestamp before copying it; it may have been added by the application, not
     the history library.

- Modernize run-tests 

- add checks

- Enable parallel builds by splitting clean and all at make time
- Update to bash 5.2 rc4
  Pos. aa is now enabled by default.
  m. Readline now checks for changes to locale settings (LC_ALL/LC_CTYPE/LANG)
     each time it is called, and modifies the appropriate locale-specific display
- Port patches
  * bash-2.03-manual.patch
  * bash-5.2.dif

- Update to bash 5.2 rc2
  gg. Since there is no `declare -' equivalent of `local -', make sure to use

OBS-URL: https://build.opensuse.org/request/show/1008386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=180
2022-10-11 15:59:13 +00:00
Dr. Werner Fink
d307901792 Add patches bash52-001 and bash52-002
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=357
2022-10-06 12:13:37 +00:00
Dr. Werner Fink
9b78f4b218 Remove leftover bash-5.1-noaq.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=356
2022-09-27 10:08:18 +00:00
Dr. Werner Fink
86e2d91293 Update to bash 5.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=355
2022-09-27 08:10:33 +00:00
Dr. Werner Fink
0bcfbac780 Modernize run-tests
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=354
2022-09-27 07:47:59 +00:00
Dr. Werner Fink
9ce5cec29a Accepting request 1005780 from home:yecril71pl:branches:Base:System
- add checks
The check in the build section does not check anything because it overrides the test script.

OBS-URL: https://build.opensuse.org/request/show/1005780
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=353
2022-09-27 07:37:07 +00:00
Dominique Leuenberger
bfb64dd4c6 Accepting request 1004899 from Base:System
- Enable parallel builds by slpitting clean and all at make time
  (Thanks to Christopher Yeleighton)
- Do not copy more than 1 byte for \(aq becoming a "'" in
  quotes-man2html.patch

- Small change in quotes-man2html.patch
  * Use a simple "'" aka quote instead of "&prime;" for "\(aq"

- Add patch quotes-man2html.patch
  * Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq

OBS-URL: https://build.opensuse.org/request/show/1004899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=179
2022-09-21 12:38:57 +00:00
Dr. Werner Fink
18361d63d4 Fix the fix
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=351
2022-09-20 07:01:04 +00:00
Dr. Werner Fink
c532ce9c6f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=350
2022-09-19 13:30:02 +00:00
Dr. Werner Fink
dec9a7959c Simple quote
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=349
2022-09-19 13:12:58 +00:00
Dr. Werner Fink
22c51e2f73 boo#1203091
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=348
2022-09-15 13:15:46 +00:00
Dominique Leuenberger
31ff11e881 Accepting request 975257 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/975257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=178
2022-05-10 13:09:36 +00:00
6f1b908831 - use https:// for source urls
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=346
2022-04-28 19:00:51 +00:00
Dominique Leuenberger
e218a8ca03 Accepting request 964694 from Base:System
- Do use old legacy PreReq to get bash installed before bash-sh 
  but do not require bash-sh by bash (bsc#1197448)

OBS-URL: https://build.opensuse.org/request/show/964694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=177
2022-03-29 16:13:42 +00:00
Dr. Werner Fink
6a60f7fe33 Do use old legacy PreReq to get bash installed before bash-sh but do not require bash-sh by bash (bsc#1197448)
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=344
2022-03-24 14:45:01 +00:00
Dominique Leuenberger
49d28572c6 Accepting request 958697 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/958697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=176
2022-03-05 13:42:54 +00:00
Dr. Werner Fink
c24129f2bc get_version_number.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=342
2022-02-24 08:40:56 +00:00
Dr. Werner Fink
c35e002045 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=341
2022-02-24 08:22:27 +00:00
Dr. Werner Fink
d52d84326b Signatures of the patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=340
2022-02-24 08:18:34 +00:00
Dr. Werner Fink
68949e6287 Accepting request 957141 from home:bmwiedemann:branches:Base:System
Verify upstream release signatures

OBS-URL: https://build.opensuse.org/request/show/957141
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=339
2022-02-24 08:15:00 +00:00
Dominique Leuenberger
e1a9e26d8a Accepting request 947929 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=175
2022-01-25 16:35:35 +00:00
Dr. Werner Fink
46145e1f6c Update bash 5.1 to patch level 16
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=338
2022-01-14 12:01:01 +00:00
Dominique Leuenberger
54539e42a6 Accepting request 935465 from Base:System
- avoid duplicating COPYING file in bash-doc (already in main package in
  licensedir)

OBS-URL: https://build.opensuse.org/request/show/935465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=174
2021-12-06 22:59:16 +00:00
5ebf42cb40 - avoid duplicating COPYING file in bash-doc (already in main package in
licensedir)

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=337
2021-12-03 13:59:31 +00:00
Dominique Leuenberger
053dfe8cc1 Accepting request 932216 from Base:System
- Update bash 5.1 to patch level 12
  * Add official patch bash51-009
    The bash malloc implementation of malloc_usable_size() does not follow the
    specification. This can cause library functions that use it to overwrite
    memory bounds checking.
  * Add official patch bash51-010
    If `wait -n' is interrupted by a trapped signal other than SIGINT, it does
    not completely clean up state, and that can prevent subsequent calls to
    `wait -n' from working correctly.
  * Add official patch bash51-011
    When reading a compound assignment, and running it through the parser to
    split it into words, we need to save and restore any alias we're currently
    expanding.
  * Add official patch bash51-012
    There is a possible race condition that arises when a child process receives
    a signal trapped by the parent before it can reset the signal dispositions.
    The child process is not supposed to trap the signal in this circumstance.

- Using package bash-sh instead of the update-alternative
  mechanism.

OBS-URL: https://build.opensuse.org/request/show/932216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=173
2021-12-01 19:46:32 +00:00
Dr. Werner Fink
4fff4534fe Update bash 5.1 to patch level 12
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=336
2021-11-18 10:43:17 +00:00
Dr. Werner Fink
3c7b1f94d6 Accepting request 927737 from home:schubi2:Factory
- Using package bash-sh instead of the update-alternative  mechanism.
- removed BuildRequires:  /bin/sh

OBS-URL: https://build.opensuse.org/request/show/927737
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=335
2021-10-28 12:46:19 +00:00
Richard Brown
b178b31a83 Accepting request 922406 from Base:System
- Install bash_builtins manpage under the correct name (forwarded request 922382 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/922406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=172
2021-10-08 20:04:33 +00:00
Dr. Werner Fink
9650f7fc85 Accepting request 922382 from home:Andreas_Schwab:Factory
- Install bash_builtins manpage under the correct name

OBS-URL: https://build.opensuse.org/request/show/922382
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=334
2021-09-30 14:47:02 +00:00
Dominique Leuenberger
fa4044c056 Accepting request 908369 from Base:System
- Use a get_version_number.sh script 

- Get patch lvl by running command to find it instead of hardcoding
- Remove old SUSE RPM constructs
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/908369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=171
2021-08-02 10:04:14 +00:00
Dr. Werner Fink
310368fa59 get_version_number
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=333
2021-07-26 08:58:19 +00:00
Dr. Werner Fink
c7de433241 Accepting request 908007 from home:gmbr3:Active
- Get patch lvl by running command to find it instead of hardcoding
- Remove old SUSE RPM constructs
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/908007
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=332
2021-07-26 08:01:45 +00:00
Dominique Leuenberger
ae08d1b174 Accepting request 897522 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/897522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=170
2021-06-09 19:51:28 +00:00
Dr. Werner Fink
b7172de4e9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=330
2021-05-28 14:18:58 +00:00
Dr. Werner Fink
2453291d79 HOSTTYPE
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=329
2021-05-28 13:56:42 +00:00