This patch adds support to the ports system for setting packages to be marked as both Vital, or to override the default ABI that will be set when building a package. This is required to build base system packages out of the ports tree, and could be useful for others as well.
Unit Tests Skipped
-Gentle nudge- Would be nice to get this reviewed since it is a vital (haha) part of our package base solution:
Now that the patch looks ok, I do not understand at all what you are doing here, what "base" package you are talking about, and if you are talking about the base system, why you would need to build it out of the ports tree, we have make package for that.
Ha, I guess you've not been following the threads about our pkg-base implementation. ;) We're in process of trying to upstream our package base solution that we feel is more viable than 'make packages' for a lot of reasons.
Here's the short version. This pkg base solution requires no changes to world sources, and can package "old" versions of FreeBSD as well. We do this with the patch mentioned here, along with a patch to poudriere and then a new "os/" category in ports that contains port makefiles to generate userland/kernel/debug/docs/foo/etc. This allows us to build world/kernel/ports all from poudriere, and ship a single unified repo that is "complete" and keeps things upgraded in lock-step. As well as nifty things like injecting depends on ports into base, such as using sysutils/zol vs base ZFS.
More details here: