The NetBSD Project

CVS log for pkgsrc/shells/dash/Makefile

[BACK] Up to [] / pkgsrc / shells / dash

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 22 08:39:26 2024 UTC (7 weeks, 5 days ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

dash: updated to 0.5.12

Unknown changes

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 12 08:48:03 2021 UTC (2 years, 10 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

dash: update to enable libedit support.

Andrej Shadura (1):
      builtin: Default to mktemp, not tempfile

Antonio Ospite (6):
      eval: make traps work when "set -e" is enabled
      shell: Update with suggestions from autoupdate
      shell: Enable automake silent rules
      eval: Silence compiler warning about missing parentheses
      shell: Fix clang warnings about "string plus integer"
      output: Fix clang warnings about GNU old-style field designator

Denys Vlasenko (3):
      var: Remove poplocalvars() always-zero argument, make it static
      expand: Remove unused expandmeta() flag parameter

Fangrui Song (1):
      shell: delete AC_PROG_YACC

Gerrit Pape (2):
      eval: Report I/O error on stdout
      main: Print \n upon EOF (CTRL-D) when run interactively

Herbert Xu (57):
      exec: Return 126 on most errors in shellexec
      main: Only set savestatus in exitcmd
      mkinit: Split reset into exitreset and reset
      jobs: Only clear gotsigchld when waiting for everything
      parser: Save/restore here-documents in command substitution
      var: Set IFS to fixed value at start time
      output: Fix fmtstr return value
      jobs: Replace some uses of fmtstr with stpcpy/stpncpy
      memalloc: Add growstackto helper
      exec: Do not allocate stack string in padvance
      builtin: Mark more regular built-ins
      exec: Stricter pathopt parsing
      exec: Never rehash regular built-ins
      eval: Add assignment built-in support again
      eval: Fail immediately with redirections errors for simple command
      eval: Replace with listsetvar with mklocal/setvareq
      eval: Add vfork support
      builtin: Use test_access from NetBSD when faccessat is unavailable
      expand: Use HOME in tilde expansion when it is empty
      expand: Merge syntax/quotes in memtodest with flags
      expand: Fix skipping of command substitution when trimming in evalvar
      expand: Do not reprocess data when expanding words
      eval: Always set localvar_stop
      memalloc: Avoid looping in growstackto
      expand: Ensure result is escaped in cvtnum
      expand: Fix multiple issues with EXP_DISCARD in evalvar
      eval: Use the correct expansion mode for fd redirection
      expand: Eat closing brace for length parameter expansion
      parser: Do not push token back before parseheredoc
      eval: Use sh_warnx instead of warnx
      system: Disable glibc warning on sigsetmask
      eval: avoid leaking memory associated with redirections
      eval: Only restore exit status on exit/return
      redir: Handle nested exec within REALLY_CLOSED redirection
      options: Do not set commandname in procargs
      expand: Fix double-decrement in argstr
      eval: Reset handler when entering a subshell
      parser: Fix old-style command substitution here-document crash
      parser: Only accept single-digit parameter expansion outside of braces
      redir: Clear saved redirections in subshell
      builtin: Fix seconds part of times(1)
      jobs: Fix infinite loop in waitproc
      parser: Fix handling of empty aliases
      parser: Catch errors in expandstr
      parser: Fix alias expansion after heredoc or newlines
      shell: Always use explicit large file API
      parser: Save and restore heredoclist in expandstr
      parser: Fix double-backslash nl in old-style command sub
      Release 0.5.11.
      jobs: Fix waitcmd busy loop
      shell: Group readdir64/dirent64 with open64
      jobs: Only block in waitcmd on first run
      eval: Do not cache value of eflag in evaltree

Jeroen Roovers (1):
      input: Fix compiling against libedit with -fno-common

Martijn Dekker (1):
      shell: update .gitignore

Martin Michlmayr (1):
      shell: Fix typos

Michael Greenberg (1):
      shell: mktokens relative TMPDIR

Nikolai Merinov (1):
      expand: Fix trailing newlines processing in backquote expanding

Peter Korsgaard (1):
      shell: Don't include config.h for native helpers (1):
      man: Problems in dash.1, sh.1, sh.distrib.1

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 1 07:19:01 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

dash: updated to
Bug fixes.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 17 09:52:43 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.11: +3 -4 lines
Diff to previous 1.11 (colored)

dash: updated to
jobs - Do not block when waiting on SIGCHLD

eval: Variable assignments on functions are no longer persistent
parser: Fix parameter expansion inside inner double quotes
parser: Fix parsing of ${}
man: correct typos, iff -> if
expand: Do not quote backslashes in unquoted parameter expansion
shell: Add subdir-objects to AM_INIT_AUTOMAKE
eval: Restore input files in evalcommand
eval: Reap zombies after built-in commands and functions
redir: Fix typo in noclobber code
expand: Fix glibc glob(3) support
expand: Fix buffer overflow in expandmeta
builtin: Move echo space/nl handling into print_escape_str
builtin: Fix echo performance regression
expand: Fix ghost fields with unquoted $@/$*
parser: Allow newlines within parameter substitution
expand: Fix bugs with words connected to the right of $@
Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"
parser: Fix backquote support in here-document EOF mark
shell: provide .gitignore
parser: Fix single-quoted patterns in here-documents
parser: Add syntax stack for recursive parsing
parser: use pgetc_eatbnl() in more places
builtin: Greater resolution in test -nt / test -ot

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 26 01:24:59 2017 UTC (7 years, 1 month ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update to

Not available

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 14 11:04:24 2015 UTC (8 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update to 0.5.8

2014-09-26  Herbert Xu <>

	* Small optimisation of command -pv change.
	* Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin.
	* Change "characters" for printf precision to "bytes".
	* Release 0.5.8.

2014-09-26  Jonathan Nieder <>

	* Clarify "trap '' signals" syntax in manual page.

2014-09-26  Adam Buchbinder <>

	* Clarify that 0 and EXIT are both acceptable for exit traps.

2014-09-26  Harald van Dijk <>

	* command: allow combining -p with -v.
	* getjob: Fix off-by-one error for multiple of four job numbers

2013-08-23  Herbert Xu <>

	* Propagate EXP_QPAT in subevalvar.
	* Initialise OPTIND after importing environment.
	* Fixed argument parsing crash in test.

2013-03-12  Peter Rosin <>

	* Add newline when tracing in poplocalvars.

2013-01-10  Jérémie Courrèges-Anglas <>

	* Markup fixes in manual for mandoc 1.12.1.

2012-12-03  Harald van Dijk <>

	* Use PRIdMAX instead of %j in printf.

2012-07-20  Kimo Rosenbaum <>

	* Fix typo for wait in manual.

2012-06-09  Christoph Mathys <>

	* Add support for ulimit -r.

2012-03-11  Jim Meyering  <>

	* Avoid overflow for very long variable name.
	$ perl -le 'print "v"x(2**31+1) ."=1"' | dash

2012-02-25  Herbert Xu <>

	* Sanitise environment variable names on entry.

2011-08-17  David S. Miller <>

	* Allow building without LINEO support.
	* Add top-level

2011-07-26  Harald van Dijk <>

	* Avoid imaxdiv when only one of the results is wanted.

2010-07-09  maximilian attems <>

	* Fix klibc DEBUG compilation.

2011-07-09  Herbert Xu <>

	* Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 6 16:43:26 2013 UTC (11 years, 3 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)


Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 11 23:25:07 2012 UTC (11 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

"user-destdir" is default these days

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 30 20:33:26 2012 UTC (11 years, 10 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Update to 0.5.7. Changes since

        * Optimize dash -c "command" to avoid a fork.
        * Eliminate unnecessary promotion in echocmd.

        * Avoid using undefined handler.

        * Avoid gcc warning: variable 'oldstackp' set but not used.
        * Avoid clang warning about dead store to "size".

        * Make outc an inline function.

        * Remove spurious space in descriptions of PS1, PS2, PS4.

        * Remove unused EV_BACKCMD flag.

        * Fix clobbering of checkkwd.

        * Free IFS state after here document expansion.
        * Use va_copy when reusing a va_list.

        * Let funcnode refer to a function definition, not its first
        * command.
        * Improve LINENO support.

        * Port to Solaris.

        * Fix backslash handling in read(1).

        * Dotcmd should exit with zero when doing nothing.

        * Fix CTLESC clobbering by read(1).

        * Port to AIX.

        * Replace GPL noclobberopen code with the FreeBSD version.
        * Do not split the result of tilde expansion.

        * Mark status as volatile in exitshell.

        * Use EXEXIT in place of EXEXEC.
        * Stop documenting EXSHELLPROC.

        * Use exit status 127 when the script to run does not exist.

        * Document optional open parenthesis for case patterns.

        * Fixed trap/return regression due to SKIPEVAL removal.
        * Allow the originator of EXERROR to set the exit status.
        * Free IFS state in evalbackcmd.

        * Fix ifsfirst/ifslastp leak in casematch.

        * Fix EXEXEC status clobbering.

        * Fix ifsfirst/ifslastp leak.
        * Fix trailing field bug in read(1).

        * Debug compile fix.

        * Fix varinit ordering that broke fc.

        * Check exit for eval NSUBSHELL.

        * Fix loss of variables when hash collides.
        * Removed dead code for eval NPIPE.

        * Don't clear eflag in evalbackcmd.

        * Continue after EINTR in read(1) with no pending signals.

        * Force fork if any trap is set, not just on EXIT.
        * Fix corruption of redirections with byte 0x81.

        * Fix poplocalvar on abnormal exit from function.
        * Do not poplocalvars prematurely on regular utilities.
        * Move null redirect checks into caller.
        * Fix popredir on abnormal exit from built-in.
        * Fix wait regression where it does not wait for all jobs.

        * Replace cmdenviron with localvars.

        * Fix poplocalvar leak.
        * Move unsetvar functionality into setvareq.

        * Add localvars nesting, local now fails outside functions.

        * Fix command -- crash.

        * Fix for job control off warning.

        * Use faccessat if available.

        * Make trap signal name/number errors non-fatal.
        * Release 0.5.6.

        * Use TMPDIR in mkbuiltins.

        * Fix logical or result value.

        * Fix binary operator parsing.

        * Fix off-by-one recordregion in readcmd.

        don't read-uninitialized for \177 in a here-doc
        A DEL (0177, dec 127) byte in a here-document would cause dash to
        access uninitialized memory at the end of one of the syntax.c
        since those tables are sized to accommodate a maximum index of
        BASESYNTAX + 126.  Make the generated tables one byte larger.
        printf ':<<\\E\n\200y\nE'|./dash
        * src/mksyntax.c (filltable): Use 258, not 257 as the size,
        so that BASESYNTAX(=130) + 127 is a valid index.
        (print): Likewise.
        Don't emit explicit array dimension in declaration.

        * Avoid compiler warnings on isdigit.

        * Add another missing LC_COLLATE to mkbuiltins.

        * Fix NUL termination in readcmd.
        * Lookup PWD after going through CDPATH.

        * Pass EV_TESTED into evalcmd.
        * Revert SKIPEVAL into EXEXIT.

        * Add preliminary LINENO support.

        * Honor tab as IFS whitespace when splitting fields in readcmd.

        * Do not truncate file for FROMTO redirection.

        * Fix quoted pattern patch breakage.

        * Fix incorrect savefd conversions.

        * Fix dowait signal race.
        * Remove EXSIG.
        * Do not close stderr when /dev/tty fails to open.
        * Allow newlines after var name in for statements.
        * Use CHKNL to parse case statements.

        * Update manual page to differentiate dash from ash.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 26 16:04:38 2012 UTC (11 years, 11 months ago) by cheusov
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

take maintainership

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 24 22:24:34 2012 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix mdoc syntax. Bump revision.

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 7 12:02:44 2010 UTC (13 years, 11 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 5 21:56:59 2009 UTC (14 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Reset MAINTAINER per request in PR pkg/42272

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 27 17:03:58 2009 UTC (14 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add dash to /etc/shells. From PR 41949 by Tim Larson.

Revision / (download) - annotate - [select for diffs] (vendor branch), Sun Jul 26 21:27:49 2009 UTC (14 years, 8 months ago) by rillig
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Imported dash from pkgsrc-wip.

Debian Almquist shell.  A small POSIX-compliant shell that is faster than bash.

Packaged by

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 26 21:27:49 2009 UTC (14 years, 8 months ago) by rillig
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>