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

shells/zsh 5.9.2

The Z shell

Port info

Maintainer
bapt@FreeBSD.org
Packages
latest: 5.9.2
Upstream
up to date
Last update
to 5.9.2 · 587b444789
Quarterly
2026Q4: 5.9.2
Formerly
shells/zsh+euc_hack until 2006-09-01
WWW
https://www.zsh.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install zsh
installs 5.9.2 from latest; from quarterly (2026Q4) 5.9.2
Port
# cd /usr/ports/shells/zsh && make install clean
# make -C /usr/ports/shells/zsh config  # change options first
Size
5.0 MiB download · 20 MiB installed
Depends on
nothing
License
ZSH
Options
2 of 7 on in the package: DOCS EXAMPLES
Show the 5 options that are off
DEBUG ETCDIR GDBM PCRE STATIC
pkg-message
Shown after installing
==========================================================

By default, zsh looks for system-wide defaults in
/usr/local/etc.

If you previously set up /etc/zprofile, /etc/zshenv, etc.,
either move them to /usr/local/etc or rebuild zsh with the
ETCDIR option enabled.

==========================================================

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 165.9.25.9.2–
FreeBSD 155.9.25.9.2–
FreeBSD 145.9.25.9.25.9.2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 155.9.25.9.2–
FreeBSD 145.9.25.9.25.9.2

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.9.2.

Fixed (1)

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

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

PRSummaryStatusChanged
287149maintainer-feedback? shells/zsh: does not clean temporary files anymoreNew2025-05-29
278380maintainer-feedback? shells/zsh: Consider making PCRE=on the defaultNew2024-10-10
278817maintainer-feedback? shells/zsh: HTML documentation is mostly missingNew2024-05-06
269292maintainer-feedback? shells/zsh fails to reset tty state on TMOUTNew2023-02-02

Commits (277)

Peter Wemm (peter) · 4.0.6
Make zsh not segfault on ia64 due to a generic misconfiguration that just happens to be fatal there, and a coding botch.  The first problem is that it assumes a termcap interface (which is an emulation on freebsd), and provides its own terminfo wrappers around termcap..  so that's two avoidable translation layers... termcap file -> terminfo (libncurses) -> termcap API emulation (libncurses) -> ter

It is likely all the zsh* ports need these fixes.  A test compile on
pluto1.freebsd.org will highlight the problem.

I do not know why the packaging fails for ia64.  termcap.so and
terminfo.so are not being built for some reason, this change doesn't
solve that problem.
ec2320a569
Will Andrews (will) · 4.0.6
PERL -> USE_REINPLACE

Submitted by:	David Yeske <dyeske@yahoo.com>
fe2235cdce
Akinori MUSHA (knu) · 4.0.6
MASTER_SITE_SOURCEFORGE is not worth listing in MASTER_SITES because it is slow and does not mirror bz2 distfiles at all.  Remove it and add four other working mirror sites instead.

PR:		ports/41960 (different solution)
Submitted by:	keramida
e675f0bc21
Akinori MUSHA (knu) · 4.0.6
Really commit the pkg-plist change.
efbdb92482
Akinori MUSHA (knu) · 4.0.6
Update to 4.0.6.

PR:		ports/41662
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
e4594fd355
Akinori MUSHA (knu) · 4.0.5
- Update to 4.0.5. - Use the .tar.bz2 distribution files.

PR:		ports/41483
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
Approved by:	will (MAINTAINER)
b5f4a336a7
Akinori MUSHA (knu) · as shells/zsh+euc_hack
Add zsh+euc, Zsh with EUC encoding support.

This is just an experimental hack and cannot happily be merged into
the upstream.  Zsh's line editor apparently needs a rewrite in order
to support multi-byte encodings because it strongly relies on the
single-byte character scheme.

These patches are mostly based on the work by ono@ono.org (Thanks!):

	http://www.ono.org/software/zsh-euc/

What I did over this is disable the hack for non-EUC locales.  Maybe
the patches can be moved to shells/zsh in the future, but it's
premature for the moment.

Notes:
- forward-char, backward-char and backward-delete-char with no numeric
  argument should work properly with this hack.
- Completion and redisplay should work fine.
- There can be some trivial side-effects.
- JIS X0201-Roman and JIS X0208-Kanji are supported.
- JIS X0201-Katakana and JIS X0212 Kanji are NOT supported.
- Only tested with the EUC-JP (ja_JP.eucJP) locale.  I'm not sure if
  it works for GB 2312/CNS 11643-1/KS X 1001.  Any feedbacks is
  welcome, especially a patch if it does not work. :)
f1f99beceb
Akinori MUSHA (knu) · 4.0.4
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
Will Andrews (will) · 4.0.4
Update to 4.0.4.

PR:		31872
Submitted by:	Anders Andersson <anders@codefactory.se>
d2c7ce6629
Will Andrews (will) · 4.0.2
Update to 4.0.2. 	- Remove patches (merged into distribution). 	- Add zsh-doc distribution. 	- Remove USE_AUTOCONF. 	- Remove extraneous shells.bak after /etc/shells update. 	- Adjust to slide .info under NOPORTDOCS and such. 	- Spelling fix in descr.

Thanks to Pete for his work.

PR:		28657
Submitted by:	Pete Fritchman <petef@databits.net>
3a8f58edc3
Will Andrews (will) · 4.0.1
Enable maildir support.

Requested by:	David Thiel <lx@redundancy.redundancy.org>
44b2d737c9
Will Andrews (will) · 4.0.1
Upgrade Zsh to 4.0.1:

