Commit Graph

449 Commits

Author SHA1 Message Date
Dominique Leuenberger
8c5eb20c8f Accepting request 890765 from Base:System
- Add official patch bash51-005
  * Fix two memory leaks when assigning arrays using compound assignment syntax.
- Add official patch bash51-006
  * Make sure child processes forked to run command substitutions are in the
    proper process group.
- Add official patch bash51-007
  * The code to check readline versions in an inputrc file had the sense of the
    comparisons reversed. 
- Add official patch bash51-008
  * Process substitution FIFOs opened by child processes as targets of redirections
    were not removed appropriately, leaving remnants in the file system.

OBS-URL: https://build.opensuse.org/request/show/890765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=169
2021-05-11 21:03:26 +00:00
Dr. Werner Fink
9ca42a4483 Add upstream bash51-005, bash51-006, bash51-007, and bash51-008
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=327
2021-05-05 15:09:41 +00:00
Dominique Leuenberger
57c1e77a9f Accepting request 862386 from Base:System
- Update to final bash 5.1
  * Which is mainly the last rc3 veresion
- Add official patch bash51-001
  There is a missing dependency on a constructed file, which can cause highly
  parellel builds to fail.
- Add official patch bash51-002
  If there are no jobs, and the `-n' and `-p' options are both supplied to
  `wait', bash can assign a value to the variable name specified with `-p'
  instead of leaving it unset.
- Add official patch bash51-003
  Bash does not put a command substitution process that is started to perform an
  expansion in a child process into the right process group where it can receive
  keyboard-generated signals.
- Add official patch bash51-004
  If a key-value compound array assignment to an associative array is supplied
  as an assignment statement argument to the `declare' command that declares the
  array, the assignment doesn't perform the correct word expansions.
  This patch makes key-value assignment and subscript assignment perform the
  same expansions when they're supplied as an argument to `declare'.

- Update to bash 5.1 rc3
  * The `assoc_expand_once' option now affects the evaluation of the -v primary
    to test and the [[ compound command.

- Update to bash 5.1 rc2
  * Process substitutions started from an interactive shell no longer have their
    standard input implicitly redirected from /dev/null.
  * Fixed an issue with setting the SIGINT trap handler in an interactive shell
    when temporarily running $PROMPT_COMMAND non-interactively.

OBS-URL: https://build.opensuse.org/request/show/862386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=168
2021-01-20 17:22:49 +00:00
Dr. Werner Fink
fdd9b7e568 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=325
2021-01-11 15:37:11 +00:00
Dr. Werner Fink
41951cf33e Update to bash 5.1 patch 4
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=324
2021-01-11 12:18:34 +00:00
Dominique Leuenberger
2b6c7ab9cd Accepting request 852327 from Base:System
OBS-URL: https://build.opensuse.org/request/show/852327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=167
2020-12-07 13:59:49 +00:00
Dr. Werner Fink
253474743b Accepting request 851923 from home:lnussel:usrmove
- remove obsolete info macros
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/851923
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=322
2020-12-01 11:45:32 +00:00
Dominique Leuenberger
685e0c41c8 Accepting request 836440 from Base:System
OBS-URL: https://build.opensuse.org/request/show/836440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=166
2020-10-08 11:05:35 +00:00
Dr. Werner Fink
f6ff89c36a Accepting request 836413 from home:sndirsch:branches:Base:System
- dot.profile: moved example for user specific LANG setting 
  from .profile to .i18n (x11-tools package) skeleton file (boo#1158724)

OBS-URL: https://build.opensuse.org/request/show/836413
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=320
2020-09-24 05:43:06 +00:00
Dominique Leuenberger
6253e270e8 Accepting request 824704 from Base:System
OBS-URL: https://build.opensuse.org/request/show/824704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=165
2020-08-17 09:59:12 +00:00
Dr. Werner Fink
06bafccf7e Accepting request 824016 from home:elimat:branches:Base:System
- Bump bpatchlvl version to 18 which was missed in previous change

OBS-URL: https://build.opensuse.org/request/show/824016
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=318
2020-08-06 15:40:53 +00:00
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