BSD Ports

Vulnerable: version 12.4.1 is affected by 1 known vulnerability. See below.

print/qpdf 12.4.1 NetBSD

Structural, content-preserving transformations on PDF files

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cfd8c41f99
License
apache-2.0
Categories
print
Package size
1705.7 KiB, 13169.6 KiB installed

Description

QPDF is a command-line program that does structural, content-preserving transformations on PDF files. It could have been called something like pdf-to-pdf. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work.

QPDF is capable of creating linearized (also known as web-optimized) files and encrypted files. It is also capable of converting PDF files with object streams (also known as compressed objects) to files with no compressed objects or to generate object streams from files that don't have them (or even those that already do). QPDF also supports a special mode designed to allow you to edit the content of PDF files in a text editor. For more details, please see the documentation links below.

QPDF includes support for merging and splitting PDFs through the ability to copy objects from one PDF file into another and to manipulate the list of pages in a PDF file. The QPDF library also makes it possible for you to create PDF files from scratch. In this mode, you are responsible for supplying all the contents of the file, while the QPDF library takes care off all the syntactical representation of the objects, creation of cross references tables and, if you use them, object streams, encryption, linearization and other syntactic details.

In the other systems

SystemPortVersion
NetBSDprint/qpdf12.4.1
FreeBSDprint/qpdf11.10.1,2
OpenBSDprint/qpdf12.4.2
DragonFlyprint/qpdf11.10.1,1
MidnightBSDprint/qpdf11.9.1
HardenedBSDprint/qpdf11.10.1,2
GhostBSDprint/qpdf11.10.1,2

Install

Binary package:

pkgin install qpdf

From pkgsrc:

cd /usr/pkgsrc/print/qpdf && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6412.4.1
NetBSD 10.1 aarch6412.3.2
SmartOS / illumos x86_64-
macOS 15 arm6412.4.2

Dependencies

Run dependencies 2

Known vulnerabilities 1

Commit history 3

DateCommitCreditsLog message
cfd8c41f99 wiz qpdf: update to 12.4.2.
In addition to a few small bug fixes, this release features two significant improvements: inclusion of several new binary platform releases and substantial improvements to linearization. We now include official release binaries for MacOS (intel and arm64), Windows arm64, and Linux aarch64 (arm64) both as an AppImage and as stand-alone binaries. For linearization, for certain types of files, qpdf is vastly more memory efficient (we've seen 30× improvements in some cases) and slightly faster. Also, there are a few small fixes to linearization object ordering, so linearized output may differ for some rare files relative to previous releases.
7de1f7afe4 wiz qpdf: update to 12.4.1.
It contains a small number of fixes and enhancements that didn't quite make it into 12.4.0 plus some improvements on some test to improve stability on automatic builders.
2a6c716a7c wiz qpdf: update to 12.4.0.
12.4.0: August 9, 2026 Bug fixes Fix error message when --check encounters a file without any pages. In QPDFAcroFormDocumentHelper::fixCopiedAnnotations remove non-array and empty /Annots entries from copied pages as well as non-dictionary annotations. Fixes a bug that could cause qpdf to throw a logic error when error when copying pages with damaged annotations. Fix failure in QPDFWriter when trailer /ID entries are invalid. Limit the effect of QPDF::setMaxWarnings to the initial loading of the PDF file. Any exceptions thrown as a result of the warning limit being exceeded indicate that the file is too damaged to be processed. Throwing the exception after the file is loaded risks that it …