OPNSense/tools 8031e22 — config/26.7 plugins.conf

config: plugins part of #527 was forgotten
DeltaFile
+2-0config/26.7/plugins.conf
+2-01 files

OPNSense/tools 049fbb0 — config/26.7 make.conf

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.
DeltaFile
+0-1config/26.7/make.conf
+0-11 files

OPNSense/tools c5af0cf — build ports.sh

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.
DeltaFile
+17-2build/ports.sh
+17-21 files

OPNSense/tools d4e11a8 — build skim.sh common.sh

build: make list_config behave like list_packages
DeltaFile
+11-10build/common.sh
+1-3build/skim.sh
+12-132 files

OPNSense/tools 67dff17 — build distfiles.sh skim.sh, config/26.7 aux.conf

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.
DeltaFile
+18-19build/packages.sh
+21-12build/ports.sh
+0-6config/26.7/aux.conf
+5-0build/common.sh
+1-2build/skim.sh
+1-1build/distfiles.sh
+46-403 files not shown
+48-439 files

OPNSense/tools 9f938e6 — build ports.sh packages.sh

build: convert AUXLIST handling
DeltaFile
+5-2build/packages.sh
+2-1build/ports.sh
+7-32 files

OPNSense/tools 34a5dd5 — build plugins.sh makedist.sh

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.
DeltaFile
+15-3build/common.sh
+5-0build/makedist.sh
+1-3build/plugins.sh
+21-63 files

OPNSense/tools 4a251a6 — build make.conf.sh makedist.sh, config/26.7/recipe 26.7.10.dist

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.
DeltaFile
+32-18build/common.sh
+0-5build/makedist.sh
+1-1config/26.7/recipe/26.7.10.dist
+1-1build/make.conf.sh
+34-254 files

OPNSense/tools 25cb812 — build common.sh

build: block RECIPE use for scripts that have no support
DeltaFile
+11-0build/common.sh
+11-01 files

OPNSense/tools 7c713e5 — build common.sh

build: verify_recipe now protects load_config, too #529
DeltaFile
+29-22build/common.sh
+29-221 files

OPNSense/tools ecb836a — . Makefile, build makedist.sh ports.sh

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.
DeltaFile
+17-4build/common.sh
+7-7build/plugins.sh
+6-3build/ports.sh
+1-4build/makedist.sh
+2-1Makefile
+1-1config/26.7/recipe/26.7.10.dist
+34-206 files

OPNSense/tools 6586fd9 — build makedist.sh common.sh, config/26.7/recipe 26.7.10.dist

build: digest ports, plugins and make configs as well for RECIPE #529

This is a stop-gap measure to some degree since 64118a51609d showed
we can alter the recipe by changing a config file amongst other
things.  This is neither easily visible to the user of a RECIPE nor
is it going to help much in the long run considering how many
knobs there are to alter the build as it is now.

At the moment this is an experimental run so simply invalidate the
RECIPE instead of letting it run even though things are going out
of sync quickly.  Later we need to thing of something else, ideally
not having to copy every config file and dropping the environment
into a file as well because we also have to consider other archs,
kernels, .conf.local files, etc.

The next time touching the file we should also refactor this into
a single function to make it easier to handle in the future.
DeltaFile
+4-1build/makedist.sh
+4-1build/common.sh
+1-1config/26.7/recipe/26.7.10.dist
+9-33 files

OPNSense/tools fa4e43b — . README.md, build skim.sh

build/skim: add a raw mode
DeltaFile
+41-26build/skim.sh
+1-0README.md
+42-262 files

OPNSense/tools 64118a5 — config/26.7 make.conf

config: add KERBEROS option to kea
DeltaFile
+1-0config/26.7/make.conf
+1-01 files

OPNSense/tools 7f52269 — config/26.7/recipe 26.7.10.conf 26.7.10.dist

config: add recipe for 26.7.10

To be continued...  ;)
DeltaFile
+5-0config/26.7/recipe/26.7.10.dist
+1-0config/26.7/recipe/26.7.10.conf
+6-02 files

OPNSense/tools 77f183c — . Makefile README.md, build core.sh makedist.sh

build: add RECIPE/patch support

With this we can make hotfixes much better visible, repeatable
and manageable.

makedist generates the RECIPE distribution file for later
use making sure to use the suffix, repeatable commit hash and
write-tree hash.  The package respositories will build upon
all of those when specifying RECIPE which makes checking the
version against tampering very easy.  Tree hash visibility
is also available in core and plugin components with

    # opnsense-version -T <core_or_plugin_name>

