CVE and update status of the FreeBSD ports tree3,310 unaddressed CVEs in 678 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.4.5
Release 1.4.5 Changes: - Enforce a bit more pkgname a unicity identifier - Fix regression on pkg query with multiline - Fix sql error on some pkg query - Stop again caching files for file:/// repos - Do not trust libarchive to apply modes - Accept tar files in repositories - Handle chflags - Some updates in documentation
0b0cb10555
Baptiste Daroussin (bapt) · 1.4.4
Release 1.4.4 Changes: - Remove lots of dead code - Fix pkg stat reporting the size of remote repositories - Remove execinfo dependency - Fix pkg check with no active remote db - Remove outdated example from manpages - More accurate error messages in pkg check - Use the new procctl(2) features when possible to prevent script from spawning daemons - More fixes in integrity check - Improvements in z
53dca1a4eb
Baptiste Daroussin (bapt) · 1.4.3
Update to 1.4.3 and 1.4.99.3 Changes: - Fix integrity check in multi repository - Document CONSERVATIVE_UPGRADE - Document repository priority - Do not duplicate replacement request
dcce7a470c
Baptiste Daroussin (bapt) · 1.4.2
Update pkg to 1.4.2 and pkg-devel to 1.4.99.2: Changes: - Fix applying proper modes on directories on some corner cases (fixes pkg install mailman) - Do not display pkg-message is pkg register fails - During removal, if a directory was already removed by a bogus script, continue removing parents.

Changes specific to -devel:
- pkg -d now set DEBUG_LEVEL -d == DEBUG_LEVEL=1 -dd == 2 etc
58c057d2bc
Baptiste Daroussin (bapt) · 1.4.1
Release pkg 1.4.1 and 1.4.99.1 Changes: - Manpages updates - Fix directory removal guard - Fix loading of files from packages - Add new CONSERVATIVE_UPGRADE option to enforce keeping package from the   repository they were installed from - Add priority support for multi repository

While this version improves a lot multi repo support please note that there is a
known bug resulting in failures during integrity checking, resulting in some
operations may have to be run twice we are investigating a fix
903e334d32
Baptiste Daroussin (bapt) · 1.4.0
Remove useless USES

Reported by:	Oliver Pinter
1b693e4ac6
Baptiste Daroussin (bapt) · 1.4.0
Disable Werror to calm down gcc
3c3ac2d7a3
Baptiste Daroussin (bapt) · 1.4.0
Update pkg to 1.4.0 Update pkg-devel to 1.4.99.0 (aka 1.5 pre-alpha0) Changes since pkg 1.3.0: Changes you can expect in pkg 1.4 are the following: - Loads of bug fixes - Stricter checking of the path passed via the plist - Removal of the bundled libyaml - new --raw-format to chose the output format for info -R and search -R - ABI (for freebsd, unchanged for dragonfly) is now follwing MACHINE_ARCH
4126c83152
Baptiste Daroussin (bapt) · 1.3.8_3
Fix a regression that made some plist errors non fatal

Reported by:	antoine
3a885f4283
Baptiste Daroussin (bapt) · 1.3.8_2
Fix an important regresion preventing pkg2ng to work properly

Reported by:	roberto
Tested by:	roberto
1ab7d6e712
Bryan Drewery (bdrewery) · 1.3.8_1
Add a way to work around the pkg2ng gate for now.

With hat:	portmgr
78a2c89be6
Bryan Drewery (bdrewery) · 1.3.8_1
- Fix crash when overriding repo configs.

PR:		193890
Reported by:	Nikolai Lifanov
With hat:	portmgr
Pointyhat to:	bdrewery
d3649e3087
Baptiste Daroussin (bapt) · 1.3.8
Update to 1.3.8 Changes: - Plist parser do not accept modes like o+w g+s u+r - @owner/@group with no argument reset the default ownership to root/wheel - Plug regression tests into the release mechanism as mandatory - Allow url in repository configuration to be overriden by another configuration   file - If one of -P, -I or -R is not explicitly given on the command line do not emit   error message

Side effects:
- Convert to install-mtree target into a no-op target Add empty directories to
  plist of ports that needs them to run:
- share/aclocal to devel/automake and devel/automake14
- share/applications to devel/desktop-file-utils
- share/xml share/sgml to textproc/xmlcatmgr
- Prevent check-plist to issue warnings about some @dir*
- Adjist check_leftovers.sh to not take in account anything related to mtree
- Bump the default required version of pkg to 1.3.8
6423d85837
Baptiste Daroussin (bapt) · 1.3.7
Add a minimal version testing for the installed pkg to enforce people to go to the latest version Set minimal version to 1.3.7 for now

