CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

shells/bash 5.3.20

GNU Project's Bourne Again SHell

Port info

Maintainer
ehaupt@FreeBSD.org
Packages
latest: 5.3.20
Upstream
up to date
Last update
to 5.3.20 · 5c05bb2f2a
Quarterly
2026Q4: 5.3.20
Formerly
shells/bash-devel until 2014-03-03, shells/bash3 until 2004-08-11
WWW
https://www.gnu.org/software/bash/
Links
cgit · VuXML

Install

Package
# pkg install bash
installs 5.3.20 from latest; from quarterly (2026Q4) 5.3.20
Port
# cd /usr/ports/shells/bash && make install clean
# make -C /usr/ports/shells/bash config  # change options first
Size
1.9 MiB download · 9.9 MiB installed
Depends on
devel/gettext-runtime 1.0_1, print/indexinfo 0.3.1_1
License
GPLv3+
Options
4 of 8 on in the package: DOCS HELP NLS SYSBASHRC
Show the 4 options that are off
FDESCFS PORTS_READLINE STATIC SYSLOG

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 165.3.205.3.20–
FreeBSD 155.3.205.3.20–
FreeBSD 145.3.205.3.205.3.20

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 155.3.205.3.20–
FreeBSD 145.3.205.3.205.3.20

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 5.3.20.

Fixed (3)

Show 3 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (330)

David E. O'Brien (obrien) · 2.05a
No longer need to explicitly provide a GNU autconf target.
4a5f3b215c
David E. O'Brien (obrien) · 2.05a
Make FINGORE gain a brain.  If NO_FORCE_FIGNORE is set, and a file in the FIGNORE list is the only possible match, expand it.
a9b41500db
Akinori MUSHA (knu) · 2.05a
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
77f6c01ede
Maxim Sobolev (sobomax) · 2.05a
Override CONFIGURE_TARGET, so that this configure script generated by autoconf-2.52 doesn't generate a warning.
3d1f077b65
Christian Weisgerber (naddy) · 2.05a
* Update to 2.05a. * Split failglob patch into per-file patches.

Reviewed by:	obrien
452e627854
David E. O'Brien (obrien) · 2.05
Our `end' key defintion for TERM==cons25 seems to be different from others. So make the same localization here that ache made in src/contrib/libreadline/terminal.c rev 1.2.

Submitted by:	sobomax
906c6edb8c
David E. O'Brien (obrien) · 2.05
Remove.  Patch not needed any longer.

Submitted by:	sobomax
0facad47b5
David E. O'Brien (obrien) · 2.05
Update to version 2.05.

Submitted by:	sobomax
51cbaf554a
David E. O'Brien (obrien) · 2.04
Fix a segmentation fault on the Alpha. As shown with this script :

m(){ if [ $1 -eq 1 ];then echo $2 $3;else m $(($1-1)) $2 $4 $3;m 1 $2 \
	$3 $4;m $(($1-1)) $4 $3 $2;fi;};if [ $# -eq 3 ]&&[ $3 -ge 1 -a $1 -le \
	3 -a $1 -ge 1 -a $2 -le 3 -a $2 -ge 1 -a $1 -ne $2 ];then m $3 $1 $2 $\
	((6-$1-$2)); else echo Usage: /bin/sh hanoi.sh from to num; fi #by rhb

$ bash2 hanoi.sh 1 2 3
1 2
1 3
Segmentation fault (core dumped)

Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
7f8208f177
David E. O'Brien (obrien) · 2.04
Put back my editor hints that were removed w/o permission. Note these are *FULLY* Satoshi approved for the past 4 years.
bb9b725c29
Maxim Sobolev (sobomax) · 2.04
Massive style enforcement - use ^I instead of spaces for variables identation.
2b1a883dc4
David E. O'Brien (obrien) · 2.04
Fix typo

PR:	23202
2b4f8fb8a8
David E. O'Brien (obrien) · 2.04
It's my main shell, so I have in interest in seeing it maintained.
64ae670e6c
Andrey A. Chernov (ache) · 2.04
Drop my maintainership
44f5c19e81
Martin Cracauer (cracauer) · 2.04
Re-add patch for failglob variable (see previous discussion on -commiters)
913c2b25ba
Martin Cracauer (cracauer) · 2.04
Fix trace() symbol clash with ncurses

Untested (4-stable) commit by: ache
9702f6aa4c
Andrey A. Chernov (ache) · 2.04
Restore static linking

Submitted by:	Martin Cracauer <cracauer@cons.org>
3fc2127ff9
Andrey A. Chernov (ache) · 2.04
Upgrade to 2.04 failglob patch removed - this sort of patches must be submitted to bash maintainer
a4923c39c3
Michael Haro (mharo) · 2.03
Correct whitespace introduced during PORTNAME conversion and portlint
4cf4ab0a2f
Chris Piazza (cpiazza) · 2.03
Update with the new PORTNAME/PORTVERSION variables
3df86a88a9
Michael Haro (mharo)
add WWW:

PR:		16261, 16262, 16263
Submitted by:	joseph.scott@owp.csus.edu
27dc806060
Steve Price (steve)
Don't coredump under certain conditions where the pid > 32000.

PR:		12174
Submitted by:	Dirk Meyer <dirk.meyer@home.dinoex.sub.org>
aef431088b
Steve Price (steve)
Use --entry instead of --defentry so this port doesn't fail on older versions of FreeBSD.

PR:		12746
84a09442f0
Michael Haro (mharo)
fix installation of info files

PR:		14761
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
e88caa1bc5
Martin Cracauer (cracauer)
Add `failglob' option as announced on -ports mailing list.
77472e1501
Andrey A. Chernov (ache)
change master site

