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: DOCSEXAMPLESShow the 5 options that are off
DEBUGETCDIRGDBMPCRESTATIC
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 version
amd64
aarch64
i386
FreeBSD 16
5.9.2
5.9.2
–
FreeBSD 15
5.9.2
5.9.2
–
FreeBSD 14
5.9.2
5.9.2
5.9.2
quarterly (2026Q4)
FreeBSD version
amd64
aarch64
i386
FreeBSD 15
5.9.2
5.9.2
–
FreeBSD 14
5.9.2
5.9.2
5.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.
maintainer-feedback? shells/zsh fails to reset tty state on TMOUT
New
2023-02-02
Commits (277)
Dag-Erling Smørgrav (des) · 4.3.6_3
The ncurses fix from early May was only partly correct. The configure script arrived at the correct value for ZSH_NO_XOPEN, but since autoheader did not run, it did not propagate to config.h. Add autoheader to the USE_AUTOTOOLS list to correct this.
Since zsh calls autoheader as part of the build phase:
===> Building for zsh-4.3.4_2
cd . && autoheader
Include the autoconf-2.61 environment to actually allow this thing
to build.
- Add Peter Stephenson's patch from Zsh CVS repo that adds (un)setenv() detection. This fixes the issue on 7-CURRENT where Zsh was manipulating environment directly in conflict with the new *env() functions: http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075538.html 6-STABLE continues to works correctly.
More info about the patch:
http://www.zsh.org/mla/workers/2007/msg00619.html
- Fix completions for locate(1), mount(8), umount(8) to avoid some linuxisms
and do the right thing under FreeBSD
PR: ports/115094, ports/115702
Submitted by: Sean C. Farley (scf)
- Update to 4.3.4 - Pet a bit portlint - OPTION'ify - Add PCRE support OPTION off by default - Add more MASTER_SITES - Remove ?= from MAINTAINER and COMMENT since there are no more slave ports - Remove CONFLICTS since conflicting ports doesn't exist anymore - Fix iconv detection and add USE_ICONV=yes - Use PORTDOCS and PORTEXAMPLES and cleanup pkg-plist - Respect NOPORTEXAMPLES - Add csup, portsna
Reviewed by: sergei@
Approved by: sergei@ (maintainer)
- Remove dead and duplicite download locations, move a fast one to the top
PR: ports/104948
Submitted by: Geoff C. Wing <gcw@zsh.org>
Approved by: maintainer timeout (sergei; 3 weeks)
- Add a patch from Zsh CVS to fix a bug with acroread(1) completion: http://zsh.cvs.sourceforge.net/zsh/zsh/Completion/X/Command/_acroread?r1=1.5&r2=1.6
PR: ports/100614
Submitted by: Simon Olofsson <simon at olofsson dot de>
- Fix build under 4.x: FreeBSD 4.x doesn't have wide character support, so avoid adding --enable-multibyte to CONFIGURE_ARGS on FreeBSD 4.x
PR: ports/96645 [1]
Submitted by: Tod McQuillin <devin@spamcop.net> [1],
Hajimu UMEMOTO <ume@FreeBSD.org> (in private e-mail)
- Update to 4.3.2 [1], [3] - Enable multibyte character support in Zsh by default [3], [4] - Added new knob (WITHOUT_ZSH_MULTIBYTE) to disable multibyte support - Fix zsh.info installation that was previously attempted before "su" (and thus could fail when running "make install" under a regular user) [2] - apply a different fix, though - move zsh.info generation from pre-install to post-buil
PR: ports/95970 [1], ports/94205 [2]
Submitted by: Martin Wilke <freebsd@unixfreunde.de> [1],
Michael Kuhn <mkuhn.nw@web.de> [2]
umei [3] (in private e-mail),
"J.R. Oldroyd" <jr@opal.com> [4] (in private e-mail)
- Stop adding rzsh (restricted zsh) to /etc/shells [1]: rzsh(1) is the restricted version of zsh(1), with various things disabled so as to provide a strictly limited access to the system. A user with a shell in /etc/shells can use chsh(1) to change their shell, can use FTP, can use other file-transfer services, etc. Thus, adding rzsh to /etc/shells could be a security risk in certain con
PR: ports/82066 [2], ports/83023 [3]
Submitted by: Phil Pennock <pdp@nl.demon.net> [1]
Ulrich Spoerlein <q@galgenberg.net> [2] [3]
- Fix package build on pointyhat and other environments where there is no controlling tty by adding --with-tcsetpgrp argument to CONFIGURE_ARGS
Pointed by: pointyhat (via kris, krion)
Submitted by: eik (based on)
Approved by: portmgr (eik)
- Move a faster site (archive.progeny.com) to the beginning of MASTER_SITES list because the primary distribution site zsh.org is "always damn slow"
Prompted by: krion
- Update to 4.2.1 [1] - Install rzsh - restricted-mode zsh [2] - Fix static version (NOSHARED=yes) build [3] - Utilize INFO macro again
Submitted by: osa [1], ceri [2],
Dan Nelson <dnelson@allantgroup.com> [3]
- Update to 4.2.0 [1] - Fix a bug introduced in the previous commit when trying to utilize INFO macro: zsh.info was not added to generated pkg-plist because it is installed via post-install target, while pkg-plist is updated in add-plist-info target which gets run earlier. Revert to previous behavior of explicitly listing this single zsh.info file in pkg-plist for now. Thanks to Dimitry
PR: ports/64499 [1], ports/64540
Submitted by: KIMURA Yasuhiro <yasu@utahime.org> [1],
Dimitry Andric <dimitry@andric.com> [2]
[patch][non-maintainer] remove dead master site from shells/zsh
Per Fenner's logs, ftp://uiarchive.uiuc.edu disappeared around
July 22nd of this year. It should be removed from this port.
PR: ports/57563
Submitted by: Mark Linimon <linimon@lonesome.com>
Update to 4.0.7 and turn over this port to the submitter. This update includes a large number of new options as well.
PR: 53512
Submitted by: Sergei Kolobov <sergei@kolobov.com>