Up to [cvs.NetBSD.org] / pkgsrc / shells / zsh
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
zsh: update to 5.9.2. This is a bug-fix release.
zsh: update to 5.9.1. Changes since 5.9 ----------------- POSIX real-time signals (SIGRTMIN etc) are now supported by the kill and trap builtins, TRAP* functions, and the signals parameter, where available. The kill builtin learnt a new option -q to send the signal via sigqueue(3) along with an arbitrary integer value, where available. The kill builtin also learnt a new -L option to print a list of all known signal numbers and their names. The new completion helper _as_if can be used to complete one command as if it were another command with particular arguments.
shells/zsh: Assume diff(1) under NetBSD is GNU-like * NetBSD has GNU or GNU compatible diff command in base. * And complete .heic for display command from ImageMagick * Bump PKGREVISION.
shells/zsh: Fix dynamic module build with GCC 14 * Reflect c11 use as USE_CC_FEATURES. * Bump PKGREVISION.
*: remove Interix support
Fix shells/zsh on QNX
zsh: add candidate upstream patch for bg/fg issue with shell functions Bump PKGREVISION.
shells/zsh: Stop regen configure, drop dependencies to auto{conf,make}.
Our local patch for aczsh.m4, introduced to 5.0.2nb1:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/shells/zsh/Makefile#rev1.63
has been upstreamed. There is no longer a point to regen configure;
tiny patch to configure.ac can be directly applied to configure itself.
Bump revision.
zsh: Update to 5.9
Changelog:
5.9:
Changes since 5.8.1
-------------------
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.
shells/zsh: Update to 5.8.1
Changes between 5.8 and 5.8.1
Incompatibilities
PROMPT_SUBST expansion is no longer performed on arguments to
prompt-expansion sequences such as %F.
Changes
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. Additional thanks to Marc Cornellà. ]
shells/zsh: Improve completions of pkg_* on Darwin
Fix an issue in _gpg (see comments)
zsh: Do not hardcode /usr/pkg/pkgdb Bump PKGREVISION. TODO: _bsd_pkg should be usable for non-BSD platforms.
zsh: Follow pkgdb migration to fix pkg_info(1) suggestion on NetBSD Bump PKGREVISION.
shells/zsh: ignore [[ in shell program
*: Convert broken sourceforge HOMEPAGEs back to http
zsh: Update to 5.8
Changelog:
Changes between 5.7 and 5.8
Incompatibilities
The history expansion !:1:t2 used to be interpreted such that
the 2 was a separate character added after the history expansion.
Now it is an argument to the :t modifier. The behaviour of :h
has similarly changed.
The vcs_info function VCS_INFO_quilt-dirfind now returns a
string value by setting $REPLY. Previously it printed the value
to standard output.
The cd and chdir builtins no longer interpret operands like -1
and +2 as stack entries when POSIX_CD is enabled.
Dropping privileges with `unsetopt privileged` may fail (with
an error message) on some older and uncommon platforms due to
library dependency changes made in the course of fixing
CVE-2019-20044 (see below). Please report this to the zsh-workers
mailing list if your system is affected.
Changes
CVE-2019-20044: When unsetting the PRIVILEGED option, the shell
sets its effective user and group IDs to match their respective
real IDs. On some platforms (including Linux and macOS, but
not FreeBSD), when the RUID and EUID were both non-zero, it
was possible to regain the shell's former privileges by e.g.
assigning to the EUID or EGID parameter. In the course of
investigating this issue, it was also found that the setopt
built-in did not correctly report errors when unsetting the
option, which prevented users from handling them as the
documentation recommended. setopt now returns non-zero if it
is unable to safely drop privileges. [ Reported by Sam Foxman.]
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.
The zshmisc(1) manual page incorrectly stated that when 'exit'
is used in a `try' block inside a function, the corresponding
`always' block will be executed. The manual page has been
corrected. The shell's behaviour has not changed.
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
shells: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
zsh: remove --enable-zsh-mem from default arguments. Bump PKGREVISION.
Add comments for next update or revbump to use external malloc
Update to 5.7.1 * Move --enable-zsh-mem configure option to non-debug part to stabilize zsh with NetBSD's new jemalloc Changelog: 2019-02-03 dana <dana@dana.is> * unposted: Config/version.mk, Etc/FAQ.yo, README: Update for 5.7.1 * 44034: Completion/Unix/Type/_date_formats: Complete %9./%N, adjust some wording * 44033: Completion/Unix/Command/_dos2unix: Add completion for dos2unix/unix2dos * 44030: Src/prompt.c, Test/D01prompt.ztst: Return error for unrecognised colour name 2019-01-28 Fredric Silberberg <fred@silberberg.xyz> * github #32: Completion/Unix/Command/_git: Fix a typo in the git tag completion. 2018-01-27 dana <dana@dana.is> * unposted: Etc/creating-a-release.txt: Document additional release steps * 44020: Functions/VCS_Info/Backends/VCS_INFO_detect_p4: Fix infinite recursion
Update to 5.7
Upstream changes:
2019-01-24 : Release 5.7
Bug fix release with a few user visible additions.
2018-01-24 dana <dana@dana.is>
* unposted: Config/version.mk, README: Update for 5.7
2018-01-23 dana <dana@dana.is>
* 44012: Test/X04zlehighlight.ztst: Fix spurious test failures
on OpenBSD
2019-01-23 Mikael Magnusson <mikachu@gmail.com>
* 44011: Doc/Zsh/zle.yo, Src/prompt.c, Test/X04zlehighlight.ztst:
Only use fg_start_code for non-truecolor
shells/zsh: Fix PLIST on Darwin with no /usr/include
Update to 5.6.2 Upstream changes: Changes from 5.6.1 to 5.6.2 --------------------------- Fix another SIGTTOU case. Fix SIGWINCH being ignored when zsh is not in the foreground. The release tarballs are now compressed using xz(1), whereas previously both xz(1) and gzip(1) versions were available. If this gets in your way, give us a shout.
Update to 5.6.1 Changelog: Changes from 5.6 to 5.6.1 ------------------------- Fix packaging issue that broke runhelp. Fix a regression with pipelines getting backgrounded and emitting SIGTTOU.
Pullup ticket #5826 - requested by taca
shells/zsh: security update
Revisions pulled up:
- shells/zsh/Makefile 1.85
- shells/zsh/PLIST 1.39
- shells/zsh/distinfo 1.63
- shells/zsh/patches/patch-configure.ac 1.6
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: wen
Date: Sun Sep 9 00:46:52 UTC 2018
Modified Files:
pkgsrc/shells/zsh: Makefile PLIST distinfo
pkgsrc/shells/zsh/patches: patch-configure.ac
Log Message:
Update to 5.6
Upstream changes:
Changes from 5.5.1-test-2 to 5.6
--------------------------------
CVE-2018-0502: Data from the second line of a #! script file might be passed to
execve(). For example, in the following situation -
.
printf '#!foo\nbar' > baz
./baz
.
the shell might take "bar" rather than "foo" for the argv[0] to be passed to
execve(). [ Reported by Anthony Sottile and Buck Evan. ]
CVE-2018-13259: A shebang line longer than 64 characters would be truncated.
For example, in the following situation:
.
( printf '#!'; repeat 64 printf 'x'; printf 'y' ) > foo
./foo
.
the shell might execute x...x (64 repetitions) rather than x...xy (64 x's,
one y). [ Reported by Daniel Shahaf. ]
Changes from 5.5.1 to 5.5.1-test-2
----------------------------------
Non-stop IEEE 754 arithmetic support - Inf and NaN are now returned
from floating point operations where errors were printed before.
Inf and NaN are also recognised in arithmetic expressions.
In shell patterns, [[:blank:]] now honours the locale instead of
matching exclusively on space and tab, like for the other POSIX
character classes or for extended regular expressions.
Nanosecond precision on file times is supported in the module
zsh/stat.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/shells/zsh/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/shells/zsh/PLIST
cvs rdiff -u -r1.62 -r1.63 pkgsrc/shells/zsh/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/shells/zsh/patches/patch-configure.ac
Update to 5.6
Upstream changes:
Changes from 5.5.1-test-2 to 5.6
--------------------------------
CVE-2018-0502: Data from the second line of a #! script file might be passed to
execve(). For example, in the following situation -
.
printf '#!foo\nbar' > baz
./baz
.
the shell might take "bar" rather than "foo" for the argv[0] to be passed to
execve(). [ Reported by Anthony Sottile and Buck Evan. ]
CVE-2018-13259: A shebang line longer than 64 characters would be truncated.
For example, in the following situation:
.
( printf '#!'; repeat 64 printf 'x'; printf 'y' ) > foo
./foo
.
the shell might execute x...x (64 repetitions) rather than x...xy (64 x's,
one y). [ Reported by Daniel Shahaf. ]
Changes from 5.5.1 to 5.5.1-test-2
----------------------------------
Non-stop IEEE 754 arithmetic support - Inf and NaN are now returned
from floating point operations where errors were printed before.
Inf and NaN are also recognised in arithmetic expressions.
In shell patterns, [[:blank:]] now honours the locale instead of
matching exclusively on space and tab, like for the other POSIX
character classes or for extended regular expressions.
Nanosecond precision on file times is supported in the module
zsh/stat.
Update to 5.5.1 Changelog: Changes from %.5 to 5.5.1 ------------------------- Apart from a fix for a configuration problem finding singal names from (some) recent versions of glibc, there are only minor changes. Changes from 5.4.2 to 5.5 ------------------------- The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...) and `...` command substitutions when used on the command line. Previously, comments were always recognized within command substitutions unless the comment character "#" was disabled via reset of $histchars. An alternative assignment syntax for indicating indices for arrays and keys for associative arrays: typeset -a array=([1]=first [2]=second) typeset -A assoc=([key1]=val1 [key2]=val2) is allowed for compatibility with other shells. In the case of normal arrays the new syntax can be mixed with the old.
add security patches for CVE-2018-1071, CVE-2018-1083, CVE-2018-7548 and CVE-2018-7549 from the zsh repo. one pullup less, w00t. :-P
shells/zsh: Add a directory to search for xattr.h This change makes shells/zsh build on Ubuntu Linux.
zsh: Upgrade to 5.4.2 pkgsrc changes: - Use PRINT_PLIST_AWK to aid future upgrades. - Support the "static" option on Darwin and SunOS. Upstream changes from 5.3.1 to 5.4: The 'exec' and 'command' precommand modifiers, and options to them, are now parsed after parameter expansion. Previously, both the modifier and any options to it were parsed between alias expansion and parameter expansion (see zshexpn(1)), so they could neither be quoted nor be the result of parameter expansion. Examples: 's=command; $s -V ls' and '\command -V ls' now work as expected. Functions executed by ZLE widgets no longer have their standard input closed, but redirected from /dev/null instead. That still guards against user defined widgets inadvertently reading from the tty device. 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. It can be turned on for an individual function with "functions -W". zmodload now has an option -s to be silent on a failure to find a module but still print other errors.
Restore a much simplified version of the tcsetpgrp handling, required as the configure script fails to autodetect when running in a pbulk environment.
Completely overhaul the zsh package. - Get rid of useless Makefile.common and pointless variables since there is no longer a zsh-current package. - Remove non-standard per-OS non-checksummed patch file in FILESDIR. Integrate it correctly in the normal way. - Ensure our patched configure.ac is actually regenerated. - Use REPLACE_INTERPRETER instead of homegrown subst replacements. - Remove esoteric and fragile configuration variables, a bunch of legacy OS based options, and simply depend correctly on terminfo and curses. - Remove custom test targets and requirements for root access, the test suite works fine as a non-root user and can be done in the normal way. - Use options.mk - Set maintainer to pkgsrc-users, uebayasi resigned. Fixes build on at least SunOS. Tested on SunOS, Darwin, NetBSD (with and without the "static" option), and Linux.
Pullup ticket #5329 - requested by sevan
shells/zsh: build fix
Revisions pulled up:
- shells/zsh/Makefile 1.78
---
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Apr 20 09:12:05 UTC 2017
Modified Files:
pkgsrc/shells/zsh: Makefile
Log Message:
Requires libiconv.
Requires libiconv.
Updated shells/zsh to 5.3.1
---------------------------
2016-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Etc/FAQ.yo, NEWS, README:
release 5.3.1:
2016-12-18 Baptiste Daroussin <bapt@FreeBSD.org>
* 40210: Completion/Unix/Command/_sysctl: Add support modern
FreeBSD and drop support for FreeBSD < 5
2016-12-18 Baptiste Daroussin <bapt@gandi.net>
* 40209: Completion/BSD/Command/_chflags: Fix typo in chflags
completion
2016-12-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40149: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Avoid a fork.
* 40203: Test/B03print.ztst: Resolve 'printf --' question from
grandparent commit (thanks Chet).
2016-12-15 Barton E. Schaefer <schaefer@zsh.org>
* 40198: Test/V10private.ztst: output of B02typeset differs when
(( UID == 0 )) so do not attempt to redo that test in that case
2016-12-14 Barton E. Schaefer <schaefer@zsh.org>
* 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
* unposted: Test/B03print.ztst: regression for 40179 / 37467
2016-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: update to 5.3-dev-0 to avoid
clash with installed 5.3.
Update to 5.3 Changelog: Changes from 5.2 to 5.3 ----------------------- It is possible to enable character width support for Unicode 9 by configuring with `--enable-unicode9'; this compiles in some additional tables. At some point this support may move into a module, in which case the configure option will be changed to cause the module to be permanently loaded. This option is not useful unless your terminal also supports Unicode 9. The new word modifier ':P' computes the physical path of the argument. It is different from the existing ':a' modifier which always resolves '/before/here/../after' to '/before/after', and differs from the existing ':A' modifier which resolves symlinks only after 'here/..' is removed, even when /before/here is itself a symbolic link. It is recommended to review uses of ':A' and, if appropriate, convert them to ':P' as soon as compatibility with 5.2 is no longer a requirement. The output of "typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope. Previously, all output was in the form of "typeset" commands, never using "-g". 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. This is for bash compatibility but with the additional feature that, for an array, a separate element is used each time the format is reused. New x: syntax in completion match specifications make it possible to disable match specifications hardcoded in completion functions.
pkglint whitespace
Update to 5.2
NEWS:
Changes from 5.1.1 to 5.2
-------------------------
The new module zsh/param/private can be loaded to allow the shell
to define parameters that are private to a function scope (i.e. are
not propagated to nested functions called within this function).
The parameter flag ${(P)...} is now more useful when it appears in
a nested expansion. For example,
typeset -A assoc=(one un two deux three trois)
name=assoc
print ${${(P)name}[one]}
now prints "un". In previous versions of the shell the value of the
substitution was fully expanded on return from ${(P)name}, making
associative array subscripting difficult. As a side effect, flags
for formatting appearing in the inner substitution now affect the
substitution of the name (into "assoc" in this case), which is not
normally useful: flags that should apply to the value must be in the
outer substitution.
The GLOB_STAR_SHORT option allows the pattern **/* to be shortened to
just ** if no / follows. so **.c searches recursively for a file whose
name has the suffix ".c".
The effect of the WARN_CREATE_GLOBAL option has been significantly
extended, so expect it to cause additional warning messages about
parameters created globally within function scope.
README:
Incompatibilities between 5.1 and 5.2
-------------------------------------
The behaviour of the parameter flag (P) has changed when it appears
in a nested parameter group, in order to make it more useful in
such cases. A (P) in the outermost parameter group behaves as
before. See NEWS for more.
Update to 5.1.1 Changelog: Changes from 5.1 to 5.1.1 ------------------------- 5.1.1 is primarily a bug fix release; however, a few minor features were added. The ZLE variables YANK_ACTIVE, YANK_START and YANK_END have been added and are useful for managing highlighting. The zsh-specific pattern match range tests have been supplemented with [:INCOMPLETE:] and [:INVALID:] to help detect the state of partially read multibyte character strings.
Update to 5.1
pkgsrc changes:
removed patch:
patch-Completion_Unix_Command__du
patch-Completion_Unix_Command__sort
patch-Src_builtin.c
patch-Test_B03print.ztst
quote from zsh-5.1/ChangeLog:
* 36120: Completion/Unix/Command/_sort: Fix syntax error
* 35467: Completion/Unix/Command/_du: complete files for non-GNU du
* 35412: Src/builtin.c, Test/B03print.ztst: fix for - flag
when formating strings with printf that was broken in 34841
separate a patch ( $ mv patches/patch-ac files/patch-ac )
zsh-5.1/NEWS:
Changes from 5.0.8 to 5.1
-------------------------
The builtins declare, export, local, readonly and typeset
now have corresponding reserved words. When used in
this form, the builtin syntax is extended so that assignments
following the reserved word are treated similarly to
assignments that appear at the start of the command line.
For example,
local scalar=`echo one word` array=(several words)
creates a local "scalar" containing the text "one word"
and an array "array" containing the words "several"
"words".
- The print builtin has new options -x and -X to expand tabs.
- Several new command completions and numerous updates to others.
- Options to "fc" to segregate internal and shared history.
- All emulations including "sh" use multibyte by default; several
repairs to multibyte handling.
- ZLE supports "bracketed paste" mode to avoid interpreting pasted
newlines as accept-line. Pastes can be highlighted for visibility
and to make it more obvious whether accept-line has occurred.
- Improved (though still not perfect) POSIX compatibility for getopts
builtin when POSIX_BUILTINS is set.
- New setopt APPEND_CREATE for POSIX-compatible NO_CLOBBER behavior.
- Completion of date values now displays in a calendar format when
the complist module is available. Controllable by zstyle.
- New parameter UNDO_LIMIT_NO for more control over ZLE undo repeat.
- Several repairs/improvements to the contributed narrow-to-region
ZLE function.
- Many changes to child-process and signal handling to eliminate race
conditions and avoid deadlocks on descriptor and memory management.
- New builtin sysopen in zsh/system module for detailed control of
file descriptor modes.
zsh-5.1/README:
Incompatibilites between 5.0.8 and 5.1
--------------------------------------
The default behaviour when text is pasted into an X Windows terminal has
changed significantly (unless you are using a very old terminal emulator
that doesn't support this mode). Now, the new "bracketed paste mode"
treats all the pasted text as literal characters. This means, in
particular, that a newline is simply inserted as a visible newline; you
need to hit Return on the keyboard to execute the pasted text in one go.
See the description of zle_bracketed_paste in the zshparams manual for
more. "unset zle_bracketed_paste" restores the previous behaviour.
As noted in NEWS, the builtins declare, export, float, integer, local,
readonly and typeset now have corresponding reserved words that provide
true assignment semantics instead of an approximation by means of normal
command line arguments. It is hoped that this additional consistency
provides a more natural interface. However, compatbility with older
versions of zsh can be obtained by turning off the reserved word
interface, exposing the builtin interface:
disable -r declare export float integer local readonly typeset
This is also necessary in the unusual eventuality that the builtins are
to be overridden by shell functions, since reserved words take
precedence over functions.
Bump all packages that depend on curses.bui* or terminfo.bui* since they might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
Fix a couple new-to-5.0.8 issues with command completion. - non-GNU du wouldn't complete filenames (taken from upstream) - sort completion threw a syntax error on NetBSD (reported upstream) Bump PKGREVISION to 1.
Update to 5.0.8
* Include bugfix,
https://sourceforge.net/p/zsh/code/ci/ac26fafa03c30e8c79e4bd70bdbb68d025643ee7/
Changelog:
Changes from 5.0.7 to 5.0.8
---------------------------
- Global aliases can be created for syntactic tokens such as command
separators (";", "&", "|", "&&", "||"), redirection operators, etc.
Use at your own risk! The POSIX_ALIASES option is interpreted more
strictly to prevent expansion of these and other alias names containing
quotes, glob metacharacters, parameter references, etc.
- There have been various further improvements to builtin handling
with the POSIX_BUILTINS option (off by default) for compatibility with
the POSIX standard.
- 'whence -v' is now more informative, and 'whence -S' shows you
how a full chain of symbolic links resolves to a command.
- The 'p' parameter flag now allows an argument to be specified
as a reference to a variable, e.g. ${(ps.$sep.)foo} to split $foo
on a string given by $sep.
- The option FORCE_FLOAT now forces variables, not just constants,
to floating point in arithmetic expressions.
- The type of an assignment in arithmetic expressions, e.g. the
type seen by the variable res in $(( res = a = b )), is now
more logical and C-like.
- The default binding of 'u' in vi command mode has changed to undo
multiple changes when invoked repeatedly. '^R' is now bound to redo
changes. To revert to toggling of the last edit use:
bindkey -a u vi-undo-change
- Compatibility with Vim has been improved for vi editing mode. Most
notably, Vim style text objects are supported and the region can be
manipulated with vi commands in the same manner as Vim's visual mode.
- Elements of the watch variable may now be patterns.
- The logic for retrying history locking has been improved.
- Some rationalisations have been made to the zsh/db/gdbm module that
should make it more useful and predictable in operation.
Pullup ticket #4602 - requested by snj
shells/zsh: bug fix patch
Revisions pulled up:
- shells/zsh/Makefile 1.68
- shells/zsh/distinfo 1.50
- shells/zsh/patches/patch-Completion_Base_Utility__call__program 1.1
---
Module Name: pkgsrc
Committed By: snj
Date: Wed Feb 4 09:22:34 UTC 2015
Modified Files:
pkgsrc/shells/zsh: Makefile distinfo
Added Files:
pkgsrc/shells/zsh/patches:
patch-Completion_Base_Utility__call__program
Log Message:
Apply upstream revision 22c4ea424ce2e8febce04d324c5ec9898f5d534b.
Thix fixes, at the very least, issues with cvs command/filename
completion.
Bump PKGREVISION to 1.
Apply upstream revision 22c4ea424ce2e8febce04d324c5ec9898f5d534b. Thix fixes, at the very least, issues with cvs command/filename completion. Bump PKGREVISION to 1.
Update to 5.0.7: 5.0.7 This is version 5.0.7 of the shell. This is a stable release. There are minor new features as well as bug fixes since 5.0.6. Note in particular there is a security fix to disallow evaluation of the initial values of integer variables imported from the environment (they are instead treated as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled. 5.0.6 This is version 5.0.6 of the shell. This is a stable release. There are minor new features as well as bug fixes since 5.0.5.
Fix ulimit(1) for thread limits; patch from upstream. Bump PKGREVISION.
Update to 5.0.5 * Fix build on Debian GNU/kFreeBSD 7.3 * Update MASTER_SITES Changelog: This is version 5.0.5 of the shell. This is a stable release. There are minor new features as well as bug fixes since 5.0.2. 5.0.3 and 5.0.4 were short-lived releases with most of the features of 5.0.5 that were replaced owing to significant bugs. Incompatibilities between 5.0.2 and 5.0.5 ----------------------------------------- The "zshaddhistory" hook mechanism documented in the zshmisc manual page has been upgraded so that a hook returning status 2 causes a history line to be saved on the internal history list but not written to the history file. Previously any non-zero status return would cause the line not to be saved on the history at all. It is recommended to use status 1 for this (indeed most shell users would naturally do so).
Add .ts files to completion list for mplayer. Bump PKGREVISION.
Fix zsh cross-build on NetBSD. Patch it up to use compile-tests rather than run-tests in autoconf for many of its tests (OS-independently). Teach it about the few remaining properties for NetBSD in particular. ok agc
"Each sed command should appear in an assignment of its own."
Update to 5.0.2 Changelog: Changes since 5.0.0 ------------------- Numeric constants encountered in mathematical expressions (but not other contexts) can contain underscores as separators that will be ignored on evaluation, as allowed in other scripting languages. For example, 0xFFFF_FFFF, or 3.141_592_654. "functions -T" turns on tracing for the specified function(s) only, similar to "functions -t" except that tracing is turned off for any functions called from the specified one(s) that don't also have the -t or -T flag. In file completion, the recursive-files style can be set to an array of patterns to match against "$PWD/". In any matched location, it is possibly to complete files in arbitrarily deep subdirectories without needing to type the directory prefix. See example in the zshcompsys manual. The _user_expand completer now allows expansion functions in the user-expand files to return a string in REPLY that will be used to name the set of expansions returned.
Fix path to zsh in two more files, which are not installed. Ride PKGREVISION bump.
Better support for socket buffer size limits. Clean up env usage (not needed any longer). Bump PKGREVISION.
Add support for thread limits. From Peter Stephenson <Peter.Stephenson@csr.com> on zsh-workers. Bump PKGREVISION.
Update to 5.0.0 * PLIST.xattr is moved to Makefile.common * Patches are introduced from zsh-current Tested on NetBSD 6.99.8 and 5.1. Changelog: * Many improvements. In detail, see NEWS
Bump PKGREVISION to reflect the recent change in pkginstall/shells to use etcutils to update /etc/shells.
Fix interpreter paths. Patch provided by David Brownlee, thanks!
Update zsh to 4.2.7. Changes are unknown.
Don't needlessly depend on a perl module for a perl script we do not install. Bump PKGREVISION for zsh and zsh-current.
Fix an insecure temp file creation vulnerability in zsh's difflog.pl (CVE-2007-6209).
Update zsh to 4.2.6. Better DragonFly support, new complete functions (arch_archives, arch_namespace, bzr, cplay, date, dchroot, dlocate, dpkg-cross, git, madison, module-assistant, piuparts, quilt, toolchain-source, urxvt, and xpdf), bug fixes, etc.
Honour PKG_SYSCONFDIR. Bump revision. PR32026 from Geert Hendrickx.
Teach the +SHELLS helper script to not create an /etc/shells file if one doesn't exist. From now on, we only add the listed PKG_SHELL to the /etc/shells file if it already exists. This fixes PR pkg/27162.
Changes 4.2.5: * Bug-fix release * Fixes few configuration problems, notably on MacOSX
Changes 4.2.4: * Bug-fix release
update to zsh-4.2.1
Changes since zsh version 4.2.0
-------------------------------
- The autoload and related builtins take options -k and -z to indicate
ksh or zsh autoloading style for given functions, making it possible
to mix and match.
- Assignments to associative arrays can use the i and r index flags.
For example,
assoc[(i)alpha*]=bravo
sets the value for the element whose key matches the pattern `alpha*';
assoc[(r)activ*]=passive
sets the value for the element whose current value matches the pattern
`activ*'.
- The glob qualifier F indicates a non-empty directory. Hence *(F)
indicates all subdirectories with entries, *(/^F) means all
subdirectories with no entries.
- fc -p and fc -P provide push/pop for the status of the shell's
history (both internal and using the history file). With automatic
scoping (fc -ap) it becomes easy to use a temporary history in a
function. This has been added to the calculator function zcalc to make
its internal history work more seamlessly.
- A new `try block' and `always block' syntax has been introduced
to make it easier to ensure the shell runs important tidy-up code
in the event of an error. It also runs after a break, continue, or
return, including a return forced by the ERR_RETURN option
(but not an exit, which is immediate). The syntax is:
`{' try-block-list `}' `always' `{' always-block-list `}'
where no newline or semicolon may appear between `}' and `always'.
This is compatible with all previous valid zsh syntax as an `always'
at that point used to be a syntax error. For example,
{ echo Code run in current shell } always { echo Tidy-up code }
- A new zle widget reset-prompt has been added to re-expand the current
prompt. Changes to the variable in use as well as changes in its
expanions are both taken into account. The same effect is now forced by
a job change notification, making the %j prompt escape and %(j..) ternary
expression more useful.
- The zftp module supports ports following the hostname in the normal suffix
notation, `host:port'. This requires IPv6 colon-style addresses to be
specified in suitably quoted square brackets, for example:
zftp open '[f000::baaa]'
zftp open '[f000::baaa]:ftp'
(the two are equivalent).
- Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG
and EXIT are no longer executed inside other traps. This caused
unnecessary confusion if, for example, both DEBUG and EXIT traps
were set. The new behaviour is more compatible with other shells.
- New option TRAPS_ASYNC which if set allows traps to run while the
shell is waiting for a child process. This is the traditional zsh
behaviour; POSIX requires the option to be unset. In sh/ksh
compatibility mode the option is turned off by default and the option
letter -T turns it on, for compatibility with FreeBSD sh.
Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@
New features between zsh versions 4.0 and 4.2
Configuration:
* upgraded to use autoconf post-2.50
* improved compatibility with other shells through shell options, builtin
arguments and improved builtin option parsing
Syntax and builtins:
* new printf builtin
* `+=' to append to parameters which works for scalars, arrays and (with
pairs) associative arrays.
* enhanced multiple parameter `for' loops: for key value in key1 value1 key2
value2 ... maintaining full compatibility with POSIX syntax.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
`alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
aliases. Supplied function pick-web-browser is suitable for finding a browser
to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.
Add-on modules and functions:
* zsh/datetime modules makes date formatting and seconds since EPOCH available
inside the shell.
* zsh/net/tcp module provides builtin interface to TCP through ztcp builtin.
Function suite for interactive and script use with expect-style pattern
matching.
* zsh/net/socket module provides zsocket builtin.
* zcalc calculator function with full line editing.
* builtin interface to pcre library
* zsh/zselect module provides zselect builtin as interface to select system call
Completion system:
* general improvements to command and context support, low-level functions,
display code.
* in verbose mode, matches with the same description are grouped
* highly configurable completions for values of specific parameters, specific
redirections for specific commands
* support for bash completion functions (typically zsh native functions are more
powerful where available)
* New completions provided for (some of these may be in later 4.0 releases):
valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale
parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email
addresses, file system types, Perforce, xsltproc. Plus many others.
Line editor:
* special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets
to configure uneditable text (for narrowing)
* recursive editing
* supplied widgets read-from-minibuffer, replace-string use these features
(more intuitive prompting and argument reading than 4.0)
* access to killed text via $CUTBUFFER and $killring
* supplied highly configurable word widgets forward-word-match etc., can set
what constitutes a word interactively or in startup script (implement
bash-style behaviour, replacing previous bash-* word widgets)
* interface to incremental search via $LASTSEARCH
* better handling of keymaps in zle and widgets
* better support for output from user-defined widgets while zle is active
* tetris game which runs entirely in zle
* several other contributed widgets
Local internal improvements:
* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* line numbers in error messages and $PS4 output are more consistent
* `=prog' expands only paths, no longer aliases for consistency
* job display in prompts; `jobs' command output can be piped
* prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
* rand48() function in zsh/mathfunc for better randomness in arithmetic
(if the corresponding math library function is present)
* $SECONDS parameter can be made floating point via `typeset -F SECONDS'
for better timing accuracy
* improvements to command line history mechanism
* job table is dynamically sized, preventing overflow (typically seen
previously in complex completions).
* many bugfixes
Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PR pkg/24297. Changes since 4.0.7: - Many bug fixes. - Local improvements to various completion functions.
AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINER accordingly.
Convert to USE_NEW_TEXINFO. Use INSTALL_TARGET to install info files: this gives a proper environment for USE_NEW_TEXINFO framework to work. Fix makeinfo invocation for zsh-current via patch file so that only _one_ info file is generated as PLIST seems to want it.
Share Makefile, update patch sum.
Update to 4.0.7. Bug fix release for stable version as well as a few completion improvements. Also includes more current MASTER_SITES. PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
worse.
(2) Create a new variable FIX_RPATH that lists variables that should
be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By
default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
additional variables may be appended from package Makefiles.
Update my email address.
Instead of including bsd.pkg.install.mk directly in a package Makefile, have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Convert packages to PKG_REGISTER_SHELLS framework.
Merge packages from the buildlink2 branch back into the main trunk that have been converted to USE_BUILDLINK2.
Merge changes in the main trunk into the buildlink2 branch for those packages that have been converted to USE_BUILDLINK2.
Zsh 4.0.6. Bugfix release. Some added completion functions: e.g. rsync, mozilla, some bash builtin functions. From Geoff C. Wing, gcw at primenet dot com dot au in pkg/17946.
Do not use _mktemp(). There is no prototype for it, so it is not safe to use on 64-bit systems.
Convert to use the buildlink2 framework. Trim any unnecessary changes in the patches or remove them entirely.
Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
removal of USE_GTEXINFO
INSTALL_INFO added to PLIST_SUBST
`${INSTALL_INFO}' replace `install-info' in target rules
print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
makeinfo command usage
See -newly added by this commit- section 10.24 of Packages.txt for
further information.
Don't hardcode /usr/pkg, use ${PREFIX}. (Ouch!)
Updated to 4.0.4, provided by Eric Gillespie Jr. in pkg/14376 This is a minor bug-fix release, though some new functions have been added: _bts Completion for Debian BTS _chflags Completion for chflags(1) _links Completion for links web browser _samba _sysctl _user_admin bash-backward-kill-word
Don't compress the manual pages of this package because "zshall.1" tries to include all the other manual pages with ".so" macros which doesn't work with compress manual pages even if the filenames are correct.
"PKGVERSION" is now in "PLIST_SUBST" by default.
Don't include "lib/zsh/libzsh-4.0.2.so" into package list under SunOS. This fixes PR pkg/14032 by Stoned Elipot.
Don't hardcode package version number into package lists.
Remove redundant "@dirrm" commands from "PLIST.dynamic" and reorder multiple package list so that deinstallation works smoothly.
Make modifications of "/etc/shells" robust so that they don't fail if "/etc/shells" doesn't exist or is empty after removing entries for cerntain shell. These problems show up e.g. under SunOS.
Update zsh to 4.0.2. PR 13538 by Eric Gillespie Jr. This is a maintenance release for the (stable) 4.0 branch. Most of the changes are bug fixes, including a fix for a bug which caused the test suite to fail. On fully supported systems, all tests should now pass. There is one new feature: the option KSH_TYPESET provides compatibility with other shells for assignment arguments of `typeset', `export' and related builtins.
Install the NEWS and FAQ files. Add a short message regarding changes for this version. Based on suggestions by Geoff Wing <gcw@zsh.org> on tech-pkg.
zsh-4.0.1 is a stable release so should be in shells/zsh instead of zsh4. Pass --disable-dynamic to configure. Correct homepage. Remove a mirror. Addresses some issues by Geoff Wing <gcw@zsh.org> raised on netbsd-bugs.
Update ftp sites URLs. Noted by Geoff Wing.
Remove dead mirror from master site list.
Update zsh to 3.0.8
Changelog:
2000-05-15 Bart Schaefer <schaefer@zsh.org>
* Src/version.h: Version 3.0.8 released.
* Etc/MACHINES: Add note for OpenStep 4.2 from Brian Boonstra.
* Etc/FAQ: Latest version from PWS.
* Src/utils.c: Fix for ${(s::)...} when parameter value has
meta-characters; Sven, 11368.
2000-05-12 Bart Schaefer <schaefer@zsh.org>
* Etc/BUGS: Make note of the numeric range globbing bug reported
by Zefram in 10444 (requires too many other changes to fix now).
* Etc/NEWS: Note change in character ranges in globbing.
2000-05-11 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c, Src/params.c: "typeset -U" updates exported
colon-arrays; PWS, 11314.
* Src/jobs.c: In setprevjob(), skip jobs with either the
STAT_NOPRINT or STAT_SUBJOB bits set, as suggested in
zsh-workers/10005.
2000-04-30 Bart Schaefer <schaefer@zsh.org>
* Src/glob.c: Disable locale-sensitive character ranges; sorting
is still done by locale. This is the 3.1.7 behavior.
* Src/builtin.c: Since "read -q" always reads from the tty, always
write the prompt to the tty. Adapted from Sven, 10727.
2000-03-08 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c, configure, configure.in, config.h.in: Silence linker
warnings on FreeBSD by using _mktemp() when available.
2000-02-29 Bart Schaefer <schaefer@zsh.org>
* Doc/zsh.texi: Silence a couple of warnings.
2000-02-28 Bart Schaefer <schaefer@zsh.org>
* Src/init.c, Src/params.c: Silence some harmless compiler
warnings; Sven, 9905.
* Src/exec.c: Fix problem with handling of errflag that caused
push-line-or-edit to fail when used within a here-document; Sven;
9900 and 9903.
* Etc/NEWS: Note minor new features and configuration changes.
2000-02-27 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Fixes to `vared', particularly when run from a
subshell; adapted from PWS, 7308, and Sven, 8591.
* configure.in, configure, acconfig.h, config.h.in,
Src/prototypes.h: Add test for mknod() prototype, per bug report
from Olivier Delemar.
* Src/exec.c, Src/globals.h, Src/init.c, Src/builtin.c: Fix
improper redirection of xtrace output; unlock terminal device on
Solaris as per zsh-workers/5118; misc. insignificant typos.
2000-02-23 Bart Schaefer <schaefer@zsh.org>
* config.sub: Handle the latest Alpha hardware type; Sven, 9840.
2000-02-16 Bart Schaefer <schaefer@zsh.org>
* Src/subst.c: Better quoting behavior for ${(e)...}
substitutions; from Sven, 9763.
2000-02-15 Bart Schaefer <schaefer@zsh.org>
* Src/signames.awk: Missing newline.
* Src/jobs.c, Src/signames.awk: Wrap signal message array derefs
in a macro to avoid segfaults in the event we receive an
unrecognized signal.
2000-02-13 Bart Schaefer <schaefer@zsh.org>
* configure.in, configure: Import the 3.1.6 signal.h (or
equivalent) detection code.
* Etc/MACHINES: Mention potential resource.h problem on Linux.
2000-02-12 Bart Schaefer <schaefer@zsh.org>
* Src/init.c: Redo the way we attach to the tty in init_io() to
avoid competing with our parent on systems that don't prevent TTY
ioctl()s from background jobs.
2000-02-06 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Clear the PM_UNSET flag from the `pm' structure
before setting the parameter; PWS, 9582.
2000-02-03 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Interrupt read1char() when any of the usual shell
loop control flags becomes set (e.g. by a trap handler); Sven,
9522.
* Src/exec.c: A different reformulation of 9345; based on Sven,
9503 and 9521.
2000-01-29 Bart Schaefer <schaefer@zsh.org>
* Src/globals.h: Add a missing EXTERN.
* Src/globals.h, Src/jobs.c, Src/zsh.h, Src/builtin.c, Src/exec.c:
Fixes for suspending/restarting subshells; adapted from Sven, 9345.
2000-01-12 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Fix behavior of "select" loops with respect to
reading stdin; adapted from PWS, 9295.
2000-01-08 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Using a negative count with the "repeat" construct
should not loop. Adapted from Sven, 9188.
1999-12-12 Bart Schaefer <schaefer@zsh.org>
* Src/exec.c: Don't try to suspend/resume loops and other shell
constructs as separate processes when the parent shell is not
doing job control in the first place.
1999-11-25 Bart Schaefer <schaefer@zsh.org>
* Src/lex.c: Fix off-by-one line number when reporting unmatched
cshjunkiequote errors.
1999-11-24 Bart Schaefer <schaefer@zsh.org>
* Src/signals.c: Just for sanity, be sure not to SIGHUP ourself
when already exiting.
1999-10-25 Bart Schaefer <schaefer@zsh.org>
* Src/system.h, Src/hashtable.h, Src/init.c, Src/params.c,
INSTALL, acconfig.h, configure.in, configure, config.h.in:
Configure option to disable setlocale() support, and also do a
linkage test for it rather than simply test for the LC_ALL
constant; adapted from Zefram, 8372, by Tatsuo Furukawa.
1999-10-24 Bart Schaefer <schaefer@zsh.org>
* Makefile.in: Don't bother trying to enumerate all the files in
the ftp-dist tar, just pack up the whole zsh-$(VERSION) directory.
The enumeration caused files in subdirectories to be included
twice by tar.
1999-10-23 Bart Schaefer <schaefer@zsh.org>
* Src/zle_misc.c, Doc/zshparam.man: Add the %L prompt token, for
the value of SHLVL, as in 3.1.6; thanks to Phil Pennock
<phil@PsiDev.net> for pointing out this inconsistency.
1999-10-22 Bart Schaefer <schaefer@zsh.org>
* Src/mem.c: Fix a couple of typos in comments.
1999-10-19 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Remove redundant variable decls; noted by Albert
Chin in 8327.
* Src/builtin.c: Tweak whitespace in string constant.
* Src/builtin.c: Recognize "maxpthreads" limit as noted by Albert
Chin in private mail; also arrange to print the "sockbufsize"
limit in "ulimit -a".
* Src/rlimits.awk: Recognize "maxpthreads" limit as noted by
Albert Chin in private mail.
ZSH_STATIC can be defined in /etc/mk.conf instead of editing the Makefile.
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Correct master site list as suggested by Geoff C. Wing in PR pkg/9138.
upgrade to 3.0.7, the latest release
Update MASTER_SITES and HOMEPAGE like suggested in pr 7032 by Geoff C. Wing.
The Grand Homepagification: - New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
Update package Makefiles for automatic manual page handling.
Mostly cosmetic changes to shut up portlint. Little bugfix for apache.
Fix INFO_FILES definitions to match the commands in bsd.pkg.mk
Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org.
Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them.
Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. Remove redundant (and sometimes erroneous) comments.
Update of "/etc/shells" on "make install" didn't work.
"/etc/shells" was updated only by "pkg_add" but not by "make installe".
portlint: fix RCS Id, move lines, use cmd macros
Add NetBSD RCS Id. Add NetBSD dependency on gtexinfo
Initial import of FreeBSD's shells ports category into NetBSD package system.
Initial revision