Submitted by:	Chet Ramey <chet@nike.ins.cwru.edu>
90c2e3e47b
Michael Haro (mharo)
FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
65ab34a667
Peter Wemm (peter)
$Id$ -> $FreeBSD$
a53421230c
Michael Haro (mharo)
echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
b8f8618362
Tim Vanderhoek (hoek)
#4/4 enforcing Caps, no period

[Has anyone figured-out what makes the number 393 so interesting to PW, now?]

I wonder what was going through Jordan's head during his infamous
$Id$-smashing commit.

Before I forget....

Thanks to naddy@mips.rhein-neckar.de (Christian Weisgerber) for prompting
this commit.  See msg-id: 7geokh$tje$1@mips.rhein-neckar.de
a84b5b5f94
Michael Haro (mharo)
Remove the test to create ${PREFIX}/share/info/dir as it is now in bsd.port.mk and this helps to unify the check and install.
5ce8e8e5c7
Andrey A. Chernov (ache)
use system libreadline for -current
c0dabcc409
Andrey A. Chernov (ache)
Fixes for freebsd,ELF,-current Upgrade docs to 2.03
b5ee8a0541
Martin Cracauer (cracauer)
Update to 2.03 (maintainer did not respond)
dcc36469d1
Bill Fenner (fenner)
${MASTER_SITE_GNU} got rearranged in December; let's catch up.
5261958626
David E. O'Brien (obrien)
Removed manpages from pkg/PLIST
d265ace04d
Steve Price (steve)
Update to version 2.02.1.

Submitted by:	studded@dal.net
Hoping that Andrey doesn't mind: steve :)
4405a46523
Steve Price (steve)
Guard against a nonexistant /usr/share/info/dir.

PR:		7297
099b65cf8b
Andrey A. Chernov (ache)
put MASTER_SITE_GNU first
d67c0b5ed7
Andrey A. Chernov (ache)
Upgrade to 2.02
abf9d14318
Andrey A. Chernov (ache)
Upgrade to 2.01.1
186ce4ad83
Andrey A. Chernov (ache)
Install /etc/shells entry and info dir entry PR: 3971
afec97d4f4
Andrey A. Chernov (ache)
Upgrade to 2.01
685f8803f4
Andrey A. Chernov (ache)
Reduce number of patches needed for fnmatch
72d0ab0cd5
Andrey A. Chernov (ache)
Use different way to nuke local fnmatch.h to not touch dependances
092e813500
Andrey A. Chernov (ache)
FIx serious globbing error with \ due to wrong local fnmatch.h included
0149da1f30
David E. O'Brien (obrien)
Added the docs to the package.

Commited with permission of the maintainer.
3a2ee0c0b7
Andrey A. Chernov (ache)
Upgrade to 2.0
48748db13a
David E. O'Brien (obrien)
Don't need WRKSRC. Add manpages to MANx.  But don't compress them.
0ebe3bae3b
David E. O'Brien (obrien)
Style police.
116bb06e77