./shells/bash, The GNU Bourne Again Shell

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


Branch: CURRENT, Version: 5.3.9, Package name: bash-5.3.9, 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)


Version history: (Expand)


CVS history: (Expand)


   2025-10-10 22:48:02 by Jonathan Schleifer | Files touched by this commit (4)
Log message:
Make shells/bash build and work on QNX
   2025-10-05 13:18:27 by Jonathan Schleifer | Files touched by this commit (9)
Log message:
shells/bash: More printf and QNX fixes

Still not there yet.
   2025-10-05 05:16:21 by Jonathan Schleifer | Files touched by this commit (5)
Log message:
shells/bash: Fix building when printf is defined to libintl_printf
   2025-07-31 23:48:09 by David H. Gutteridge | Files touched by this commit (2)
Log message:
bash: handle regenerated 5.3 archive

As discussed here:
https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00169.html
   2025-07-25 22:15:47 by Robert Elz | Files touched by this commit (2)
Log message:
Update bash to 5.3.3

Three bug-fix patches added:

5.3.1:	Fix "wait -n job/pid ..." to not ignore the list of
	jobs (or pids) given to it and instead simply wait
	for any random exited process.

5.3.2:	Avoid use of shm_open() because of too many impl
	differences

5.3.3:	Fix an internal quoting issue with expansions in
	the arithmetic command ("(( ))") and other arithmetic
	contexts (mostly affecting array subscript evaluation).
   2025-07-21 19:16:09 by Kimmo Suominen | Files touched by this commit (1)
Log message:
bash: Enable SSH_SOURCE_BASHRC

Align pkgsrc bash behaviour with various distributions (RHEL-based Linux
distros, Debian-based Linux distros, NixOS/nixpkgs) to improve user
experience and mitigate any possible observed element of surprise.

Some rationale:

- Many users expect that when they execute a command remotely (e.g., ssh
  host "my_custom_script.sh" or ssh host "alias_name"), that \ 
command
  should run in an environment that is as similar as possible to their
  interactive login environment.

- This behavior ensures compatibility with scripts, tools, and user
  habits that have come to rely on ~/.bashrc being sourced for remote
  SSH execution.

The following is an example for dividing ~/.bashrc into commands for all
shells and those only for interactive shells

  alias where='type -a'

  # If not running interactively, don't do anything else
  case "${-}" in
  *i*) ;;
    *) return;;
  esac

  shopt -s checkwinsize
  shopt -s globstar
  shopt -s histappend

  HISTCONTROL=ignoreboth
  HISTFILESIZE=2000
  HISTSIZE=1000
  HISTTIMEFORMAT='%F  %H:%M  '

Increment PKGREVISION for behaviour change.
   2025-07-10 16:36:20 by Jonathan Perkin | Files touched by this commit (3)
Log message:
bash: Fix illumos GCC 14 build.

While here add "loadables" to BUILD_TARGET so that they are all built \ 
during
the build phase instead of the install phase.
   2025-07-07 21:43:20 by Thomas Klausner | Files touched by this commit (1)
Log message:
bash: remove Darwin workaround hard-coding the readline package

Fixes PR 59515 by Colin Simmonds.