BSD Ports

textproc/groff 1.22.4p5 OpenBSD

GNU troff typesetter

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Ingo Schwarze <[email protected]>
Last update
Commit
757192c038
Categories
textproc

Description

GNU troff (Groff) is the GNU reimplementation of the traditional general-purpose UNIX typesetting system, roff.

The groff distribution includes: * various macro packages including man, mdoc, ms, me, mm, and mom; * postprocessors for various output devices, including character terminals, X terminals, PostScript, HTML and XHTML, and TeX DVI; * and many utility programs.

In the other systems

SystemPortVersion
OpenBSDtextproc/groff1.22.4p5
FreeBSDtextproc/groff1.24.2
NetBSDtextproc/groff1.24.1nb4
DragonFlytextproc/groff1.23.0_4
MidnightBSDtextproc/groff1.24.2

Install

Binary package:

pkg_add groff

From the ports tree:

cd /usr/ports/textproc/groff && make install

Dependencies

Commit history 1

DateCommitCreditsLog message
757192c038 schwarze Backport three security fixes from the groff-1.24.2 release. OK naddy@ on a previous, minimally different version of this patch.
From the groff-1.24.2 release announcement (September 28, 2026): "This release corrects command injection security vulnerabilities (CWE-78) in the mmroff, pdfmom, and pre-grohtml programs. The last of these is a preprocessor that is run when groff or troff is run with the -T html or -T xhtml options. The vulnerabilities are variously 14-26 years old. Malicious input can escape groff's default "safer" mode, running commands embedded in that input at the user's privilege level. The groff development team recommends this release to any users who employ the named tools or GNU troff output formats with untrusted inputs. Man page rendering is not vulnerable unless rendering (X)HTML."