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

ports-mgmt/pkg 2.8.4

Package manager

Port info

Maintainer
pkg@FreeBSD.org
Packages
latest: 2.8.4
Upstream
up to date
Last update
to 2.8.4 · 7e1abc7fc9
Quarterly
2026Q4: 2.8.4
Formerly
security/base-audit until 2022-07-17
WWW
https://github.com/freebsd/pkg
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install pkg
installs 2.8.4 from latest; from quarterly (2026Q4) 2.8.4
Port
# cd /usr/ports/ports-mgmt/pkg && make install clean
# make -C /usr/ports/ports-mgmt/pkg config  # change options first
Size
13 MiB download · 52 MiB installed
Depends on
nothing
License
BSD2CLAUSE
Options
1 of 1 on in the package: DOCS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.8.42.8.4–
FreeBSD 152.8.42.8.4–
FreeBSD 142.8.42.8.42.8.4

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.8.42.8.4–
FreeBSD 142.8.42.8.42.8.4

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

Fixed (2)

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

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

PRSummaryStatusChanged
297757maintainer-feedback? ports-mgmt/pkg: pkg query for list variables produces output on empty listsNew2026-08-22
297065maintainer-feedback? ports-mgmt/pkg: pkg-2.8.1: pkg update -r FreeBSD-ports creates the db file with a size of 1.6 Giga(!)bytesNew2026-08-10
297219maintainer-feedback? ports-mgmt/pkg: 'pkg upgrade' lists all locked packages every time despite no updates being available for themNew2026-08-01
296272maintainer-feedback? ports-mgmt/pkg: does not autoremove automatic, non-vital, leaf packagesNew2026-06-25
296168ports-mgmt/pkg: pkg fetch -d fails to download pkgbase dependenciesNew2026-06-21
Show all 34
PRSummaryStatusChanged
295672ports-mgmt/pkg: "getgrnam_r(wheel): Result too large" with many users in wheelNew2026-05-30
280345maintainer-feedback? ports-mgmt/pkg: pkg segfault when OpenSSL legacy provider is enabledNew2026-05-28
295353maintainer-feedback? ports-mgmt/pkg: does not show a dependency for a package, but removing it wants to remove many others; autoremove trying to remove a manually installed packageIn Progress2026-05-18
295312maintainer-feedback? ports-mgmt/pkg: pkg upgrade: 'these portts to be upgraded; y/n and lists; NEED OPTION to list partially at firstNew2026-05-15
186497ports-mgmt/pkg: local overrides for pkg auditIn Progress2026-04-24
294685regression maintainer-feedback? ports-mgmt/pkg: regession, pkg 2.7 does not honour http_proxy from pkg.conf any moreNew2026-04-24
294639maintainer-feedback? ports-mgmt/pkg: Defaults to case sensitiveNew2026-04-20
294656maintainer-feedback? ports-mgmt/pkg pkg audit fails to validate certificateNew2026-04-20
287989maintainer-feedback? ports-mgmt/pkg: packages version recognizing errorIn Progress2026-04-11
291200maintainer-feedback? ports-mgmt/pkg periodic script weekly/400.status-pkg uses a wrong pkg -R optionNew2026-03-18
229393maintainer-feedback? ports-mgmt/pkg: Show which options changed if upgrade neededIn Progress2025-10-26
219036maintainer-feedback? ports-mgmt/pkg: pkg confused, installs older version over newerOpen2025-10-26
270547maintainer-feedback? ports-mgmt/pkg: missing information about security vulnerabilities in system componentsOpen2025-10-26
290322maintainer-feedback? ports-mgmt/pkg build failed: can't apply patchNew2025-10-17
267657needs-qa regression maintainer-feedback+ maintainer-feedback? merge-quarterly? ports-mgmt/pkg upgrade prompts to install if package is missingIn Progress2025-09-14
288973ports-mgmt/pkg pkg-delete - SYNOPSIS is missing -f optionNew2025-08-20
288702maintainer-feedback? ports-mgmt/pkg v2.2.2, pkg-fetch synopsis missing '-o' optionNew2025-08-07
285490maintainer-feedback? ports-mgmt/pkg: pkg upgrade unexpectedly installs uninstalled, non-dependency packageNew2025-08-04
284538maintainer-feedback? ports-mgmt/pkg: The option '-o' in command versionNew2025-07-01
287437maintainer-feedback? ports-mgmt/pkg: "pkg help query" says nothing about flavorsNew2025-06-11
286107maintainer-feedback? ports-mgmt/pkg: improvement request: only install files whose checksum have changedNew2025-05-16
283755maintainer-feedback? ports-mgmt/pkg: pkg-upgrade(8) - version comparison new kernel modules ("kmods") failureNew2025-05-15
285197maintainer-feedback? ports-mgmt/pkg - v.2.0.6 - pkg-upgrade and pkg-version fail using multiple repositoriesNew2025-03-06
245667feature ports-mgmt/pkg: Determine ports branch of active pkg repoNew2025-01-25
284263maintainer-feedback? ports-mgmt/pkg: [1.21.3] --raw-format is broken when multiple packages are suppliedNew2025-01-22
249374maintainer-feedback? ports-mgmt/pkg: 1.15.4 cannot unroll hard links to copiesNew2024-08-31
275053maintainer-feedback? ports-mgmt/pkg periodic jobs do not play well with readonly mounted filesystemsNew2023-11-13
194689easy feature needs-patch ports-mgmt/pkg: pkg needs a stand-alone equivalent to portupgrade's "pkg_sort".Open2021-10-14
218159ports-mgmt/pkg: pkg -r fails to run post install script.In Progress2020-05-11

