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 version
amd64
aarch64
i386
FreeBSD 16
2.8.4
2.8.4
–
FreeBSD 15
2.8.4
2.8.4
–
FreeBSD 14
2.8.4
2.8.4
2.8.4
quarterly (2026Q4)
FreeBSD version
amd64
aarch64
i386
FreeBSD 15
2.8.4
2.8.4
–
FreeBSD 14
2.8.4
2.8.4
2.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.
maintainer-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 package
- update to 1.0.2 - changes: * Add a completion for zsh * 1 in pkg.conf is consider as true or yes for booleans * Fix incremental pkg repo * Provide a pkgconf pkg.pc file for third party software using libpkg * Multiple grammar fixes * Several fixes in pkg create * Do not emit error if the deletion of a directory fails with EBUSY * Use isdigit(3) rather than isnumber(3) * Jail su
Feature safe: yes
- update to 1.0.1 - changes: * Allow extra space for environment and command when piping to /bin/sh for scripts * Improved DEVELOPER_MODE output * Error when neither www or desc is defined in the manifest * pkg help now have the same level of informations as usage() * Lots of fixes in manpages * Only try to get checksum on regular files * pkg2ng: Preserve files under $PKG_DBDIR that
- update to 1.0 - changes: * SRV mirroring is on by default * fix large scripts executions * pkg check -d now installed packages tags as automatic * performance improvements
- update to 1.0-rc6 - changes: * pkg query now fails if no format strings has been provided * pkg delete pkg is no more allowed expect if -f is specified * large improvements on pkg backup/restore interface * do not propose to downgrade dependencies expect if forced to * every script execution now uses posix_spawn(3) * this abi is now check on pkg update, if a remote repository does no
- update to 1.0-rc5 - changes: * speed improvements in pkg repo on multi core boxes * fix pkg upgrade proposing to downgrade dependencies * fix pkg2ng losing seom origin from dependencies * fix losing new line informations in descriptions * new -A option to track a new installation as automatically installed
add a fix to pkg2ng preventing losing track of some dependency origins leading to a failure of the conversion.
Reported by: Pierre Guinoiseau (via gitub issue #314)
Tested by: Pierre Guinoiseau
- update to 1.0-rc4 - changes: * Fix reinstalling package due to options change losing automatic flag * Fix pkg set -o * do not use dlopen for figure out path of libraries to track shlibs * more manpages cleanup
- update to 1.0-rc3 - changes: * fix bug corrupting automatic and licenselogic flags * some mdoc fixes * fix a new dependencies pulled by upgrade showed as reinstalling instead of installing * some fixes in repo generations
- update to 1.0-rc2 - changes: * fix an important bug on script handling resulting in scripts runned sometime twice * time can no more be negative while fetching * fix a crash on pkg check * fix an infinite retry loop when fetching a file that return 404 * emit a warning when search gives no results
- update to 1.0 rc1 - changes: * schema for remote repositories are versionned * fix ordering of scripts * ability to query SRV dns records for automatic mirror detection (ala portsnap/frebsd-update) via the SRV_MIRROR options default to off * new FETCH_RETRY options (default to 3) * more style(9) compliance of the code * lots of cleanup in exits codes * lots of typos fixes in ma
No new feature to expect in next releases, only bug fixes
New feature will be for 1.1 (already planned :))
- update to 1.0 beta17 - changes: * downgrading is always forbidden except if you explicitly force it * yet another fix for incremental pkg repo * pkg install/upgrade now detect ports which remote has different option set and propose to reinstall them * code refactoring, and improvement in pkgdb.c and pkg_repo.c * new -f options for pkg update * new -f and -q options for pkg repo
Really fix build on 8-stable and 9-stable No revision bump because no changes but allowing building when it failed
Obtained from: pkgng git (Bryan Drewery)
- update to 1.0-beta16 - changes: * fix incremental pkg repo * fix stage directory (copy mode) support * improvements on documentation (man pages, error messages) * new ARCH_INDEP options in developper mode to allow notifying a maintainer that a port might be archiecture independant * fix compilation on recent 8-stable and 9-stable * improvemens is usage() output * new option POR
Thanks to all contributors
Backout reproducible packages.
pkgng tried since beta14 to create reproducible package: aka 1 package build
twice will get exactly the same checksums, this revealed some problem with
python that were workaround in beta15 but lots of build system seems to really
not approciate it, while the feature is good and might be reactivated in the
futur, the ports tree and upstream build systems, need a lot of work to be able~
to deal with 100% reproducible packages :(
- update to 1.0-beta15 - changes: - new -d to pkg fetch to download the dependencies along with the package - fix automatic flag tracking over installs and upgrades - fix hardlink detection (size calculation of git is now sane again :)) - pkg remove is now an alias to pkg delete - fix a bug with shlibs track causing segfault - pkg check -r now updates flatesiz and checksums - all gen
- update to 1.0-beta14 - changes: * new DEVELOPER_MODE option: it will fail instead of just printing warnings * package creation is now reproductible, the same package built twice will have the same checksum * pkg install, upgrade and fetch now automatically performs the update of the remote metadata if necessary * portmaster patch: use_pkgng is not nessecary anymore * portmaster patch:
Thanks to all contributors
- update to 1.0-beta13 - changes: * -a (all) is now befault behaviour of check, query, rquery * speed up remote repository query * fix excessive CPU usage on fetching * improve man pages documentation * only display filenames on fetching not full url * fix an important bug on jobs ordering calculation * lots of bugs fixes
- update to 1.0-beta12 - changes: * Fix to be downloaded calculation * Respected rc.conf with handle_rc_scripts * Improve man pages * Fix pkg set -o * new pkg rquery subcommand, do the same as pkg query but for remote repositories * Allow forcing installation of a package even on bad arches * Add indexes to local database, speed up local queries * Speed up file loading from dat
- update to 1.0 beta11 - changes: * lot's of improvement in man pages documentations * pkg info and pkg search are now aligned like pkg_info * pkg search -x is now default * new pkg shell subcommand, this fires up a sqlite3 shell use with caution * pkg which gains 2 new options: -q (quiet) -o (origin) * fix pkg repo incremental * pkg version can now have -egXx <pattern> options * w
- update to 1.0-beta10 - changes: * Fix memory corruption * Fix handle_rc_script when upgrading services are now really restarted * Report Already installed/Not found when installing packages if any * when trying to pkg add something that doesn't exists, recommend the user to use pkg install * Fix abi detection on recent current * pkg -v report the version, -vv more informaton, -vvv even mor
Feature safe: yes
- update to 1.0-beta9 - changes: * query -f has been replaced by query -F when querying a package (file) for consistency with pkg info * fix autoremove recursion * pkg set -o oldorigin:neworigin allow the user to modify the origin of a packages (useful for MOVED) * several fixes on powerpc * pkg query evaluation expression now accept != * pkg2ng is now able to migrate a local database
Concerning the new ABI, to be able to determine which package can be installed on which destination, pkgng couldn't rely on the simple:
os version/machine, because some arches have incompatible ABIs. Can compute on its own the ABI, the string is the followin:
OSNAME:OSMAJORVERSION:OSARCH:OSCLASS(:...)
... means the arch specific extensions.
which means on:
* amd64: freebsd:9:x86:64
* i386: freebsd:9:x86
* arm: freebsd:9:arm:eb:oabi:softvp
etc
Be careful all the packages (.txz) files have to be rebuilt!!!
When binary upgradeing from pkg beta8, on amd64 do the following:
UNAME_m=freebsd:9:x86:64 pkg install -f pkg
on i386
UNAME_m=freebsd:9:x86:32 pkg install -f pkg
Bonus when run on a chroot/jail where ABI is different from the host, pkgng will dynamically determine the destination ABI.
Feature safe: yes
- update to 1.0-beta8 - changes: * pkg info -R now show a full yaml (script, options, users and groups were missing in previous versions) * new pkg query -e <evalutaion> <query-format> to be able to query packages base on boolean expression matching content of the package * pkg check now works like other subcommand: -a for all, -gxX for (glob, regex, eregex) * pkg check is now able to check th
- update to 1.0-beta7 - changes: * move commands man pages from section 1 to 8 * pkg check can now be run as a user (will print the missing dependencies if any) * better handling of database creation error * new option -f to install subcommand to force reinstallation of a package * new option -f to upgrade subcommand to force reinstallation of the whole set of packages * pkg audit can now ta
- update to 1.0-beta6 - changes: * pkg register: now run inside a transaction, this speeds up things a lot (thank you avg) * pkg version: -v now print name-version to match behaviour of legacy pkg_version * pkg register: fix flatsize calculation * new pkg-updating(1) man page (thanks beat)
- update to beta5 - changes: * move all the private headers into a private subdirectory to prevent the temptation of using them in the frontend * fix a miss behaviour in pkg query printing things it shouldn't in case of mistakes
- update to beta4 - changes: * do not assert in case of unfinished buffer but finish it instead * more userfriendly error message for pkg audit * print not found patterns for pkg info and pkg query
- update to beta3 - changes: * fix pkg add (it is been broken during beta2 sorry about that) * fix manifest emitter: now really emit the pkg-message in message no more description * add %M to pkg query to show messages * concat all pkg-messages and show it once at the end of operations * print messages about missing dependency during pkg add
- update to 1.0-beta2 - add a message to warn user that they need to migrate using pkg2ng - add a mirror to download - changes: * update bundled sqlite to 3.7.10 * add -n to pkg create to avoid packing already packed packages * Fix rc script handling * safer sbuf usage (this fix ia64 support) * report a list of failing packages if any with pkg add * allow "<category>/<port>" pattern in
Please welcome pkgng beta1.
if you want to use it please define WITH_PKGNG=yes in your /etc/make.conf
For more information read the announcement on the mailing list
With hat: portmgr
Non-Regression test: linimon