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

print/hplip 3.26.6

Drivers and utilities for HP printers and All-in-One devices

Port info

Maintainer
tijl@FreeBSD.org
Packages
latest: 3.26.6
Upstream
up to date
Last update
to 3.26.6 · bb2e093ec7
Quarterly
2026Q4: 3.26.6
Formerly
print/hplip3 until 2010-05-17
WWW
https://developers.hp.com/hp-linux-imaging-and-printing
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install hplip
installs 3.26.6 from latest; from quarterly (2026Q4) 3.26.6
Port
# cd /usr/ports/print/hplip && make install clean
# make -C /usr/ports/print/hplip config  # change options first
Size
22 MiB download · 32 MiB installed
Depends on
devel/dbus 1.16.2_4,1, devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, devel/py-dbus 1.4.0_1, devel/py-pygobject 3.58.0, devel/py-qt5-pyqt 5.15.11_2, graphics/jpeg-turbo 3.1.4.1, graphics/py-pillow 12.3.0, graphics/sane-backends 1.4.0_3, lang/python312 3.12.15, net-mgmt/net-snmp 5.9.5.2,1, net/avahi-app 0.8_6, print/cups 2.4.20, print/cups-filters 1.28.17_14, sysutils/py-distro 1.9.0
License
BSD3CLAUSE and GPLv2+ and MIT
Options
4 of 6 on in the package: DOCS NETWORK SCAN X11
Show the 2 options that are off
FAX XSANE

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.26.63.26.6–
FreeBSD 153.26.63.26.6–
FreeBSD 143.26.63.26.63.26.6

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.26.63.26.6–
FreeBSD 143.26.63.26.63.26.6

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

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 (188)

Rene Ladan (rene) · 3.17.11_5
Clean up final leftovers from Qt4.

Submitted by:	rene
Reviewed by:	mat, tcberner
Differential Revision:	https://reviews.freebsd.org/D20725
d2eb50ab00
Kai Knoblich (kai) · 3.17.11_5
print/hplip: Fix runtime with graphics/py-pillow 6.0.0

Fix a possible runtime error in installers/dcheck.py when graphics/py-pillow
is updated to 6.0.0, which removed the previously deprecated constant
Image.VERSION .

PR:		238072, 237426 (related)
Approved by:	woodsb02 (maintainer)
0c4024a80b
Antoine Brodin (antoine) · 3.17.11_4
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
63f5eeef8a
Tobias C. Berner (tcberner) · 3.17.11_3
print/hplip: remove remnants of QT4 option

Approved by:	portmgr (implicit)
fb845aaf8c
Tobias C. Berner (tcberner) · 3.17.11_3
print/hplip: remove QT4 option (Qt4 deprecation)

Approved by:	portmgr (implicit)
a489225ef6
Tijl Coosemans (tijl) · 3.17.11_2
Fix Qt5 symbol version scripts to put the catch-all clause first.  When a symbol matches multiple clauses the last one takes precedence.  If the catch-all is last it captures everything.  In the case of Qt5 libraries this caused all symbols to have a Qt_5 label while some should have Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] https://github.com/qt/qtwebengine/commit/5c2cbfccf9aafb547b0b30914c4056abd25942a4
[2] https://github.com/qt/qtwebengine/commit/2ed5054e3a800fa97c2c9e920ba1e6ea4b6ef2a5
[3] https://github.com/qt/qtwebengine/commit/009f5ebb4bd6e50188671e0815a5dae6afe39db5

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
1bf487d3e7
Rene Ladan (rene) · 3.17.11_1
Mark QT4 ports/functionality for removal on 2019-03-15

While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
99d6d12a38
Tobias C. Berner (tcberner) · 3.17.11_1
pyqt: Change install directories for Python flavor support

* PyQt could not be installed for multiple Python versions at
  the same time, as there were conflicting files.

  This patch creates Python-version versioned directories for
  all these, and further installs binaries with a version number.

* Note, there might be some hickups for software that depends on
  on of the .so's provided by PyQt5, which might not be found
  anymore autmotically, and maybe need some LD-flaggery.

* Update PyQt5 to 5.10.1

* Mark www/py-qt5-webengine broken. It is unforuntately no longer
  compatible with the old qt5-webengine-5.9.4 we ship.

PR:		232745
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8714
cc8a667aa2
Mathieu Arnold (mat) · 3.17.11
Add PY_FLAVOR to Python module dependencies.

Sponsored by:	Absolight
8dcaabcd6e
Ben Woods (woodsb02) · 3.17.11
print/hplip: Fix pkg-plist when X11 disabled but QT4 or QT5 enabled

PR:		222989
Reported by:	freebsd@dreamchaser.org
3f74c0178a
Ben Woods (woodsb02) · 3.17.11
print/hplip and print/hplip-plugin: Update to 3.17.11

Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes
89b406a398
Ben Woods (woodsb02) · 3.17.9
print/hplip and print/hplip-plugin: Fix URL and LICENSE information.

