36 Commits

Author SHA1 Message Date
Marc Deslauriers
043750d03f
Import Ubuntu changes 0.5.7-4ubuntu2
dash (0.5.7-4ubuntu2) wily; urgency=medium

  * Drop privileges when euid != uid as a security measure (LP: #1215660)
    - debian/diff/9001-Add-privmode-Part-1.diff
    - debian/diff/9002-Add-privmode-Part-2.diff
2018-01-05 17:40:15 +01:00
Gerrit Pape
3268e467e3
Import Debian changes 0.5.7-4
dash (0.5.7-4) unstable; urgency=low

  * Thx Michael Gilbert for NMU.
    * 0006-JOBS-address-format-security-build-error.diff: new: address
      format-security build error (patch from Simon Ruderich).
  * debian/rules: make DEB_BUILD_OPTIONS=diet build working again.
  * debian/diff/0007-EVAL-Report-I-O-error-on-stdout.diff: new: eval: report
    I/O error on stdout (closes: #690473).
2018-01-05 17:03:42 +01:00
Michael Gilbert
a71a231b5e
Import Debian changes 0.5.7-3+nmu1
dash (0.5.7-3+nmu1) unstable; urgency=medium

  * Non-maintainer upload.
  * Enable build-hardening flags (closes: #662721).
2018-01-05 17:03:28 +01:00
Jonathan Nieder
66b2f436d6
Import Debian changes 0.5.7-2
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).
2018-01-05 17:02:16 +01:00
Jonathan Nieder
0effc5c28c
Import Debian changes 0.5.7-2~exp1
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.
2018-01-05 17:01:47 +01:00
Jonathan Nieder
f563e2edc6
Import Debian changes 0.5.7-1
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).
2018-01-05 17:00:49 +01:00
Jonathan Nieder
bcc4df19d1
Import Debian changes 0.5.6.1-1~exp2
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).
2018-01-05 16:54:19 +01:00
Jonathan Nieder
55835babc8
Import Debian changes 0.5.6.1-1~exp1
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.
2018-01-05 16:52:37 +01:00
Gerrit Pape
b81c281711
Import Debian changes 0.5.6.1-1~exp0
dash (0.5.6.1-1~exp0) experimental; urgency=low

  * merge branch debian-sid.
  * new upstream version.
  * 0006--INPUT-exit-127-if-command_file-is-given-but-doesn-t.diff: new;
    replaces 0020--INPUT-exit-127-...diff, 0021--INPUT-exit-127-...diff.
  * debian/diff/0001-...0016-...diff: remove; included upstream.
  * debian/diff/0024--SHELL-Add-preliminary-LINENO-support.diff: remove;
    included upstream.
  * 0001--JOBS-Fix-for-job-control-off-warning.diff,
    0002--EVAL-Force-fork-if-any-trap-is-set-not-just-on-EXI.diff: new;
    from branch upstream/master.
