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

print/a2ps 4.15.8_1

Formats an ASCII file for printing on a postscript printer

Port info

Maintainer
dinoex@FreeBSD.org
Packages
latest: 4.15.8_1
Upstream
up to date
Last update
to 4.15.8_1 · bc45b7ec88
Quarterly
2026Q4: 4.15.8_1
Formerly
print/a2ps-a4 until 2013-04-27, print/a2ps-letter until 2013-04-27, print/a2ps-letterdj until 2013-04-27
WWW
https://www.gnu.org/software/a2ps/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install a2ps
installs 4.15.8_1 from latest; from quarterly (2026Q4) 4.15.8_1
Port
# cd /usr/ports/print/a2ps && make install clean
# make -C /usr/ports/print/a2ps config  # change options first
Size
666 KiB download · 4.0 MiB installed
Depends on
devel/boehm-gc 8.2.10, devel/gettext-runtime 1.0_1, lang/perl5.42 5.42.3, print/indexinfo 0.3.1_1, print/libpaper 1.1.28_1
License
GPLv3
Options
1 of 3 on in the package: NLS
Show the 2 options that are off
EMACS I18N

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 164.15.8_14.15.8_1–
FreeBSD 154.15.8_14.15.8_1–
FreeBSD 144.15.8_14.15.8_14.15.8_1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 154.15.8_14.15.8_1–
FreeBSD 144.15.8_14.15.8_14.15.8_1

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 4.15.8_1.

Fixed (1)

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

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

None.

Commits (171)

Kris Kennaway (kris) · 4.13_1 · as print/a2ps-letter
Remove chuckr as maintainer of his ports.  He has not committed since 09/2000 and has been unresponsive to mail about his ports for at least 2 years.

Approved by:	portmgr
3988dfe54d
Dirk Meyer (dinoex) · 4.13_1 · as print/a2ps-letter
- Fix BROKEN install of emacs files - Fix PLIST - no response from MAINTAINER since 2003-04-04
e7f6e61c38
Ade Lovett (ade) · 4.13_1 · as print/a2ps-letter
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
7e52725f2a
Pete Fritchman (petef) · 4.13_1 · as print/a2ps-letter
Bump PORTREVISION due to recent patches

Submitted by:	mi
357bae031d
Pete Fritchman (petef) · 4.13 · as print/a2ps-letter
Add a patch so a2ps doesn't bomb out if the machine it is called from has a long hostname

PR:		26909
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
fcb81602de
Pete Fritchman (petef) · 4.13 · as print/a2ps-letter
Fix path to ogonkify fonts

PR:		15922
Submitted by:	Marcin Cieslak <saper@SYSTEM.PL>
Approved by:	maintainer timeout
8785b671f5
David E. O'Brien (obrien) · 4.13 · as print/a2ps-letter
This patch was misnamed.  It has reappeard as patch-printers.c
589fb25c3b
David E. O'Brien (obrien) · 4.13 · as print/a2ps-letter
Don't send the generated output to the printer by default.

Sending the file by default to the printer is (IMHO):

. counter-intuitive; the name a2ps suggests that the tool converts
  ASCII (plus other files) to Postscript, but it by no means gives a
  hint that it would print something without asking,