Differential Revision:	D723
Reviewed by:	bdrewery
dd340e8b53
Baptiste Daroussin (bapt) · 1.3.7
Remove support for pkg_install Merge back bsd.pkgng.mk into bsd.port.mk Add a note about @stopdaemon not being supported anymore

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D693
d96aa38d95
Bryan Drewery (bdrewery) · 1.3.7
- Update to 1.3.7   Please note announcement for special instructions at:     http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html   - Users need to run 'pkg check -Ba' after upgrading to pkg-1.3.7 and before     updating any other packages. This avoids needing to reinstall anything     not needed due to changed shlibs.   - People building packages for serving to other

Changes:
  * Test suite fixes
  * Documentation updates
  * pkg-rquery(8): Add a pointer to EXAMPLES in pkg-query(8)
  * If opening the db in READ_ONLY give a warning if it is missing
  * Give advice on how to recreate the database if auto-updating was skipped
  * Remove pkg --check-activation. It is too tempting to use.
  * Make it more clear that the 'Major version' change is non-fatal
  * Jobs display: Avoid excessive newline before prompt and after unprompted usage
  * Remove references to PACKAGESITE/MIRROR_TYPE/PUBKEY
  * Support uppercase ENABLED in repo config.
  * Avoid POLA, make PACKAGESITE/MIRROR_TYPE/PUBKEY in pkg.conf fatal
  * Fix self upgrade loop with pkg upgrade -Fy
  * Fix self upgrade not using the new pkg binary
  * pkg-{delete,autoremove}: Use a readonly lock in dry run
  * pkg-convert: Add locking. EXCLUSIVE by default, READONLY with -n
  * pkg-convert: Check for proper db permissions for both real and dry_run mode
  * pkg-convert -r: Only a readonly lock is required for converting from the db
  * pkg-convert -r: Add common db access checks
  * pkg convert -r: Don't crash if unable to create the package dir
  * Revert stripping shlib versions from e127d91d4.
    This will require rebuilding packages on the repository and then
    running pkg check -Ba to fully utilize. Until packages are rebuilt
    there may be false-positive shlib reinstalls.
  * pkg {register, check -B}: Fix registering provided shlibs as required
  * When analysing ELF files with DEVELOPER_MODE, don't bail on first error
  * Fix pkg-ssh when SSH_RESTRICT_DIR is a symlink
  * Fix size calculations with hardlinks
  * Fix pkg-which glob
  * pkg fetch -d: Fix crash (#955)
  * Progress bar improvements/fixes
  * Fix ETA for fetching (#943)
  * Fix progressbar stalled support
  * ETA progress: Account for TCP SLOW START and weigh the first few ticks less
  * Rework 'pkg update' output slightly to clarify what it is doing.
  * pkg check: Add progressbar when not using -v
  * pkg check: Add job counter with using -v
  * pkg clean: Add progressbar
  * Fix hardlink calculations (#958)
  * pkg backup: Add -q
  * pkg backup: Remove docs for '-d -' as it does not work.
  * pkg config: Fix output for arrays/objects (#971)
  * Fix RC scripts being started on deinstall rather than stopped
  * Add some more asserts
  * pkg-fetch.8: Remove reference to removed mirror mode
  * Fix a few typos in pkg.conf.5 (#969)
  * Document new configuration options. (#969)
  * Fix always refetching of file:// and ftp:// repositories
  * pkg query -g: Fix handling of ranges such as 'name-[0-9]*' which
    is used by ports CONFLICTS checking
  * Fix crash when SIGNATURE_TYPE=PUBKEY but PUBKEY is not defined
85f33299be
Bryan Drewery (bdrewery) · 1.3.6
- Update to 1.3.6

Changes:
  * Fix bringing in i386-wine* as a dependency (requires rebuilding
    the wine package). This is fixed, for now, by not considering
    shlibs as provided by a package if they do not match the target
    architecture. (#922)
    !!! You should delete the i386-wine and i386-wine-devel !!!
    !!! packages from your repository so they rebuild.      !!!
    !!! Bumping of PORTREVISION is pending due to the       !!!
    !!! nature of these ports.                              !!!
  * Fix auto reinstallation of packages when shlibs/dependencies
    change. This will force a 'pkg update' to run to rebuild
    the local repository. Using -U will not work until this is
    done. (#933)
  * Fix 'pkg rquery %Av' (requires rerunning pkg-repo on remote) (#925)
  * Fix pkg_solve_sat_problem assertions (#915)
  * Fix 'pkg install -f' (#912)
    'pkg install -R[f]' is still known to not work (#926)
  * Fix 'pkg rquery -e' (#910)
  * Fix 'size mismatch' errors requiring 'pkg update -f' (#906)
  * Fix other cases of 'pkg update -f' being required.
  * Fix 'pkg clean' to show files before confirming (#887)
  * Fix upgrade/install not showing meta packages in the output (#909)
  * Fix 'pkg autoremove -n' asking for confirmation
  * Fix 'pkg lock' not being respected for forced operations (#911, #937).
    Note that a locked package may still be deleted if the solver determines
    it is no longer needed.
  * Fix 'pkg delete -q'
  * Replace the SAT solver with Picosat (#914). This is much more mature
    and stable than our previous solver. It, along with other work, fixes
    many issues with solving upgrades.
  * 'pkg ssh' fixes
  * Do not consider shlib versions for package provides/requires as there is
    discrepency in what packages provide and what other require. For now only
    rely on libname.so.

With hat:	portmgr
953e70af39
Baptiste Daroussin (bapt) · 1.3.5.1
Update to 1.3.5.1 - Fix units propagation and conflicts. - Add a convenience new configure option to avoid configure to try to find autoconf
79c0313d7a
Baptiste Daroussin (bapt) · 1.3.5
Update to 1.3.5 Changes: - Fix progress bars when not in a tty to give output - Dragonfly fixes - Multiple fixes in @keywords(user,group,mode) support - Important fixes in repo incremental updates - Fix pkg audit not returning an error in case of vulneraibilities found (making periodic script not working) - Ignore sigpipe - Make the read lock now no op - Directories can be listed in the plist like
f7b9fe4d55
Baptiste Daroussin (bapt) · 1.3.4
Update to 1.3.4 Changes: - Fix repo database manipulation on FS with no proper locking mechanism - Fix regression where options have "true" value instead of "on" - Prevent early destruction of a repo - Workaround new nginx behaviour of if_modified_since - Fix pkg set -o - Improve some error messages - Do not fallback on yaml anymore to parse new keywords
4ef2593546
Baptiste Daroussin (bapt) · 1.3.3
Make sure to only use the generated pkg to register the new pkg
a506136498
Baptiste Daroussin (bapt) · 1.3.3
Update to 1.3.3 Changes: - Always use bundled libsbuf - Make pkg help aware of aliases - Add more debug info - Yet another fix for pkg repo - Fix some size to chase ucl changes - Fix a bug if one if creating a package and a directory of that name exists - Fix plist whitspace trimming - Fix pkg_env - Fix pkg ssh - Allow pkg ssh server to serve poudriere made repositories - Fix again pkg install -A
df093ba3ca
Baptiste Daroussin (bapt) · 1.3.2
Update to 1.3.2 Changes: - Import fixes from libucl (fixes memory corruption with pkg.conf) - Fix memory corruption when reinstalling packages - Rework pkg repo process distribution
89baf77680
Andrej Zverev (az) · 1.3.1_1
Fix reading pkg.conf (this will prevent pkg from segfault)

Approved by:	bapt@ (portmrg@)
8451b85d1b
Baptiste Daroussin (bapt) · 1.3.1
Update to 1.3.1 Changes: - Add a WORKERS_COUNT option to limit the number of workers used during pkg repo - Fix pkg repo hanging on FreeBSD 8 and 9 - Fix migration of local database from 1.2 to 1.3 which was resetting the installation time - Print the repository in search informations - Ignore meta file when rebuilding a repository - Lots of fixes in libucl - Fix pkg info -R to generate a valid ya
d268986101
Alexey Dokuchaev (danfe) · 1.3.0
Fix the build on PowerPC: apparently it declares that it has atomic builtins, but GCC 4.2 bombs with internal compiler error (= unrecognizable instruction) when compiling libucl/src/ucl_util.c.

Approved by:	bapt (portmgr, maintainer)
aea9f4fb4b
Baptiste Daroussin (bapt) · 1.3.0
Update to 1.3.0

Since pkg 1.2:
- 373 files changed, 66973 insertions(+), 38512 deletions(-)
- 29 differents contributors
- Merge of one of the 2013 Summer of code project

Changelog:
- New solver that can support external solvers using the CUDF format and the
internal SAT solver
- pkg-ssh(8) is now sandboxed with capsicum if it is available
- pkg-ssh(8) now uses poll(2)
- Remove StringList usage to improve portability
- Rework the build system to use autotools to help portability
- Now fetching is done to a temporary location and cleaned up if it fails
- Remove PACKAGESITE
- pkg-audit: remove support for portaudit compact database (only VulnXML will be
used)
- Improved UI experience based on jmmv write up
(http://julipedia.meroh.net/search/label/cli-design)
- Reworking the database locking mechanism into a finer grain and more clever
system
- Dynamic conflict handling if a conflict on files is detected at the sanity
check level, try to solve the problem again with the new conflict information
- Fix %t (timestamp) modifier in pkg_printf(3)
- Full output now has a new field "date installed"
- New pkg -o A=B to overwrite configuration from command line without the need
of defining environment variables
- pkg-install now can handle local files
- pkg-add is now an alias on pkg-install
- Simplify API by using more and more libucl objects (hidden behind an opaque
'pkg_object')
- Rework multirepository handling
- Prepare code for repository abstraction support
- Sandbox signature checking and extraction
- Support long options
- Rework the extraction process
- unicity of a package is now origin~name allowing subpackages and flavours
- Improve ui for all commands
- pkg lock -l now list the locked packages
- symlinks now has a checksum to ensure they are valid
- pkg backups generated by the distributed script are now plain sql files
- Tons of bugfixes
- Tons of behavour fixes
d68c200ddc
Bryan Drewery (bdrewery) · 1.2.7_4
- Fix pkg-rquery -I to have all expected output.

Obtained from:	upstream 29c9c84e0e11c2c182a8d79634344e57bf2575f1
With hat:	portmgr
Reported by:	dteske
0d888b0e8a
Baptiste Daroussin (bapt) · 1.2.7_3
Add a version script to only public expose public function in libpkg

PR:		190742
Submitted by:	feld
With help from:	jilles
119d718d67
Bryan Drewery (bdrewery) · 1.2.7_2
- Fix build with upcoming default -fPIE in head   pkg 1.3 deals with this better.
9acf7ecf00
Antoine Brodin (antoine) · 1.2.7_2
Fix packaging on head, .MAKE.FreeBSD_UL has been retired from bmake

With hat:	portmgr
7e36c656f6
Baptiste Daroussin (bapt) · 1.2.7_2
Add the ability to specifiy the file where the ABI string will be determined from
33c20959d8
Antoine Brodin (antoine) · 1.2.7_1
Detect invalid packages that list directories as a file in plist

Exp-run by:	bdrewery
With hat:	portmgr
fb61d858df
Bryan Drewery (bdrewery) · 1.2.7
- Update to 1.2.7

Changes:
  - Only fallback to YAML if UCL parsing fails
  - pkg2ng: Hide warnings about @mtree, @stopdaemon, @comment
    @display and @conflicts
  - Fix escaping issues with COMMENT
  - pkg add: Fix -A to properly mark package as automatic
  - pkg2ng: Fix over NFS
  - pkg2ng: Show message while analyzing shared libraries
b0b8ff6067
Baptiste Daroussin (bapt) · 1.2.6
Update comment and description for pkg(8)

it is not new generation anymore and it is the current package tool
While here remove "for FreeBSD" as it also works on other OSes

Reported by:	peter
bade912339
Bryan Drewery (bdrewery) · 1.2.6
- Update pkg and pkg-devel to 1.2.6

This update includes a security update for possible arbitrary code
  execution from package manifest parsing. All users are advised to
  upgrade ASAP. The base pkg(7) was never affected by this. [1]

Changes:
  * Fix libyaml head-based buffer overflow [1]
  * Fix pkg info -E support for ports, which namely affected
    net/openldap* usage. [2]
  * Fix packages registering themselves as dependencies [3]
  * Bash autocompletion fixes [4]
  * autoremove: Don't try to remove locked packages
  * Support 'pkg bootstrap -f', which will force a reinstall of pkg
    on FreeBSD 10.0+
  * Fix %t timestamp formatter with %{...%} modifiers [5]
  * pkg info: Show date installed
  * Add $daily_status_security_pkgaudit_quiet to control 410.pkg-audit.in
    output verbosity level
  * Add an error when trying to update repository and none are defined [6]
  * Fix typos in manpages [7]

Security:	CVE-2013-6393 [1]
Reported by:	secteam (delphij) [1]
PR:		ports/184797 [2]
Reported by:	Pavel Timofeev <timp87@gmail.com> [2], many
Submitted by:	smh@ [3]
Submitted by:	brd@ [4]
Submitted by:	Jamie Landeg Jones [5]
Submitted by:	Rodrigo Osorio [6]
Submitted by:	Michael Gehring, wblock [7]
With hat:	portmgr
MFH:		2014Q1
e5166e09fc
Baptiste Daroussin (bapt) · 1.2.5
Update to 1.2.5: - Manpage improvements - fix $auditfile in pkg audit periodic script - Fix repo-*.sqlite being corrupted when pkg update is interrupted by the user - pkg add now tells the version of the package missing - Strop decoding/encoding all fields, only scripts and description are now encoded/decoded
eeedb5abf8
Baptiste Daroussin (bapt) · 1.2.4_1
Fix sefault while cleaning up It only happens if one has list or key/value list in pkg.conf a workaround to update is to comment it out the time to upgrade

Reported by:	many
Pointyhat to:	bapt (again)
b2fac3aa96
Baptiste Daroussin (bapt) · 1.2.4
Update to 1.2.4 Changes: - Fix segfault in pkg audit -F [1] - Fix multiple segfault when using eventpipe [2] - Fix REPOS_DIR being appended instead of overwritten when modified from pkg.conf

Reported by:	many [1]
Reported by:	kmoore [2]
70dc3770c8
Baptiste Daroussin (bapt) · 1.2.3
Update to pkg 1.2.3 Changes: - Workaround a bug in bsd.*.mk on FreeBSD 8.x - Fix a pkg repo segfault - Document aliases in pkg.conf(5) - Be more verbose when refusing a repository configuration file - Sync libucl with upstream (bug fixes) - Fix a fd leak in pkg repo - Fix memory leaks due bad usage of libarchive
0041687f76
Bryan Drewery (bdrewery) · 1.2.2
- Fix build on 8.x

With hat:	portmgr
36eebfc58a
Baptiste Daroussin (bapt) · 1.2.2
Update to 1.2.2 Changelog: - Fix pkg which returns bogus non-zero exit status on success - Better check libucl returns - Fix bad build system resulting in broken binaries on arm and ia64 - Update pkg.conf documentation - Add manpage for pkg config - OOTB support for dragonfly - Lots of fixes in libucl - Fix pkg register complaining about shared libraries not found - Do not resume a jailed or chroo

Special thanks to mat@ (for bug busting) and cognet@ (tracking down 2 issues
on arm and as a side effect fixing on ia64
d6b482fe1c
John Marino (marino) · 1.2.1
ports-mgmt/pkg*: Prepare for alternative PORTSDIR support

With the PKG_PORTSDIR make argument set, Release 1.2.2 will properly build
pkg when PORTSDIR doesn't equal the default /usr/ports, as is the standard
case with DragonFly.

Additionally, pkg(8) and pkg-static(8) man pages are conditionally edited
to remove references to the -j option when libjail isn't found on the
system.  This extra-patch should never be used on FreeBSD.
2600ce4b43
Baptiste Daroussin (bapt) · 1.2.1
Release pkg 1.2.1 Changes: - Fix pkg rquery always printing index like lines - Fix pkg -vv suggestion so it print something actually usable - Fix shlib's -P and -R options were swapped round. - Replace broken pkg_repos_count() by pkg_repos_total_count() and pkg_repos_activated_count() - Fix parsing of options (in manifest) - pkg add http:// now fetch to a temporary location and cleanup after itsel
a00c8be88c
Baptiste Daroussin (bapt) · 1.2_1
First errata: - Fix pkg rquery always printing index like lines [1] - Fix pkg -vv suggestion so it print something actually usable [2]

Reported by:	gjb [1]
Reported by:	ohauer [2]
3022fc034b
Baptiste Daroussin (bapt) · 1.2
Welcome pkg 1.2 final

Changelog:
- Improved build system
- Allow to hook plugins, before closing the local db if it was opened in RW mode
- Allow ARCH to be printed by pkg info
- New pkg bootstrap subcommand that is the counter part of the pkg(7) bootstrap subcommand
- Use port specified in the SRV entries to connect to a given mirror
- Properly support srv priority/weigh when ordering mirrors
- Lots of spelling/grammar fixes
- Broken incremental pkg repo support was removed.
- ABI is now checked again using globs:
  * a 'noarch' package should just specify: ARCH: 'freebsd:*'
  * a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*'
- new pkg config subcommand to allow direct query of options
- options can now have a description
- pkg repo can now take new arguments:
  pkg repo [path] [rsa_key|'signing_command: <command>']
  This allow calling external command to perform the signing and
  pass the checksum to be signed in the command stdin.
- in case pkg info is querying a file or is a single direct match
  query then default on -f
- pkg info -q is now equivalent of pkg info -qa
- expat is now always bundled (for vuxml)
- vuxml is now the default source for pkg audit
- Accept empty/comment only configuration files
- Print a pkg name only once - even if multiple vulns were found - when using -q
  in pkg audit
- pkg info now default on glob matching
- Support for pkg+foo url scheme where foo can be (http, https, ftp).
- pkg add is now able to read the packages from a pipe or a non-regular
  file '-' is an alias for stdin, this also works from pipes, fifos,
  unix domain sockets etc.
- New 'fingerprint' kind of signature:
    if a repository is declared using the fingerprint type of
    signature, a fingerprint directory should also be provided.
    Inside that fingerprint directory should be 2 directories:
    trusted and revoked.  Those directories will contains files (in
    yaml/ucl format) containing the fingerprint of the trusted
    certificated and the revoked ones:

    --- begins --
    function: sha256
    fingerprint: an_hex_representation_of_the_fingerprint
    --- ends ---

    All unknown attribute will be silently ignored to allow extending
    in the future.

    It also support multiple signatures inside the catalog. the
    catalog should provide the signature in the following form:
    name.sig
    name.cert

- packagesite in pkg.conf is deprecated in favour using dedicated
  repository configuration files
- REPO_DIR is now a list instead of a simple string
- New git like aliases to allow creating custom commands
- Allow using '?' operator in pkg query expressions
- Fix ssh:// support
- New PKG_SSH_ARGS to allow passing custom arguments to ssh command
  used for the ssh:// protocol
- Do not generate catalogs in pkg 1.0 format anymore.
- YAML is replaced by UCL format:

  Both formats are really simular. pkg(8) will falls back on parsing YAML
  when the UCL parser fail. And will emit a warning to the
  user showing a syntax that is compatible with both YAML and UCL.
  More informations on UCL: https://github.com/vstakhov/libucl
- Dependencies on library is now automatic via pkg register and pkg
  create
- Auto upgrade of pkg(8) now restart the upgrade process automatically
- Lots of bug fixes discovered by Coverity Scan
- New debug level traces
- Bug fixes in zsh completion
- rquery can now take a -I argument to output index like lines (needed for
bsdconfig)
- Skip self upgrade with -F is passed
- Autodetect if libelf should be used bundled
- Lots of bug fixes

Thanks a lot to all people allowed this release to happen, may that be from providing
code, ideas, submitting bugs, documenting or just supporting.
579d16acec
Eitan Adler (eadler) · 1.1.4_10
Move WITH_DEBUG check below b.p.m so it works with WITH_DEBUG_PORTS

Approved by:	portmgr (bapt, maintainer)
ed175fb997
Bryan Drewery (bdrewery) · 1.1.4_10
- Update to 1.1.4_10 ahead of 1.2 update with critical fixes

Changes:
 * When using SRV mirrors, order the mirrors by the advertised
   priority and weight. This should fix 'pkg update' using mirror
   A while 'pkg upgrade' and 'pkg fetch' end up using mirrors
   A, B and C, resulting in checksum errors due to not all mirrors
   being updated at the same time.
 * Add support for 'pkg+http://' URL scheme and deprecate
   'http://' when using SRV mirroring. This is only a cosmetic change
   that encourages users to not try loading the PACKAGESITE into
   a browser to view it.

Discussed with:	bapt
With hat:	portmgr
Obtained from:	upstream git
5f801cfb4a
Bryan Drewery (bdrewery) · 1.1.4_9
- Support WITH_DEBUG - Add shebangfix for bash completion

PR:		ports/183277
Submitted by:	mandree (based on)
With hat:	portmgr
f4df7b1171
Bryan Drewery (bdrewery) · 1.1.4_8
- Force pkg to not use base libbsdyml, which was available in head|stable/10   for some months. libbsdyml is being removed for 10-R. The bundled libyaml   will be used instead.

Discussed with:	bapt
With hat:	portmgr
982a938e19