The URL change reflects a recent website change by HP, and was
preventing print/hplip-plugin from fetching correctly.

The LICENSE change reflects the fact that the introductory license
to the python source files mention that a later version of the GPL
can optionally be used.

PR:		224435
PR:		224408
Submitted by:	Mason Loring Bliss <mason@blisses.org>
Reported by:	jhb
Reviewed by:	jhb
MFH:		2017Q4
dc2e9866a1
Ben Woods (woodsb02) · 3.17.9
print/hplip and print/hplip-plugin: Update to 3.17.9

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
01e0be3f0e
Ben Woods (woodsb02) · 3.17.7_1
print/hplip: Fix gui crash due to incorrect reference to /etc/hplip.conf

Reported by:	Keith <fischerking1905@yahoo.co.jp>
MFH:		2017Q3
1d5b475d0f
Ben Woods (woodsb02) · 3.17.7
print/hplip[-plugin]: Update to 3.17.7

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
bef583da78
Ben Woods (woodsb02) · 3.17.4
print/hplip: Update to 3.17.4

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
0f1ce0f48c
Ben Woods (woodsb02) · 3.16.11_3
print/hplip: Add runtime dependency on devel/py-sip

Reported by:	Manish Jain <bourne.identity@hotmail.com>
44d4ec4bb8
Ben Woods (woodsb02) · 3.16.11_2
print/hplip: Tidy up options ordering to be alphabetical
2c1539af0b
Ben Woods (woodsb02) · 3.16.11_2
print/hplip: Improve option logic for X11, QT4, QT5

If X11 option is disabled, the configure args should not enable
QT4 or QT5, and their dependencies should not be added.

PR:		218213
Reported by:	Tom Francis <thomas.francis.jr@pobox.com>
Reviewed by:	Kevin Oberman <rkoberman@gmail.com>
5e0d053d34
Ben Woods (woodsb02) · 3.16.11_2
print/hplip: Add Qt5 support and make Qt5 the default GUI widget set

PR:		217814
Submitted by:	Kevin Oberman <rkoberman@gmail.com>
b7aeb88b93
Ben Woods (woodsb02) · 3.16.11_1
print/hplip: Apply shebangfix to hpps and pstotiff filters

This was causing some print jobs to fail with this error in
/var/log/cups/error_log:
[Job XX] env: python: No such file or directory
[Job XX] PID XXXXX (/usr/local/libexec/cups/filter/hpps) stopped with status 127 (File too large)

Tidy up a few other items in the port Makefile whilst here.

MFH:		2017Q1
141526d5aa
Tobias C. Berner (tcberner) · 3.16.11
Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS

pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.

Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9261
4c7d30bb70
Alexey Dokuchaev (danfe) · 3.16.11
- Spell `LICENSE_FILE' variable correctly - Fix some nearby bogosities (when noticed)
a83aa892bb
Ben Woods (woodsb02) · 3.16.11
print/hplip and print/hplip-plugin: Update to 3.16.11

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html

Approved by:	adamw (mentor, implicit)
121306ee2b
Ben Woods (woodsb02) · 3.16.10
print/hplip and print/hplip-plugin: Update to 3.16.10

- FAX option now depends on py-reportlab v3 rather than v2 (deprecated)
- Clean up RUN_DEPENDS syntax and OPTIONS whitespace
- Remove line which set unused variable PYTHON_SITELIBDIR_REL

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html

Approved by:	adamw (mentor, implicit)
9f467b36d1
Ben Woods (woodsb02) · 3.16.9_2
print/hplip: Revert r424931 - do not install static CUPS ppd drivers

This was specifically disabled in r410825.

The PPD files are generated automatically when you setup a printer and
the bundled PPDs are generated for an older version of CUPS.

Reported by:	tijl
Approved by:	adamw (mentor, implicit)
8227569076
Ben Woods (woodsb02) · 3.16.9_1
print/hplip: Bump PORTREVISION after r424931

Approved by:	adamw (mentor, implicit)
MFH:		2016Q4
159562ffc0
Ben Woods (woodsb02) · 3.16.9
print/hplip: Enable install of static CUPS ppd drivers

This is as per the upstream recommendations here:
  http://hplipopensource.com/hplip-web/install/manual/distros/freebsd.html

Reported by:	Michael Wagner <mikepwagner@mikepwagner.net>
Approved by:	adamw (mentor, implicit)
MFH:		2016Q4
55d10894dd
Ben Woods (woodsb02) · 3.16.9
print/hplip and print/hplip-plugin: Take maintainership

Approved by:	adamw (mentor, implicit)
2ea128e160
Raphael Kubo da Costa (rakuco) · 3.16.9
Reassign makc's ports back to the pool.

See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).

I also emailed him 2 weeks ago and have received no response so far.
366a97ec37
Tijl Coosemans (tijl) · 3.16.9
Fix build with CUPS 2.2.x.
fb92e8597c
Ben Woods (woodsb02) · 3.16.9
print/hplip and print/hplip-plugin: Update to 3.16.9

Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html

Approved by:	makc (maintainer timeout), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8031
a8ac872b69
Ben Woods (woodsb02) · 3.16.8
print/hplip and print/hplip-plugin: Update to 3.16.8

print/hplip:

- Add LICENSE details
- Changes USE_OPENSSL=yes to USES=ssl
- Create empty directories for pkg-plist @dir entries
- Reformat patches with makepatch (pet portlint)
- Move ${PREFIX}/etc/sane.d/dll.conf to ${PREFIX}/etc/sane.d/dll.d/hpaio
  during post-install, rather than editing ${PREFIX}/etc/sane.d/dll.conf
  during @exec and @unexec during pkg-plist

print/hplip-plugin:

- Re-order LICENSE block (pet portlint)

Changes this release:

http://hplipopensource.com/hplip-web/release_notes.html

Reviewed by:	mat (mentor)
Approved by:	makc (maintainer timeout), adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D7812
8d850ed6c5
Mathieu Arnold (mat) · 3.16.2_2
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
8d6597e0bb
Tijl Coosemans (tijl) · 3.16.2_2
Remove pkg-message.  It's no longer needed and causing confusion.

PR:		207920
4ccfcd4411
Tijl Coosemans (tijl) · 3.16.2_1
Fix pkg-plist when FAX option is on.
abe394d3ce
Tijl Coosemans (tijl) · 3.16.2_1
Add a patch to print/cups and print/hplip to disable detaching of ulpt(4). This isn't needed on FreeBSD and it always fails because the process doesn't have the required privileges.

Add a sample devd configuration file to print/cups that gives users in group
cups access to USB printers. [1]

Submitted by:	hselasky, Alexander Zagrebin <alex@zagrebin.ru> [1]
420c6d6b94
Grzegorz Blach (gblach) · 3.16.2
Fix plist when SNMP is off

PR:		207921
Reviewed by:	tijl
Approved by:	Portmgr blanket approval
4cf4b55217
Tijl Coosemans (tijl) · 3.16.2
Combine print/cups-base, print/cups-client and print/cups-image into print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster, improve print/cups-filters, print/foomatic-* and update print/hplip to 3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
59272d1017
Max Brazhnikov (makc) · 3.14.10_1
Convert my ports to new options helpers
c7c32639cc
Hiroki Sato (hrs) · 3.14.10_1
- Split ghostscript into X11-independent and -dependent parts:

* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
27470e1676
Koop Mast (kwm) · 3.14.10
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.

Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
68f883edfc
Antoine Brodin (antoine) · 3.14.10
Convert to USES=jpeg
6e5719ca80
Max Brazhnikov (makc) · 3.14.10
print/hplip: - Update to 3.14.10 [1] - Fix detection of libusb v1.0 and build with it now - Enable JetDirect and scanning support by default (requested by pkg users) - hplip modifies etc/sane.d/dll.conf witch belongs to sane-backends port,   and writes to this file in staging area. Add commented entry for it in plist   to pacify staging checks.

print/hplip-plugin:
- Update to 3.14.10
- Add missing entry to plist
- Pass MAKE_ENV for installer to prevent writing to ${HOME}

PR		197245 [1]
Submitted by:	chris@bsdjunk.com
e3804536c7
Antoine Brodin (antoine) · 3.14.4_4
Cleanup plist
115aba45f3
William Grzybowski (wg) · 3.14.4_4
print/hplip: switch from py-imaging to py-pillow

- USES python

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
665bdeccca
Gerald Pfeifer (gerald) · 3.14.4_3
Update the default version of GCC in the Ports Collection from GCC 4.7.4 to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
15945f8122
Tijl Coosemans (tijl) · 3.14.4_2
- Convert to USES=libtool and INSTALL_TARGET=install-strip - Remove references to PTHREAD_LIBS
ab02e2b2c5
Boris Samorodov (bsam) · 3.14.4_1
Use foomatic-rip (from print/foomatic-filters) as foomatic-rip-hplip.

Discussed at:	freebsd-ports@
Tested by:	O. Hartmann <ohartman@zedat.fu-berlin.de>
Approved by:	makc (maintainer)
MFH:		2014Q2
43bfd9dd57
Max Brazhnikov (makc) · 3.14.4
print/hplip: - Update to 3.14.4 - Install statically generated cups ppd files - Add patch to fix ioctl warning

print/hplip-plugin:
- Update to 3.14.4
- Add stage support via fake hplip installation
b584a9b615