Commit Graph

244 Commits

Author SHA1 Message Date
Dr. Werner Fink
d6f1e24b21 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
Dr. Werner Fink
0e0be74bb2 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
Dr. Werner Fink
f67253210a 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
Dr. Werner Fink
d5df4a43f4 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
9215244af1 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
Dr. Werner Fink
ced73c8702 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
526b82607c 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
Dr. Werner Fink
3b530b728b 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
Dr. Werner Fink
50b5e1ae63 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
e999f6ca71 /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
ab94dc8352 .
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
bf77a35541 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
Dr. Werner Fink
9a131a1247 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
2c1afa84ec 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
Dr. Werner Fink
f7635ef826 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
Dr. Werner Fink
ff398b2191 %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
800cfd5133 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
Dr. Werner Fink
efc24a4967 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
Dr. Werner Fink
a9446ef467 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
Dr. Werner Fink
60bc147691 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=242
2017-09-25 09:15:48 +00:00
Dr. Werner Fink
0299389492 Accepting request 498339 from home:bmwiedemann:branches:Base:System
Make build reproducible in spite of profile based optimizations (boo#1040589)

OBS-URL: https://build.opensuse.org/request/show/498339
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=240
2017-05-26 06:34:47 +00:00
Dr. Werner Fink
b52cdc65e2 Accepting request 497989 from home:bmwiedemann:branches:Base:System
Allow to disable do_profiling in builds (related to boo#1040589)

now keeping the tests enabled

OBS-URL: https://build.opensuse.org/request/show/497989
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=239
2017-05-24 13:58:50 +00:00
Dr. Werner Fink
2cf1224931 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=237
2017-04-26 16:05:14 +00:00
Dr. Werner Fink
08ad72078a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=236
2017-04-25 09:21:03 +00:00
Dr. Werner Fink
83b180bf09 remove bash-4.0-async-bnc523667.dif
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=234
2017-02-17 14:10:21 +00:00
Dr. Werner Fink
a2d9a23d44 Also update readline patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=232
2017-01-30 16:13:13 +00:00
Dr. Werner Fink
65e65d3aa6 Update from patch 006 upto 012
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=231
2017-01-27 17:54:19 +00:00
Dr. Werner Fink
e039af2b92 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=230
2017-01-19 12:36:42 +00:00
a4cd88daa1 Accepting request 445451 from home:marxin:branches:Base:System
Fix package to support GCC 7.

OBS-URL: https://build.opensuse.org/request/show/445451
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=228
2016-12-17 13:02:15 +00:00
Dr. Werner Fink
600185febf Fix boo#1010845
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=225
2016-11-28 11:43:24 +00:00
Dr. Werner Fink
eeef1b0d78 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=224
2016-11-17 09:36:29 +00:00
Dr. Werner Fink
9872cedfe9 Accepting request 437120 from home:Andreas_Schwab:Factory
- no-null-warning.patch: Don't warn about null bytes in command
  substitution

OBS-URL: https://build.opensuse.org/request/show/437120
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=222
2016-10-24 14:38:11 +00:00
Dr. Werner Fink
d34d66e357 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=221
2016-10-21 12:25:30 +00:00
Dr. Werner Fink
4ea4fdf26b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=220
2016-09-16 11:10:58 +00:00
Dr. Werner Fink
756ff0494e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=218
2016-08-01 13:53:44 +00:00
Dr. Werner Fink
ef1b17c6cc Update to bash43-046
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=216
2016-06-28 09:31:19 +00:00
6ca0f1fec9 Accepting request 396589 from SUSE:SLE-12-SP2:GA
- Add patch bash-4.3-async-bnc971410.dif
  this is a backport from bash-4.4-rc1 and might help to avoid to
  run onto a not existing child pointer, bnc#971410.

OBS-URL: https://build.opensuse.org/request/show/396589
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=214
2016-05-19 09:00:25 +00:00
Dr. Werner Fink
1e9d74b410 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=212
2015-10-19 13:43:05 +00:00
Dr. Werner Fink
8a13b9ddf9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=211
2015-10-16 16:53:55 +00:00
Dr. Werner Fink
01914f49b7 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=210
2015-10-16 13:29:33 +00:00
Dr. Werner Fink
62f7ed8057 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=208
2015-08-31 13:08:59 +00:00
Dr. Werner Fink
ef67741b27 Accepting request 314678 from openSUSE:Factory:Staging:B
OBS-URL: https://build.opensuse.org/request/show/314678
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=206
2015-07-01 08:51:27 +00:00
Dr. Werner Fink
bf7502d432 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=204
2015-05-28 08:53:09 +00:00
Dr. Werner Fink
cfaa9abca5 Accepting request 307684 from home:msmeissn:branches:Base:System
- move info deletion to %preun sections

OBS-URL: https://build.opensuse.org/request/show/307684
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=202
2015-05-18 07:44:27 +00:00
Dr. Werner Fink
e93ddf4937 Accepting request 289332 from home:jdelvare:branches:Base:System
Clean up bash-4.3-loadables.dif

OBS-URL: https://build.opensuse.org/request/show/289332
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=200
2015-03-19 11:47:55 +00:00
Dr. Werner Fink
9c902feeb8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=198
2015-02-18 15:15:52 +00:00
Dr. Werner Fink
228c42a5d1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=197
2015-01-16 16:57:08 +00:00
Dr. Werner Fink
893427ec14 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=196
2015-01-09 13:15:02 +00:00
Dr. Werner Fink
c6b8f31a32 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=195
2015-01-09 13:14:01 +00:00
Dr. Werner Fink
2dd9132993 Accepting request 263939 from home:jdelvare:branches:Base:System
- Fix the sed command that fixes up the patch headers. It was printing a duplicate header line, which surprisingly did not confuse patch, but could in the future.
- Fix all patches that had the duplicate header line issue.

OBS-URL: https://build.opensuse.org/request/show/263939
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=194
2014-12-18 14:31:09 +00:00