Commit Graph

388 Commits

Author SHA1 Message Date
Dominique Leuenberger
672664dd08 Accepting request 820865 from Base:System
- Add official patch bash50-018
  * In certain cases, bash does not perform quoted null removal on patterns
    that are used as part of word expansions such as ${parameter##pattern}, so
    empty patterns are treated as non-empty.

OBS-URL: https://build.opensuse.org/request/show/820865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=164
2020-08-02 10:27:22 +00:00
Dr. Werner Fink
aef9513379 Add official patch bash50-018
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=316
2020-07-14 07:22:55 +00:00
Dominique Leuenberger
5c5b226f69 Accepting request 806032 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/806032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=163
2020-05-19 12:43:22 +00:00
Dominique Leuenberger
185f4e530f Accepting request 798881 from Base:System
OBS-URL: https://build.opensuse.org/request/show/798881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=162
2020-05-09 17:48:12 +00:00
Dr. Werner Fink
1a04a9a051 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=313
2020-05-09 13:34:36 +00:00
Dr. Werner Fink
4b1181591c Add official patch bash50-017
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=312
2020-05-09 07:08:45 +00:00
Dr. Werner Fink
d254773e57 Accepting request 795456 from home:kukuk:branches:Base:System
- Fix usage of update-alternatives

OBS-URL: https://build.opensuse.org/request/show/795456
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=311
2020-04-29 11:13:33 +00:00
Dominique Leuenberger
9ff90d2ba9 Accepting request 791138 from Base:System
- Add temporary patch bash50-fix-016-close-new-fifos.patch from upstream
  to fix upstream patch bash50-016

- move man pages back to main package. It's just 100k

OBS-URL: https://build.opensuse.org/request/show/791138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=161
2020-04-08 17:54:04 +00:00
Dr. Werner Fink
1b25d05121 Fix bash50-016
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=309
2020-04-03 08:43:13 +00:00
Dr. Werner Fink
37671d2e68 Accepting request 778707 from home:lnussel:branches:Base:System
- move man pages back to main package. It's just 100k

OBS-URL: https://build.opensuse.org/request/show/778707
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=308
2020-04-03 08:27:44 +00:00
Dominique Leuenberger
6733e0a613 Accepting request 774145 from Base:System
- Add official patch bash50-012
  When using previous-history to go back beyond the beginning of the history list,
  it's possible to move to an incorrect partial line.
- Add official patch bash50-013
  Reading history entries with timestamps can result in history entries joined
  by linefeeds.
- Add official patch bash50-014
  If the current line is empty, using the emacs C-xC-e binding to enter the
  editor will edit the previous command instead of the current (empty) one.
- Add official patch bash50-015
  If alias expansion is enabled when processing the command argument to the
  `-c' option, an alias is defined in that command, and the command ends with
  the invocation of that alias, the shell's command parser can prematurely
  terminate before the entire command is executed.
- Add official patch bash50-016
  Bash waits too long to reap /dev/fd process substitutions used as redirections
  with loops and group commands, which can lead to file descriptor exhaustion.

OBS-URL: https://build.opensuse.org/request/show/774145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=160
2020-02-21 15:39:52 +00:00
Dr. Werner Fink
1e1d161325 Add upstream patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=306
2020-02-13 11:14:08 +00:00
Dominique Leuenberger
b7588219e3 Accepting request 738886 from Base:System
- Remove PILOTPORT and PILOTRATE environment variable from
  default ~/.bashrc (/etc/skel/.bashrc) (bsc#1123510)
- Move definitions of environment variables from ~/.bashrc to
  ~/.profile (/etc/skel/.profile)

OBS-URL: https://build.opensuse.org/request/show/738886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=159
2019-10-25 16:37:38 +00:00
Dr. Werner Fink
ad5408e09d bsc#1123510
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=304
2019-10-16 12:54:00 +00:00
Dominique Leuenberger
5ec2e41882 Accepting request 733440 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/733440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=158
2019-10-10 09:48:27 +00:00
Yuchen Lin
c528d4aba8 Accepting request 729452 from Base:System
OBS-URL: https://build.opensuse.org/request/show/729452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=157
2019-09-20 12:45:28 +00:00
Dr. Werner Fink
6073a6298f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=301
2019-09-19 12:12:39 +00:00
Dr. Werner Fink
05f70a1e39 Accepting request 731941 from home:lnussel:branches:Base:System
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731941
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=300
2019-09-19 12:08:07 +00:00
3adec12db7 Accepting request 728237 from home:lnussel:branches:Base:System
- Avoid pulling in bash-doc into every installation. Instead of
  recommeding it, supplement the documentation pattern.

OBS-URL: https://build.opensuse.org/request/show/728237
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=299
2019-09-09 12:37:08 +00:00
Dr. Werner Fink
5288a1aa5d Update to patch level 11
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=298
2019-09-09 08:31:34 +00:00
Dominique Leuenberger
9521864c40 Accepting request 725335 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/725335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=156
2019-09-07 09:23:54 +00:00
Dr. Werner Fink
e66817c468 Add official patch bash50-008 and bash50-009
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=296
2019-08-15 13:47:41 +00:00
Dr. Werner Fink
af43bd7390 Restore previous state
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=295
2019-05-16 08:31:30 +00:00
Dr. Werner Fink
f4686f5e13 Temporary change to build bash 5.0 static linked for SLES-15
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=294
2019-05-16 07:55:19 +00:00
Dr. Werner Fink
b7cee26ef7 Temporary change to build bash 5.0 static linked for SLES-15
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=293
2019-05-16 07:41:25 +00:00
Yuchen Lin
0b5da1973e Accepting request 697366 from Base:System
- Add official patch bash50-004
  * In bash-5.0, the `wait' builtin without arguments waits for all children of the
    shell. This includes children it `inherited' at shell invocation time. This
    patch modifies the behavior to not wait for these inherited children, some
    of which might be long-lived.
- Add official patch bash50-005
  * In certain cases, bash optimizes out a fork() call too early and prevents
    traps from running.
- Add official patch bash50-006
  * Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without
    also defining SYSLOG_SHOPT.
- Add official patch bash50-007
  * Running `exec' when job control was disabled, even temporarily, but after it
    had been initialized, could leave the terminal in the wrong process group for
    the executed process.

OBS-URL: https://build.opensuse.org/request/show/697366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=155
2019-04-28 17:56:42 +00:00
Dr. Werner Fink
06e4605bfc 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
45ca510a09 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
f94b4b46a3 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
435b2d9213 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
688e4e1bc8 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
59f3a6a56d 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
3eaeedece0 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
e3e03d6844 Updating link to change in openSUSE:Factory/bash revision 152.0
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
aa8b621240 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
60d7c1de11 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
fa9d81339a 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
abf9b51ef9 .
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
9106a65f1b .
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
e9cd66710e 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
673b3e4972 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
ce134bb18f 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
1c5e5d95f0 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
e8a5212472 .
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
33fc734348 .
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
fe7ab20ef8 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
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
Dominique Leuenberger
a8fb8c6599 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
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
Dominique Leuenberger
f9e495fcc1 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