dash (0.5.7-2) unstable; urgency=high
* debian/diff/:
- 0004-BUILTIN-Fix-test-x-as-root...diff: new; teach "test -x"
as root not to return true for nonexecutable files on
platforms where faccessat() does return true in this case,
such as glibc-bsd in squeeze (thx Christoph Egger, closes:
#640334).
- 0005-SHELL-Disable-sh-c-...diff: back out the optimization
that makes dash -c "script" avoid a fork(). It caused
several packages to fail to build from source (thx Stéphane
Glondu, closes: #642922).
dash (0.5.7-2~exp1) experimental; urgency=low
* debian/diff/0003-VAR-Disable-LINENO-support.diff: remove
(closes: #540685, reopens: #582952).
* debian/dash.preinst:
- rewrite in C (closes: #604873).
- if dash's copy of /bin/sh is not already diverted, divert it
on behalf of bash. This ensures extracting a new version of
dash does not overwrite /bin/sh and handling of that symlink
is left to postinst. Likewise for .../man/man1/sh.1.gz.
- if /bin/sh is not executable (for example because it is a
symlink to a nonexistent file), replace it with a symlink to
dash. Likewise for /usr/share/man/man1/sh.1.gz.
* debian/dash.postinst:
- remove workaround for dpkg bug #160848 ("dpkg-divert --remove"
silently enabling --rename). The dash package already depends
on dpkg 1.15.0 or later, which has the fix.
- respect local diversions.
- clarify.
dash (0.5.7-1) unstable; urgency=low
* new upstream release.
* optimize dash -c "script" to notice the last command and
exec it without forking (thx Jilles Tjoelker; closes:
#436466). This change is inspired by a similar trick in
ksh, bash, and zsh and can be useful in commands passed to
system(), popen(), and Makefiles, where "exec" is usually
not explicitly used.
* remove spurious space in descriptions of PS1, PS2, PS4 (thx
Kalle Olavi Niemitalo; closes: #624715).
* test builtin: use faccessat if available (closes: #539909,
#556521) so ACLs and other corner cases can be handled
correctly.
* debian/diff/:
- remove patches applied upstream (i.e. all except 0045, 0046).
- 0045-SHELL-print-n-upon-EOF-...diff: rename to 0001-*.
- 0046-PARSER-Remove-backslash-...diff: rename to 0002-*.
- 0003-VAR-Disable-LINENO-support.diff: new; remove LINENO
support (closes: #582952, reopens: #540685).
* debian/po/sk.po: [INTL:sk] Slovak debconf templates (thx
Slavko; closes: #611556).
* debian/po/nl.po: [INTL:nl] Dutch debconf templates (thx
Jeroen Schot; closes: #624172).
dash (0.5.6.1-1~exp2) experimental; urgency=low
* debian/diff/:
- 0036-BUILTIN-Fix-corruption-of-reads...diff: remove; fixed
upstream.
- 0037-EVAL-Make-.-dev-null-return-.diff: remove; applied
upstream.
- 0034-SHELL-print-n-upon...diff: rename to 0045-*.
- 0035-PARSER-Remove-backslash...diff: rename to 0046-*.
- 0034...0044: new from the upstream "master" branch.
- 0042-EXPAND-Free-IFS-state...diff: new from upstream:
do not let parameter expansion in here documents corrupt word
splitting state (thx Aurelien Jarno; closes: #618023).
dash (0.5.6.1-1~exp1) experimental; urgency=low
* new upstream release.
* add preliminary LINENO support (closes: #540685, reopens:
#582952).
* fix corruption of redirections with byte 0x81 (closes:
#532302).
* honor tab as IFS whitespace in read (closes: #429251,
#607174).
* debian/diff/:
- remove patches applied upstream (0001-0016, 0020).
- 0021--INPUT-exit-127...diff: remove; patch is faulty
(reopens: #548687).
- 0022--EVAL-with-set-e-exit: remove; fixed upstream.
- 0019--SHELL-print-n-upon...diff: rename to 0034-*.
- 0001...0033: new from the upstream "master" branch.
- 0035-PARSER-Remove-backslash-before...diff: new from the
mailing list: remove backslashes used to escape closing
braces in ${...} expressions (thx Jilles Tjoelker).
- 0036-BUILTIN-Fix-corruption-of-reads...diff: new from the
mailing list: do not corrupt input by removing CTLESC bytes
('\x81') in readcmd (thx Alexey Gladkov).
- 0037-EVAL-Make-.-dev-null-return-0.diff: new from the
mailing list: dotcmd should yield status 0 when no command
is executed (thx Tim Allen, closes: #615922).
* debian/watch: document upstream source location.
rename to 0023-*.diff.
* debian/diff/0001--MAN-rename-sh-to-dash-update-DESCRIPTION-...diff:
remove; applied upstream.
* debian/diff/0001-*...0022-*.diff: new from upstream git.
* debian/diff/0010-*.diff: Add preliminary LINENO support (closes:
#540685).
* debian/diff/0017-*.diff: Fix syntax array size (closes: #548493).
* debian/diff/0009-*.diff: Honor tab as IFS whitespace when
splitting fields in readcmd (closes: #429251).
* debian/diff/0024-INPUT-exit-127-if-command_file-is-given-...diff:
new; exit 127 if command_file is given but does not exist (closes:
#548743).
* debian/diff/0025-INPUT-exit-127-if-command_file-is-given-...diff:
new; exit 127 if command_file is given but is a directory (closes:
#548687).
* debian/diff/0026-EVAL-with-set-e-exit-the-shell-if-a-...diff: new;
with set -e exit the shell if a subshell exits non-zero (closes:
#514863).
* debian/diff/0027-EVAL-don-t-clear-eflag-when-forking-subshell.diff:
new; don't clear eflag when forking subshell (closes: #514863).
debian/diff/0042-PARSER-Do-not-show-prompts-in-expandstr.diff: new
from upstream git.
* debian/diff/0043-EXPAND-Fix-slash-treatment-in-expmeta.diff: new
from upstream git: [EXPAND] Fix slash treatment in expmeta (closes:
#458687, #458690, #459049).
* debian/diff/0041-run-aclocal-autoconf-autoheader-automake.diff: redo
as debian/diff/0044-run-aclocal-autoconf-autoheader-automake.diff.
upstream, rename to
0038-EVAL-Fix-bad-pointer-arithmetic-in-evalcommand.diff.
* debian/diff/0039-ARITH-If-imaxdiv-isn-t-available-use-and-ope.diff:
applied upstream, rename to
0040-ARITH-If-imaxdiv-isn-t-available-use-and-ope.diff.
* debian/diff/0040-run-aclocal-autoconf-autoheader-automake.diff: redo
as debian/diff/0041-run-aclocal-autoconf-autoheader-automake.diff.
* debian/diff/0039-BUILTIN-Add-set-o-support.diff: new; from upstream
git: Add set +o support (closes: #456990).
unaligned trap on sparc (thx Steve Langasek, closes: #456399).
* debian/diff/0039-ARITH-If-imaxdiv-isn-t-available-use-and-ope.diff: new;
if imaxdiv() isn't available, use / and % operators (closes: #456398).
* debian/diff/0038-run-aclocal-autoconf-autoheader-automake.diff: redo
as debian/diff/0040-*.