SHA256
3
0
forked from pool/bash
Commit Graph

462 Commits

Author SHA256 Message Date
Dr. Werner Fink
f312225f7d Update to bash 5.0.7
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=291
2019-04-24 08:07:10 +00:00
Dominique Leuenberger
b7eb6c95c9 Accepting request 691415 from Base:System
- Add temporary fix from upstream for boo#1128936

- Add patch assignment-preceding-builtin.patch from upstream
  mailing list. Note that this break backward behaviour with
  bash-4.4 but implies that POSIX mode is more correct 

- Replace the temporary patch with official bash50-003

OBS-URL: https://build.opensuse.org/request/show/691415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=154
2019-04-08 08:29:52 +00:00
Dr. Werner Fink
50cf3045b0 boo#1128936
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=289
2019-04-04 07:21:24 +00:00
Dr. Werner Fink
0324a1a3f2 bash-5.0-003 and assignment-preceding-builtin.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=288
2019-03-21 08:27:04 +00:00
Dominique Leuenberger
52446df9d6 Accepting request 684640 from Base:System
OBS-URL: https://build.opensuse.org/request/show/684640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=153
2019-03-18 09:33:32 +00:00
Dr. Werner Fink
5cd8d96541 Accepting request 684575 from openSUSE:Factory
This is what was lost in Base:System due to the revert of bash in openSUSE:Factory

See https://bugzilla.opensuse.org/show_bug.cgi?id=1129036

It is up to you to decide what to do with it - but at least in its current form,
it is not working (install cycle with u-a/bash, detailed in the bug)

At least the non-/bin/sh related changes, like the patches, are certainly still wanted though.


- Update temporary patch from upstream to make sed testsuite
  work again

- Requires(postun) -> Requires(preun)

- Do not link /bin/sh as slave alternative to /usr/bin/sh

- Add temporary patch from upstream to fix boo#1127700

- Refine and harden update-alternatives work flow
- Move header and Makefile from bash-loadables to bash-devel 

- Make update-alternatives work flawless

- Put "sh" under control of update-alternatives

OBS-URL: https://build.opensuse.org/request/show/684575
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=286
2019-03-13 09:47:48 +00:00
Dominique Leuenberger
3cc900b138 Revert /bin/sh handling, see https://bugzilla.opensuse.org/show_bug.cgi?id=1129036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=152
2019-03-13 08:47:41 +00:00
OBS User buildservice-autocommit
8bb5fc02ba Updating link to change in openSUSE:Factory/bash revision 152
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=27cc63c809dc006b287f7ff21a894ae9
2019-03-13 08:47:41 +00:00
Dominique Leuenberger
1031b1143d Accepting request 683701 from Base:System
- Update temporary patch from upstream to make sed testsuite
  work again

- Requires(postun) -> Requires(preun)

- Do not link /bin/sh as slave alternative to /usr/bin/sh

- Add temporary patch from upstream to fix boo#1127700

- Refine and harden update-alternatives work flow
- Move header and Makefile from bash-loadables to bash-devel 

- Make update-alternatives work flawless

- Put "sh" under control of update-alternatives

OBS-URL: https://build.opensuse.org/request/show/683701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=151
2019-03-13 08:04:43 +00:00
Dr. Werner Fink
0304c14032 Update temporary patch from upstream to make sed testsuite work again
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=284
2019-03-11 07:33:22 +00:00
Dr. Werner Fink
4c81d25aa0 Requires(postun) -> Requires(preun)
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=283
2019-03-06 11:08:24 +00:00
Dr. Werner Fink
a142db8e2b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=282
2019-03-05 14:06:47 +00:00
Dr. Werner Fink
8407c37156 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=281
2019-03-05 12:43:41 +00:00
Dr. Werner Fink
a3eaf13b4c Repair build environment in Base:System
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=280
2019-03-05 12:24:22 +00:00
Dr. Werner Fink
244d5a7a9e Do not link /bin/sh as slave alternative to /usr/bin/sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=279
2019-03-05 12:08:17 +00:00
Dr. Werner Fink
30abf759e6 Add temporary patch from upstream to fix boo#1127700
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=278
2019-03-04 14:33:14 +00:00
Dr. Werner Fink
a2df15eae5 Refine update alternatives
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=277
2019-03-04 10:18:00 +00:00
Dr. Werner Fink
255db7fcf6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=276
2019-03-01 15:00:33 +00:00
Dr. Werner Fink
b3742169b2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=275
2019-03-01 14:45:10 +00:00
Dr. Werner Fink
32fc90b562 ghosts
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=274
2019-03-01 14:10:47 +00:00
Dr. Werner Fink
d8f0e8569f Accepting request 672763 from home:jengelh:branches:Base:System
- Put "sh" under control of update-alternatives
(allows doing the same for dash)

OBS-URL: https://build.opensuse.org/request/show/672763
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=273
2019-03-01 12:21:51 +00:00
Dominique Leuenberger
d819c15bab Accepting request 672490 from Base:System
- Add upstream patches bash50-001 and bash50-002

