Skip to content

Releases: freebsd/pkg

2.7.4

16 Apr 15:50

Choose a tag to compare

Major Changes

Other Changes

  • repo: do not delete repositories in overrides, simply disable them
  • query: fix %y/%Y
  • Declare CheriBSD and CheriABI OS and ABI

2.7.3

15 Apr 16:20

Choose a tag to compare

Major Changes

  • upgrade: don't propose to downgrade to solve a provide/require

Other Changes

  • update: plug leak
  • upgrade: plug leak

2.7.2

15 Apr 07:15

Choose a tag to compare

Major changes

  • triggers: make the perpackage trigger per file instead of per directory
  • triggers: fix execution of per packages triggers on pkg add/register
  • fetch: respect RFC 3986

Other Changes

2.7.1

14 Apr 19:44

Choose a tag to compare

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

13 Apr 17:43

Choose a tag to compare

Major Changes

  • switch back to libfetch
  • 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.

Other Changes

  • 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
  • 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)

2.6.2

04 Mar 11:05

Choose a tag to compare

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

03 Mar 07:12

Choose a tag to compare

Major Changes

  • fix regression is pkg delete -f behaviour: it should always ignore rdeps

Other Changes

2.6.0

02 Mar 17:13

Choose a tag to compare

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

23 Dec 10:25

Choose a tag to compare

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

17 Dec 08:25

Choose a tag to compare

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