Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: bash | Distribution: openSUSE Tumbleweed |
Version: 5.2.37 | Vendor: openSUSE |
Release: 15.1 | Build date: Mon Dec 16 13:47:07 2024 |
Group: System/Shells | Build host: reproducible |
Size: 990610 | Source RPM: bash-5.2.37-15.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://www.gnu.org/software/bash/bash.html | |
Summary: The GNU Bourne-Again Shell |
Bash is an sh-compatible command interpreter that executes commands read from standard input or from a file. Bash incorporates useful features from the Korn and C shells (ksh and csh). Bash is intended to be a conformant implementation of the IEEE Posix Shell and Tools specification (IEEE Working Group 1003.2).
GPL-3.0-or-later
* Mon Dec 16 2024 Dr. Werner Fink <werner@suse.de> - Remove bash-4.3-winch.dif as this is the (current) default * Wed Sep 25 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 2024 Dr. Werner Fink <werner@suse.de> - 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. * Mon Mar 25 2024 Dr. Werner Fink <werner@suse.de> - Help dependcy resolver to identify package split done with bash-sh * Wed Feb 28 2024 Dr. Werner Fink <werner@suse.de> - 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 * Tue Jan 16 2024 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - Declare token YYEOF to be able to support older bison versions as well * Wed Nov 15 2023 Dr. Werner Fink <werner@suse.de> - Be sure to have a usable bison installed at build time * Tue Nov 14 2023 Dr. Werner Fink <werner@suse.de> - 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 <lnussel@suse.com> - Replace transitional %usrmerged macro with regular version check (boo#1206798) * Wed Dec 14 2022 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - 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 <werner@suse.de> - 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. * Wed Nov 02 2022 Dr. Werner Fink <werner@suse.de> - Set DEFAULT_LOADABLE_BUILTINS_PATH to get BASH_LOADABLES_PATH correct (boo#1204567) * Thu Oct 20 2022 Dr. Werner Fink <werner@suse.de> - Explicit require versioned libreadline8 as we face new ABI functions used by the bash (boo#1204336) * Wed Oct 12 2022 Andreas Schwab <schwab@suse.de> - Don't strip binaries - Work around a signal mask issue with qemu linux-user emulation * Wed Oct 12 2022 Andreas Schwab <schwab@suse.de> - Remove backup of patched tests * Thu Oct 06 2022 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - 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 <werner@suse.de> - Modernize run-tests * Sat Sep 24 2022 Christopher Yeleighton <giecrilj@stegny.2a.pl> - add checks * Tue Sep 20 2022 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - Small change in quotes-man2html.patch * Use a simple "'" aka quote instead of "′" for "\(aq" * Thu Sep 15 2022 Dr. Werner Fink <werner@suse.de> - Add patch quotes-man2html.patch * Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq * Tue Sep 13 2022 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - 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 <werner@suse.de> - 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 <dmueller@suse.com> - use https:// for source urls * Thu Apr 28 2022 Dr. Werner Fink <werner@suse.de> - 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 `@' 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 `@' 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}<fn and other styles of varassign redirection unless they're arguments to the `exec' builtin. p. The `$0' special parameter is now set to the name of the script when running any (non-interactive) startup files such as $BASH_ENV. q. The `enable' builtin tries to load a loadable builtin using the default search path if `enable name' (without any options) attempts to enable a non-existent builtin. r. The `printf' builtin has a new format specifier: %Q. This acts like %q but applies any specified precision to the original unquoted argument, then quotes and outputs the result. s. The new `noexpand_translations' option controls whether or not the translated output of $"..." is single-quoted. t. There is a new parameter transformation operator: @k. This is like @K, but expands the result to separate words after word splitting. u. There is an alternate array implementation, selectable at `configure' time, that optimizes access speed over memory use (use the new configure - -enable-alt-array-implementation option). v. If an [N]<&WORD- or [N]>&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 `@' and `*' that are the value of nameref variables (declare -n ref='v[@]' ; 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 <werner@suse.de> - 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 <werner@suse.de> - Add signatures files of the upstream patches as well * Wed Feb 23 2022 Bernhard Wiedemann <bwiedemann@suse.com> - Verify upstream release signatures * Fri Jan 14 2022 Dr. Werner Fink <werner@suse.de> - 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 <dmueller@suse.com> - avoid duplicating COPYING file in bash-doc (already in main package in licensedir) * Thu Nov 18 2021 Dr. Werner Fink <werner@suse.de> - 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 <schubi@suse.de> - Using package bash-sh instead of the update-alternative mechanism. * Thu Sep 30 2021 Andreas Schwab <schwab@suse.de> - Install bash_builtins manpage under the correct name * Mon Jul 26 2021 Dr. Werner Fink <werner@suse.de> - Use a get_version_number.sh script * Fri Jul 23 2021 Callum Farmer <gmbr3@opensuse.org> - 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 <werner@suse.de> - Use well defined HOSTTYPE, as well as OS, VENDOR, and MACHTYPE (boo#1186296) * Wed May 05 2021 Dr. Werner Fink <werner@suse.de> - 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 <werner@suse.de> - 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'.
/etc/bash_completion.d /etc/skel/.bash_history /etc/skel/.bashrc /etc/skel/.profile /usr/bin/bash /usr/bin/bashbug /usr/bin/rbash /usr/share/bash /usr/share/bash/helpfiles /usr/share/bash/helpfiles/alias /usr/share/bash/helpfiles/arith /usr/share/bash/helpfiles/arith_for /usr/share/bash/helpfiles/bg /usr/share/bash/helpfiles/bind /usr/share/bash/helpfiles/break /usr/share/bash/helpfiles/builtin /usr/share/bash/helpfiles/caller /usr/share/bash/helpfiles/case /usr/share/bash/helpfiles/cd /usr/share/bash/helpfiles/colon /usr/share/bash/helpfiles/command /usr/share/bash/helpfiles/compgen /usr/share/bash/helpfiles/complete /usr/share/bash/helpfiles/compopt /usr/share/bash/helpfiles/conditional /usr/share/bash/helpfiles/continue /usr/share/bash/helpfiles/coproc /usr/share/bash/helpfiles/declare /usr/share/bash/helpfiles/dirs /usr/share/bash/helpfiles/disown /usr/share/bash/helpfiles/dot /usr/share/bash/helpfiles/echo /usr/share/bash/helpfiles/enable /usr/share/bash/helpfiles/eval /usr/share/bash/helpfiles/exec /usr/share/bash/helpfiles/exit /usr/share/bash/helpfiles/export /usr/share/bash/helpfiles/false /usr/share/bash/helpfiles/fc /usr/share/bash/helpfiles/fg /usr/share/bash/helpfiles/fg_percent /usr/share/bash/helpfiles/for /usr/share/bash/helpfiles/function /usr/share/bash/helpfiles/getopts /usr/share/bash/helpfiles/grouping_braces /usr/share/bash/helpfiles/hash /usr/share/bash/helpfiles/help /usr/share/bash/helpfiles/history /usr/share/bash/helpfiles/if /usr/share/bash/helpfiles/jobs /usr/share/bash/helpfiles/kill /usr/share/bash/helpfiles/let /usr/share/bash/helpfiles/local /usr/share/bash/helpfiles/logout /usr/share/bash/helpfiles/mapfile /usr/share/bash/helpfiles/popd /usr/share/bash/helpfiles/printf /usr/share/bash/helpfiles/pushd /usr/share/bash/helpfiles/pwd /usr/share/bash/helpfiles/read /usr/share/bash/helpfiles/readarray /usr/share/bash/helpfiles/readonly /usr/share/bash/helpfiles/return /usr/share/bash/helpfiles/select /usr/share/bash/helpfiles/set /usr/share/bash/helpfiles/shift /usr/share/bash/helpfiles/shopt /usr/share/bash/helpfiles/source /usr/share/bash/helpfiles/suspend /usr/share/bash/helpfiles/test /usr/share/bash/helpfiles/test_bracket /usr/share/bash/helpfiles/time /usr/share/bash/helpfiles/times /usr/share/bash/helpfiles/trap /usr/share/bash/helpfiles/true /usr/share/bash/helpfiles/type /usr/share/bash/helpfiles/typeset /usr/share/bash/helpfiles/ulimit /usr/share/bash/helpfiles/umask /usr/share/bash/helpfiles/unalias /usr/share/bash/helpfiles/unset /usr/share/bash/helpfiles/until /usr/share/bash/helpfiles/variable_help /usr/share/bash/helpfiles/wait /usr/share/bash/helpfiles/while /usr/share/licenses/bash /usr/share/licenses/bash/COPYING /usr/share/man/man1/bash.1.gz /usr/share/man/man1/bash_builtins.1.gz /usr/share/man/man1/bashbug.1.gz /usr/share/man/man1/rbash.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Dec 26 23:45:37 2024