The dist file also has a way of enforcing that the content of the
conf file is valid by registering a hash of its content in dist.
It's true that every whitespace change will change the CONFDIGEST
but I also see no point in touching the recipe if it works.


    [32 lines not shown]
DeltaFile
+97-0build/common.sh
+76-0build/makedist.sh
+47-0composite/patch.sh
+23-3README.md
+17-6Makefile
+4-5build/core.sh
+264-145 files not shown
+278-1611 files

OPNSense/tools d59571f — . Makefile, composite util.sh

composite: fix a problem with recursed VERBOSE=1 use

eval would pick up the cd .. echoed by make on stdout
instead of stderr, causing commits to run twice and
breaking subsequent runs of the print target.  Instead
of retaining the command echo on stderr we simply remove
that feature since debugging the make launch into the
build and composite scripts is not something we need
to debug a lot.
DeltaFile
+3-6Makefile
+0-1composite/util.sh
+3-72 files

OPNSense/tools 327aef6 — build test.sh options.sh

build: use git_switch with all other setup_clone calls
DeltaFile
+3-3build/test.sh
+3-3build/options.sh
+3-3build/distfiles.sh
+9-93 files

OPNSense/tools bbe5004 — build plugins.sh core.sh

build: use git_switch for setup_clone in ports, core and plugins
DeltaFile
+3-3build/ports.sh
+5-0build/common.sh
+1-1build/plugins.sh
+1-1build/core.sh
+10-54 files

OPNSense/tools 7fc763c — config/26.7 base.plist.amd64

config: rebase for incoming 26.7.10
DeltaFile
+3-0config/26.7/base.plist.amd64
+3-01 files

OPNSense/tools 6a56f17 — build update.sh common.sh

build: fix git_reset wanting a tag by default

This way we can imply HEAD but still use REPO_TAG if needed.
I don't think it's used anywhere but update and may have been
a leftover from the infamous rewind step gone since 2eee34003.
DeltaFile
+2-5build/common.sh
+1-1build/update.sh
+3-62 files

OPNSense/tools b21d3b9 — build plugins.sh core.sh

build: use a modified setup_clone() and remove setup_copy()

We clone the .git metadata now but leave the working dir to be modified.
Also remove the HEAD use since that is the default behavior.  This should
still be quite fast while allowing us to modify the working tree without
fatal errors in the future.
DeltaFile
+8-17build/common.sh
+3-2build/skim.sh
+2-1build/plugins.sh
+2-1build/core.sh
+3-0build/options.sh
+3-0build/distfiles.sh
+21-212 files not shown
+27-218 files

OPNSense/tools dd33a59 — . Makefile, build common.sh

build: export 1:1 PRODUCT environment variables from make

While here also add EMAIL.
DeltaFile
+2-33build/common.sh
+14-8Makefile
+16-412 files

OPNSense/tools 92156e3 — config/26.7 make.conf

config: switch suricata and rspamd to vectorscan (#522)

Hyperscan 5.4.2 has no fat runtime on FreeBSD so our build was
pinned to core2.  Vectorscan selects SSE4.2, AVX2 and AVX-512
engines at runtime instead.
DeltaFile
+4-4config/26.7/make.conf
+4-41 files

OPNSense/tools f8109cf — build ports.sh

build/ports: implement ports origin expansion; closes #525
DeltaFile
+42-5build/ports.sh
+42-51 files

OPNSense/tools 6e86fd0 — build skim.sh

build/skim: move make.conf to etc/
DeltaFile
+3-3build/skim.sh
+3-31 files

OPNSense/tools 5d2c0cc — config/26.7 ports.conf make.conf

config: add zabbix 8.0 LTS
DeltaFile
+2-0config/26.7/ports.conf
+2-0config/26.7/make.conf
+4-02 files

OPNSense/tools 877ba55 — config/26.7 base.plist.amd64

config: rebase for 26.7.9
DeltaFile
+1-0config/26.7/base.plist.amd64
+1-01 files

OPNSense/tools dcf5aba — config/26.7 make.conf

config: UPNP_NOPPP is no longer a valid option
DeltaFile
+1-1config/26.7/make.conf
+1-11 files

OPNSense/tools 9585462 — config/26.7 make.conf

config: brace for VECTORSCAN

We want this but we don't want to break the build at the moment
and do a silent switch without a test.
DeltaFile
+2-0config/26.7/make.conf
+2-01 files