SHA256
3
0
forked from pool/bash

Compare commits

...

144 Commits

Author SHA256 Message Date
Ana Guerrero
6f5213578a Accepting request 1233142 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=194
2024-12-24 15:25:28 +00:00
Dr. Werner Fink
62053e37b8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=389
2024-12-16 12:47:42 +00:00
Ana Guerrero
df7b276f8f Accepting request 1203319 from Base:System
- Add upstream patches
  * bash52-037
    Fix the case where text to be completed from the line buffer (quoted) is
    compared to the common prefix of the possible matches (unquoted) and the
    quoting makes the former appear to be longer than the latter. Readline
    assumes the match doesn't add any characters to the word and doesn't display
    multiple matches.
  * bash52-036
    When readline is accumulating bytes until it reads a complete multibyte
    character, reading a byte that makes the multibyte character invalid can
    result in discarding the bytes in the partial character.
  * bash52-035
    There are systems that supply one of select or pselect, but not both.
  * bash52-034
    If we parse a compound assignment during an alias expansion, it's possible
    to have the current input string popped out from underneath the parse. In
    this case, we should not restore the input we were using when we began to
    parse the compound assignment.
  * bash52-033
    A typo in the autoconf test for strtold causes false negatives for strtold
    being available and working when compiled with gcc-14.
- Port patch bash-3.2-printf.patch to fit change in bash52-033

OBS-URL: https://build.opensuse.org/request/show/1203319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=193
2024-09-25 19:51:33 +00:00
Dr. Werner Fink
28a8c60032 Update to bash-5.2 patch level 37
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=387
2024-09-25 07:21:27 +00:00
Ana Guerrero
29cfdbf34c Accepting request 1194674 from Base:System
- Add upstream patches
  * bash52-027
    The configure test for the presence of strtoimax(3) is inverted.
  * bash52-028
    A DEBUG trap in an asynchronous process can steal the controlling terminal
    away from the calling shell, causing it to exit.
  * bash52-030
    `wait -n' can fail to return some jobs if they exit due to signals the shell
    does not report to the user.
  * bash52-031
    There is a memory leak in the code that implements the optimized $(<file)
    expansion for some code paths.
  * bash52-032
    When printing functions containing coprocesses, the displayed coproc command
    has the word COPROC inserted unconditionally, resulting in function bodies
    that cannot be re-read as input.

OBS-URL: https://build.opensuse.org/request/show/1194674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=192
2024-08-20 14:12:19 +00:00
Ana Guerrero
0378552021 Accepting request 1163955 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1163955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=191
2024-04-03 15:18:10 +00:00
Dominique Leuenberger
ba43d5ea5c Accepting request 1152946 from Base:System
- Harden bash to be compiled with gcc 14 (boo#1220564)
  * Modify patch bash-4.2-nscdunmap.dif to include <sys/mman.h>
  * Port bash-5.2.dif to the former change
  * Add patch bash-5.2-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1152946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=190
2024-03-01 22:35:57 +00:00
Ana Guerrero
15863f5432 Accepting request 1139152 from Base:System
- Add upstream patches
  * bash52-022
    It's possible for readline to try to zero out a line that's not
    null-terminated, leading to a memory fault.
  * bash52-023
    Running `local -' multiple times in a shell function would
    overwrite the original saved set of options.
  * bash52-024
    Fix bug where associative array compound assignment would not
    expand tildes in values.
  * bash52-025
    Make sure a subshell checks for and handles any terminating
    signals before exiting (which might have arrived after the
    command completed) so the parent and any EXIT trap will see
    the correct value for $?.

OBS-URL: https://build.opensuse.org/request/show/1139152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=189
2024-01-17 21:14:14 +00:00
Ana Guerrero
3dda9bc1a4 Accepting request 1126551 from Base:System
- Declare token YYEOF to be able to support older bison versions
  as well 

- Be sure to have a usable bison installed at build time 

