ports-mgmt/pkg: update to 2.7.0
Changes:
- switch back to libfetch (curl support has been removed)
- triggers: add per-package triggers, with new pkg_upgrade variable, documented in triggers(5)
- install: accept http://, https:// and file:// URLs to install packages directly
- install: small behaviour change — install -A no longer marks upgraded/reinstalled packages as automatic
- autoremove: install, delete and upgrade are now autoremove aware
- solver: avoid spurious reinstall from wrong repo with multi-repo setups,
- solver: fix extra reinstallations,
- solver prevent rdeps discovery explosion
- search: add search -S comment-description
- search: add ssh_args per repository configuration
- query: add %y and %Y formats for provides/requires
- backup libraries: change the default behaviour 1 package per library now.
- add: resolve shlibs and provides via symlink directory layout, ignore dead symlinks for provides/requires
- add: really analyse the content of .a archives
- updating: support glob patterns in user-provided port names
- lots of documentation updates.
- info: --raw now exports valid JSON for multiple packages
- delete: fix -fR
- set: -n never matches the first argument vs origin anymore
- DB: add missing indexes
- DB: only attempt schema upgrade when DB is opened RW
- upgrade: fix yet another endless upgrade loop of pkg
- upgrade: attempt config file merge for force install
- libpkg: fix --register-only with empty packages and to populate config file contents
- libpkg: fix getgrnam_r related errors
- libpkg: actually export the pkg_set_ignore_osversion symbol
- add: skip osversion check when force is set
- add: remove existing file before renaming temp directory (pkg_add)
- fetch: properly terminate on SIGINT during fetch
- search: fix handling when search returns multiple JSON formatted results
- query: do not print empty line for purely multiline formats; print an empty line for multiline if no information to display
- install: emit a message when trying to install -f a locked package
- jobs: honor PKG_FLAG_DRY_RUN in pkg_jobs_execute()
- jobs: before scheduling a DELETE job verify if it is really needed
- solver: always process rdeps for remote packages
- db: only open the db readonly when write is not needed
- sandbox: provide a default handler for PKG_EVENT_SANDBOX_GET_STRING
- EVENT_PIPE: fix invalid JSON
- signal handling: multiple fixes
- fix crash when using external merge tool
- securelevel: check for bsd securelevel and report errors
- fflags: test if we are running in a jail and report errors
- sign_pkg.sh: use the .pkg extension
- 400.status-pkg: provide an option to select the source to check
- Fix overlinking on macOS
- pkg: messages improvements, wording fixes
- extensive code cleanup, deduplication and factorization.
- added many new tests (audit, delete, info, which, autoremove order, multi-repo solver, install behaviour change, link flags)