./shells/bash, The GNU Bourne Again Shell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.2.37, Package name: bash-5.2.37, Maintainer: pkgsrc-users

Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification.


Required to build:
[pkgtools/cwrappers]

Package options: nls

Master sites: (Expand)

Filesize: 10694.173 KB

Version history: (Expand)


CVS history: (Expand)


   2024-09-24 19:01:30 by Robert Elz | Files touched by this commit (2)
Log message:
Update shells/bash from 5.2.26nb1 to 5.2.37

This adds 11 new patches:

27: The configure test for the presence of strtoimax(3) was inverted.

28: A DEBUG trap in an asynchronous process could steal the controlling
    terminal away from the calling shell, causing it to exit.

29: There were problems with recovery after parser errors when parsing
    compound assignments. For instance, the `local' builtin reports an
    error but never cleaned up the function context.

30: `wait -n' could fail to return some jobs if they exited due to signals
    the shell does not report to the user.

31: There was a memory leak in the code that implements the optimized
    $(<file) expansion for some code paths.

32: When printing functions containing coprocesses, the displayed coproc
    command had the word COPROC inserted unconditionally, resulting in
    function bodies that could not be re-read as input.

33: A typo in the autoconf test for strtold caused false negatives for
    strtold being available and working when compiled with gcc-14.

34: If we parse a compound assignment during an alias expansion, it's
    possible to have the current input string popped out from underneath
    the parse. In this case, we should not restore the input we were using
    when we began to parse the compound assignment.

35: There are systems that supply one of select or pselect, but not both.

36: When readline was accumulating bytes until it read a complete
    multibyte character, reading a byte that makes the multibyte character
    invalid could result in discarding the bytes in the partial character.

37: Fix the case where text to be completed from the line buffer (quoted)
    is compared to the common prefix of the possible matches (unquoted) and
    the quoting makes the former appear to be longer than the latter.
    Readline  assumes the match doesn't add any characters to the word and
    doesn't display multiple matches.
   2024-08-06 20:49:32 by Taylor R Campbell | Files touched by this commit (1)
Log message:
shells/bash: Pacify pkglint with TEXINFO_REQD+=, not TEXINFO_REQD=.

No functional change intended.
   2024-08-06 20:49:06 by Taylor R Campbell | Files touched by this commit (1)
Log message:
shells/bash: Fix cross-build on NetBSD.
   2024-03-16 14:33:02 by Robert Elz | Files touched by this commit (1)
Log message:
Add PKGREVISION (==1) for patch-examples_loadables_getconf.c addition.
   2024-03-16 13:24:36 by Nia Alarie | Files touched by this commit (2)
Log message:
bash: Fix build on platforms without _PC_FILESIZEBITS, _PC_SYMLINK_MAX
   2024-01-15 00:28:35 by Robert Elz | Files touched by this commit (2)
Log message:
Remove patches/patch-examples_loadables_fdflags.c

That may have once been needed, but all the patch does is add

#ifdef O_CLOEXEC
#endif

at various places ... in a file which earlier (now) has

#ifndef O_CLOEXEC
#define O_CLOEXEC ...
#endif

such that added #ifdef can never fail to be true, and hence is
never needed.

No revbump is needed for this, as the resluting package will be
in every respect (aside from debigging source code line numbers)
identical to the earlier one ... but if you like, consider this
riding the immediately preceding version bump from 5.2.21nb1 to 5.2.26
   2024-01-15 00:21:16 by Robert Elz | Files touched by this commit (2)
Log message:
Upgrade bash from 5.2.21nb1 to 5.2.26

Patch 22: It's possible for readline to try to zero out a line that's
	not null-terminated, leading to a memory fault.

Patch 23: Running `local -' multiple times in a shell function would
	overwrite the original saved set of options.

Patsh 24: Fix bug where associative array compound assignment would
	not expand tildes in values.

Patch 25: Make sure a subshell checks for and handles any terminating
	signals before exiting (which might have arrived after the
	command completed) so the parent and any EXIT trap will see
	the correct value for $?.

Patch 26: The custom color prefix that readline uses to color possible
	completions must have a leading `.'.
   2023-11-24 13:21:28 by Robert Elz | Files touched by this commit (1)
Log message:
The previous change should have been accompanied by a revbump.  Now it is.