- Add upstream patches
  * bash52-021
    There is an off-by-one error that causes command substitutions to fail when
    they appear in a word expansion inside a here-document.
  * bash52-020
    The parser did not allow `time' to appear as the first reserved word in a
    command substitution.
  * bash52-019
    There are some cases where the shell reaped a background (asynchronous) job
    and would incorrectly try to set the terminal's process group back to the
    shell's. In these cases it never set the terminal process group to that
    jobs's process group initially, so resetting it is incorrect.
  * bash52-018
    There are two problems with returning tokens to yyparse() when the shell
    encounters a syntax error or when it reads EOF.
    When reading a WORD token, the parser has to return the correct value to
    yyparse. Previous versions returned a value < 0, which the bash parser
    translated into YYERRCODE for bison, and in newer versions of bison, the
    appropriate reset actions didn't happen. We should return YYUNDEF, which
    bison uses for `invalid token'. Since we can return a token < 0 for both
    invalid tokens and EOF, the bash tokenizer needs to differentiate between
    those two cases.
  * bash52-017
    In certain cases, using the `.' builtin in a subshell would optimize away
    the rest of the commands in the subshell.

OBS-URL: https://build.opensuse.org/request/show/1126551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=188
2023-11-17 19:47:59 +00:00
Dominique Leuenberger
2adf5b188e 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
Dominique Leuenberger
1c3fd5819c 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
Dominique Leuenberger
1c3d3dff33 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
Dominique Leuenberger
6eee2ee368 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
Dominique Leuenberger
a6df3f6728 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
Dominique Leuenberger
a1d59f2d81 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
Dominique Leuenberger
483f72b908 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
Richard Brown
25730d0bfa 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
Dominique Leuenberger
f43f485ec4 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
Dominique Leuenberger
b4c91ec3fc 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
Dominique Leuenberger
6418c2d844 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
Dominique Leuenberger
fa7179c1e9 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
Dominique Leuenberger
5cd1da5874 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
Dominique Leuenberger
8935bfd6a7 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
Dominique Leuenberger
dd9f9f1b37 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
Richard Brown
7229960c64 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
Dominique Leuenberger
d75bef4376 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
Dominique Leuenberger
e3c6565d43 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
Dominique Leuenberger
f41ed3655e 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
Dominique Leuenberger
d123fca42d 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
Dominique Leuenberger
de2923b298 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
Dominique Leuenberger
9ea15d4fd9 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
Dominique Leuenberger
5776600cea 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
Dominique Leuenberger
84093ebb1a 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
Dominique Leuenberger
cf73b6a600 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
6e794f780d 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
Dominique Leuenberger
37abfe1f36 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
Dominique Leuenberger
766bb2598b 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
Dominique Leuenberger
e5ddc12356 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
Dominique Leuenberger
69cecbae54 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
d7dcf65329 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
Dominique Leuenberger
afcf262b8f 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
Yuchen Lin
80a5524d0d 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dominique Leuenberger
178da5c01f Accepting request 528605 from Base:System
- Modify patch bash-4.4.dif to let bashline.h install as well as
  this header file is included by general.h due to the same patch
  (boo#1060069)

OBS-URL: https://build.opensuse.org/request/show/528605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=139
2017-10-02 14:43:53 +00:00
Dominique Leuenberger
5198c64d8c Accepting request 498391 from Base:System
Make build reproducible in spite of profile based optimizations (boo#1040589) (forwarded request 498339 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/498391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=138
2017-06-02 08:30:54 +00:00
Dominique Leuenberger
97a32b7a74 Accepting request 491274 from Base:System
- Simplify patch readline-5.2-conf.patch 

- Do not throw info and manual pages away

OBS-URL: https://build.opensuse.org/request/show/491274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=137
2017-05-17 08:45:13 +00:00
Dominique Leuenberger
9b96a13b48 Accepting request 460239 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/460239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=136
2017-03-05 16:49:22 +00:00
Dominique Leuenberger
bbb216f75b Accepting request 453464 from Base:System
- Add upstream patch readline70-002 which replace old one
  There is a race condition in add_history() that can be triggered by a fatal
  signal arriving between the time the history length is updated and the time
  the history list update is completed. A later attempt to reference an
  invalid history entry can cause a crash.
- Add upstream patch readline70-003
  Readline-7.0 uses pselect(2) to allow readline to handle signals that do not
  interrupt read(2), such as SIGALRM, before reading another character.  The
  signal mask used in the pselect call did not take into account signals the
  calling application blocked before calling readline().

- Add upstream patch bash44-006 
  Out-of-range negative offsets to popd can cause the shell to crash
  attempting to free an invalid memory block.
- Remove patch popd-offset-overflow.patch to use bash44-006
- Add upstream patch bash44-007 
  When performing filename completion, bash dequotes the directory
  name being completed, which can result in match failures and
  potential unwanted expansion.
- Duplicate bash44-007 as readline70-002 as it seems to be missed
- Add upstream patch bash44-008 
  Under certain circumstances, bash will evaluate arithmetic
  expressions as part of reading an expression token even when
  evaluation is suppressed. This happens while evaluating a
  conditional expression and skipping over the failed branch of the
  expression.
- Add upstream patch bash44-009 
  There is a race condition in add_history() that can be triggered
  by a fatal signal arriving between the time the history length
  is updated and the time the history list update is completed.

OBS-URL: https://build.opensuse.org/request/show/453464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=135
2017-02-08 11:11:42 +00:00
Ludwig Nussel
f81f7e2b5e Accepting request 446820 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/446820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=134
2016-12-22 14:59:15 +00:00
Dominique Leuenberger
02422ca351 Accepting request 443921 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/443921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=133
2016-12-09 08:30:05 +00:00
Dominique Leuenberger
ef9389b46b Accepting request 441826 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=132
2016-11-28 14:02:37 +00:00
Dominique Leuenberger
6b78a8dcd5 Accepting request 437140 from Base:System
- no-null-warning.patch: Don't warn about null bytes in command
  substitution (forwarded request 437120 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/437140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=131
2016-10-26 11:25:39 +00:00
Dominique Leuenberger
9bbb577d88 Accepting request 417861 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/417861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=130
2016-08-25 07:48:24 +00:00
Dominique Leuenberger
1050aa138f Accepting request 406709 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/406709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=129
2016-07-16 20:09:38 +00:00
Dominique Leuenberger
e705274202 Accepting request 396733 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/396733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=128
2016-05-26 21:52:26 +00:00
Dominique Leuenberger
283648e8c3 Accepting request 341009 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/341009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=127
2015-10-28 16:15:10 +00:00
Dominique Leuenberger
9c1f93e153 Accepting request 329522 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/329522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=126
2015-09-11 07:00:03 +00:00
Stephan Kulow
f312a97f8d Accepting request 314679 from Base:System
(forwarded request 314678 from coolo)

OBS-URL: https://build.opensuse.org/request/show/314679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=125
2015-07-21 11:23:28 +00:00
Dominique Leuenberger
2ce05762e7 Accepting request 309045 from Base:System
- Add upstream patch bash43-034
  If neither the -f nor -v options is supplied to unset, and a name argument is
  found to be a function and unset, subsequent name arguments are not treated as
  variables before attempting to unset a function by that name.
- Add upstream patch bash43-035
  A locale with a long name can trigger a buffer overflow and core dump.  This
  applies on systems that do not have locale_charset in libc, are not using
  GNU libiconv, and are not using the libintl that ships with bash in lib/intl.
- Add upstream patch bash43-036
  When evaluating and setting integer variables, and the assignment fails to
  create a variable (for example, when performing an operation on an array
  variable with an invalid subscript), bash attempts to dereference a null
  pointer, causing a segmentation violation.
- Add upstream patch bash43-037
  If an associative array uses `@' or `*' as a subscript, `declare -p' produces
  output that cannot be reused as input.
- Add upstream patch bash43-038
  There are a number of instances where `time' is not recognized as a reserved
  word when the shell grammar says it should be.

