build: introduce bundle_aux() and better handle .Build and .Run
When we are merging aux and packages or when packages are first
built using ports stage we have both directories. When packages
stage runs it should extract all aux packages and retain their
.Build markers in the archive. The packages then only retain
their .Run markers. For hotfix/patch runs that's good enough.
For publication we may need to revisit if we don't want to
publish these markers even though they are harmless.
build/packages: retain the .Run and .Build annotations
Keep .Build in the aux set and .Run in the packages set, making
sure that an implicit run also gets a marker.
build/ports: be less strict about a mismatch when not using RECIPE
The warning is already enough for a test build. In most cases it's
fine but in the RECIPE case we should avoid tainting the build as
the RECIPE has a consistency issue here and should not proceed.
config: to match FreeBSD we need to swing back to "openssl"
It's the same port, just more complications due to the rename.
I still doubt renaming ports is useful to ports management in
the grand scheme of things. There's a 50% chance something
breaks because of it and most of the time FreeBSD counts on
the users to fix their "local" issues.
build: regenerate the runtime marker for implicit packages
We may still want to remove markers when we remove packages,
but for now just make sure the patched packages set does not
strip any packets to aux that are acutally runtime.
build: remove packages cleaning aux side effect
Been bitten by this a few times. Might be useful to make the
download not fail if e.g. make download-packages,aux does not
manage to build the aux set because it's not gotten to the
packages stage yet.
make: add a "review" target which shows all recipe modifications
We need this for review and patch notes. This intentionally only
works after "makedist" so we know the modification feed is complete
and applies cleanly.
Revert "config: add KERBEROS option to kea"
This reverts commit 64118a51609de66906980523d766ab862ed6dc74.
Although this is probably fine the user requesting this didn't
come back yet with the results.
build/ports: detect a mismatch in the ports build dependencies
This is hard to detect. The ports tree knows this is happening
and rebuilds the differing version of the ports dependency every
time the parent needs to be rebuilt and ports.sh is right to not
cache this rebuild because another rebuild already existed.
We can find out after the fact and throw an error pointing the
user to one of two solutions. Make the build abort before
emitting a new packages set since worst case a shared library
mismatch could be introduced into it this way.
Hit this during a suricata rebuild with vectorscan differing in
port revision. Not a very light test case for further development
so next time this happens we can refactor the error passing.
build: remove AUXSET in favour of #528
As a test remove "gmake" which was one of the early build
dependencies added to ports.conf to make the build a bit
faster.
build: better load_config handling and TOOLSTAG check; closes #529
I think we can close this and add other configs under RECIPE
protection later on. hotfix runs fine with and without RECIPE
and thus covers ports, plugins, core, and packages no problem.
build: back to the beginning #529
The CONFDIGEST is now the same as 7f52269887ee again and
we can restore plugins.conf, ports.conf and make.conf from
git under RECIPE.
Add some exceptions for RECIPE-bound scripts. It helps
with identifying parts that are missing support.
Also refactor a bit more.
build: let RECIPE pull configurations from git #529
Revisiting previous it looks like we can just pull a configuration
from git. Make this true for ports.conf and plugins.conf and
unify some of the necessary code.
All we need for this is TOOLSTAG, which already works for 26.7.10
because there is a tag for it.
make.conf is a bit harder, but definitely not impossible.