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)
Baptiste Daroussin (bapt) · 5.0.0
- update to 5.0.0 no much changes for us (we where following the 4.3.x dev branch for a while) except we are back on an official stable branch
Note that this version offers completion for dtrace, beadm (not tested with
FreeBSD versions) and improved completion for zfs.
- Fix build for badly upgraded systems which have both utmp.h and utmpx.h
PR: ports/156263
Submitted by: Matthew Cashdollar <matthew@cashdollar.org>
Feature safe: yes
- split the zsh_mem option into zsh_mem and zsh_secure_free activate secure_free my default disable mem by default[1] - correct memory report for time builtin [2] - bump portrevision
PR: ports/143981 [1], ports/152820 [2]
Submitted by: Richard Kolkovich <sarumont@sigil.org> [1], Anonymous <swell.k@gmail.com> and Tsu <inyaoo@gmail.com> [2]
Hurried by: miwi :)
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- update to 4.3.12
Changes since 4.3.11
--------------------
The zsh/parameter module has a new readonly associative array
$usergroups whose keys are the names of system groups of which the
current user is a member and whose values are the corresponding
group identifiers.
The region_highlight array, which controls highlighting of the
command line from zle widgets, is now updated dynamically as
the command line is edited.
In POSIX emulation ("emulate sh") the shell is more accurate about
when it should or should not exit on errors.
The ${NAME:OFFSET:LENGTH} syntax now supports negative LENGTH, which
counts back from the end of the string.
The (g:opts:) flag in parameter expansion processes escape sequences like
the echo and print builtins. opts can be any combination of o, e and c.
With e, acts like print rather than echo except for octal escapes which
are controlled separately by the o option. With c, interpret control
sequences like "^X" as bindkey does. Regardless of the opts, \c is not
interpreted.
Add a new macro to deal with conflict between ncurses from base and ncurses from ports. If a ports is linked against ncurses from base or from the ports, it should then add: USE_NCURSES=yes
it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
PR: ports/155269
Submitted by: me
Reviwed by: pav@
Approved by: portmgr (pav@)
Exp-run by: portmgr (pav@)
Add rzsh to /etc/shells (this was handled correctly by pkg-plist when installing from packages, just not when installing from ports)
Noticed by: ru@
Feature safe: yes
* Fetch documentation from the zsh-doc-dev sourceforge project.
* Make portlint happy by using ${ECHO}, and TABs in assignments.
PORTREVISION bump not required.
PR: ports/141728
Submitted by: olgeni
Approved by: des (by mail)
Add some upstream completion patches + new completion files for procstat, sockstat and fstat.
Submitted by: Baptiste Daroussin <baptiste.daroussin@gmail.com>
When I upgraded to 4.3.9, which included Baptiste's completion definitions for zfs(8) and zpool(8) which we had previously had as local patches, I blindly assumed that the upstream versions were correct. They weren't.
Kill the ZSH_ETCDIR, ZSH_FNDIR and ZSH_SITEFNDIR options. They're nice in theory, but in practice, things will break if you set them to non-default values. This allows us to unobfuscate the plist and fix a broken @dirrmtry.
Convert the NO_SHARED option to a proper port option (ZSH_STATIC).
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
- Remove CONFIGURE_TARGET hack in various bsd.*.mk
- USE_GNOME=gnometarget is now an no-op
Changes to individual ports, other than removing the CONFIGURE_TARGET hack:
= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
- comms/gnuradio
- science/abinit
- science/elmer-fem
- science/elmer-matc
- science/elmer-meshgen2d
- science/elmerfront
- science/elmerpost
= use x86_64 as ARCH
- devel/g-wrap
= other changes
- print/magicfilter
GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf
Total # of ports modified: 1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)
PR: 126524 (obsoletes 52917)
Submitted by: rafan
Tested on: two pointyhat 7-amd64 exp runs (by pav)
Approved by: portmgr (pav)
Break out BSD completion patches into separate files.
Update csup, portsnap and portlint completion. Add completion for powerd,
freebsd-update, fetch and portaudit (from submitter) as well as zfs and
zpool (from zsh repo).
Bump PORTREVISION.
PR: ports/126457
Submitted by: baptiste.daroussin@gmail.com