C1) Turn shells/zsh-devel into a stub which prints a message that
	    points people at the new shells/zsh, upgraded to 4.0.1.
	M1) Add patch to fix some functions included in 4.0.1.
	M2) Remove obsolete patches.
	M3) Remove MASTER_SITE_LOCAL since we can't use knu's version now.
	W1) Remove MASTER_SITE_LOCAL fully.
	W2) Put patch-aa in patch-ab for backwards-compatible diffing.
	W3) Do C1 with the least diff, using pre-everything:: and then
	    ${FALSE}'ing out after printing the message.

Submitted by:	MANTANI Nobutaka <nobutaka@nobutaka.com>,
		Christian Weisgerber <naddy@mips.inka.de>
Noted by:	Cyrille Lefevre <clefevre@redirect.to>,
		Øyvind Kolbu <oyvind@kebab.gaffel.nu>
Approved by:	shige (C1)
c4314f0ecb
Will Andrews (will) · 3.0.8
Remove nonexistent master site.

Submitted by:	ben
18c5813da4
Will Andrews (will) · 3.0.8
Update MD5.  Since ftp.freebsd.org never got a copy (and I don't have one) of the original, I could not check the diff.

Submitted by:	ade
357e848c7f
Will Andrews (will) · 3.0.8
Update to 3.0.8.  Remove useless echo in Makefile.
0778a5cda7
Maxim Sobolev (sobomax) · 3.0.7
Add MASTER_SITE_SOURCEFORGE.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
7c22eb053a
Will Andrews (will) · 3.0.7
Take over MAINTAINER since the current one is inactive.  Also allow people to build a static binary without having to touch the Makefile.

Approved by:	asami
c7096e4c53
Michael Haro (mharo) · 3.0.7
Correct whitespace introduced during PORTNAME conversion and portlint
4cf4ab0a2f
Chris Piazza (cpiazza) · 3.0.7
Update with the new PORTNAME/PORTVERSION variables
3df86a88a9
Satoshi Asami (asami)
As per prior decision, move NO_LATEST_LINK from zsh to zsh-devel.  As it is obvious from their names, NO_LATEST_LINK should have been in zsh-devel/Makefile when it was committed.

We will revisit this issue after the release.
62eda254b9
Torsten Blum (torstenb)
Fix a problem with zsh.texi introduced when we upgraded our base-system texinfo to 4.0. Things could be easier if people would use manpages instead of texinfo & Co.
3e8c8b4996
Bill Fumerola (billf)
Add NO_LATEST_LINK, zsh-devel is the prefered port for now.
6b481caceb
Michael Haro (mharo)
add WWW:

PR:		16261, 16262, 16263
Submitted by:	joseph.scott@owp.csus.edu
27dc806060
Ade Lovett (ade)
Remove info/dir from PLIST

PR:		15945
Submitted by:	Alexander Langer <alex@big.endian.de>
87233b0f99
Bill Fumerola (billf)
Merge from zsh-devel: build zshall(1) correctly.
4d2abe5e75
Bill Fumerola (billf)
Intelligent packaging. Portlint.

Inspired by:
PR:		ports/15306
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
62b5e5bf4e
Joseph Koshy (jkoshy)
Upgrade to v3.0.7.
e41f4b8142
Satoshi Asami (asami)
Fix packaging.  Move all version info out of PLIST using PLIST_SUB.
c777255c41
Torsten Blum (torstenb)
building a static binary has been broken. fix that
804b487d8e
Torsten Blum (torstenb)
Upgrade to zsh 3.0.6.
7ab1607ae2
Michael Haro (mharo)
FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
65ab34a667
Peter Wemm (peter)
$Id$ -> $FreeBSD$
a53421230c
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
SADA Kenji (sada)
One of MASTER_SITES is disappeared, one is changed.
bc11037df4
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
Masafumi Max NAKANE (max)
Update /etc/shells upon make install.
7d889fa355
David E. O'Brien (obrien)
Removed manpages from pkg/PLIST
d265ace04d
Torsten Blum (torstenb)
Upgrade to 3.0.5
bed1863567
Masafumi Max NAKANE (max)
@exec/@unexec directives that use %[FD] should never be put at the very beginning of the file.  This has been causing pkg_add to fail.
3f73d91a41
Torsten Blum (torstenb)
Update from 3.0.2 to 3.0.4
6740f47b6f
Masafumi Max NAKANE (max)
Use install-info to edit the dir file.
e61e2fecb8
Masafumi Max NAKANE (max)
Patch for zsh.texi to to add @direntry and @dircategory.
a89d03ad2a
Masafumi Max NAKANE (max)
Patch for Doc/Makefile.in to: - Add --no-split to the makeinfo command line. - Remove info files before makeinfo.
619aa31ea8
Torsten Blum (torstenb)
update checksum - the distfile has changed
75e87cb8da
Satoshi Asami (asami)
Sort this file once and for all, so nobody has to scramble it again. :)
f8a1076b18
Torsten Blum (torstenb)
Upgrade to 3.0.2
483cf6a144
Satoshi Asami (asami)
Uh, the binary is now called "zsh-3.0.1", not "zsh-3.0.0".
32af6372fd
Satoshi Asami (asami)
Use MAN? macros.  CATEGORIES+= -> CATEGORIES.
300c45cf2e
Satoshi Asami (asami)
When we upgrade, we generally change this file too. :>
41613e1a0b