Changes:
- allow to execute programs from lua script and triggers
- fetch vuln.xml.xz by default
- triggers detected by pkg -r are now deferred for firstboot
- pkg triggers command can be executed at first boot to run the
deferred triggers
Note this is expect to be the last release before 1.17 (depending on
how many new bugs has been introduced)
* Reverse $FreeBSD$ check logic to make the use of them FATAL [1]
* Remove embedded $FreeBSD$
PR: 255153 [1]
Obtained from: lwhsu [1]
With issue report from Tatsuki Makino
As a performance optimization the list of conflicting ports was only
fetched if the port's Makefile contained a CONFLICTS* entry.
There are ports that only set some option defaults and then include
the Makefile of some generic port. No conflicts change was performed
in that case.
Fix the behavior by always checking all CONFLICTS definitions that
apply, even for ports that do not have such a line in their direct
Makefile. This removes a performance optimization, but is required to
correctly build and install ports that have dependencies that can be
satisfied by an alternative (e.g. ImageMagick6 is installed and the
port being built has a dependency on ImageMagick6-nox11, which does
not contain a CONFLICTS definition it its Makefile).
Changes from 1.16.99.3 to 1.16.99.4
- expose the name of the packages to its scripts lua and shell
- plist: remove internal support for @*exec
- plist: remove support for @ignore
- plist: remove suppot for @dirrm/@dirrmtry
- plist: remove support for @pkgdep
- plist: remove stub support for @stopdaemon
- plist: remove stub support for @display
- plist: remove stub support for @mtree
- plist: remove stub support for @conflict
- info: fix info processing of mutliple compares
- ci runs again on linux and osx
- portability fixes for linux and osx
- ubsan/asan related fixes
The main big change is the switch of the package extension to .pkg
This is done so we can change compression format without having to
modify the tools each time to adapt to the new extension
While here adapt the ports tree to the new .pkg extension and prepare
the pkg-devel ports to swicth the package compression format to zstd
in FreeBSD 14 in a month to give time to upgrade to a version which
have the bootstrap knowing about .pkg.
Changes from 1.16.99.2 to 1.16.99.3
- lua update to 5.4.2
- pkg repo accept now all supported formats mixed without config
- pkg now default on creating .pkg files with backward compatible symlinks
- backward compatible symlinks are now an option
- make the default comprpession format a config option
- set the default compression level for zstd to 19
- make the default compression level a config option
- Update libucl to latest version
* ports: move away from portsnap as default
* zfs rollback: Try harder to rollback snapshots.
* bulk -n: Don't remove .building dir unless this ran made it
* common.sh: use new URL for base system
* jail: Fix git checkout during jail update to operate within SRC_BASE.
* image: Add -w (swap size) and -b (swap position)
* image: Support pre and post build scripts
* image: remove unneeded vfs.root.mountfrom that might cause problems
* image: Fix usb and usb+mfs
* image: Add pkgbase support
* image: Fix loader.efi name for arm and arm64
* image: Don't install pmbr and gptboot on !x86
* image: Enable zfs in rc.conf
* testport: Support overlay
* jail: Support PKG_REPO_SIGNING_KEY/KERNCONF for pkgbase
* bulk|testport -i: Mount ports rw
* jail -u: Fix git not running from the src dir on update
* MOVED: Support from overlays
* bulk: Always build repo even if no packages build
* distclean: Don't delete .hidden files.
* bulk: Delete FORBIDDEN packages during incremental check.
* pkgclean: Delete FORBIDDEN packages.
* bulk: Delete corrupted packages like pkgclean does.
* bulk -af: Delete unqueued packages like pkgclean.
* Many test improvements
* Many fixes for builtin helpers
* A lot more random stuff
Changelog: 11fdf0b5dc...57e2a01ded
The GitHub repo for portfmt has been marked as archived and
read-only. So probably the current version is the last one.
PR: 252932
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com>
Approved by: arrowd, tcberner (mentors, implicit)
Changes from 1.16.1 to 1.16.2
- libpkg: add a snap(shot) version prefix
- libpkg: only upgrade installed packages with pattern matches
- Document pkg-lock(8) accepts a list of packages
Approved by: bapt (implicit)
Changes from 1.15.99.8 to 1.16.99.1
- Avoid making making xstring.h public
- audit: fix quiet
- libpkg: add a snap(shot) version prefix
- libpkg: only upgrade installed packages with pattern matches
- libpkg: accept an "rsa:" prefixed file for pkg_finish_repo()
Approved by: bapt (implicit)
The pkg wiki entry (https://wiki.freebsd.org/pkgng) says "The content of this
page was outdated and misleading so it has been deleted." Instead, point to
the upstream github repo where truths about pkg can be found.
Approved by: pkg (bapt)
* Correct path to apache.mk [1]
* Warn if one declares USE_LDCONFIG without a properly named shared object [2]
* Allow make use-before-declare lazy evaluation in dependencies [3]
PR: 252003 [1]
252181 [2]
244239 [3]
Submitted by: brnrd [1]
It was already possible to override the locked status of a package, but
the deinstallation of the old version failed and made the update fail.
After this change the package is temporarily unlocked during the upgrade.
Reported by: rkoberman@gmail.com (Kevin Oberman)
Main highlights:
- Add support for RISC-V
- plist now supports '@include <anotherfile>'
- Keywords can now validate the plist syntax at packaging time
validation is done via a lua script
- Keywords can issue a deprecation warning if needed
- Add support for triggers (lua and shell scripts possible)
- pkg create -e now will create a package with a readable MANIFEST
but also:
- pkg-query now supports %X to print the internal package checksum
- remove usage of utstring
- lua scripts can now take real arguments
- get rid of sysexits
- improve performances for pkg query -F
- Fix an issue with metalog duplicated entries
- Relax keywords attributes syntax by allowing spaces
- Fix a crash when pkg is told to package a directory as a file
- pkg upgrade -n does not run anymore the "prior" test for self pkg upgrade
but instead prints everything that will be upgraded including pkg
- pkg info now print the installed timestamp and repository in --raw output
- print all missing packages not only the first one encountered
- All commands are now consistently using --no-scripts
- pkg audit now accepts a -R/--raw option for parseable output
- some fixes in the solver
PR: 251696
devel/subversion used to be available in different versions from which the
end-user could choose by setting WITH_SUBVERSION_VER to the expected version.
This has been reworked at some point and broke that feature in portshaker.
Adjust the WITH_SUBVERSION_VER handling to cope with it again.
PR: 250849
Submitted by: nork@ninth-nine.com
- Update documentation about configuration options
- Fix variable expansion while parsing pkg.conf and repositories
- Fix scripts never ending on MacOS
- Do not execute post-install script if extraction fails
- Fix fetching of meta.conf if it is missing
- Update lua to lua 5.3.6
- Improve solver missing some reverse dependencies
- 'audit' now accept a -R/--raw option for parseable output
- 'audit' can now ignore packages based on use define globs or regexp
- 'set' now reports when a package provided in command line is not installed
- all commands are now consistently using --no-scritps instead of different
flavor per commands
- when request to install many packages unavailable in the repo, print all the
missing one instead of stop at the first one only
- 'info' now prints the timestamp and repository in the --raw output
- Improve error messaging when parsing the configuration file
- when upgrading in dry-run mode: stop first checking for pkg, but show all
the packages to be upgraded, pkg included
- Fix crash when pkg is told to package a directory as a file
- 'create' now accept -e to create package with an expanded version of the
manifest aka readable
- Relax keywords attributes syntax by allowing spaces
* Do not complain about USE_LDCONFIG32 [1]
* Allow a master port to have its last line be ".endif" [2]
* Attempt to find OPTIONS use in a smarter way [3]
PR: 251431 [1]
251430 [2]
249970 [3]
Submitted by: gerald [1]