OBS-URL: https://build.opensuse.org/request/show/672490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=150
2019-02-14 13:10:51 +00:00
Dr. Werner Fink
edd44690e1 Add upstream patches bash50-001 and bash50-002
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=271
2019-02-07 15:09:21 +00:00
Dominique Leuenberger
5d9385b701 Accepting request 664075 from Base:System
- Update to bash 5.0 (final)
  a. Tilde expansion isn't performed on indexed array subscripts, even for
     backwards compatibility.
  b. The shell doesn't exit in posix mode if the eval builtin gets a parse
     error when run by the command builtin.
  c. Fixed a bug that caused a shell comment in an alias to not find the end
     of the alias properly.
  d. Reverted a change from April, 2018 that caused strings containing
     backslashes to be flagged as glob patterns.
- Modify patches
  * bash-2.03-manual.patch
  * bash-4.3-loadables.dif
  * bash-5.0.dif

- Update to bash 5.0 rc1
  a. Fix to initial word completion detection code.
  b. Fixed a bug that caused issues with assignment statements containing ^A in
     the value assigned when IFS contains ^A.
  c. Added a fallback to fnmatch() when strcoll can't correctly deal with
     bracket expression character equivalence classes.
  d. Fixed a bug that caused $BASH_COMMAND to contain the trap handler command
     when running a trap handler containing [[ or (( commands.
  e. Fixed a bug that caused nameref assignments in the temporary environment
     to potentially create variables with invalid names.
  f. Fixed a bug that caused `local -' to turn off alias expansion in scripts.
  g. Fixed a parser issue with a command string containing EOF after an invalid
     command as an argument to a special builtin not causing a posix-mode shell
     to exit.
  h. Made a slight change to the FNV-1 string hash algorithm used for associative
     arrays (corrected the initial seed).

OBS-URL: https://build.opensuse.org/request/show/664075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=149
2019-01-29 13:38:13 +00:00
Dr. Werner Fink
997d3cf43e Update to bash-5.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=269
2019-01-09 13:08:47 +00:00
Dominique Leuenberger
a34e57ecb9 Accepting request 621861 from Base:System
- Add bash-memmove.patch to make bash.html build reproducible (boo#1100488)

- In patch bash-4.4.dif avoid setgroups(2) but use initgroups(3) (boo#1095670)

OBS-URL: https://build.opensuse.org/request/show/621861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=148
2018-07-17 07:36:24 +00:00
Dr. Werner Fink
b7bd900942 boo#1100488
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=267
2018-07-10 10:01:43 +00:00
Dr. Werner Fink
f6207843e5 Accepting request 621385 from home:bmwiedemann:reproducible:test
Add bash-memmove.patch to make bash.html build reproducible (boo#1100488)

OBS-URL: https://build.opensuse.org/request/show/621385
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=266
2018-07-10 09:59:35 +00:00
Yuchen Lin
f3e2e4b1d6 Accepting request 614491 from Base:System
OBS-URL: https://build.opensuse.org/request/show/614491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=147
2018-06-13 13:13:01 +00:00
Dr. Werner Fink
0a8d78f8cb Accepting request 613679 from home:avindra:branches:Base:System
- Add patch 20, 21, 22 and 23 to bash-4.4-patches.tar.bz2
  * 20: In circumstances involving long-running scripts that create
    and reap many processes, it is possible for the hash table bash
    uses to store exit statuses from asynchronous processes to
    develop loops. This patch fixes the loop causes and adds code
    to detect any future loops.
  * 21: A SIGINT received inside a SIGINT trap handler can possibly
    cause the shell to loop.
  * 22: There are cases where a failing readline command (e.g.,
    delete-char at the end of a line) can cause a multi-character
    key sequence to `back up' and attempt to re-read some of the
    characters in the sequence.
  * 23: When sourcing a file from an interactive shell, setting the
    SIGINT handler to the default and typing ^C will cause the
    shell to exit.
- remove bash-4.4-wait-sigint-handler.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/613679
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=264
2018-06-06 08:34:03 +00:00
Dr. Werner Fink
ce2abbd36f In patch bash-4.4.dif avoud setgroups(2) but use initgroups(3)
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=263
2018-06-04 11:40:45 +00:00
Dominique Leuenberger
4a4cb66c80 Accepting request 598555 from Base:System
- Add patch bash-4.4-wait-sigint-handler.patch to fix bug bsc#1086247
  that is repeating self inserting trap due external command in the
  trap.

OBS-URL: https://build.opensuse.org/request/show/598555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=146
2018-04-22 12:35:33 +00:00
Dr. Werner Fink
71824847c8 fix bug bsc#1086247
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=261
2018-04-19 12:34:09 +00:00
Dominique Leuenberger
ba070f5016 Accepting request 587961 from Base:System
- Make sure that correct readline-devel version is used (current 7.0) 

- Correct documentation path 

- Due package split removed patches (for the bots)
  * readline-6.2-xmalloc.dif
  * readline-6.2-endpw.dif
  * readline-6.3-destdir.patch
  * readline-6.2-metamode.patch
  * readline-7.0.dif
  * readline-6.3-input.dif
  * readline-5.2-conf.patch
  * readline-6.3-rltrace.patch

- Split readline off into its own package

OBS-URL: https://build.opensuse.org/request/show/587961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=145
2018-03-22 10:52:33 +00:00
Dr. Werner Fink
dee0874457 Readline version check at build
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=259
2018-03-16 18:25:33 +00:00
Dr. Werner Fink
1f128ec5bd /usr/share/doc/packages/%{name}/
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=258
2018-03-16 06:54:20 +00:00
Dr. Werner Fink
35cdbaffae .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=257
2018-03-12 15:32:27 +00:00
Dr. Werner Fink
cca87aed76 Accepting request 585952 from home:Andreas_Schwab:Factory
- Split readline off into its own package

OBS-URL: https://build.opensuse.org/request/show/585952
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=256
2018-03-12 15:23:59 +00:00
Dominique Leuenberger
b5c5d68f4a Accepting request 580635 from Base:System
- Create readline-devel-static package to re-enable static libraries
  again (boo#1082913)

- Use %license (boo#1082318)

OBS-URL: https://build.opensuse.org/request/show/580635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=144
2018-03-07 09:28:20 +00:00
Dr. Werner Fink
cc8ffb6455 static readline libs
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=254
2018-02-27 14:38:26 +00:00
41827b053f Accepting request 580078 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580078
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=253
2018-02-27 09:48:21 +00:00
Dominique Leuenberger
88ab74868c Accepting request 573586 from Base:System
OBS-URL: https://build.opensuse.org/request/show/573586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=143
2018-02-10 16:52:08 +00:00
Dr. Werner Fink
627e64fc8d Accepting request 573552 from home:avindra
- Add patch 19 to bash-4.4-patches.tar.bz2
  * With certain values for PS1, especially those that wrap onto
    three or more lines, readline will miscalculate the number of
    invisible characters, leading to crashes and core dumps.

OBS-URL: https://build.opensuse.org/request/show/573552
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=251
2018-02-07 07:10:01 +00:00
Dominique Leuenberger
ce88dcdeaf Accepting request 570849 from Base:System
- Add patches 13-18 to bash-4.4-patches.tar.bz2
  * 13: If a here-document contains a command substitution, the
    command substitution can get access to the file descriptor used
    to write the here-document.
  * 14: Under some circumstances, functions that return via the
    `return' builtin do not clean up memory they allocated to keep
    track of FIFOs.
  * 15: Process substitution can leak internal quoting to the
    parser in the invoked subshell.
  * 16: Bash can perform trap processing while reading command
    substitution output instead of waiting until the command
    completes.
  * 17: There is a memory leak when `read -e' is used to read a
    line using readline.
  * 18: Under certain circumstances (e.g., reading from /dev/zero),
    read(2) will not return -1 even when interrupted by a signal.
    The read builtin needs to check for signals in this case.
- partial cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/570849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=142
2018-02-03 14:35:40 +00:00
Dr. Werner Fink
96cb6aa196 %defattr(-,root,root)
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=249
2018-01-30 07:20:06 +00:00
Dr. Werner Fink
c2d15dd419 Accepting request 570827 from home:avindra
- Add patches 13-18 to bash-4.4-patches.tar.bz2
  * 13: If a here-document contains a command substitution, the
    command substitution can get access to the file descriptor used
    to write the here-document.
  * 14: Under some circumstances, functions that return via the
    `return' builtin do not clean up memory they allocated to keep
    track of FIFOs.
  * 15: Process substitution can leak internal quoting to the
    parser in the invoked subshell.
  * 16: Bash can perform trap processing while reading command
    substitution output instead of waiting until the command
    completes.
  * 17: There is a memory leak when `read -e' is used to read a
    line using readline.
  * 18: Under certain circumstances (e.g., reading from /dev/zero),
    read(2) will not return -1 even when interrupted by a signal.
    The read builtin needs to check for signals in this case.
- partial cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/570827
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=248
2018-01-30 07:16:19 +00:00
Dominique Leuenberger
542737be6a Accepting request 569479 from Base:System
- Modify patch bash-4.3-pathtemp.patch to avoid crash at full
  file system (boo#1076909)

OBS-URL: https://build.opensuse.org/request/show/569479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=141
2018-01-29 13:54:57 +00:00
Dr. Werner Fink
0f1297741e Add fix for boo#1076909
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=246
2018-01-24 12:42:37 +00:00
Dominique Leuenberger
e1fc5d1f89 Accepting request 555156 from Base:System
- Enable multibyte characters by default

OBS-URL: https://build.opensuse.org/request/show/555156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=140
2017-12-12 20:19:15 +00:00
Dr. Werner Fink
e529247f85 Enable multibyte characters by default
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=244
2017-12-08 06:13:58 +00:00