OBS-URL: https://build.opensuse.org/request/show/309045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=124
2015-05-30 10:32:50 +00:00
Dominique Leuenberger
0353e3b11f Accepting request 307691 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/307691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=123
2015-05-20 21:15:26 +00:00
Dominique Leuenberger
ff2c14b7af Accepting request 291558 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/291558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=122
2015-03-23 11:12:10 +00:00
Dominique Leuenberger
7f9df69df2 Accepting request 287711 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/287711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=121
2015-03-05 16:04:24 +00:00
Stephan Kulow
12947694b2 Accepting request 254104 from Base:System
- Replace patches bash-4.2-heredoc-eof-delim.patch and
  bash-4.2-parse-exportfunc.patch with the official upstream
  patch levels bash42-052 and bash42-053

- Replace patch bash-4.2-CVE-2014-7187.patch with upstream patch
  level bash42-051

- Add patches
  bash-4.2-heredoc-eof-delim.patch for bsc#898812, CVE-2014-6277:
  more troubles with functions
  bash-4.2-parse-exportfunc.patch for bsc#898884, CVE-2014-6278:
  code execution after original 6271 fix

- Make bash-4.2-extra-import-func.patch an optional patch due
  instruction

- Remove and replace patches
  bash-4.2-CVE-2014-6271.patch
  bash-4.2-BSC898604.patch
  bash-4.2-CVE-2014-7169.patch
  with bash upstream patch 48, patch 49, and patch 50
- Add patch bash-4.2-extra-import-func.patch which is based on the
  BSD patch of Christos.  As further enhancements the option
  import-functions is mentioned in the manual page and a shopt
  switch is added to enable and disable import-functions on the fly

OBS-URL: https://build.opensuse.org/request/show/254104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=120
2014-10-15 14:19:27 +00:00
Stephan Kulow
6f657cacdc Accepting request 252744 from Base:System
- Add patches
  bash-4.2-BSC898604.patch for bsc#898604: functions via environment
  hardening
  bash-4.2-CVE-2014-7169.patch for bsc#898346, CVE-2014-7169:
  incremental parsing fix for function environment issue
  bash-4.2-CVE-2014-7187.patch for bsc#898603, CVE-2014-7186,
  CVE-2014-7187: bad handling of HERE documents and for loop issue