Commits (349)

Baptiste Daroussin (bapt) · 1.20.7
ports-mgmt/pkg: update to 1.20.7

Changes from 1.20.6 to 1.20.7
- improve sql traces in debug mode
- fix autoremove issue leading to 100% of CPU consumed almost forever
- don't complain about Last-modified http header being absent in case the DL
  failed
- plug memory leaks in pkg autoremove
- fix build with lld >= 17
e6c1987186
Baptiste Daroussin (bapt) · 1.20.6
ports-mgmt/pkg: update to 1.20.6

- fix duplicated rquery output
- fix digest authentication support
- fix pkgdb_all_search (for packagekit)
- activate netrc support
1ce3864278
Baptiste Daroussin (bapt) · 1.20.5
ports-mgmt/pkg: update to 1.20.5

Changes:
- fix a regression introduce with switch to libcurl which results in
  the remote db mtime being badly set
- fix a regression which makes pkg query report twice some packages
  when configured in multirepository mode.
- fix a compatibility issue with http_proxy env var (lowercase)
- update libcurl to latest version
8d83ff738e
Baptiste Daroussin (bapt) · 1.20.4
ports-mgmt/pkg: release 1.20.4

This backs out the provide/require support for pkg add. It had
too much impact on the performances
073786dd66
Baptiste Daroussin (bapt) · 1.20.3
pkg*: new regression fixes release

Changes:
- speed up pkg add again, and greatly reduce its memory footprint
- more compatibility with libfetch (SSL_* variables)
- fixed FETCH_TIMEOUT adaptation to libcurl
c2b502b0a7
Baptiste Daroussin (bapt) · 1.20.2
pkg*: fix regressions from 1.20 release

- reduce memory usage for pkg add
- fix regression in url parsing for ssh
- fix some more compatibility with libfetch
- update pkg-triggers manpage
09a785875a
Dima Panov (fluffy) · 1.20.1_1
ports-mgmt/pkg: reduce memory usage

Approved by:	bapt
92d27c1d50
Baptiste Daroussin (bapt) · 1.20.1
pkg*: add compatiblity with libfetch's HTTP_AUTH
a666fe7b2c
Baptiste Daroussin (bapt) · 1.20.0
ports-mgmt/pkg: release 1.20.0

Changes:
- update libucl to latest version
- update sqlite to latest version
- remove support for pkg_* tools backward compatibility
- add and autoremove command now respects provides/requires and shlibs provides/requires
- improve SRV and HTTP mirroring: reducing the number of round trips
- replace bundled libfetch with a stripped down bundled libcurl (only used for http(s))
- new COMPRESSION_FORMAT configuration entry in pkg.conf
- periodic script: Use locale-agnostic (ISO 8601)
- Add support for openssl3
aef2976408
Baptiste Daroussin (bapt) · 1.19.2
ports-mgmt/pkg: update to 1.19.2

This release only deals with RSA signature for people using the PUBKEY
mechanism.
With openssl3 the signature had to change, in this release we make pkg
accept both the new signatures and the old ones.

if built with openssl 1 (aka freebsd 12 and 13) pkg will continue issueing
the usual signatures aka no changes.
if built with openssl 3 (aka freebsd 14) pkg will issue a new format of
signature.

The version of pkg older than 1.19.2 will not be able to use a signature
issued witg pkg running on freebsd 14

All system running 1.19.2 and above will be able to accept any of the
signatures.

