Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: zsh-sh | Distribution: openSUSE:Factory:zSystems |
Version: 5.9 | Vendor: openSUSE |
Release: 3.1 | Build date: Thu Oct 27 15:41:43 2022 |
Group: System/Shells | Build host: s390zl28 |
Size: 3 | Source RPM: zsh-5.9-3.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://www.zsh.org | |
Summary: Handle behaviour of /bin/sh |
Use zsh as /bin/sh implementation.
MIT
* Sat Oct 22 2022 Luciano Santos <luc14n0@opensuse.org> - Add zsh-sh subpackage to offer Zsh users a "native" way to handle /bin/sh scripts and use an SH shell with the capabilities of Zsh itself to emulate a Bourne shell. An 'sh' symlink pointing to the Zsh binary is all that is needed for it to emulate the Bourne shell, it is similar to the use of `emulate sh` Zsh's built-in command or the `zsh --emulate sh` shell command. - Drop deprecated use of install_info(_delete) post(un) macros. RPM file triggers have replaced their functionality since 2019. * Mon Sep 12 2022 Dirk Müller <dmueller@suse.com> - add egrep-deprecation.patch (bsc#1203241) * Sun May 15 2022 Dirk Müller <dmueller@suse.com> - update to 5.9: zsh 5.9 is dedicated to the memory of Sven Guckes, who was, amongst other things, a long-time zsh advocate. For more information, see: https://linuxnews.de/2022/02/sven-guckes-verstorben/ https://groups.google.com/g/vim_announce/c/MJBKVd-xrEE/m/joVNaDgAAgAJ When unsetting a hash element, the string enclosed in square brackets is interpreted literally after any normal command-line-argument expansions. Thus unset "hash[$key]" first expands $key as usual for a double-quoted string, and then interprets that result as the exact hash element to unset. This differs from previous versions of the shell, which would also remove a leading backslash for an unusual subset of characters in the expansion of $key. Note this also means, for example, that now unset 'hash[ab]cd]' unsets the element with key "ab]cd" rather than silently doing nothing. The function command learnt a -T option to declare a function and enable tracing for it simultaneously. The option SHORT_REPEAT was added to enable the short syntax of SHORT_LOOPS for the repeat command only. It is disabled by default. The _arguments function now supports NUL-delimiting optargs in the opt_args array via the -0 option. Developers of completion functions should find this easier to handle reliably than the default colon-delimiting behaviour. The zsh/system module's `zsystem flock` command learnt an -i option to set the wait interval used with -t. Additionally, -t now supports fractional seconds. The option CLOBBER_EMPTY was added to enable the overwrite behaviour of CLOBBER for empty files only. It is disabled by default. A (-) expansion flag was added. It works like (n) but correctly sorts negative numbers. The (*) expansion flag enables EXTENDED_GLOB for pattern matching. For example, ${(*)sample/(#b)*(pat)*/${match[1]}} uses backreferences even if EXTENDED_GLOB is not otherwise set. However, this does not descend into nested exapansions, and doubling as (**) does not disable EXTENDED_GLOB. The compinit function learnt a -w option to explain why compdump runs. When run without the -i or -u options and compaudit discovers security issues, answering "y" to the "Ignore insecure ..." prompt removes the insecure elements (like the -i option) where previously it ignored the result (thus formerly like the -u option). Further, removing those elements includes dropping directories from the $fpath array. The zsh/datetime module's strftime builtin learnt an -n option to omit the trailing newline when printing a formatted time. The XTRACE option is now disabled while running user-defined completion widgets. This corresponds to long-standing behavior of other user ZLE widgets. Use the _complete_debug widget to capture XTRACE output, or use "functions -T" to enable tracing of specific completion functions. The fc builtin learnt an -s option which is a POSIX equivalent to the `fc -e-` method of re-executing a command without invoking an editor. The option CASE_PATHS was added to control how NO_CASE_GLOB behaves. NO_CASE_GLOB + NO_CASE_PATHS is equivalent to the current NO_CASE_GLOB behaviour. NO_CASE_GLOB + CASE_PATHS treats only path components that contain globbing characters as case-insensitive; this behaviour may yield more predictable results on case-sensitive file systems. NO_CASE_PATHS is the default. With the new TYPESET_TO_UNSET option set, "typeset foo" leaves foo unset, in contrast to the default behavior which assigns foo="". Any parameter attributes such as numeric type, sorting, and padding are retained until the parameter is explicitly unset or a conflicting value is assigned. This is similar to default behavior of bash and ksh. This option is disabled by default. The compadd builtin's -D option can now be specified more than once. The zsh/zutil module's zformat builtin learnt an -F option which behaves like -f except that ternary expressions check for existence instead of doing math evaluation. The conventional syntax used to indicate units, ranges, and default values in completion descriptions (e.g. `timeout (seconds) (0-60) [20]`) is now recognised by the completion system itself. These components are parsed out of the description and can be individually styled. A _numbers helper function has been added to help function authors offer rich completion for these values. The log builtin, WATCH parameter, et al., have been broken out into a separate module, zsh/watch. The module is enabled by default. The zsh/watch module's WATCHFMT parameter now supports colours via the %F and %K escapes. The STTY parameter can now be set to an empty string before running a command to automatically restore terminal settings after the command finishes. The "jobs" command and "$jobstates" and related parameters can report on parent shell jobs even in subshells. This is a snapshot of the parent state, frozen at the point the subshell started. However, if a subshell starts its own background jobs, the parent state is discarded in order to report on those new jobs. - drop ncurses-fix.patch: upstream * Sun Mar 20 2022 Dirk Müller <dmueller@suse.com> - update to 5.8.1 (bsc#1196435, CVE-2021-45444): * CVE-2021-45444: Some prompt expansion sequences, such as %F, support 'arguments' which are themselves expanded in case they contain colour values, etc. This additional expansion would trigger PROMPT_SUBST evaluation, if enabled. This could be abused to execute code the user didn't expect. e.g., given a certain prompt configuration, an attacker could trick a user into executing arbitrary code by having them check out a Git branch with a specially crafted name. This is fixed in the shell itself by no longer performing PROMPT_SUBST evaluation on these prompt-expansion arguments. Users who are concerned about an exploit but unable to update their binaries may apply the partial work-around described in the file Etc/CVE-2021-45444-VCS_Info-workaround.patch included with the shell source. [ Reported by RyotaK <security@ryotak.me>. Additional thanks to Marc Cornellà <hello@mcornella.com>. ] * Fri Oct 16 2020 Ludwig Nussel <lnussel@suse.de> - prepare usrmerge (boo#1029961) * Tue Aug 25 2020 Martin Liška <mliska@suse.cz> - Add ncurses-fix.patch in order to fix ncurses failure. * Tue May 05 2020 Mykola Krachkovsky <w01dnick@gmail.com> - Add $HOME aliases to fix regression after dropping /etc/bash.bashrc * Tue May 05 2020 Ismail Dönmez <idonmez@suse.com> - Add back LS_COLORS, LS_OPTIONS and GPG_TTY * Wed Apr 15 2020 Ismail Dönmez <idonmez@suse.com> - Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't regress * Wed Apr 08 2020 Ismail Dönmez <idonmez@suse.com> - Stop sourcing /etc/bash.bashrc which causes problems with ls, add a call to manually source /etc/zsh.zshrc.local if available. * Tue Mar 10 2020 Martin Liška <mliska@suse.cz> - Remove stack-protector option addition, it's already in $optflags. * Mon Feb 17 2020 Ismail Dönmez <idonmez@suse.com> - Update to version 5.8 * Fixes CVE-2019-20044 bsc#1163882 * Fri Feb 07 2020 Ismail Dönmez <idonmez@suse.com> - Update to version 5.8~pre3 (5.7.1-test-3) * Minor bugfixes compared to pre2 * Sun Dec 22 2019 Ismail Dönmez <idonmez@suse.com> - Update to version 5.8~pre2 (5.7.1-test-2) - Drop 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch, fixed upstream. * Mon Dec 16 2019 Ismail Dönmez <idonmez@suse.com> - Add 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch to fix a re-entrancy problem. * Mon Dec 16 2019 Ismail Dönmez <idonmez@suse.com> - Update to version 5.8~pre1 (5.7.1-test-1) * The zsh/zutil module's zparseopts builtin learnt an -F option to abort parsing when an unrecognised option-like parameter is encountered. * The zsh/files module gained a chmod builtin. * Several changes have been made to the way completion functions track 'precommands' (such as `command` and `env`) and determine whether the command being completed for is a shell builtin. Developers of completion functions may wish to familiarise themselves with `_normal -p` and `_pick_variant -b`. * The option CD_SILENT was added to suppress all output from cd (whether explicit or implicit with AUTO_CD). It is disabled by default. * The compadd builtin's -o option now takes an optional argument to specify the order of completion matches. This affects the display of candidate matches and the order in which they are selected when cycling between them using menu completion. * The :h and :t modifiers in parameter expansion (if braces are present), glob qualifiers and history expansion may take following decimal digit arguments in order to keep that many leading or trailing path components instead of the defaults of all but one (:h) and one (:t). In an absolute path the leading '/' counts as one component. * The functions builtin gained a -c option to efficiently copy functions. - See included ChangeLog for the complete list of changes. * Mon Feb 04 2019 Ismail Dönmez <idonmez@suse.com> - Update to version 5.7.1 * This release contains fixes for the two regressions reported with VCS_Info and prompt colour sequences. * Fri Jan 25 2019 Ismail Dönmez <idonmez@suse.com> - Update to version 5.7 * Support for 24-bit true color terminals has been added. Hex triplets can be used when specifying colours for prompts and line editor highlighting. On 88 and 256 colour terminals, a new zsh/nearcolor module allows colours specified with hex triplets to be matched against the nearest available colour. * The zsh/datetime module's strftime builtin now accepts an argument specifying the nanoseconds time component; both arguments can be omitted to use the current time.
/usr/bin/sh
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 31 23:56:20 2023