Commit Graph

227 Commits

Author SHA256 Message Date
Dominique Leuenberger
cab5200bed Accepting request 979023 from shells
OBS-URL: https://build.opensuse.org/request/show/979023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=97
2022-05-25 18:34:07 +00:00
Paolo Perego
1a585898c8 Accepting request 977384 from home:dirkmueller:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/977384
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=234
2022-05-24 17:23:34 +00:00
Dominique Leuenberger
e0f6d7fb9c Accepting request 964828 from shells
OBS-URL: https://build.opensuse.org/request/show/964828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=96
2022-03-28 15:00:11 +00:00
Paolo Perego
df7f4da0f6 Accepting request 963340 from home:dirkmueller:Factory
- 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>. ]

OBS-URL: https://build.opensuse.org/request/show/963340
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=232
2022-03-25 11:28:53 +00:00
Dominique Leuenberger
4fa6431db8 Accepting request 851932 from shells
OBS-URL: https://build.opensuse.org/request/show/851932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=95
2020-12-02 12:57:45 +00:00
Ismail Dönmez
ebf2457ef1 Accepting request 851919 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/851919
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=230
2020-11-30 17:59:42 +00:00
Dominique Leuenberger
4c8c3af487 Accepting request 830225 from shells
OBS-URL: https://build.opensuse.org/request/show/830225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=94
2020-10-06 15:06:09 +00:00
Ismail Dönmez
e5202f54b6 Accepting request 830190 from home:marxin:branches:shells
- Add ncurses-fix.patch in order to fix ncurses failure.
Use upstream patch.

OBS-URL: https://build.opensuse.org/request/show/830190
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=228
2020-08-28 08:30:41 +00:00
Ismail Dönmez
8721be0aa2 Missed one more alias
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=227
2020-05-22 14:15:58 +00:00
Dominique Leuenberger
62f49bb6c0 Accepting request 800536 from shells
OBS-URL: https://build.opensuse.org/request/show/800536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=93
2020-05-08 21:00:58 +00:00
Ismail Dönmez
d1788e8465 Accepting request 800460 from home:NickLion:shells
- Add $HOME aliases to fix regression after dropping /etc/bash.bashrc

OBS-URL: https://build.opensuse.org/request/show/800460
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=225
2020-05-06 05:17:27 +00:00
Ismail Dönmez
0770f932c1 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=224
2020-05-05 13:40:11 +00:00
Ismail Dönmez
ed0e0d8441 - Add back LS_COLORS and LS_OPTIONS
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=223
2020-05-05 04:41:29 +00:00
Dominique Leuenberger
5764ba3364 Accepting request 794119 from shells
- Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't
  regress

OBS-URL: https://build.opensuse.org/request/show/794119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=92
2020-04-16 20:58:55 +00:00
Ismail Dönmez
e08f748d39 - Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't
regress

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=221
2020-04-15 09:06:05 +00:00
Dominique Leuenberger
29228c0703 Accepting request 792416 from shells
- Stop sourcing /etc/bash.bashrc which causes problems with ls, add
  a call to manually source /etc/zsh.zshrc.local if available.

OBS-URL: https://build.opensuse.org/request/show/792416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=91
2020-04-13 10:51:40 +00:00
Ismail Dönmez
505177d58a - Stop sourcing /etc/bash.bashrc which causes problems with ls, add
a call to manually source /etc/zsh.zshrc.local if available.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=219
2020-04-08 06:08:52 +00:00
Dominique Leuenberger
1474cd0c2c Accepting request 783235 from shells
OBS-URL: https://build.opensuse.org/request/show/783235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=90
2020-03-11 17:45:53 +00:00
Ismail Dönmez
fe5be78e62 Accepting request 783187 from home:marxin:branches:shells
- Remove stack-protector option addition, it's already in $optflags.

OBS-URL: https://build.opensuse.org/request/show/783187
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=217
2020-03-10 09:26:21 +00:00
Dominique Leuenberger
5df877ce21 Accepting request 774851 from shells
- Update to version 5.8
  * Fixes CVE-2019-20044 bsc#1163882

OBS-URL: https://build.opensuse.org/request/show/774851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=89
2020-02-20 13:53:48 +00:00
Ismail Dönmez
e5563facd4 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=215
2020-02-17 12:12:33 +00:00
Ismail Dönmez
114504611c - Update to version 5.8
* Fixes CVE-2019-20044

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=214
2020-02-17 05:29:19 +00:00
Dominique Leuenberger
db7986e518 Accepting request 771563 from shells
- Update to version 5.8~pre3 (5.7.1-test-3)
  * Minor bugfixes compared to pre2

OBS-URL: https://build.opensuse.org/request/show/771563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=88
2020-02-15 21:23:25 +00:00
Ismail Dönmez
9f7d170ae4 - Update to version 5.8~pre3 (5.7.1-test-3)
* Minor bugfixes compared to pre2

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=212
2020-02-07 12:11:57 +00:00
Dominique Leuenberger
42325e273c Accepting request 758830 from shells
- Update to version 5.8~pre2 (5.7.1-test-2)
- Drop 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch, fixed
  upstream.

- Add 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch to fix a
  re-entrancy problem.

- 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.

OBS-URL: https://build.opensuse.org/request/show/758830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=87
2019-12-23 21:42:01 +00:00
Ismail Dönmez
dd5bd851bf - Update to version 5.8~pre2 (5.7.1-test-2)
- Drop 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch, fixed
  upstream.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=210