If a user get stuck, for any reason, pkg bootstrap -f will fix the
situation as long as it installs 1.19.2 and above.

Note that is only concens PUBKEY which is not the default.

No changes at all for users of the official FreeBSD repositories.
6bef385a56
Baptiste Daroussin (bapt) · 1.19.1_3
pkg: revert openssl3 support

This change makes pkg generate a signature that is incompatible with
previous keys, it is better to have pkg broken for openssl3 and die
instead of having a backward incompatibility
f23812a6da
Baptiste Daroussin (bapt) · 1.19.1_2
pkg: fix signing with openssl3
b0b7fc161d
Baptiste Daroussin (bapt) · 1.19.1_1
ports-mgmt/pkg: bump portrevision missed in last commit

Remove static-pie usage, somehow it remains unused by clang
40c675d965
Baptiste Daroussin (bapt) · 1.19.1
ports-mgmt/pkg: fix regression in pkg-static and version number

When adding the support for static PIE, we masked the actually
STATIC_ARGS making pkg-static a dynamic binary in all other cases.

While here fix the version numbering which was not updated properly
during the release process.
c7e073a677
Baptiste Daroussin (bapt) · 1.19.1
ports-mgmt/pkg: update to 1.19.1

Changes:
- fix regression in pkg autoremove
- fix regression preventing tracking files with path longer than 64
  chars
- fix build out of tree
- fix spelling issues in pkg-trigger(8)
e966df1e68
Baptiste Daroussin (bapt) · 1.19.0
ports-mgmt/pkg: with build with WITH_PIE
c79ec8590b
Baptiste Daroussin (bapt) · 1.19.0
ports-mgmt/pkg: update to 1.19.0

Changes:
- rework file extraction to solve edge cases happening sometime when a file
  in a package becomes a directory in a new package or vice versa
- update bundled lua to 5.4.4 and sqlite to 3.40 and linenoise to latest
  versionautoremove will not remove anything anymore which is required
  by another installed package via provides or via shlibs_provides.
- Accept '~' in the version or the name of a package
- delete now handles properly provides/requires (and shlibs equivalent)
- (r)query now have new operators: =~ ==~ and !=~ (case insensitivity)
- (r)query is now stricter regarding command line validation
- pkg-backup command has been removed (prefer pkg shell ".dump" instead)
- fix regressions in pkg lock
- fix pkg annotate --modify
6723c78593
Stefan Eßer (se) · 1.18.4
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 1.18.4
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Baptiste Daroussin (bapt) · 1.18.4
ports-mgmt/pkg: update to 1.18.4

Changes from 1.18.3 to 1.18.4
- fix querying licenses
- fix "ambiguous colomn name
- fix packaging the lua deinstall scripts
- add pkg.symlink to allow creating symlinks from lua scripts
- performance improvements
- sync libfetch with base bringing in socks proxy support
1746b7ce5d
Yasuhiro Kimura (yasu) · as security/base-audit
security/base-audit: Remove port

* Remove port as 405.pkg-base-audit, core file of the port, is merged
  into ports-mgmt/pkg with pkg 1.18.1.
* Add entry to MOVED

PR:		264878
Approved by:	maintainer
ad528e1c83
Baptiste Daroussin (bapt) · 1.18.3
ports-mgmt/pkg: update to 1.18.3

Changes from 1.18.2 to 1.18.3
- allow to deal with 240 character long filenames
- fix an issue when disabling a repository resulting in breakage
  of the repository list
c494df313f
Baptiste Daroussin (bapt) · 1.18.2
ports-mgmt/pkg: update to 1.18.2

Fixes a crash with pkg version -PvL=

Reported by:	"Herbert J. Skuhra" <herbert@gojira.at>
2e4edc23c9
Baptiste Daroussin (bapt) · 1.18.1
ports-mgmt/pkg: update to 1.18.1

Fix a crash in pkg create [1]
Fix a plist issue [2]

PR:		264841 [1]
Reported by:	many [2], Simeon Simeonov <sgs@pichove.org> [1]
3e82360851
Baptiste Daroussin (bapt) · 1.18.0
ports-mgmt/pkg: update to 1.18.0

