Releases: freebsd/pkg
Releases · freebsd/pkg
2.7.4
2.7.3
2.7.2
2.7.1
Major Changes
- install: respect -q
- vital: now explicitly state the SAT solver issue are due to a vital package
- lua: add pkg.exec_capture, a pkg.exec version capturing stdout/stderr
- Honor --repository flag for disabled repos as documented
Other Changes
- version: add IGNORE_MAJOR to pkg.conf and document it
- pkg_config: accept int as boolean converted via != 0
- lock: do not error in expected (un)lock state
- backup_libraries: now fully respects rootdir
- backup libraries: atomic replacement of the library
- DB: loudly complain if the DB cannot be opened
- shlibs: also remove ignored shlibs provided from shlibs required
2.7.0
Major Changes
- switch back to libfetch
- triggers: add per-package triggers, with new
pkg_upgradevariable, documented in triggers(5) - install: accept
http://,https://andfile://URLs to install packages directly - install: small behaviour change —
install -Ano 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_argsper repository configuration - query: add
%yand%Yformats 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
.aarchives - updating: support glob patterns in user-provided port names
- lots of documentation updates.
Other Changes
- info:
--rawnow exports valid JSON for multiple packages - delete: fix
-fR - set:
-nnever 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-onlywith empty packages and to populate config file contents - libpkg: fix
getgrnam_rrelated errors - libpkg: actually export the
pkg_set_ignore_osversionsymbol - add: skip osversion check when force is set
- add: remove existing file before renaming temp directory
- 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
-fa locked package - jobs: honor
PKG_FLAG_DRY_RUNinpkg_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
.pkgextension - 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)
2.6.2
Major Changes
Other Changes
- register: properly close the database
- fix an issue which make some installed packages temporary invisible
to the non root users (regression from the WAL introduction) - fix the json for info --raw --raw-format json when requested on multiple
packages
2.6.1
2.6.0
Major Changes
- create: use -t to specify the timestamp for the manifest file.
- fetch: add -s/--sumlink option for mirror mode
- triggers: only defer triggers when the need to execute an external program
- db: enable WAL mode for local databases
- query: add support for query evaluation of complex attributes
- libpkg: store ignored shlibs in manifest and db
- libpkg: respect ignred shlibs for BACKUP_LIBRARIES
- drastically reduce memory usage for all operations
- fix reproducible build issue
- autoremove: fix deletion order
- lots of documentation updates
Other Changes
- use C23 __has_include to reduce configure checks
- fix issue hiding the unit in progress bar
- if for anyreason the extraction rename failed, keep the file around with a .pkgnew suffix
- plenty of fixes in the upgrade decision process
- plenty of corner cases crash fixed
- prevent fetching a file twice
2.5.1
Major Changes
Other Changes
-
Regression: fix directory permission when '@mode' is used in plist
-
use the timestamp provided by -t for manifest timestamp
-
improvements in documentation
-
slight inprovements in the progress bar:
- counters are now always aligned
- when possible only print name-version for the package being fetched.
- add a space in the debit
2.5.0
Major Changes
- unregister: new command to remove the records from an installed package
while keeping the files around - install: new --register-only: record the package as installed without touching
anyfiles on the filesystem - case sensitivity: lots of changes: now the behaviour is conistent accross all
commands and respect the default setting in pkg.conf
Other Changes:
- update curl to 8.17.0
- update sqlite to 3.51.1
- fetch: many imrpovements in debug output
- set a sane default mode for empty directory in plist
- improve the error message when not deleting a package due to a lock or a vital flag