2019-12-22 09:27:57 +00:00
Ismail Dönmez
f3bbddc76d - Add 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch to fix a
re-entrancy problem.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=209
2019-12-16 15:11:39 +00:00
Ismail Dönmez
9393f4e3c9 * 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.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=208
2019-12-16 10:20:48 +00:00
Ismail Dönmez
07bfbf59a6 - Update to version 5.8~pre1 (5.7.1-test-1)
* Please see the included NEWS for new functionality

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=207
2019-12-16 10:14:36 +00:00
Stephan Kulow
2f7c74765c Accepting request 671123 from shells
- Update to version 5.7.1
  * This release contains fixes for the two regressions reported
    with VCS_Info and prompt colour sequences.

- 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.

OBS-URL: https://build.opensuse.org/request/show/671123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=86
2019-02-04 20:10:56 +00:00
Ismail Dönmez
9ea12975be - Update to version 5.7.1
* This release contains fixes for the two regressions reported
    with VCS_Info and prompt colour sequences.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=205
2019-02-04 13:22:29 +00:00
Ismail Dönmez
f33be28c7b Accepting request 668614 from home:namtrac:branches:shells
- 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.

OBS-URL: https://build.opensuse.org/request/show/668614
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=204
2019-01-28 11:07:38 +00:00
Dominique Leuenberger
98ebf18ab2 Accepting request 637013 from shells
- Unbreak Leap 42.3 compilation 

- Update to version 5.6.2

OBS-URL: https://build.opensuse.org/request/show/637013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=85
2018-10-01 07:04:03 +00:00
Ismail Dönmez
32d5305ae7 - Unbreak Leap 42.3 compilation
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=202
2018-09-21 09:29:49 +00:00
Ismail Dönmez
9216e0d466 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=201
2018-09-18 09:49:02 +00:00
Yuchen Lin
591b07c144 Accepting request 636300 from shells
OBS-URL: https://build.opensuse.org/request/show/636300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=84
2018-09-18 09:39:51 +00:00
Ismail Dönmez
c1cbddf25c Accepting request 635960 from home:kbabioch:branches:shells
- Updateo to version 5.6.2
  * Fix another SIGTTOU case.
  * Fix SIGWINCH being ignored when zsh is not in the foreground.

OBS-URL: https://build.opensuse.org/request/show/635960
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=199
2018-09-18 08:17:14 +00:00
Ismail Dönmez
29915867a4 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=198
2018-09-11 11:32:24 +00:00
Ismail Dönmez
d175c413ad Accepting request 634881 from home:kbabioch:branches:shells
- Update to version 5.6.1
  * Fix packaging issue that broke runhelp
  * Fix a regression with pipelines getting backgrounded and emitting SIGTTOU

OBS-URL: https://build.opensuse.org/request/show/634881
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=197
2018-09-11 11:32:01 +00:00
Dominique Leuenberger
f4f542f63c Accepting request 633489 from shells
- Update to version 5.6
  * Fixes CVE-2018-0502 (bsc#1107296) and
    CVE-2018-13259 (bsc#1107294)
  * Switch to -fstack-protector-strong
  * See included NEWS file for complete changes.
- No longer manually install help files, make install handles it.
- Workaround a regression upstream with help file generation by
  removing Doc/help.txt before build.

  * fix for a configuration problem finding signal names from (some) recent

OBS-URL: https://build.opensuse.org/request/show/633489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=83
2018-09-07 13:35:17 +00:00
Ismail Dönmez
c0610fe590 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=195
2018-09-05 14:37:31 +00:00
Ismail Dönmez
0e1e102cc5 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=194
2018-09-05 13:37:39 +00:00
Ismail Dönmez
8131d6610b * Switch to -fstack-protector-strong
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=193
2018-09-05 08:59:19 +00:00
Ismail Dönmez
3776553d5b -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=192
2018-09-05 07:39:31 +00:00
Ismail Dönmez
604183bfd1 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=191
2018-09-04 16:12:37 +00:00
Dominique Leuenberger
7c91bf2f0b Accepting request 606966 from shells
OBS-URL: https://build.opensuse.org/request/show/606966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=82
2018-05-16 09:24:02 +00:00
Ismail Dönmez
45841d315b Accepting request 606455 from home:kbabioch:branches:shells
- Update to 5.5.1
  * fix for a configuration problem finding singal names from (some) recent
    versions of glibc
  * minor changes

OBS-URL: https://build.opensuse.org/request/show/606455
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=189
2018-05-14 09:01:53 +00:00
Dominique Leuenberger
6799ab47ab Accepting request 595955 from shells
OBS-URL: https://build.opensuse.org/request/show/595955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=81
2018-04-26 11:32:32 +00:00
Ismail Dönmez
06ae387386 Accepting request 595954 from home:jengelh:branches:shells
- Update RPM groups.

OBS-URL: https://build.opensuse.org/request/show/595954
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=187
2018-04-12 11:48:18 +00:00
Ismail Dönmez
05394b236c Accepting request 595518 from home:kbabioch:branches:shells
- Update to 5.5
  * The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...)
    and `...` command substitutions when used on the command line.
  * Dropped patches, which are included upstream now:
    - zsh-CVE-2018-1071.patch
    - zsh-CVE-2018-1083.patch
  * Fixes a buffer overflow in utils.c:checkmailpath() that can lead to
    local arbitrary code execution (CVE-2018-1100 bnc#1089030)

- Added zsh-CVE-2018-1071.patch: Fixed a stack-based buffer overflow
  in exec.c:hashcmd() (CVE-2018-1071 bnc#1084656)
- Added zsh-CVE-2018-1083.patch: Fixed a stack-based buffer overflow
  in gen_matches_files() at compctl.c (CVE-2018-1083 bnc#1087026)
- Cleaned up spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/595518
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=186
2018-04-12 07:18:31 +00:00