pkgsrc/shells/bash/distinfo

20 lines
1.3 KiB
Text
Raw Normal View History

$NetBSD: distinfo,v 1.50 2018/04/09 14:57:19 ryoon Exp $
2018-02-11 18:00:45 +01:00
SHA1 (bash-4.4.18.tar.gz) = 6cf9b3c23930ba8a721fee177d1558e5b7cb6104
RMD160 (bash-4.4.18.tar.gz) = 0081d54b19e19ab94efc0d69929ae3f40bb984e6
SHA512 (bash-4.4.18.tar.gz) = bd3048338aded9dee31651011aaa46bc8fba83a27fa063e3d47bcbe85ebbd86816d9080d1a658cfbd1736a2c80e98fdb659019c192d332472b00aa305e0285b0
Size (bash-4.4.18.tar.gz) = 9463662 bytes
SHA1 (bash44-019) = 7483741200d09837199d8047cf0f9632834a9b5b
RMD160 (bash44-019) = b9dedc65d70ca7749ffdb743701487fcb3072033
SHA512 (bash44-019) = 59984e221a7a6dbf72bf893b1b7c4a63fea34d6af1208a19f0e9e6cd59a09e4cf51890cb2d31c1502e2a2f644f584417bb59cf02c308d3250d2a98d41b63e893
Size (bash44-019) = 1671 bytes
2016-06-11 14:54:24 +02:00
SHA1 (patch-af) = e26e3209902247263884cfebc11a2f7e43245062
SHA1 (patch-ag) = cd3b151e3bb045d2bb609c0a03d7d3df2c871f47
SHA1 (patch-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0
2016-06-11 14:54:24 +02:00
SHA1 (patch-builtins_ulimit.def) = 1390069344607204eb3abbd6ddeb148ff590c55e
SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d
Updated bash to 4.4. This is a terse description of the new features added to bash-4.4 since the release of bash-4.3. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. 1. New Features in Bash a. 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. b. Command and process substitutions now turn off the `-v' option when executing, as other shells seem to do. c. The default value for the `checkhash' shell option may now be set at compile time with a #define. d. 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. e. The maximum number of nested recursive calls to `eval' is now settable in config-top.h; the default is no limit. f. 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). g. The maximum number of nested recursive calls to `source' is now settable in config-top.h; the default is no limit. h. All builtin commands recognize the `--help' option and print a usage summary. i. Bash does not allow function names containing `/' and `=' to be exported. j. The `ulimit' builtin has new -k (kqueues) and -P (pseudoterminals) options. k. The shell now allows `time ; othercommand' to time null commands. l. There is a new `--enable-function-import' configuration option to allow importing shell functions from the environment; import is enabled by default. m. `printf -v var ""' will now set `var' to the empty string, as if `var=""' had been executed. n. GLOBIGNORE, the pattern substitution word expansion, and programmable completion match filtering now honor the value of the `nocasematch' option. o. There is a new ${parameter@spec} family of operators to transform the value of `parameter'. p. 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. q. 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. r. Executing the rhs of && and || will no longer cause the shell to fork if it's not necessary. s. 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. t. `complete' and `compgen' have a new `-o nosort' option, which forces readline to not sort the completion matches. u. Bash now allows waiting for the most recent process substitution, since it appears as $!. v. The `unset' builtin now unsets a scalar variable if it is subscripted with a `0', analogous to the ${var[0]} expansion. w. `set -i' is no longer valid, as in other shells. x. 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. y. Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or not bash is being run in a GNU Emacs shell window. z. 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. aa. New variable: EXECIGNORE; a colon-separate list of patterns that will cause matching filenames to be ignored when searching for commands. bb. 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 `&&'). cc. `make install' now installs the example loadable builtins and a set of bash headers to use when developing new loadable builtins. dd. `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. ee. 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. ff. The `complete_fullquote' option to `shopt' changes filename completion to quote all shell metacharacters in filenames and directory names. gg. The `kill' builtin now has a `-L' option, equivalent to `-l', for compatibility with Linux standalone versions of kill. hh. BASH_COMPAT and FUNCNEST can be inherited and set from the shell's initial environment. ii. 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. jj. New prompt string: PS0. Expanded and displayed by interactive shells after reading a complete command but before executing it. kk. 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. ll. Posix-mode shells now allow double quotes to quote the history expansion character. mm. OLDPWD can be inherited from the environment if it names a directory. nn. Shells running as root no longer inherit PS4 from the environment, closing a security hole involving PS4 expansion performing command substitution. oo. 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. pp. Value conversions (arithmetic expansions, case modification, etc.) now happen when assigning elements of an array using compound assignment. qq. There is a new option settable in config-top.h that makes multiple directory arguments to `cd' a fatal error. rr. Bash now uses mktemp() when creating internal temporary files; it produces a warning at build time on many Linux systems. 2. New Features in Readline a. 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. b. There is a new bindable variable, `enable-bracketed-paste', which enables support for a terminal's bracketed paste mode. c. 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. d. Prompt expansion adds the mode string to the last line of a multi-line prompt (one with embedded newlines). e. 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. f. There is a new bindable command `vi-yank-pop', a vi-mode version of emacs- mode yank-pop. g. The redisplay code underwent several efficiency improvements for multibyte locales. h. 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. i. 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. j. If an incremental search string has its last character removed with DEL, the resulting empty search string no longer matches the previous line. k. 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. l. Readline now throws an error if it parses a key binding without a terminating `:' or whitespace. m. The default binding for ^W in vi mode now uses word boundaries specified by Posix (vi-unix-word-rubout is bindable command name). n. rl_clear_visible_line: new application-callable function; clears all screen lines occupied by the current visible readline line. o. rl_tty_set_echoing: application-callable function that controls whether or not readline thinks it is echoing terminal output. p. Handle >| and strings of digits preceding and following redirection specifications as single tokens when tokenizing the line for history expansion. q. Fixed a bug with displaying completions when the prefix display length is greater than the length of the completions to be displayed. r. The :p history modifier now applies to the entire line, so any expansion specifying :p causes the line to be printed instead of expanded. s. New application-callable function: rl_pending_signal(): returns the signal number of any signal readline has caught but not yet handled. t. 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.
2016-09-19 11:06:03 +02:00
SHA1 (patch-lib_readline_colors.c) = 4ebf871b883fc8ab6756758c423f777d9eb21da1
SHA1 (patch-shell.c) = daa07914d4c318cd72463f80344f4f7c364809cd
2018-01-25 11:40:05 +01:00
SHA1 (patch-support_shobj-conf) = 8750c104549ea8a4a722bd21a684a9fe13e05fe5
Updated bash to 4.4. This is a terse description of the new features added to bash-4.4 since the release of bash-4.3. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. 1. New Features in Bash a. 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. b. Command and process substitutions now turn off the `-v' option when executing, as other shells seem to do. c. The default value for the `checkhash' shell option may now be set at compile time with a #define. d. 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. e. The maximum number of nested recursive calls to `eval' is now settable in config-top.h; the default is no limit. f. 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). g. The maximum number of nested recursive calls to `source' is now settable in config-top.h; the default is no limit. h. All builtin commands recognize the `--help' option and print a usage summary. i. Bash does not allow function names containing `/' and `=' to be exported. j. The `ulimit' builtin has new -k (kqueues) and -P (pseudoterminals) options. k. The shell now allows `time ; othercommand' to time null commands. l. There is a new `--enable-function-import' configuration option to allow importing shell functions from the environment; import is enabled by default. m. `printf -v var ""' will now set `var' to the empty string, as if `var=""' had been executed. n. GLOBIGNORE, the pattern substitution word expansion, and programmable completion match filtering now honor the value of the `nocasematch' option. o. There is a new ${parameter@spec} family of operators to transform the value of `parameter'. p. 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. q. 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. r. Executing the rhs of && and || will no longer cause the shell to fork if it's not necessary. s. 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. t. `complete' and `compgen' have a new `-o nosort' option, which forces readline to not sort the completion matches. u. Bash now allows waiting for the most recent process substitution, since it appears as $!. v. The `unset' builtin now unsets a scalar variable if it is subscripted with a `0', analogous to the ${var[0]} expansion. w. `set -i' is no longer valid, as in other shells. x. 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. y. Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or not bash is being run in a GNU Emacs shell window. z. 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. aa. New variable: EXECIGNORE; a colon-separate list of patterns that will cause matching filenames to be ignored when searching for commands. bb. 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 `&&'). cc. `make install' now installs the example loadable builtins and a set of bash headers to use when developing new loadable builtins. dd. `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. ee. 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. ff. The `complete_fullquote' option to `shopt' changes filename completion to quote all shell metacharacters in filenames and directory names. gg. The `kill' builtin now has a `-L' option, equivalent to `-l', for compatibility with Linux standalone versions of kill. hh. BASH_COMPAT and FUNCNEST can be inherited and set from the shell's initial environment. ii. 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. jj. New prompt string: PS0. Expanded and displayed by interactive shells after reading a complete command but before executing it. kk. 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. ll. Posix-mode shells now allow double quotes to quote the history expansion character. mm. OLDPWD can be inherited from the environment if it names a directory. nn. Shells running as root no longer inherit PS4 from the environment, closing a security hole involving PS4 expansion performing command substitution. oo. 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. pp. Value conversions (arithmetic expansions, case modification, etc.) now happen when assigning elements of an array using compound assignment. qq. There is a new option settable in config-top.h that makes multiple directory arguments to `cd' a fatal error. rr. Bash now uses mktemp() when creating internal temporary files; it produces a warning at build time on many Linux systems. 2. New Features in Readline a. 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. b. There is a new bindable variable, `enable-bracketed-paste', which enables support for a terminal's bracketed paste mode. c. 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. d. Prompt expansion adds the mode string to the last line of a multi-line prompt (one with embedded newlines). e. 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. f. There is a new bindable command `vi-yank-pop', a vi-mode version of emacs- mode yank-pop. g. The redisplay code underwent several efficiency improvements for multibyte locales. h. 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. i. 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. j. If an incremental search string has its last character removed with DEL, the resulting empty search string no longer matches the previous line. k. 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. l. Readline now throws an error if it parses a key binding without a terminating `:' or whitespace. m. The default binding for ^W in vi mode now uses word boundaries specified by Posix (vi-unix-word-rubout is bindable command name). n. rl_clear_visible_line: new application-callable function; clears all screen lines occupied by the current visible readline line. o. rl_tty_set_echoing: application-callable function that controls whether or not readline thinks it is echoing terminal output. p. Handle >| and strings of digits preceding and following redirection specifications as single tokens when tokenizing the line for history expansion. q. Fixed a bug with displaying completions when the prefix display length is greater than the length of the completions to be displayed. r. The :p history modifier now applies to the entire line, so any expansion specifying :p causes the line to be printed instead of expanded. s. New application-callable function: rl_pending_signal(): returns the signal number of any signal readline has caught but not yet handled. t. 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.
2016-09-19 11:06:03 +02:00
SHA1 (patch-variables.c) = 0bb513cb863f82eb378b8c720bdfb1c31d21d36c