OBS-URL: https://build.opensuse.org/request/show/252744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=119
2014-09-29 10:40:44 +00:00
Stephan Kulow
0fe4637ee1 Accepting request 251830 from Base:System
- Add bash-4.2-CVE-2014-6271.patch
  to fix CVE-2014-6271, the unexpected code execution with
  environment variables (bnc#896776)

- Add patch bash-4.2-error-getpwd.patch
  which is the backport of the corrected german error message for
  a failing getpwd (bnc#895475)

OBS-URL: https://build.opensuse.org/request/show/251830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=118
2014-09-28 17:53:46 +00:00
Stephan Kulow
5fec065b3c Accepting request 241291 from Base:System
- Don't use outdated C standard (forwarded request 241275 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/241291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=116
2014-07-19 09:04:26 +00:00
Stephan Kulow
eb59b590a5 Accepting request 231049 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/231049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=115
2014-04-25 14:06:58 +00:00
Stephan Kulow
30102a709f Accepting request 228434 from Base:System
- Add bash upstream patch 46 to fix a problem introduced by patch
  32 a problem with "$@" and arrays expanding empty positional
  parameters or array elements when using substring expansion,
  pattern substitution, or case modfication.  The empty parameters
  or array elements are removed instead of expanding to empty
  strings ("").
- Add readline upstream patch 5: The readline shared library
  helper script needs to be updated for Mac OS X 10.9

OBS-URL: https://build.opensuse.org/request/show/228434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=114
2014-04-06 07:54:10 +00:00
Stephan Kulow
1c8a607004 Accepting request 226577 from Base:System
- CVE-2014-2524: bash,readline: temporary file misuse in _rl_tropen (bnc#868822)
  Even if used only by developers to debug readline library do not
  open temporary files from public location without O_EXCL

OBS-URL: https://build.opensuse.org/request/show/226577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=113
2014-03-19 12:57:40 +00:00
Stephan Kulow
3627245df0 Accepting request 220503 from Base:System
- Add upstream patch bash-4.2-prompt-dirtrim.patch
  bash patch tar ball to solve some some cases strange output
  displayed in the prompt if PROMPT_DIRTRIM i sset.

OBS-URL: https://build.opensuse.org/request/show/220503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=112
2014-02-01 08:40:12 +00:00
Stephan Kulow
3b9026ad5f Accepting request 182923 from Base:System
- Reintroduce patch bash-4.2-winch.dif to solve bnc#828877
  accordingly to my test and upstream (search on bug-bash@gnu.org
  for message-id <51DFEB10.8080302@case.edu>)

OBS-URL: https://build.opensuse.org/request/show/182923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=110
2013-07-12 18:42:19 +00:00
Stephan Kulow
58982acbd3 Accepting request 182487 from Base:System
- Add bash-4.2-strcpy.patch from upstream mailing list to patch
  collection tar ball to avoid when using \w in the prompt and
  changing the directory outside of HOME the a strcpy work on
  overlapping memory areas.

OBS-URL: https://build.opensuse.org/request/show/182487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=109
2013-07-11 11:27:19 +00:00
Stephan Kulow
7a06703de5 Accepting request 177600 from Base:System
- add a conflict between readline5 and readline6-32bit

- Do not restart the sighandler after a trap is reset (bnc#820149)

OBS-URL: https://build.opensuse.org/request/show/177600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=108
2013-06-05 09:39:39 +00:00
Stephan Kulow
76c30b39ff Accepting request 160437 from Base:System
- Add patch from upstream mailing list to speed up array handling 
- Add patch from upstream mailing list to avoid fdleaks
- Use lsdiff to determine the depth of the leading slashes in a
  patch file

- Disable workaround for bnc#382214 due bnc#806628, let's see when
  the old bug will be up again.
- Update bash 4.2 to patch level 45
  * When SIGCHLD is trapped, and a SIGCHLD trap handler runs when
    a pending `read -t' invocation times out and generates SIGALRM,
    bash can crash with a segmentation fault.
  * When converting a multibyte string to a wide character string
    as part of pattern matching, bash does not handle the end of
    the string correctly, causing the search for the NUL to go
    beyond the end of the string and reference random memory.
    Depending on the contents of that memory, bash can produce
    errors or crash. 
  * The <&n- and >&n- redirections, which move one file descriptor
    to another, leave the file descriptor closed when applied to
    builtins or compound commands.
- Use screen to provide a controlling terminal for running the
  test suite

OBS-URL: https://build.opensuse.org/request/show/160437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=107
2013-03-22 10:00:46 +00:00
Stephan Kulow
fac254bfb8 Accepting request 155228 from Base:System
- config-guess-sub-update.patch:
  Update config.guess/sub for aarch64
- Fix check for negated warning switch (forwarded request 155178 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/155228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=106
2013-02-12 16:41:35 +00:00
Stephan Kulow
cc0b386ade Accepting request 147710 from Base:System
- Avoid autoconf on older products 
- Apply audit patch variant to readline as well as we use a shared
  libreadline
- Avoid bash-devel on older products as older GNU make do not have
  a realpath builtin

- Do not trigger the export of COLUMNS or LINES due enforced
  checkwinsize (bnc#793536)

- Update bash 4.2 to patch level 42
  * Missing I/O errors if output redirection applied to builtin
    commands when the file descriptor was closed
  * Process substitution incorrectly inherited a flag that
    inhibited using the temporary environment for variable lookups
    if it was providing the filename to a redirection.
  * Compilation failed after specifying the `minimal config' option

OBS-URL: https://build.opensuse.org/request/show/147710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=104
2013-01-11 14:53:46 +00:00
Stephan Kulow
a66bac1664 Accepting request 140210 from Base:System
- Update bash 4.2 to patch level 39
  * Official fix for the last crash fix
  * Avoid variable expansion in arithmetic expressions when
    evaluation is being suppressed

OBS-URL: https://build.opensuse.org/request/show/140210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=103
2012-11-10 15:54:08 +00:00
Stephan Kulow
859cdd4de1 Accepting request 138510 from Base:System
- Do not mix xmalloc/xfree of libreadline and bash by making the
  libreadline version weak symbols instead of private symbols

OBS-URL: https://build.opensuse.org/request/show/138510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=102
2012-10-18 13:40:07 +00:00
Ismail Dönmez
67d0abfaa4 Accepting request 131527 from Base:System
- Add patch from upstream mailing list to avoids crash

OBS-URL: https://build.opensuse.org/request/show/131527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=101
2012-08-26 09:30:53 +00:00
Stephan Kulow
020775838c Accepting request 128462 from Base:System
- Update bash 4.2 to patch level 37
  * Attempting to redo (using `.') the vi editing mode `cc', `dd',
    or `yy' commands leads to an infinite loop.

- Do not mask internal _rl symbols as internal as there are many
  tools out there which uses them (gdb as an example) 

- Update bash 4.2 to patch level 36

OBS-URL: https://build.opensuse.org/request/show/128462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=100
2012-07-23 07:53:35 +00:00
Stephan Kulow
6729342b96 Accepting request 128214 from Base:System
- libreadlib: try to avoid to bind references of the symbols
  rl_instream and rl_outstream
- libreadlib: make private symbols really private

- Increase buffer for libreadline messsages if required
- Include stdio.h in libreadline header files to get the declaration
  of FILES correct.

OBS-URL: https://build.opensuse.org/request/show/128214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=99
2012-07-18 15:12:06 +00:00
Ismail Dönmez
990942f206 Accepting request 127401 from Base:System
- Update bash 4.2 to patch level 36 
  * Patch 25: When used in a shell function,
    `declare -g -a array=(compound assignment)' creates a local
    variable instead of a global one.
  * Patch 26: The `lastpipe' option does not behave correctly on
    machines where the open file limit is less than 256.
  * Patch 27: When the `extglob' shell option is enabled, pattern
    substitution does not work correctly in the presence of
    multibyte characters.
  * Patch 28: When using a word expansion for which the right hand
    side is evaluated, certain expansions of quoted null strings
    include spurious ^? characters.
  * Patch 29: Bash-4.2 tries to leave completed directory names as
    the user typed them, without expanding them to a full pathname.
    One effect of this is that shell variables used in pathnames
    being completed (e.g., $HOME) are left unchanged, but the `$'
    is quoted by readline because it is a special character to the shell.
  * Patch 30: When attempting to glob strings in a multibyte locale,
    and those strings contain invalid multibyte characters that cause
    mbsnrtowcs to return 0, the globbing code loops infinitely.
  * Patch 31: A change between bash-4.1 and bash-4.2 to prevent the
    readline input hook from being called too frequently had the side
    effect of causing delays when reading pasted input on systems such
    as Mac OS X.  This patch fixes those delays while retaining the
    bash-4.2 behavior.
  * Patch 32: Bash-4.2 has problems with DEL characters in the
    expanded value of variables used in the same quoted string as
    variables that expand to nothing.
  * Patch 33: Bash uses a static buffer when expanding the /dev/fd
    prefix for the test and conditional commands, among other uses,

OBS-URL: https://build.opensuse.org/request/show/127401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=98
2012-07-12 08:40:09 +00:00
Stephan Kulow
2d9392c328 Accepting request 126183 from Base:System
license update: GPL-3.0+
Upstream declares the bash license to be GPL-3.0+ - not GPL-2.0+ (forwarded request 126173 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/126183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=97
2012-06-26 15:44:59 +00:00
Stephan Kulow
8196e712d4 Accepting request 112694 from Base:System
- Remove not required patch (was a fix for bnc#141394) which now
  cause a wrong behaviour if applied (bnc#755453)

OBS-URL: https://build.opensuse.org/request/show/112694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=95
2012-04-12 07:19:35 +00:00
Stephan Kulow
176fddc4e5 Accepting request 109071 from Base:System
- Update bash 4.2 to patch level 24

OBS-URL: https://build.opensuse.org/request/show/109071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=94
2012-03-16 12:10:46 +00:00
Stephan Kulow
6aaccf1aec Accepting request 108671 from Base:System
- Avoid endless loop in user completion caused by endpw patches

OBS-URL: https://build.opensuse.org/request/show/108671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=93
2012-03-12 07:53:23 +00:00
Stephan Kulow
64168d7e9c Accepting request 108164 from Base:System
- Add small patch for be able to use nanoseconds in comparision
  of time stamps of files (bnc#750640)

- Reenable patch for bnc#725657 with latest change from latest
  git repository of the patch.

OBS-URL: https://build.opensuse.org/request/show/108164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=92
2012-03-07 19:08:45 +00:00
Stephan Kulow
738cd57b22 Accepting request 97325 from Base:System
add autoconf to buildrequires (forwarded request 97319 from coolo)

OBS-URL: https://build.opensuse.org/request/show/97325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=91
2011-12-21 08:59:24 +00:00
Stephan Kulow
36bcce1763 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=90
2011-12-06 17:00:24 +00:00
Stephan Kulow
e156281d64 Accepting request 93690 from Base:System
- Make build check quiet

- Update bash 4.2 to patch level 20
- Update readline 6.2 to patch level 2

OBS-URL: https://build.opensuse.org/request/show/93690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=89
2011-11-28 11:53:02 +00:00
Stephan Kulow
772780c1ca Accepting request 92891 from Base:System
- Disable endpwent() in rl_username_completion_function() as this
  cause a deadlock in a futex of the glibc (bnc#731556)

OBS-URL: https://build.opensuse.org/request/show/92891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=88
2011-11-22 16:47:19 +00:00
Stephan Kulow
a35fa0ef5b Accepting request 92268 from Base:System
- Enforce bind references to global function symbols to the
  definition within libreadline

OBS-URL: https://build.opensuse.org/request/show/92268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=87
2011-11-21 11:34:18 +00:00
Stephan Kulow
220d69a7bb Accepting request 91781 from Base:System
- Use libtinfo if available otherwise libncurses, this avoids
  linkage against libncursesw of libreadline (required due
  bnc #729226)

OBS-URL: https://build.opensuse.org/request/show/91781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=86
2011-11-16 16:16:54 +00:00
Stephan Kulow
db1e08722c Accepting request 90996 from Base:System
- Avoid memory mapped /var/run/nscd/passwd at shutdown by simply
  unmapping this only used area if parent is systemd or SysVinit

- Always close get(pw|gr)func with endpw() respectivly with endgr()
  to avoid memory mapped passwd/groups of cache files from nscd

OBS-URL: https://build.opensuse.org/request/show/90996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=85
2011-11-14 10:49:43 +00:00
Stephan Kulow
d40dc12c6c Accepting request 89909 from Base:System
- Disable last patch as it seems a bit broken (bnc#725657)

OBS-URL: https://build.opensuse.org/request/show/89909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=84
2011-11-02 10:47:20 +00:00
Stephan Kulow
cd8a1453b6 Accepting request 89301 from Base:System
- Add direxpand patch from upstream (bnc#725657)

- Add patch from upstream mailing list to avoid memory leak by
  reassigning associative array variable

OBS-URL: https://build.opensuse.org/request/show/89301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=83
2011-10-26 13:20:35 +00:00
Lars Vogdt
c46adce122 Accepting request 83604 from Base:System
- remove autoreqprov and author lists

OBS-URL: https://build.opensuse.org/request/show/83604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=81
2011-09-19 19:03:41 +00:00
Sascha Peilicke
565756dfdb Autobuild autoformatter for 74276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=80
2011-06-22 08:46:38 +00:00
Sascha Peilicke
bde85dd523 Accepting request 74276 from Base:System
- Add fix from upstream mailing list to avoid crash

- use original source URLs

- Fix the fix for bug bnc#681286 to be able to avoid both a not 
  expanding glob as well as the infinit loop in multi byte locale

- Update bash 4.2 to patch level 10
- Add patch from upstream to avoid loosing quoted-nulls
- Add modified patch to avod endless loop in UTF-8 locale

OBS-URL: https://build.opensuse.org/request/show/74276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=79
2011-06-22 08:46:26 +00:00
Sascha Peilicke
dc98392708 Autobuild autoformatter for 64832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=78
2011-03-22 16:51:14 +00:00
Sascha Peilicke
c688e3b144 Accepting request 64832 from Base:System
Accepted submit request 64832 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/64832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=77
2011-03-22 16:51:06 +00:00
Sascha Peilicke
2d1304e74c Autobuild autoformatter for 64208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=76
2011-03-16 09:11:09 +00:00
Sascha Peilicke
f92d294eb2 Accepting request 64208 from Base:System
Accepted submit request 64208 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/64208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=75
2011-03-16 09:11:02 +00:00
Sascha Peilicke
53888d85b7 Autobuild autoformatter for 63708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=74
2011-03-09 12:18:41 +00:00
Sascha Peilicke
2f628043e6 Accepting request 63708 from Base:System
Accepted submit request 63708 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/63708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=73
2011-03-09 12:18:30 +00:00
Sascha Peilicke
b460f8961d Accepting request 63648 from Base:System
Accepted submit request 63648 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/63648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=72
2011-03-09 08:20:04 +00:00
00095eaffb Autobuild autoformatter for 62831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=71
2011-02-27 12:31:41 +00:00
7d3643459b Accepting request 62831 from Base:System
Accepted submit request 62831 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/62831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=70
2011-02-27 12:31:35 +00:00
Ruediger Oertel
29f220c970 Autobuild autoformatter for 61575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=69
2011-02-18 10:51:53 +00:00
Ruediger Oertel
58dd414295 Accepting request 61575 from Base:System
Accepted submit request 61575 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/61575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=68
2011-02-18 10:50:51 +00:00
OBS User autobuild
628a79351c Autobuild autoformatter for 50902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=66
2010-10-20 13:19:01 +00:00
Ruediger Oertel
f9999d46d3 Accepting request 50902 from Base:System
Accepted submit request 50902 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/50902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=65
2010-10-20 13:18:53 +00:00
OBS User autobuild
39ffe31c32 Accepting request 50573 from Base:System
Copy from Base:System/bash based on submit request 50573 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/50573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=64
2010-10-14 13:06:17 +00:00
OBS User autobuild
b86df56a57 Accepting request 47126 from Base:System
Copy from Base:System/bash based on submit request 47126 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/47126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=63
2010-09-09 12:46:02 +00:00
OBS User autobuild
bc7cf8ce7d Accepting request 45640 from Base:System
Copy from Base:System/bash based on submit request 45640 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/45640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=62
2010-08-24 15:13:13 +00:00
OBS User autobuild
864982c538 Accepting request 45552 from Base:System
Copy from Base:System/bash based on submit request 45552 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/45552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=61
2010-08-13 21:58:54 +00:00
OBS User autobuild
b6d0d01a43 Accepting request 44201 from Base:System
Copy from Base:System/bash based on submit request 44201 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/44201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=60
2010-07-30 10:31:48 +00:00
OBS User autobuild
a4d19a6ab4 Accepting request 43232 from Base:System
Copy from Base:System/bash based on submit request 43232 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/43232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=59
2010-07-19 11:22:41 +00:00
OBS User autobuild
ee831ac474 Accepting request 40621 from Base:System
Copy from Base:System/bash based on submit request 40621 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/40621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=56
2010-05-25 11:57:58 +00:00
OBS User autobuild
a15caf5523 Accepting request 37741 from Base:System
Copy from Base:System/bash based on submit request 37741 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/37741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=55
2010-04-13 19:20:11 +00:00
OBS User autobuild
0fe588f8bd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=54 2010-03-18 14:36:32 +00:00
OBS User autobuild
9a529e284c Accepting request 34438 from Base:System
Copy from Base:System/bash based on submit request 34438 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/34438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=53
2010-03-12 16:15:49 +00:00
OBS User autobuild
57af7d0a5e Accepting request 34010 from Base:System
Copy from Base:System/bash based on submit request 34010 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/34010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=52
2010-03-04 15:06:08 +00:00
OBS User autobuild
0ce255c021 Accepting request 33340 from Base:System
Copy from Base:System/bash based on submit request 33340 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/33340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=51
2010-02-25 10:11:42 +00:00
OBS User autobuild
3773815a5f Accepting request 32844 from Base:System
Copy from Base:System/bash based on submit request 32844 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/32844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=50
2010-02-18 11:17:29 +00:00
OBS User autobuild
43ad72cab5 Accepting request 26846 from Base:System
Copy from Base:System/bash based on submit request 26846 from user coolo

OBS-URL: https://build.opensuse.org/request/show/26846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=49
2009-12-18 11:33:21 +00:00
OBS User autobuild
3e4ea57507 Accepting request 26685 from Base:System
Copy from Base:System/bash based on submit request 26685 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=48
2009-12-16 07:57:10 +00:00
OBS User autobuild
d495339030 Accepting request 25564 from Base:System
Copy from Base:System/bash based on submit request 25564 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/25564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=47
2009-12-08 11:47:32 +00:00
OBS User autobuild
0a40815690 Accepting request 21411 from Base:System
Copy from Base:System/bash based on submit request 21411 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/21411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=45
2009-10-02 21:19:06 +00:00
OBS User autobuild
d37b5136dc Accepting request 20239 from Base:System
Copy from Base:System/bash based on submit request 20239 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/20239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=44
2009-09-10 10:39:25 +00:00
5 changed files with 40 additions and 22 deletions

View File

@ -24,7 +24,7 @@
@@ -710,7 +711,12 @@ printf_builtin (list)
p = getfloatmax ();
f = mklong (start, "L", 1);
f = mklong (start, FLOATMAX_CONV, USE_LONG_DOUBLE);
+
+ if (lce && lcl) setlocale(LC_NUMERIC, lce);
+

View File

@ -1,15 +0,0 @@
---
config-top.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- config-top.h
+++ config-top.h 2018-09-20 08:15:45.026318359 +0000
@@ -142,7 +142,7 @@
/* Define to 0 if you want the checkwinsize option off by default, 1 if you
want it on. */
-#define CHECKWINSIZE_DEFAULT 0
+#define CHECKWINSIZE_DEFAULT 1
/* Define to 1 if you want to optimize for sequential array assignment when
using indexed arrays, 0 if you want bash-4.2 behavior, which favors

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05848ea08ae66bede10e81d33e64bbde0a308da1a6e02cb866103a94410715ab
size 35886
oid sha256:525be28767b9b6f92a73079f9697f390df3df6614291ed8bb86b4cbdaeec2787
size 40200

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Dec 16 12:47:07 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Remove bash-4.3-winch.dif as this is the (current) default
-------------------------------------------------------------------
Wed Sep 25 06:33:29 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add upstream patches
* bash52-037
Fix the case where text to be completed from the line buffer (quoted) is
compared to the common prefix of the possible matches (unquoted) and the
quoting makes the former appear to be longer than the latter. Readline
assumes the match doesn't add any characters to the word and doesn't display
multiple matches.
* bash52-036
When readline is accumulating bytes until it reads a complete multibyte
character, reading a byte that makes the multibyte character invalid can
result in discarding the bytes in the partial character.
* bash52-035
There are systems that supply one of select or pselect, but not both.
* bash52-034
If we parse a compound assignment during an alias expansion, it's possible
to have the current input string popped out from underneath the parse. In
this case, we should not restore the input we were using when we began to
parse the compound assignment.
* bash52-033
A typo in the autoconf test for strtold causes false negatives for strtold
being available and working when compiled with gcc-14.
- Port patch bash-3.2-printf.patch to fit change in bash52-033
-------------------------------------------------------------------
Mon Aug 19 08:57:30 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -75,8 +75,6 @@ Patch13: bash-4.2-nscdunmap.dif
Patch14: bash-4.3-sigrestart.patch
# PATCH-FIX-UPSTREAM bnc#382214 -- disabled due bnc#806628 by -DBNC382214=0
Patch16: bash-4.0-setlocale.dif
# PATCH-EXTEND-SUSE bnc#828877 -- xterm resizing does not pass to all sub clients
Patch18: bash-4.3-winch.dif
Patch40: bash-4.1-bash.bashrc.dif
# PATCH-FIX-SUSE For bsc#1065158 add support for broken Japanese locale Shift JIS
Patch42: bash-4.3-SJIS.patch
@ -240,7 +238,12 @@ Legacy usrmove helper files for the build system. Do not install.
%if %{with sjis}
%{warn:Shift JIS support is enabled}
%else
%{echo:Shift JIS support disabled}
%{echo:Shift JIS support is DISABLED}
%endif
%if %{with alternatives}
%{echo:alternatives is enabled}
%else
%{echo:alternatives is DISABLED}
%endif
%setup -q -n bash-%{bversion}%{bextend} -b1
typeset -i level
@ -272,7 +275,6 @@ set -x
%patch -P13 -b .nscdunmap
%patch -P14 -b .sigrestart
%patch -P16 -b .setlocale
#%patch -P18 -p0 -b .winch
%patch -P40 -b .bashrc
%if %{with sjis}
%patch -P42 -b .sjis