Commit Graph

158 Commits

Author SHA256 Message Date
Paolo Perego
512e09c417 Accepting request 1129958 from home:pperego:branches:shells
- add pipe-less-and-signals-handling.patch (bsc#1217304). It fixes a problem
  with signal handling and less when the job is suspended in a user defined
  concatenated commands function.

OBS-URL: https://build.opensuse.org/request/show/1129958
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=247
2023-11-30 09:48:08 +00:00
Paolo Perego
27e4b08bce Accepting request 1102154 from home:Andreas_Schwab:Factory
- Enable testsuite in qemu build

OBS-URL: https://build.opensuse.org/request/show/1102154
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=245
2023-08-03 13:01:59 +00:00
Paolo Perego
5db5251e14 Accepting request 1068238 from home:pperego:branches:shells
- Disabled zsh-sh subpackage generation for Leap 15.4 to prevent an error when
  building the package.
- don't require yodl for build, doc is not regenerated anyway

OBS-URL: https://build.opensuse.org/request/show/1068238
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=243
2023-02-28 17:23:26 +00:00
Paolo Perego
0e10e1617a Accepting request 1068164 from home:pgajdos
- don't require yodl for build, doc is not regenerated anyway

OBS-URL: https://build.opensuse.org/request/show/1068164
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=242
2023-02-28 14:26:01 +00:00
Paolo Perego
0f9c771bf1 Accepting request 1055755 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055755
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=240
2023-01-30 11:12:20 +00:00
Paolo Perego
a70a866590 Accepting request 1030729 from home:luc14n0:branches:shells
Add zsh-sh subpackage.

OBS-URL: https://build.opensuse.org/request/show/1030729
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=238
2022-10-25 12:44:01 +00:00
Paolo Perego
737d982d05 Accepting request 1002958 from home:dirkmueller:Factory
- add egrep-deprecation.patch (bsc#1203241)

OBS-URL: https://build.opensuse.org/request/show/1002958
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=236
2022-09-13 08:12:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ismail Dönmez
947257e3ff Accepting request 580579 from home:kbabioch:branches:shells
- Updated to 5.4.2
  * The 'exec' and 'command' precommand modifiers, and options to
    them, are now parsed after parameter expansion.
  * Functions executed by ZLE widgets no longer have their standard
    input closed, but redirected from /dev/null instead.
  * There is an option WARN_NESTED_VAR, a companion to the existing
    WARN_CREATE_GLOBAL that causes a warning if a function updates a
    variable from an enclosing scope without using typeset -g.
  * zmodload now has an option -s to be silent on a failure to find
    a module but still print other errors.
- Dropped patch merged upstream:
  * fix-patchutils-completion.patch

OBS-URL: https://build.opensuse.org/request/show/580579
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=184
2018-02-27 13:07:11 +00:00
Ismail Dönmez
3a1035d612 Accepting request 477019 from home:susnux:branches:shells
Update that fixes at least some annoying completion bugs and the printf bug (patched on openSUSE) is also resolved.

OBS-URL: https://build.opensuse.org/request/show/477019
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=182
2017-03-05 19:32:31 +00:00
Ismail Dönmez
ec41884d8c Accepting request 449562 from home:matejcik:branches:shells
- fix broken completion for filterdiff: fix-patchutils-completion.patch
  (boo#1019130)

OBS-URL: https://build.opensuse.org/request/show/449562
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=180
2017-02-06 13:53:32 +00:00
Ismail Dönmez
852a1b3f44 -
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=178
2016-12-14 10:06:51 +00:00
Ismail Dönmez
f2f0b6e2a1 - Update to zsh 5.3
* Unicode9 support, this needs support from your terminal to
    work correctly.
  * The new word modifier ':P' computes the physical path of the
    argument.
  * The output of "typeset -p" uses "export" commands or the "-g"
    option for parameters that are not local to the current scope.
  * vi-repeat-change can repeat user-defined widgets if the widget
    calls zle -f vichange.
  * The parameter $registers now makes the contents of vi register
    buffers available to user-defined widgets.
  * New vi-up-case and vi-down-case builtin widgets bound to gU/gu
    (or U/u in visual mode) for doing case conversion.
  * A new select-word-match function provides vim-style text objects
    with configurable word boundaries using the existing
    match-words-by-style mechanism.
  * Support for the conditional expression [[ -v var ]] to test if a
    variable is set for compatibility with other shells.
  * The print and printf builtins have a new option -v to assign the
    output to a variable.
  * New x: syntax in completion match specifications make it possible
    to disable match specifications hardcoded in completion functions.
- Re-add custom zshrc and zshenv to unbreak compatibility with old
  usage (boo#998858).

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=177
2016-12-14 10:01:58 +00:00
Ismail Dönmez
53e6c17916 - Read /etc/profile as zsh again.
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=175
2016-09-08 13:25:44 +00:00
Ismail Dönmez
da625786ce Accepting request 423857 from home:mmanno:branches:shells
clean up system-wide configuration

OBS-URL: https://build.opensuse.org/request/show/423857
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=173
2016-08-31 09:49:40 +00:00
Ismail Dönmez
e010b216af - Add CentOS [67] support
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=171
2016-05-25 12:30:55 +00:00
Ismail Dönmez
58a6914cef Accepting request 397822 from home:llua:branches:shells
Add CentOS [67] support

OBS-URL: https://build.opensuse.org/request/show/397822
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=170
2016-05-25 12:25:38 +00:00
Ismail Dönmez
e183d8a26e Accepting request 348212 from home:pluskalm:branches:shells
- Add gpg signature

OBS-URL: https://build.opensuse.org/request/show/348212
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=168
2015-12-10 10:29:15 +00:00