|
|
 |
 |
 |
Changelog for bash-5.3.3-lp155.552.1.i586.rpm :
* Mon Sep 29 2025 Dominique Leuenberger - DRop use of patchutils: the patch tarball seems to contain only patches to be applied -p0. This allows us to shorten the build cycle. * Fri Aug 01 2025 Dr. Werner Fink - Take refreshed source tar ball with uptodate (g)po files- Refresh (g)po files as well due our patches * Mon Jul 28 2025 Dr. Werner Fink - Add upstream patches * bash53-001 In posix mode, `wait -n\' with pid arguments does not restrict the set of processes it considers to those arguments. * bash53-002 There are too many differences in the various implementations of shm_open(2) to rely on it for bash\'s use. * bash53-003 Bash leaves internal quoting in place when expanding array subscripts that appear inside array subscripts in an arithmetic context, causing expansion failures. * Fri Jul 18 2025 Dr. Werner Fink - The package bash-loadables supplements a specific bash version * Thu Jul 17 2025 Dr. Werner Fink - Update to bash 5.3 a. When checking whether a script file argument is a binary file, check the first two lines of a script if the first line begins with `#!\'. b. Bash does a better job of preserving user-supplied quotes around a word completion, instead of requoting it. c. Bash reports the starting line number in an error message about an unterminated compound command like `if\' without a `fi\'. d. Implement the POSIX requirement that running the `jobs\' builtin removes jobs from the jobs list. f. Call bash signal handlers while executing programmable completion commands, instead of readline\'s. g. Print an error message if a regular expression used with [[ fails to compile. h. The `umask\' builtin now has additional features for full POSIX conformance. i. `type -a -P\' reports both hashed pathnames and the result of a $PATH search. j. `trap\' has a new -P option that prints the trap action associated with each signal argument. k. The `command\' builtin preceding a declaration builtin (e.g., `declare\') preserves the special asisgnment statement parsing for the declaration builtin. This is a new POSIX requirement. l. `printf\' uses the `alternate form\' for %q and %Q to force single quoting. m. `printf\' now interprets %ls (%S) and %lc (%C) as referring to wide strings and characters, respectively, when in a multibyte locale. n. The shell can be compiled with a different default value for the patsub_replacement option. o. Check for window size changes during trap commands, `bind -x\' commands, and programmable completion. p. Treat a NULL value for $PATH as equivalent to \".\". p. New loadable builtins: kv, strptime q. GLOBSORT: new variable to specify how to sort the results of pathname expansion (name, size, blocks, mtime, atime, ctime, numeric, none) in ascending or descending order. r. `compgen\' has a new option: -V varname. If supplied, it stores the generated completions into VARNAME instead of printing them on stdout. s. New form of command substitution: ${ command; } or ${|command;} to capture the output of COMMAND without forking a child process and using pipes. t. array_expand_once: new shopt option, replaces assoc_expand_once u. complete/compopt new option: fullquote; sets rl_full_quoting_desired so all possible completions are quoted as if they were filenames. v. Command timing now allows precisions up to 6 digits instead of 3 in $TIMEFORMAT. w. BASH_MONOSECONDS: new dynamic variable that returns the value of the system\'s monotonic clock, if one is available. x. BASH_TRAPSIG: new variable, set to the numeric signal number of the trap being executed while it\'s running. y. The checkwinsize option can be used in subshell commands started from interactive shells. z. In posix mode, the test command < and > binary primaries compare strings using the current locale. aa. bind -x allows new key binding syntax: separate the key sequence and the command string with whitespace, but require the command string to be double-quoted if this is used. This allows different quoting options for the command string. bb. Print commands bound to key sequences using `bind -x\' with the new key binding syntax it allows. cc. `read\' has a new `-E\' option to use readline but with the default bash completion (including programmable completion). dd. New bindable readline command name: `bash-vi-complete\'. ee. New test builtin behavior when parsing a parenthesized subexpression and test was given more than 4 arguments: scan forward for a closing paren and call posixtest() if there are 4 or fewer arguments between the parentheses. Added for compatibility with coreutils test, dependent on the shell compatibility level. Such expressions remain ambiguous. ff. MULTIPLE_COPROCS is now enabled by default. gg. The `bind\' builtin interprets additional non-option arguments after -p or - P as bindable command names and restricts output to the bindings for those names. hh. Bash now uses the login shell for $BASH if the shell is named `su\' or `-su\'. ii. Bash now prints job notifications if an interactive shell is running a trap, even though the shell is not interactive at that moment. jj. Programmable completion allows a new compspec loaded after a completion function returns 124 to be used in more cases. kk. ./source has a new -p PATH option, which makes it use the PATH argument instead of $PATH to look for the file. ll. Documentation has been significantly updated. mm. `wait -n\' can now return terminated process substitutions, jobs about which the user has already been notified (like `wait\' without options), nn. `wait -n\' removes jobs from the jobs table or list of terminated children when in posix mode. oo. Changed the `wait\' builtin behavior regarding process substitutions to match the documentation. pp. There is a new `bash_source_fullpath\' shopt option, which makes bash put full pathnames into BASH_SOURCE, and a way to set a default value for it at configure time. qq. Posix mode now forces job notifications to occur when the new edition of POSIX specifies (since it now specifies them). rr. Interactive shells don\'t print job notifications while sourcing scripts. ss. The parser prints more information about the command it\'s trying to parse when it encounters EOF before completing the command. tt. Posix mode no longer requires function names to be valid shell identifiers. uu. If `exit\' is run in a trap and not supplied an exit status argument, it uses the value of $? from before the trap only if it\'s run at the trap\'s `top level\' and would cause the trap to end (that is, not in a subshell). This is from Posix interp 1602. vv. There is a new `fltexpr\' loadable builtin to perform floating-point arithmetic similarly to `let\'. ww. The `install-strip\' and `strip\' Makefile targets now deal with cross- compiling.- This update includes the upstream solution for bsc#1245199- Drop -std=gnu17 in CFLAGS as not required anymore- Port patches * bash-2.03-manual.patch * bash-3.0-evalexp.patch * bash-3.2-printf.patch * bash-4.1-bash.bashrc.dif * bash-4.1-completion.dif * bash-4.2-nscdunmap.dif * bash-4.3-sigrestart.patch * bash-5.3.dif- Port patch bash-5.2.dif and rename it to bash-5.3.dif- Drop patches upstream now or not supported anymore (perl version) * bash-4.3-decl.patch * bash-4.3-perl522.patch * bash-5.2-gcc14.patch * Sun Apr 20 2025 Friedrich Haubensak - add -std=gnu17 to CFLAGS to fix gcc15 compile time error * Tue Apr 08 2025 Dr. Werner Fink - Make it build even on s390 with profiling * Mon Mar 10 2025 Bernhard Wiedemann - Skip PGO with %want_reproducible_builds (boo#1040589) * Mon Feb 24 2025 Jan Engelhardt - Explicitly specify that the build recipe needs bash * Fri Jan 24 2025 Dr. Werner Fink - As in bash-sh there is only a symbolic link avoid to require a version * Sat Dec 28 2024 Heitor Moreira da Silva - Move (/etc/skel/.bashrc) and (/etc/skel/.profile) to (/usr/etc/skel/). * Mon Dec 16 2024 Dr. Werner Fink - Remove bash-4.3-winch.dif as this is the (current) default * Wed Sep 25 2024 Dr. Werner Fink - 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 2024 Dr. Werner Fink - 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 $(* 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. * Mon Mar 25 2024 Dr. Werner Fink - Help dependcy resolver to identify package split done with bash-sh * Wed Feb 28 2024 Dr. Werner Fink - Harden bash to be compiled with gcc 14 (boo#1220564) * Modify patch bash-4.2-nscdunmap.dif to include * Port bash-5.2.dif to the former change * Add patch bash-5.2-gcc14.patch * Tue Jan 16 2024 Dr. Werner Fink - 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 $?. * Wed Nov 15 2023 Dr. Werner Fink - Declare token YYEOF to be able to support older bison versions as well * Wed Nov 15 2023 Dr. Werner Fink - Be sure to have a usable bison installed at build time * Tue Nov 14 2023 Dr. Werner Fink - 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. * bash52-016 If an expression in an arithmetic for loop expands to NULL, the shell would crash.- Correct offsets of patches * bash-4.3-sigrestart.patch * bash-5.2.dif * Tue Dec 27 2022 Ludwig Nussel - Replace transitional %usrmerged macro with regular version check (boo#1206798) * Wed Dec 14 2022 Dr. Werner Fink - 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. * Mon Nov 28 2022 Dr. Werner Fink - 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. * Wed Nov 09 2022 Dr. Werner Fink - 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 `AATT\' and ` *\' to be used as associative array keys in expressions. * Wed Nov 02 2022 Dr. Werner Fink - Set DEFAULT_LOADABLE_BUILTINS_PATH to get BASH_LOADABLES_PATH correct (boo#1204567) * Thu Oct 20 2022 Dr. Werner Fink - Explicit require versioned libreadline8 as we face new ABI functions used by the bash (boo#1204336) * Wed Oct 12 2022 Andreas Schwab - Don\'t strip binaries- Work around a signal mask issue with qemu linux-user emulation * Wed Oct 12 2022 Andreas Schwab - Remove backup of patched tests * Thu Oct 06 2022 Dr. Werner Fink - 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 * Tue Sep 27 2022 Dr. Werner Fink - 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. * Tue Sep 27 2022 Dr. Werner Fink - Modernize run-tests * Sat Sep 24 2022 Christopher Yeleighton - add checks * Tue Sep 20 2022 Dr. Werner Fink - Enable parallel builds by splitting 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 * Mon Sep 19 2022 Dr. Werner Fink - Small change in quotes-man2html.patch * Use a simple \"\'\" aka quote instead of \"′\" for \"\\(aq\" * Thu Sep 15 2022 Dr. Werner Fink - Add patch quotes-man2html.patch * Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq * Tue Sep 13 2022 Dr. Werner Fink - 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 * Wed Jul 27 2022 Dr. Werner Fink - Update to bash 5.2 rc2 gg. Since there is no `declare -\' equivalent of `local -\', make sure to use `local -\' in the output of `local -p\'. * Wed Jun 22 2022 Dr. Werner Fink - Update to bash 5.2 rc1 dd. In posix mode, the `printf\' builtin checks for the `L\' length modifier and uses long double for floating point conversion specifiers if it\'s present, double otherwise. ee. The `globbing\' completion code now takes the `globstar\' option into account. ff. `suspend -f\' now forces the shell to suspend even if job control is not currently enabled.- Port patches * bash-2.03-manual.patch * bash-3.2-printf.patch * bash-4.1-bash.bashrc.dif * bash-5.2.dif * Thu Apr 28 2022 Dirk Müller - use https:// for source urls * Thu Apr 28 2022 Dr. Werner Fink - Update to bash 5.2 beta a. The bash malloc returns memory that is aligned on 16-byte boundaries. b. There is a new internal timer framework used for read builtin timeouts. c. Rewrote the command substitution parsing code to call the parser recursively and rebuild the command string from the parsed command. This allows better syntax checking and catches errors much earlier. d. The `ulimit\' builtin now treats an operand remaining after all of the options and arguments are parsed as an argument to the last command specified by an option. This is for POSIX compatibility. e. Here-document parsing now handles $\'...\' and $\"...\" quoting when reading the here-document body. f. The `shell-expand-line\' and `history-and-alias-expand-line\' bindable readline commands now understand $\'...\' and $\"...\" quoting. g. There is a new `spell-correct-word\' bindable readline command to perform spelling correction on the current word. h. The `unset\' builtin now attempts to treat arguments as array subscripts without parsing or expanding the subscript, even when `assoc_expand_once\' is not set. i. There is a default value for $BASH_LOADABLES_PATH in config-top.h. j. Associative array assignment and certain instances of referencing (e.g., `test -v\' now allow `AATT\' and ` *\' to be used as keys. k. Bash attempts to expand indexed array subscripts only once when executing shell constructs and word expansions. l. The `unset\' builtin allows a subscript of `AATT\' or ` *\' to unset a key with that value for associative arrays instead of unsetting the entire array (which you can still do with `unset arrayname\'). For indexed arrays, it removes all elements of the array without unsetting it (like `A=()\'). m. Additional builtins (printf/test/read/wait) do a better job of not parsing array subscripts if array_expand_once is set. n. New READLINE_ARGUMENT variable set to numeric argument for readline commands defined using `bind -x\'. o. The new `varredir_close\' shell option causes bash to automatically close file descriptors opened with {var}&WORD- redirection has WORD expand to the empty string, treat the redirection as [N]<&- or [N]>&- and close file descriptor N (default 0). w. Invalid parameter transformation operators are now invalid word expansions, and so cause fatal errors in non-interactive shells. x. New shell option: patsub_replacement. When enabled, a `&\' in the replacement string of the pattern substitution expansion is replaced by the portion of the string that matched the pattern. Backslash will escape the `&\' and insert a literal `&\'. y. `command -p\' no longer looks in the hash table for the specified command. z. The new `--enable-translatable-strings\' option to `configure\' allows $\"...\" support to be compiled in or out. aa. The new `globskipdots\' shell option forces pathname expansion never to return `.\' or `..\' unless explicitly matched. bb. Array references using `AATT\' and ` *\' that are the value of nameref variables (declare -n ref=\'v[AATT]\' ; echo $ref) no longer cause the shell to exit if set -u is enabled and the array (v) is unset. cc. There is a new bindable readline command name: `vi-edit-and-execute-command\'.- Remove upstream patchset tarball for 8.1 and create new and empty for 8.2- Port patches * bash-2.03-manual.patch * bash-3.0-evalexp.patch * bash-3.0-warn-locale.patch * bash-3.2-printf.patch * bash-4.0-setlocale.dif * bash-4.1-completion.dif * bash-4.2-nscdunmap.dif * bash-4.3-2.4.4.patch * bash-4.3-loadables.dif- Port patch bash-5.1.dif and rename it to bash-5.2.dif * Thu Mar 24 2022 Dr. Werner Fink - Do use old legacy PreReq to get bash installed before bash-sh but do not require bash-sh by bash (bsc#1197448) * Thu Feb 24 2022 Dr. Werner Fink - Add signatures files of the upstream patches as well * Wed Feb 23 2022 Bernhard Wiedemann - Verify upstream release signatures * Fri Jan 14 2022 Dr. Werner Fink - Update bash 5.1 to patch level 16 * Add official patch bash51-013 Bash did not always perform tilde expansion following an unquoted colon on the rhs of an assignment statement in posix mode. * Add official patch bash51-014 Bash may produce corrupted input if a multibyte character spans a 512-byte boundary while reading the output of a command substitution. * Add official patch bash51-015 There are some characters (e.g., cyrillic) that can\'t be displayed using certain single-byte encodings (e.g., cp1251) because the negative signed int is interpreted as EOF and not displayed. * Add official patch bash51-016 Multiple `!\' tokens should toggle negation of an expression in a [[ conditional command, instead of simply negating the expression. * Fri Dec 03 2021 Dirk Müller - avoid duplicating COPYING file in bash-doc (already in main package in licensedir) * Thu Nov 18 2021 Dr. Werner Fink - 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. * Fri Oct 22 2021 Stefan Schubert - Using package bash-sh instead of the update-alternative mechanism. * Thu Sep 30 2021 Andreas Schwab - Install bash_builtins manpage under the correct name * Mon Jul 26 2021 Dr. Werner Fink - Use a get_version_number.sh script * Fri Jul 23 2021 Callum Farmer - Get patch lvl by running command to find it instead of hardcoding- Remove old SUSE RPM constructs- Clean spec file * Fri May 28 2021 Dr. Werner Fink - Use well defined HOSTTYPE, as well as OS, VENDOR, and MACHTYPE (boo#1186296) * Wed May 05 2021 Dr. Werner Fink - 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. * Mon Jan 11 2021 Dr. Werner Fink - 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\'. * Mon Nov 23 2020 Dr. Werner Fink - 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. * Thu Nov 19 2020 Ludwig Nussel - remove obsolete info macros * Tue Nov 10 2020 Dr. Werner Fink - 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. * Fri Oct 16 2020 Ludwig Nussel - prepare usrmerge (boo#1029961) * Mon Oct 12 2020 Dr. Werner Fink - Update to bash 5.1 rc1 * `bind -x\' now supports different bindings for different editing modes and keymaps. * Bash attempts to optimize the number of times it forks when executing commands in subshells and from `bash -c\'. * Here documents and here strings now use pipes for the expanded document if it\'s smaller than the pipe buffer size, reverting to temporary files if it\'s larger. * There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut * In posix mode, `trap -p\' now displays signals whose disposition is SIG_DFL and those that were SIG_IGN when the shell starts. * The shell now expands the history number (e.g., in PS1) even if it is not currently saving commands to the history list. * `read -e\' may now be used with arbitrary file descriptors (`read -u N\'). * The `select\' builtin now runs traps if its internal call to the read builtin is interrupted by a signal. * SRANDOM: a new variable that expands to a 32-bit random number that is not produced by an LCRNG, and uses getrandom/getentropy, falling back to /dev/urandom or arc4random if available. There is a fallback generator if none of these are available. * shell-transpose-words: a new bindable readline command that uses the same definition of word as shell-forward-word, etc. * The shell now adds default bindings for shell-forward-word, shell-backward-word, shell-transpose-words, and shell-kill-word. * Bash now allows ARGV0 appearing in the initial shell environment to set $0. * If `unset\' is executed without option arguments, bash tries to unset a shell function if a name argument cannot be a shell variable name because it\'s not an identifier. * The `test -N\' operator uses nanosecond timestamp granularity if it\'s available. * Bash posix mode now treats assignment statements preceding shell function definitions the same as in its default mode, since POSIX has changed and no longer requires those assignments to persist after the function returns (POSIX interp 654). * BASH_REMATCH is no longer readonly. * wait: has a new -p VARNAME option, which stores the PID returned by `wait -n\' or `wait\' without arguments. * Sorting the results of pathname expansion now uses byte-by-byte comparisons if two strings collate equally to impose a total order; the result of a POSIX interpretation. * Bash now allows SIGINT trap handlers to execute recursively. * Bash now saves and restores state around setting and unsetting posix mode, instead of having unsetting posix mode set a known state. * Process substitution is now available in posix mode. * READLINE_MARK: a new variable available while executing commands bound with `bind -x\', contains the value of the mark. * Bash removes SIGCHLD from the set of blocked signals if it\'s blocked at shell startup. * `test -v N\' can now test whether or not positional parameter N is set. * `local\' now honors the `-p\' option to display all local variables at the current context. * The `AATTa\' variable transformation now prints attributes for unset array variables. * The `AATTA\' variable transformation now prints a declare command that sets a variable\'s attributes if the variable has attributes but is unset. * `declare\' and `local\' now have a -I option that inherits attributes and value from a variable with the same name at a previous scope. * When run from a -c command, `jobs\' now reports the status of completed jobs. * New `U\', `u\', and `L\' parameter transformations to convert to uppercase, convert first character to uppercase, and convert to lowercase, respectively. * PROMPT_COMMAND: can now be an array variable, each element of which can contain a command to be executed like a string PROMPT_COMMAND variable. * `ulimit\' has a -R option to report and set the RLIMIT_RTTIME resource. * Associative arrays may be assigned using a list of key-value pairs within a compound assignment. Compound assignments where the words are not of the form [key]=value are assumed to be key-value assignments. A missing or empty key is an error; a missing value is treated as NULL. Assignments may not mix the two forms. * New `K\' parameter transformation to display associative arrays as key- value pairs. * Writing history to syslog now handles messages longer than the syslog max length by writing multiple messages with a sequence number. * SECONDS and RANDOM may now be assigned using arithmetic expressions, since they are nominally integer variables. LINENO is not an integer variable. * Bash temporarily suppresses the verbose option when running the DEBUG trap while running a command from the `fc\' builtin. * `wait -n\' now accepts a list of job specifications as arguments and will wait for the first one in the list to change state. * The associative array implementation can now dynamically increase the size of the hash table based on insertion patterns. * HISTFILE is now readonly in a restricted shell. * The bash malloc now returns memory that is 16-byte aligned on 64-bit systems. * If the hash builtin is listing hashed filenames portably, don\'t print anything if the table is empty. * GLOBIGNORE now ignores `.\' and `..\' as a terminal pathname component. * Bash attempts to optimize away forks in the last command in a function body under appropriate circumstances. * The globbing code now uses fnmatch(3) to check collation elements (if available) even in cases without multibyte characters. * The `fg\' and `bg\' builtins now return an error in a command substitution when asked to restart a job inherited from the parent shell. * The shell now attempts to unlink all FIFOs on exit, whether a consuming process has finished with them or not. * There is a new contributed loadable builtin: asort.- Remove patch bash-4.0-security.patch as now solved upstream- Port and modify patches * bash-2.03-manual.patch * bash-3.2-printf.patch * bash-4.0-setlocale.dif * bash-4.1-completion.dif * bash-4.2-nscdunmap.dif * bash-4.3-2.4.4.patch * bash-4.3-loadables.dif * bash-4.3-pathtemp.patch * bash-4.3-sigrestart.patch- Port and rename patch bash-5.0.dif which is now bash-5.1.dif * Wed Sep 23 2020 Stefan Dirsch - dot.profile: moved example for user specific LANG setting from .profile to .i18n (x11-tools package) skeleton file (boo#1158724) * Sun Aug 02 2020 Matthias Eliasson - Bump bpatchlvl version to 18 which was missed in previous change * Tue Jul 14 2020 Dr. Werner Fink - 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. * Sat May 09 2020 Dr. Werner Fink - Add official patch bash50-017 * There were cases where patch 16 reaped process substitution file descriptors (or FIFOs) and processes to early. This is a better fix for the problem that bash50-016 attempted to solve.- Remove temporary patch bash50-fix-016-close-new-fifos.patch * Sun Apr 19 2020 Thorsten Kukuk - Fix usage of update-alternatives * Fri Apr 03 2020 Dr. Werner Fink - Add temporary patch bash50-fix-016-close-new-fifos.patch from upstream to fix upstream patch bash50-016 * Mon Feb 24 2020 Ludwig Nussel - move man pages back to main package. It\'s just 100k * Thu Feb 13 2020 Dr. Werner Fink - 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. * Wed Oct 16 2019 Dr. Werner Fink - 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) * Thu Sep 19 2019 Ludwig Nussel - Do not recommend lang package. The lang package already has a supplements. * Mon Sep 09 2019 Dr. Werner Fink - Use new version scheme which now includes patch level as well- Add official patch bash50-010 * Change posix mode bahviour * Remove patch assignment-preceding-builtin.patch- Add official patch bash50-011 The conditional command did not perform appropriate quoted null character removal on its arguments, causing syntax errors and attempts to stat invalid pathnames. * Wed Sep 04 2019 Ludwig Nussel - Avoid pulling in bash-doc into every installation. Instead of recommeding it, supplement the documentation pattern. * Thu Aug 15 2019 Dr. Werner Fink - Add official patch bash50-008 When HISTSIZE is set to 0, history expansion can leave the history length set to an incorrect value, leading to subsequent attempts to access invalid memory.- Add official patch bash50-009 The history file reading code doesn\'t close the file descriptor open to the history file when it encounters a zero-length file. * Tue Apr 23 2019 Dr. Werner Fink - 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. * Thu Apr 04 2019 Dr. Werner Fink - Add temporary fix from upstream for boo#1128936 * Thu Mar 21 2019 Dr. Werner Fink - 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 * Thu Mar 21 2019 Dr. Werner Fink - Replace the temporary patch with official bash50-003 * Mon Mar 11 2019 Dr. Werner Fink - Update temporary patch from upstream to make sed testsuite work again * Wed Mar 06 2019 Dr. Werner Fink - Requires(postun) -> Requires(preun) * Tue Mar 05 2019 Dr. Werner Fink - Do not link /bin/sh as slave alternative to /usr/bin/sh * Mon Mar 04 2019 Dr. Werner Fink - Add temporary patch from upstream to fix boo#1127700 * Mon Mar 04 2019 Dr. Werner Fink - Refine and harden update-alternatives work flow- Move header and Makefile from bash-loadables to bash-devel * Fri Mar 01 2019 Dr. Werner Fink - Make update-alternatives work flawless * Fri Feb 08 2019 Jan Engelhardt - Put \"sh\" under control of update-alternatives * Thu Feb 07 2019 Dr. Werner Fink - Add upstream patches bash50-001 and bash50-002 * Wed Jan 09 2019 Dr. Werner Fink - 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 * Fri Dec 21 2018 Dr. Werner Fink - 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). a. The `select\' command now supports command forms without a word list following `in\'. * Thu Nov 29 2018 Dr. Werner Fink - Update to bash 5.0 beta2 ii. Associative and indexed arrays now allow subscripts consisting solely of whitespace. jj. `checkwinsize\' is now enabled by default. kk. The `localvar_unset\' shopt option is now visible and documented. ll. The `progcomp_alias\' shopt option is now visible and documented. mm. The signal name processing code now understands `SIGRTMIN+n\' all the way up to SIGRTMAX. nn. There is a new `seq\' loadable builtin. oo. Trap execution now honors the (internal) max invocations of `eval\', since traps are supposed to be executed as if using `eval\'. pp. The $_ variable doesn\'t change when the shell executes a command that forks. qq. The `kill\' builtin now supports -sSIGNAME and -nSIGNUM, even though conforming applications aren\'t supposed to use them. rr. POSIX mode now enables the `shift_verbose\' option.- Modify patches * bash-2.03-manual.patch * bash-3.0-evalexp.patch * bash-3.2-printf.patch * bash-4.0-security.patch * bash-4.1-completion.dif * bash-4.3-2.4.4.patch * bash-4.3-SJIS.patch * bash-4.3-extra-import-func.patch * bash-4.3-sigrestart.patch * bash-5.0.dif- Add temporary upstream patch upstream.patch * Thu Sep 20 2018 Dr. Werner Fink - Update to bash 5.0 beta a. The `wait\' builtin can now wait for the last process substitution created. b. There is an EPOCHSECONDS variable, which expands to the time in seconds since the Unix epoch. c. There is an EPOCHREALTIME variable, which expands to the time in seconds since the Unix epoch with microsecond granularity. d. New loadable builtins: rm, stat, fdflags. e. BASH_ARGV0: a new variable that expands to $0 and sets $0 on assignment. f. When supplied a numeric argument, the shell-expand-line bindable readline command does not perform quote removal and suppresses command and process substitution. g. `history -d\' understands negative arguments: negative arguments offset from the end of the history list. h. The `name\' argument to the `coproc\' reserved word now undergoes word expansion, so unique coprocs can be created in loops. i. A nameref name resolution loop in a function now resolves to a variable by that name in the global scope. j. The `wait\' builtin now has a `-f\' option, which signfies to wait until the specified job or process terminates, instead of waiting until it changes state. k. There is a define in config-top.h that allows the shell to use a static value for $PATH, overriding whatever is in the environment at startup, for use by the restricted shell. l. Process substitution does not inherit the `v\' option, like command substitution. m. If a non-interactive shell with job control enabled detects that a foreground job died due to SIGINT, it acts as if it received the SIGINT. n. The SIGCHLD trap is run once for each exiting child process even if job control is not enabled when the shell is in Posix mode. o. A new shopt option: localvar_inherit; if set, a local variable inherits the value of a variable with the same name at the nearest preceding scope. p. `bind -r\' now checks whether a key sequence is bound before binding it to NULL, to avoid creating keymaps for a multi-key sequence. q. A numeric argument to the line editing `operate-and-get-next\' command specifies which history entry to use. r. The positional parameters are now assigned before running the shell startup files, so startup files can use $AATT. s. There is a compile-time option that forces the shell to disable the check for an inherited OLDPWD being a directory. t. The `history\' builtin can now delete ranges of history entries using `-d start-end\'. u. The `vi-edit-and-execute-command\' bindable readline command now puts readline back in vi insertion mode after executing commands from the edited file. v. The command completion code now matches aliases and shell function names case-insensitively if the readline completion-ignore-case variable is set. w. There is a new `assoc_expand_once\' shell option that attempts to expand associative array subscripts only once. x. The shell only sets up BASH_ARGV and BASH_ARGC at startup if extended debugging mode is active. The old behavior of unconditionally setting them is available as part of the shell compatibility options. y. The `umask\' builtin now allows modes and masks greater than octal 777. z. The `times\' builtin now honors the current locale when printing a decimal point. aa. There is a new (disabled by default, undocumented) shell option to enable and disable sending history to syslog at runtime. bb. Bash no longer allows variable assignments preceding a special builtin that changes variable attributes to propagate back to the calling environment unless the compatibility level is 44 or lower. cc. You can set the default value for $HISTSIZE at build time in config-top.h. dd. The `complete\' builtin now accepts a -I option that applies the completion to the initial word on the line. ee. The internal bash malloc now uses mmap (if available) to satisfy requests greater than 128K bytes, so free can use mfree to return the pages to the kernel. ff. The shell doesn\'t automatically set BASH_ARGC and BASH_ARGV at startup unless it\'s in debugging mode, as the documentation has always said, but will dynamically create them if a script references them at the top level without having enabled debugging mode. gg. The localvar_inherit option will not attempt to inherit a value from a variable of an incompatible type (indexed vs. associative arrays, for example). hh. The `globasciiranges\' option is now enabled by default; it can be set to off by default at configuration time.- Modify and port patches * bash-2.03-manual.patch * bash-3.0-evalexp.patch * bash-3.0-warn-locale.patch * bash-3.2-printf.patch * bash-4.0-security.patch * bash-4.0-setlocale.dif * bash-4.1-bash.bashrc.dif * bash-4.1-completion.dif * bash-4.2-nscdunmap.dif * bash-4.3-2.4.4.patch * bash-4.3-extra-import-func.patch * bash-4.3-loadables.dif * bash-4.3-sigrestart.patch * bash-4.3-winch.dif- Port and rename bash-4.4.dif which is now bash-5.0.dif- Delete not used patch bash-4.2-endpw.dif- Remove patch bash-memmove.patch now upstream- Add patch bash-4.3-SJIS.patch which is disabled by default * Sat Jul 07 2018 bwiedemannAATTsuse.com- Add bash-memmove.patch to make bash.html build reproducible (boo#1100488) * Mon Jun 04 2018 wernerAATTsuse.de- In patch bash-4.4.dif avoid setgroups(2) but use initgroups(3) (boo#1095670) * Sat Jun 02 2018 avindraAATTopensuse.org- Add patch 20, 21, 22 and 23 to bash-4.4-patches.tar.bz2 * 20: In circumstances involving long-running scripts that create and reap many processes, it is possible for the hash table bash uses to store exit statuses from asynchronous processes to develop loops. This patch fixes the loop causes and adds code to detect any future loops. * 21: A SIGINT received inside a SIGINT trap handler can possibly cause the shell to loop. * 22: There are cases where a failing readline command (e.g., delete-char at the end of a line) can cause a multi-character key sequence to `back up\' and attempt to re-read some of the characters in the sequence. * 23: When sourcing a file from an interactive shell, setting the SIGINT handler to the default and typing ^C will cause the shell to exit.- remove bash-4.4-wait-sigint-handler.patch (upstreamed) * Wed Apr 18 2018 wernerAATTsuse.de- 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. * Fri Mar 16 2018 wernerAATTsuse.de- Make sure that correct readline-devel version is used (current 7.0) * Fri Mar 16 2018 wernerAATTsuse.de- Correct documentation path * Mon Mar 12 2018 wernerAATTsuse.de- 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 * Mon Mar 12 2018 schwabAATTsuse.de- Split readline off into its own package * Tue Feb 27 2018 wernerAATTsuse.de- Create readline-devel-static package to re-enable static libraries again (boo#1082913) * Thu Feb 22 2018 fvogtAATTsuse.com- Use %license (boo#1082318) * Tue Feb 06 2018 avindraAATTopensuse.org- Add patch 19 to bash-4.4-patches.tar.bz2 * With certain values for PS1, especially those that wrap onto three or more lines, readline will miscalculate the number of invisible characters, leading to crashes and core dumps. * Tue Jan 30 2018 avindraAATTopensuse.org- 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 * Wed Jan 24 2018 wernerAATTsuse.de- Modify patch bash-4.3-pathtemp.patch to avoid crash at full file system (boo#1076909) * Fri Dec 08 2017 wernerAATTsuse.de- Enable multibyte characters by default * Mon Sep 25 2017 wernerAATTsuse.de- 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) * Thu May 25 2017 bwiedemannAATTsuse.com- Make build reproducible in spite of profile based optimizations (boo#1040589) * Wed May 24 2017 bwiedemannAATTsuse.com- Allow to disable do_profiling in builds (related to boo#1040589) * Wed Apr 26 2017 wernerAATTsuse.de- Simplify patch readline-5.2-conf.patch * Tue Apr 25 2017 wernerAATTsuse.de- Do not throw info and manual pages away * Fri Feb 17 2017 wernerAATTsuse.de- Remove bash-4.0-async-bnc523667.dif as this one is fixed (and was disabled and nobody had reported trouble) * Mon Jan 30 2017 wernerAATTsuse.de- 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(). * Fri Jan 27 2017 wernerAATTsuse.de- 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. A later attempt to reference an invalid history entry can cause a crash.- Add upstream patch bash44-010 Depending on compiler optimizations and behavior, the `read\' builtin may not save partial input when a timeout occurs.- Add upstream patch bash44-011 Subshells begun to run command and process substitutions may attempt to set the terminal\'s process group to an incorrect value if they receive a fatal signal. This depends on the behavior of the process that starts the shell.- Add upstream patch bash44-012 When -N is used, the input is not supposed to be split using $IFS, but leading and trailing IFS whitespace was still removed. * Thu Jan 19 2017 wernerAATTsuse.de- Remove -L option on screen call dues API change, now we depend on environment variables only. * Fri Dec 09 2016 mliskaAATTsuse.cz- Enable -fprofile-correction to cover misleading profile created due to terminating_signal which does not return. * Mon Nov 28 2016 wernerAATTsuse.de- Add upstream patch popd-offset-overflow.patch to fix boo#1010845 CVE-2016-9401: bash: popd controlled free (Segmentation fault) Remark: this is a simple Segmentation fault, no security risk * Thu Nov 17 2016 wernerAATTsuse.de- Add upstream patch bash44-001 Bash-4.4 changed the way the history list is initially allocated to reduce the number of reallocations and copies. Users who set HISTSIZE to a very large number to essentially unlimit the size of the history list will get memory allocation errors- Add upstream patch bash44-002 Bash-4.4 warns when discarding NUL bytes in command substitution output instead of silently dropping them. This patch changes the warnings from one per NUL byte encountered to one warning per command substitution.- Drop no-null-warning.patch as bash44-002 is official replacement- Add upstream patch bash44-003 Specially-crafted input, in this case an incomplete pathname expansion bracket expression containing an invalid collating symbol, can cause the shell to crash.- Add upstream patch bash44-004 There is a race condition that can result in bash referencing freed memory when freeing data associated with the last process substitution.- Add upstream patch bash44-005 Under certain circumstances, a simple command is optimized to eliminate a fork, resulting in an EXIT trap not being executed. (boo#1008459)- Add upstream patch readline70-001 Readline-7.0 changed the way the history list is initially allocated to reduce the number of reallocations and copies. Users who set the readline history-size variable to a very large number to essentially unlimit the size of the history list will get memory allocation errors * Mon Oct 24 2016 schwabAATTsuse.de- no-null-warning.patch: Don\'t warn about null bytes in command substitution * Tue Oct 04 2016 wernerAATTsuse.de- Avoid confusing library path * Fri Sep 16 2016 wernerAATTsuse.de- Update bash 4.4 final * Latest bug fixes since 4.4 rc2- Update readline 7.0 final * Latest bug fixes since 7.0 rc2 * New application-callable function: rl_pending_signal(): returns the signal number of any signal readline has caught but not yet handled. * New application-settable variable: rl_persistent_signal_handlers: if set to a non-zero value, readline will enable the readline-6.2 signal handler behavior in callback mode: handlers are installed when rl_callback_handler_install is called and removed removed when a complete line has been read.- Drop patch bash-4.3-async-bnc971410.dif as this one is part of 4.4- Drop patch bash-3.2-longjmp.dif as now long time be fixed- Drop patch bash-4.3-headers.dif as loadables now simply work- Drop readline-6.1-wrap.patch as this seems to be fixed- Disable patch bash-4.0-async-bnc523667.dif for now as it seems to be fixed in an other way * Wed Sep 14 2016 wernerAATTsuse.de- Update bash 4.4 rc2 -- Bugfixes- Update readline 7.0 rc2 -- Bugfixes * Mon Aug 01 2016 wernerAATTsuse.de- Make clear that the files /etc/profile as well as /etc/bash.bashrc may source other files as well even if the bash does not. Therefore modify patch bash-4.1-bash.bashrc.dif (bsc#959755) * Thu Jul 14 2016 wernerAATTsuse.de- Update bash 4.4 beta 2 * Value conversions (arithmetic expansions, case modification, etc.) now happen when assigning elements of an array using compound assignment. * There is a new option settable in config-top.h that makes multiple directory arguments to `cd\' a fatal error. * Bash now uses mktemp() when creating internal temporary files; it produces a warning at build time on many Linux systems.- Update to readline library 7.0 beta 2 (not enabled as not standalone) * The default binding for ^W in vi mode now uses word boundaries specified by Posix (vi-unix-word-rubout is bindable command name). * rl_clear_visible_line: new application-callable function; clears all screen lines occupied by the current visible readline line. * rl_tty_set_echoing: application-callable function that controls whether or not readline thinks it is echoing terminal output. * Handle >| and strings of digits preceding and following redirection specifications as single tokens when tokenizing the line for history expansion. * Fixed a bug with displaying completions when the prefix display length is greater than the length of the completions to be displayed. * The :p history modifier now applies to the entire line, so any expansion specifying :p causes the line to be printed instead of expanded. * Tue Mar 08 2016 wernerAATTsuse.de- Update bash 4.4 release candidate 1 * There is now a settable configuration #define that will cause the shell to exit if the shell is running setuid without the -p option and setuid to the real uid fails. * Command and process substitutions now turn off the `-v\' option when executing, as other shells seem to do. * The default value for the `checkhash\' shell option may now be set at compile time with a #define. * The `mapfile\' builtin now has a -d option to use an arbitrary character as the record delimiter, and a -t option to strip the delimiter as supplied with -d. * The maximum number of nested recursive calls to `eval\' is now settable in config-top.h; the default is no limit. * The `-p\' option to declare and similar builtins will display attributes for named variables even when those variables have not been assigned values (which are technically unset). * The maximum number of nested recursive calls to `source\' is now settable in config-top.h; the default is no limit. * All builtin commands recognize the `--help\' option and print a usage summary. * Bash does not allow function names containing `/\' and `=\' to be exported. * The `ulimit\' builtin has new -k (kqueues) and -P (pseudoterminals) options. * The shell now allows `time ; othercommand\' to time null commands. * There is a new `--enable-function-import\' configuration option to allow importing shell functions from the environment; import is enabled by default. * `printf -v var \"\"\' will now set `var\' to the empty string, as if `var=\"\"\' had been executed. * GLOBIGNORE, the pattern substitution word expansion, and programmable completion match filtering now honor the value of the `nocasematch\' option. * There is a new ${parameterAATTspec} family of operators to transform the value of `parameter\'. * Bash no longer attempts to perform compound assignment if a variable on the rhs of an assignment statement argument to `declare\' has the form of a compound assignment (e.g., w=\'(word)\' ; declare foo=$w); compound assignments are accepted if the variable was already declared as an array, but with a warning. * The declare builtin no longer displays array variables using the compound assignment syntax with quotes; that will generate warnings when re-used as input, and isn\'t necessary. * Executing the rhs of && and || will no longer cause the shell to fork if it\'s not necessary. * The `local\' builtin takes a new argument: `-\', which will cause it to save and the single-letter shell options and restore their previous values at function return. * `complete\' and `compgen\' have a new `-o nosort\' option, which forces readline to not sort the completion matches. * Bash now allows waiting for the most recent process substitution, since it appears as $!. * The `unset\' builtin now unsets a scalar variable if it is subscripted with a `0\', analogous to the ${var[0]} expansion. * `set -i\' is no longer valid, as in other shells. * BASH_SUBSHELL is now updated for process substitution and group commands in pipelines, and is available with the same value when running any exit trap. * Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or not bash is being run in a GNU Emacs shell window. * Bash now treats SIGINT received when running a non-builtin command in a loop the way it has traditionally treated running a builtin command: running any trap handler and breaking out of the loop. * New variable: EXECIGNORE; a colon-separate list of patterns that will cause matching filenames to be ignored when searching for commands. * Aliases whose value ends in a shell metacharacter now expand in a way to allow them to be `pasted\' to the next token, which can potentially change the meaning of a command (e.g., turning `&\' into `&&\'). * `make install\' now installs the example loadable builtins and a set of bash headers to use when developing new loadable builtins. * `enable -f\' now attempts to call functions named BUILTIN_builtin_load when loading BUILTIN, and BUILTIN_builtin_unload when deleting it. This allows loadable builtins to run initialization and cleanup code. * There is a new BASH_LOADABLES_PATH variable containing a list of directories where the `enable -f\' command looks for shared objects containing loadable builtins. * The `complete_fullquote\' option to `shopt\' changes filename completion to quote all shell metacharacters in filenames and directory names. * The `kill\' builtin now has a `-L\' option, equivalent to `-l\', for compatibility with Linux standalone versions of kill. * BASH_COMPAT and FUNCNEST can be inherited and set from the shell\'s initial environment. * inherit_errexit: a new `shopt\' option that, when set, causes command substitutions to inherit the -e option. By default, those subshells disable - e. It\'s enabled as part of turning on posix mode. * New prompt string: PS0. Expanded and displayed by interactive shells after reading a complete command but before executing it. * Interactive shells now behave as if SIGTSTP/SIGTTIN/SIGTTOU are set to SIG_DFL when the shell is started, so they are set to SIG_DFL in child processes. * Posix-mode shells now allow double quotes to quote the history expansion character. * OLDPWD can be inherited from the environment if it names a directory. * Shells running as root no longer inherit PS4 from the environment, closing a security hole involving PS4 expansion performing command substitution. * If executing an implicit `cd\' when the `autocd\' option is set, bash will now invoke a function named `cd\' if one exists before executing the `cd\' builtin.- Update to readline library 7.0 release candidate 1 * The history truncation code now uses the same error recovery mechansim as the history writing code, and restores the old version of the history file on error. The error recovery mechanism handles symlinked history files. * There is a new bindable variable, `enable-bracketed-paste\', which enables support for a terminal\'s bracketed paste mode. * The editing mode indicators can now be strings and are user-settable (new `emacs-mode-string\', `vi-cmd-mode-string\' and `vi-ins-mode-string\' variables). Mode strings can contain invisible character sequences. Setting mode strings to null strings restores the defaults. * Prompt expansion adds the mode string to the last line of a multi-line prompt (one with embedded newlines). * There is a new bindable variable, `colored-completion-prefix\', which, if set, causes the common prefix of a set of possible completions to be displayed in color. * There is a new bindable command `vi-yank-pop\', a vi-mode version of emacs- mode yank-pop. * The redisplay code underwent several efficiency improvements for multibyte locales. * The insert-char function attempts to batch-insert all pending typeahead that maps to self-insert, as long as it is coming from the terminal. * rl_callback_sigcleanup: a new application function that can clean up and unset any state set by readline\'s callback mode. Intended to be used after a signal. * If an incremental search string has its last character removed with DEL, the resulting empty search string no longer matches the previous line. * If readline reads a history file that begins with `#\' (or the value of the history comment character) and has enabled history timestamps, the history entries are assumed to be delimited by timestamps. This allows multi-line history entries. * Readline now throws an error if it parses a key binding without a terminating `:\' or whitespace.- Remove patches which are upstream solved bash-3.2-longjmp.dif bash-4.3-headers.dif readline-6.1-wrap.patch- Rename patches bash-4.3.dif become bash-4.4.dif readline-6.3.dif become readline-7.0.dif- Refresh other patches as well * Mon Oct 19 2015 wernerAATTsuse.de- Define the USE_MKTEMP and USE_MKSTEMP cpp macros as the implementation is already there.- Add patch bash-4.3-pathtemp.patch to allow root to clear the file systems. Otherwise the completion does not work if /tmp if full (ENOSPC for here documents) * Fri Oct 16 2015 wernerAATTsuse.de- Remove --hash-size options as there is no any change in the final binary nor library anymore * Mon Aug 31 2015 wernerAATTsuse.de- Add upstream patch bash43-039 Using the output of `declare -p\' when run in a function can result in variables that are invisible to `declare -p\'. This problem occurs when an assignment builtin such as `declare\' receives a quoted compound array assignment as one of its arguments.- Add upstream patch bash43-040 There is a memory leak that occurs when bash expands an array reference on the rhs of an assignment statement.- Add upstream patch bash43-041 There are several out-of-bounds read errors that occur when completing command lines where assignment statements appear before the command name. The first two appear only when programmable completion is enabled; the last one only happens when listing possible completions.- Add upstream patch bash43-042 There is a problem when parsing command substitutions containing `case\' commands within pipelines that causes the parser to not correctly identify the end of the command substitution. * Wed Jul 01 2015 cooloAATTsuse.com- add bash-4.3-perl522.patch to fix texi2html for perl 5.22 (defined(AATTarray) has been deprecated since at least 2012) * Thu May 28 2015 wernerAATTsuse.de- 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 `AATT\' 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. * Mon May 18 2015 meissnerAATTsuse.com- move info deletion to %preun sections * Wed Mar 04 2015 jdelvareAATTsuse.de- bash-4.3-loadables.dif: One more warning fixed, in examples/loadables/logname.c.- bash-4.3-loadables.dif: Reverted one warning fix, which was introducing another warning and possibly a bug. * Wed Mar 04 2015 jdelvareAATTsuse.de- bash-4.3-loadables.dif: Split changes to shell.h to a separate patch \"bash-4.3-include-unistd.dif\", as the loadables build just fine without these changes.- bash-4.3-loadables.dif: Drop all header file inclusion fixups, upstream fixed the problem differently 5 years ago. * Wed Feb 18 2015 wernerAATTsuse.de- Do not restart all signal handlers for bash 4.3 as this breaks trap handler in subshells waotiug for a process * Fri Jan 16 2015 wernerAATTsuse.de- Remove -DMUST_UNBLOCK_CHLD(=1) as this breaks waitchild(2) on linux * Fri Jan 09 2015 wernerAATTsuse.de- Add upstream patch bash43-031 The new nameref assignment functionality introduced in bash-4.3 did not perform enough validation on the variable value and would create variables with invalid names.- Add upstream patch bash43-032 When bash is running in Posix mode, it allows signals -- including SIGCHLD -- to interrupt the `wait\' builtin, as Posix requires. However, the interrupt causes bash to not run a SIGCHLD trap for all exited children. This patch fixes the issue and restores the documented behavior in Posix mode.- Add upstream patch bash43-033 Bash does not clean up the terminal state in all cases where bash or readline modifies it and bash is subsequently terminated by a fatal signal. This happens when the `read\' builtin modifies the terminal settings, both when readline is active and when it is not. It occurs most often when a script installs a trap that exits on a signal without re-sending the signal to itself. * Wed Dec 03 2014 jdelvareAATTsuse.de- Fix the sed command that fixes up the patch headers. It was printing a duplicate header line, which suprisingly did not confuse patch, but could in the future.- Fix all patches that had the duplicate header line issue. * Tue Nov 04 2014 wernerAATTsuse.de- Use tail command to follow run-tests instead of a simpe cat command * Fri Oct 24 2014 wernerAATTsuse.de- Really remove obsolete patches * Fri Oct 24 2014 brianAATTaljex.com- Skip autoconf on OS 10.2 or older * Wed Oct 22 2014 wernerAATTsuse.de- Avoid fdupes on SLES-10 * Wed Oct 22 2014 wernerAATTsuse.de- Bump bash version to 4.3 * Tue Oct 21 2014 brianAATTaljex.com- Allow building on targets from SL 10.1 to current since it\'s free
|
|
|