2018-01-05 16:48:42 +01:00
Gerrit Pape
28f1f14d7e * debian/diff/0001-JOBS-Fix-dowait-signal-race.diff,
debian/diff/0002-SIGNAL-Remove-EXSIG.diff: remove (closes: #581425).
  * debian/diff/: remove patches with reverts (0009, 0013, 0015, 0018,
    0019).
  * debian/diff/0010-SHELL-Add-preliminary-LINENO-support.diff: remove
    (re-opens: #540685, closes: #582952).
  * debian/diff/0015--BUILTIN-Use-TMPDIR-in-mkbuiltins.diff,
    debian/diff/0016--BUILTIN-Make-trap-signal-name-number-...diff,
    debian/diff/0017--JOBS-Fix-for-job-control-off-warning.diff: new;
    cherry-picked from upstream git.
2010-05-26 12:05:06 +00:00
Gerrit Pape
43284f8c29 * debian/diff/0029-Revert-BUILTIN-Fix-off-by-one-recordregion-...diff,
debian/diff/0030-Revert-BUILTIN-Avoid-compiler-warnings-on-...diff,
    debian/diff/0031-Revert-BUILTIN-Fix-NUL-termination-in-readcmd.diff,
    debian/diff/0032-Revert-BUILTIN-Honor-tab-as-IFS-whitespace-...diff:
    new; revert "Honor tab as IFS whitespace when splitting fields in
    readcmd" fix (re-opens: #429251, closes: #581351).
2010-05-13 23:18:22 +00:00
Gerrit Pape
8b85658baf * debian/diff/0028-EVAL-Fix-command-crash.diff: new; Fix command --
crash (closes: #579543).
2010-05-10 23:11:46 +00:00
Gerrit Pape
8a5fedf479 * debian/diff/0002--SHELL-print-n-upon-EOF-CTRL-D-when-run-...diff:
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).
2010-03-22 22:25:26 +00:00
Gerrit Pape
17e2026a7a * debian/diff/0001--SHELL-execute-EXIT-trap-if-the-shell-...diff;
remove; patch is faulty (reopens: #390433, closes: #515229,
    #515064).
2009-02-16 12:52:25 +00:00
Gerrit Pape
f727ef1a7a * debian/diff/0003--SHELL-print-n-upon-EOF-CTRL-D-when-run-...diff:
new; [SHELL] print \n upon EOF (CTRL-D) when run interactively
    (closes: #476422).
2009-02-11 01:56:08 +00:00
Gerrit Pape
508476a6a6 * debian/diff/0002--MAN-rename-sh-to-dash-update-DESCRIPTION...diff:
new; [MAN] rename sh to dash, update DESCRIPTION and HISTORY (thx
    jaalto, closes: #499838).
2009-02-11 01:54:44 +00:00
Gerrit Pape
95e74fd8b8 * debian/diff/0001--SHELL-execute-EXIT-trap-if-the-shell-...diff:
new; [SHELL] execute EXIT trap if the shell is killed through a
    signal (thx Chris Lamb for the patch, closes: #390433).
2009-02-11 01:52:43 +00:00
Gerrit Pape
08fbc1fbc0 * new upstream release.
* builds again with DEB_BUILD_OPTIONS=diet (closes: #493301).
  * debian/diff/*.diff: remove; obsolete.
2009-02-11 01:05:06 +00:00
Gerrit Pape
030139c2cd * debian/diff/0045-Fix-null-pointer-dereference.diff,
debian/diff/0046-Fix-bitwise-AND-and-OR-operator-parsing.diff,
    debian/diff/0047--MAN-add-missing-right-parenthesis...diff: remove;
    applied upstream.
  * debian/diff/0048--SHELL-add-l-option-to-force-login-shell.diff:
    remove; fixed upstream.
  * debian/diff/0044--*..0061--*: new; from upstream git.
    * 0055--BUILTIN-Fixed-3-4-argument-cases-for-test-per-POSIX.diff:
      [BUILTIN] Fixed 3,4-argument cases for test per POSIX (closes:
      #455828).
  * debian/diff/0044-run-aclocal-autoconf-autoheader-automake.diff:
    redo as 0062-run-aclocal-autoconf-autoheader-automake.diff.
2008-07-16 19:47:26 +00:00
Gerrit Pape
6b5347e178 * debian/diff/0048--SHELL-add-l-option-to-force-login...diff: new;
[SHELL] add -l option to force login shell (closes: #483287).
2008-07-06 10:55:10 +00:00
Gerrit Pape
c0b2e77eec * debian/diff/0047--MAN-add-missing-right-parenthesis...diff: new;
[MAN] add missing right parenthesis in section Redirection (closes:
    #481365).
2008-07-06 10:53:48 +00:00
Gerrit Pape
e365986a39 * debian/diff/0046-Fix-bitwise-AND-and-OR-operator-parsing.diff: new:
Fix bitwise AND and OR operator parsing (closes: #470914).
2008-04-17 20:21:40 +00:00
Gerrit Pape
bf32145725 * debian/diff/0045-Fix-null-pointer-dereference.diff: new from Larry
Doolittle, blessed by upstream: Fix null pointer dereference (thx!,
    closes: #467065; most probably closes: #462414, #462977, #463649,
    #467358, #468376, #468449, #468837, #469102).
2008-03-02 21:20:03 +00:00
Gerrit Pape
f0be7470fc * debian/diff/0041-PARSER-Add-FAKEEOFMARK-for-expandstr.diff,
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.
2008-01-07 10:33:33 +00:00
Gerrit Pape
b2157ac128 * debian/diff/ja.po: remove again, doh. 2007-12-27 12:31:41 +00:00
Gerrit Pape
b8c2adb623 * debian/diff/0038-EVAL-Fix-unaligned-trap-on-sparc.diff: applied
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).
2007-12-27 12:31:37 +00:00
Gerrit Pape
0bfdb44ed8 * debian/diff/ja.po: new; [INTL:ja] Japanese debconf translation (thx
Kenshi Muto, closes: #446573).
2007-12-21 09:22:44 +00:00
Gerrit Pape
62586f23ce * debian/diff/0038-EVAL-Fix-unaligned-trap-on-sparc.diff: new; fix
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-*.
2007-12-21 09:06:05 +00:00
Gerrit Pape
a07808bb33 * debian/diff/0005-*..0037-*: new: from upstream git.
* 0025-*: Report substition errors at expansion time (closes: #418774).
  * debian/diff/0005-dash.1-clarify-description-of-nt-ot-options-to-te.diff,
    debian/diff/0006-dash.1-clarify-syntax-of-the-for-command.diff: remove;
    applied upstream.
2007-12-10 13:42:54 +00:00
Gerrit Pape
6f7e22b126 * debian/diff/0006-dash.1-clarify-syntax-of-the-for-command.diff: new;
dash.1: clarify syntax of the for command (closes: #387441).
2007-09-25 07:43:54 +00:00
Gerrit Pape
b834e988f0 * debian/diff/0005-dash.1-clarify-description-of-nt-ot-options-to-te.diff:
new; dash.1: clarify description of -nt, -ot options to test builtin
    (closes: #373611).
2007-09-25 07:42:52 +00:00
Gerrit Pape
206b66f7cf * debian/diff/0001-SHELL-Restore-foreground-process-group-on-exit.diff:
new; from upstream git, replaces
    debian/diff/0001-Restore-pgrp-on-exit-fix-backgrounded-MC-bug.diff.
  * debian/diff/0002-SHELL-Move-flushall-to-the-point-just-before-_exit.diff,
    debian/diff/0003-BUILTIN-test-White-space-fixes.diff,
    debian/diff/0004-BUILTIN-test-little-size-and-speed-optimizations.diff:
    new; from upstream git (closes: #431320).
2007-09-24 08:50:09 +00:00
Gerrit Pape
70180bfca5 * debian/diff/????-*.diff: remove all but
????-Restore-pgrp-on-exit-fix-backgrounded-MC-bug.diff; obsolete.
2007-07-18 08:44:42 +00:00
Gerrit Pape
2f9ac1b9e8 * debian/diff/0018-Restore-pgrp-on-exit-fix-backgrounded-MC-bug.diff:
new; Restore pgrp on exit (fix "backgrounded MC" bug) (thx Denis
    Vlasenko, closes: #381878).
2007-06-26 13:08:33 +00:00
Gerrit Pape
4c2715111c * debian/diff/0009..0017-*.diff: new; from upstream master branch.
* 0009-BUILTIN-Fix-mkbuiltin-sort-order.diff: Fix mkbuiltin sort
      order (closes: #415119).
    * 0016-REDIR-Fix-redirect-restore-on-saved-file-descriptor.diff:
      Fix redirect restore on saved file descriptors (closes: #357091).
2007-06-04 09:53:30 +00:00
Gerrit Pape
65f18c501d Add debian/ subdirectory 0.5.3-7. 2007-05-24 13:47:08 +00:00