. violating the Unix way; we've got pipes, and people are used to use
  them when they want to print something (IMHO there isn't even a good
  reason for adding all the -P bloat to a2ps at all, but of course, i
  don't suggest changing _that_),

. contradictionary to all the documentation about a2ps since the docs
  tell you that it would only start printing if a -P or -c option is
  being provided,

. a waste of paper for the brave user who starts the program in the
  innocent assumption to get just a Postscript file out of it.

Not objected by:	ports@freebsd.org, maintainer
Submitted by:		joerg
3949584ae9
Joerg Wunsch (joerg) · 4.13 · as print/a2ps-letter
Don't send the generated output to the printer by default.

Sending the file by default to the printer is (IMHO):

. counter-intuitive; the name a2ps suggests that the tool converts
  ASCII (plus other files) to Postscript, but it by no means gives a
  hint that it would print something without asking,

. violating the Unix way; we've got pipes, and people are used to use
  them when they want to print something (IMHO there isn't even a good
  reason for adding all the -P bloat to a2ps at all, but of course, i
  don't suggest changing _that_),

. contradictionary to all the documentation about a2ps since the docs
  tell you that it would only start printing if a -P or -c option is
  being provided,

. a waste of paper for the brave user who starts the program in the
  innocent assumption to get just a Postscript file out of it.

Not objected by:	ports@freebsd.org, maintainer
efe60a7364
David E. O'Brien (obrien) · 4.13 · as print/a2ps-letter
Updated the "sheets.map" file for 4.13.

PR:		22313
Submitted by:	Jose M. Alcaide <jose@we.lc.ehu.es>
c59137ed1a
Satoshi Asami (asami) · 4.13 · as print/a2ps-letter
Add missing manpage texi2dvi4a2ps.1 (how do you pronounce that?!?).

Submitted by:	bento
ccc7470720
Satoshi Asami (asami) · 4.13 · as print/a2ps-letter
Comment out a2ps.el for now, this won't package since emacs is not a dependency (which is a good thing!).  Remove removal of site-lisp directories, they are created by mtree anyway.

Submitted by:	bento
2953f5b689
David E. O'Brien (obrien) · 4.13 · as print/a2ps-letter
Since the maintainer could not be bothered in the past _3_ months to move ``sheet.map'' to freefall:~/public_distfiles, I'll host the file.
20a4775db0
Dirk Froemberg (dirk) · 4.12 · as print/a2ps-letter
Prevent a2ps from going crazy: Don't let it install files in /.

No response from:	maintainer
da3cbea0bf
David E. O'Brien (obrien) · 4.12 · as print/a2ps-letter
Move the stragler's www.freebsd.org/~user distfiles to the offical MASTER_SITE_LOCAL site.
1228d352ee
Chuck Robey (chuckr) · 4.12 · as print/a2ps-letter
From received mail: Hi, by accident I found that a2ps dumps core if invoked with options for the old a2ps version.

a2ps -f -F7.0

reproduces the problem. With the following patch the problem
seems to be cured.

The patches work.

Submitted by:	Oliver Adler <oli@devsoft.devsoft.com>
7d3b447cba
Satoshi Asami (asami) · 4.12 · as print/a2ps-letter
Rename INSTALLS_SHLIBS to INSTALLS_SHLIB.  (There was a typo in the previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
ffb21b5654
Maxim Sobolev (sobomax) · 4.12 · as print/a2ps-letter
Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I just cun'n'pasted the name from Satoshi's commit message without checking it.

Hall of shame entry:	sobomax
61ebd322a2
Satoshi Asami (asami) · 4.12 · as print/a2ps-letter
@exec/unexec install-info regex.info too.  Remove one extra directory.

Found by:	bento
6cea1cbbe9
Satoshi Asami (asami) · 4.12 · as print/a2ps-letter
Move papersize to PKGNAMESUFFIX -- otherwise it will affect DISTNAME and thus WRKSRC.
be609897b4
Chris Piazza (cpiazza) · 4.12 · as print/a2ps-a4
Update with the new PORTNAME/PORTVERSION variables
d38f7d91c8
Peter Wemm (peter) · as print/a2ps-letter
Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered.

Reviewed by:	asami
02c5b6c7c6
Tim Vanderhoek (hoek) · as print/a2ps-letter
Commit #3/4 to enforce caps, no period.

FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
dd9ff05a6a
Chuck Robey (chuckr) · as print/a2ps-letter
Fix better ftp site.

Obtained from:	Satoshi's bento scripts (thank you!)
75b3212416
David E. O'Brien (obrien) · as print/a2ps-letter
Commit a patch for this I've been sitting on for a while. Changes `PS' to `PAPERSIZECNF' as I think it is more documenting.  `PS' will be taken to be PostScript by many (esp. in the context of printing) This method removes the use of external programs to set `PAPERSIZECNF'.
6bc7608e59
Satoshi Asami (asami) · as print/a2ps-letterdj
Dang.  I knew I forgot something.  This goes with the previous mass commit (see graphics/Makefile rev. 1.100 for log message).
83a5febf20
Satoshi Asami (asami) · as print/a2ps-a4
Remove LOOP_VAR and replace it with tiny Makefiles using MASTERDIR to share most files.  Repository copy the default to explicitly named directories to avoid any confusion.  Greatly simplify the shared Makefiles, since we are now in different subdirectories, we don't need "a4-install" stuff.

While I'm here, consistently name the variables.  Here are the
guidelines (master port is in brackets)

DOCFORMAT:	[html] pdf ps
KONFONT:	14dot [16dot]
PAPERSIZE:	a4 [letter] letterdj
RESOLUTION:	118 240 [300] 360 400 600

"math/r" has been copied to "R-a4" and "R-letter", to follow the
spirit of the original port.  "japanese/kon" is renamed to "kon2-*",
since that seems to be the basename.
751790b51a
Satoshi Asami (asami) · as print/a2ps-letter
Make thise ports use LOOP_VAR and LOOP_OPTIONS for PAPERSIZE.  While I'm here, make a2ps43's Makefile detect the missing PAPERSIZE correctly, and add -${PAPERSIZE} in lprps's PKGNAME.
02d389691c
Chuck Robey (chuckr) · as print/a2ps-letter
Update to version 4.10.3, because old distfiles is defunct, and there are a few added features and newly supported languages for the pretty printing feature.  Also 'cause John Polstra reminded me.
963c8add3b