Changes:
- add support for category and flavor in  all queries (<category>/<portname>[@<flavor>]
- new tcp protocol to support inetd/spiped
- end of ftp support
- allow filtering out files at install time
- improvements on triggers
- plenty of bug and doc fixes
c86c52c862
Baptiste Daroussin (bapt) · 1.17.5_1
ports-mgmt/pkg-*: fix symbol collisions

while we fixed the symbol collision between libmd and libcrypto long
ago in dynamic linked program, the collision is still there somehow for
statically build programs.

The manual check for liblzma_libs for static linking that was added long
ago brings in a link to libmd before a link to libcrypto (this is since
FreeBSD 13.0+

This manual check is not necessary anymore anyway, so let's drop it.

Reported by:	Franco Fitchner (from Opnsense)
08342c9812
Baptiste Daroussin (bapt) · 1.17.5
ports-mgmt/pkg: update to 1.17.5

Changes from 1.17.4 to 1.17.5
- pkg add: only runs triggers at the end of the equivalent of a transaction
- pkg search: fix the combinaison of -q and -o
- pkg fetch: correctly exit with error on fetch failures
- Improve error message when failing to drop privileges
18793d1058
Baptiste Daroussin (bapt) · 1.17.4
ports-mgmt/pkg: update to 1.17.4

Changes
- ensure pkg waits for the programs executed by the triggers
7f73a93ef2
Baptiste Daroussin (bapt) · 1.17.3
ports-mgmt/pkg: update to 1.17.3

Changes:
- revert 2 regressions,
  * periodic script for audit which reduced verbosity
  * the fallback on version mismatch on pkg add
- prevent an endless recursion on the solver
- make fingerprint signature validation respect rootdir

MFH after:	1 week
e9e85de23c
Baptiste Daroussin (bapt) · 1.17.2
ports-mgmt/pkg: update to 1.17.2

- make audit.h c++ friendly
- fix build with libressl
- autoremove now respects -q
- version: reports error if INDEX file does not exists but is expected
- periodic audit:
  * Allow user to specify which jail not to audit
  * New option to ignore deprecation and expiration warnings
  * Reduce verbosity of the report
  * Add a script to audit base
- register: implement -N to actually not register in the database
- fetch: do not count cached package in the list to be fetched
- query: -e is not supported as additional condition
- fix pkg not finding its db when run from a directory which does not exists
  anymore
- De-prioritize upgrade-removals in the solver
- triggers:
  * run them for pkg register and pkg add
  * Add pkg.readdir lua function
  * Add documentation for the triggers
5094187e53
Dan Langille (dvl) · 0.5 · as security/base-audit
security/base-audit: Add the ability to specify ignored jails

security_status_baseaudit_jails_ignore is a space delimited list of jails
to ignore.

If non-empty, the code iterates over security_status_baseaudit_jails_ignore
to avoid partial matches (i.e. ignore foo.bar, but not foo). If there is a
better way to do that without looping, please let me know.

Example use case: I have jails which purposely are older vulnerable versions
for testing.

PR:		257685
Approved by:	000.fbsd@quip.cz (maintainer)
a5bd3edbfb
Baptiste Daroussin (bapt) · 1.17.1
ports-mgmt/pkg: retag the release

The tag was put on the wrong version of the release, (missing the NEWS
update and the internal version update)

retag it
acd0a3266d
Baptiste Daroussin (bapt) · 1.17.1
ports-mgmt/pkg: release 1.17.1

Changes from 1.17.0 to 1.17.1
- by default only create .txz symlinks for metadata
- only consider the .pkg when creating a repository
  add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg
- Reduce usage of memory stack
bfb91594d9
Baptiste Daroussin (bapt) · 1.17.0
ports-mgmt/pkg*: Release 1.17.0

TL;DR: new uniq package file extension: '.pkg'

Full changelog for pkg:
- add a new "snap" prefix, to deal with pkg base snapshots
- pkg repo now accepts packages with different compression formats
- pkg now have a single extension: ".pkg" and a backward compatible
  symlink is created when the package is created to help transitioning
- Default compression level for zstd is now set to 19
- the default compression level is now a configuration option
- plenty of portability fixes
- fix plenty of typos
- expose the name of the package to lua and shell scripts
- plist:
  remove internal support for @*exec (this is now in the ports tree)
  remove support for @ignore
  remove support for @dirrm/@dirrmtry
  remove support for @pkgdep
  remove stub support for @stopdaemon
  remove stub support for @display
  remove stub support for @mtree
  remove stub support for @conflict
- VUXML: fetch .xz compressed version of the file by default
- triggers are deferred to later command (firstboot is planned) if run
  with pkg -r
- pkg triggers commands has been added and can execute the deferred
  triggers for example at firstboot

Changes in the framework:
- Add a backward compatibility layer, so people are not forced to move
  to pkg 1.17 yet (new quarter we will enforce the switch for triggers
  anyway, but it gives time to people to switch)
- Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
  compression format they are willing to use when creating packages:
  txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
  usable on FreeBSD 13 and 14)
- Add a backward compatibility for people who specified the compression
  format already via PKG_SUFX and issue a warning to tell them about the
  deprecation of PKG_SUFX
e497a16a28
Mathieu Arnold (mat) · 1.16.3
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 1.16.3
Remove # $FreeBSD$ from Makefiles.
305f148f48
Emmanuel Vadot (manu) · 1.16.3
ports-mgmt/pkg: Update to 1.16.3

- lua: filecmp: Fix for symlink

PR:	253292, 250439
Approved by:	bapt (implicit)
MFH:		2021Q1
08e8765a42
Emmanuel Vadot (manu) · 1.16.2
ports-mgmt/pkg: Update to 1.16.2

Changes from 1.16.1 to 1.16.2
- libpkg: add a snap(shot) version prefix
- libpkg: only upgrade installed packages with pattern matches
- Document pkg-lock(8) accepts a list of packages

Approved by:	bapt (implicit)
25f680fffe
Adam Weinberger (adamw) · 1.16.1
ports-mgmt/pkg: Update WWW

The pkg wiki entry (https://wiki.freebsd.org/pkgng) says "The content of this
page was outdated and misleading so it has been deleted." Instead, point to
the upstream github repo where truths about pkg can be found.

Approved by:	pkg (bapt)
011cbbbfb6
Baptiste Daroussin (bapt) · 1.16.1
Update to 1.16.1 Fixes: pkg audit -q output

Reported by:	many
b8c209a747
Baptiste Daroussin (bapt) · 1.16.0
update to 1.16.0

Main highlights:
- Add support for RISC-V
- plist now supports '@include <anotherfile>'
- Keywords can now validate the plist syntax at packaging time
  validation is done via a lua script
- Keywords can issue a deprecation warning if needed
- Add support for triggers (lua and shell scripts possible)
- pkg create -e now will create a package with a readable MANIFEST

but also:
- pkg-query now supports %X to print the internal package checksum
- remove usage of utstring
- lua scripts can now take real arguments
- get rid of sysexits
- improve performances for pkg query -F
- Fix an issue with metalog duplicated entries
- Relax keywords attributes syntax by allowing spaces
- Fix a crash when pkg is told to package a directory as a file
- pkg upgrade -n does not run anymore the "prior" test for self pkg upgrade
  but instead prints everything that will be upgraded including pkg
- pkg info now print the installed timestamp and repository in --raw output
- print all missing packages not only the first one encountered
- All commands are now consistently using --no-scripts
- pkg audit now accepts a -R/--raw option for parseable output
- some fixes in the solver

PR:		251696
982fa079a5
Emmanuel Vadot (manu) · 1.15.10
ports-mgmt/pkg: Update to 1.15.10

Add a workaround for https://bugs.freebsd.org/250271

PR:		250059
Approved by:	bapt (implicit)
MFH:		2020Q4
cd3a338678
Emmanuel Vadot (manu) · 1.15.9
ports-mgmt/pkg: Update to 1.15.9

Changes from 1.15.8 to 1.15.9:
- lua_pkg_copy when copying a symlink

PR:		248314
Approved by:	bapt (implicit)
20f0c7125b
Baptiste Daroussin (bapt) · 1.15.8
Update to 1.15.8

Fixes a typo which results in pkg ignoring some lua script in some particular
circumpstancies: shell script also available in certain types
c4bca255db
Emmanuel Vadot (manu) · 1.15.7
ports-mgmt/pkg: Update to 1.15.7

Changes from 1.15.6 to 1.15.7:
 - Fix %# expand in script

Approved by:	bapt (implicit)
ac33e165c5
Piotr Kubaj (pkubaj) · 1.15.6
ports-mgmt/pkg: fix build on powerpc64le

Little-endian powerpc64 is not detected properly by sqlite3.
d46d9e64c9
Emmanuel Vadot (manu) · 1.15.6
ports-mgmt/pkg: Update to 1.15.6

Changes from 1.15.5 to 1.15.6
- Fix '%X' to include the file name and sum

Approved by:	bapt (implicit)
1590ec2e8c
Emmanuel Vadot (manu) · 1.15.5
ports-mgmt/pkg: Update to 1.15.5

Changes from 1.15.4 to 1.15.5
- Add powerpc64le arch
- Fix query '%X' to not use the version

Approved by:	bapt (implicit)
b5eae4c190
Baptiste Daroussin (bapt) · 1.15.4
Release 1.15.4

- Fix the ssh protocol support
4d83e7f63d