diff --git a/Makefile b/Makefile index 27250e6..312aa62 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Top-level build Makefile for opnsense-deps: the Mono Gateway board package # # Build the mono-gateway package (kernel modules, userspace, configs): -# make -C /usr/deps package OPS_SETTINGS=26.1 OPS_VERSION=26.1.11 +# make -C /usr/deps package OPS_SETTINGS=26.7 OPS_VERSION=26.7.9 # # This needs the GATEWAY kernel build tree and a sysroot with the base set # and libxml2 in it; release/build.sh prepares both and builds the whole @@ -31,8 +31,8 @@ KERNBUILDDIR?= /usr/obj${SRCDIR}/arm64.aarch64/sys/GATEWAY # OPNsense series and release this package is built for. The FreeBSD # release comes from the tools configuration of that series, so the # compiler target and the package ABI always match the base system. -OPS_SETTINGS?= 26.1 -OPS_VERSION?= # required for "package", e.g. 26.1.11 +OPS_SETTINGS?= 26.7 +OPS_VERSION?= # required for "package", e.g. 26.7.9 .if !defined(OSREL) OSREL!= sed -n 's/^OS?*=[[:space:]]*//p' ${TOOLSDIR}/config/${OPS_SETTINGS}/build.conf 2>/dev/null || true .endif @@ -43,7 +43,7 @@ PKG_ABI= FreeBSD:${OSREL:R}:aarch64 CROSS_TARGET= --target=aarch64-unknown-freebsd${OSREL} # Common args for all kernel module builds -# Explicit --target ensures cross-compilation works from amd64; harmless on native aarch64 +# --target pins the FreeBSD release of the series KMOD_ARGS= SYSDIR=${SRCDIR}/sys \ KERNBUILDDIR=${KERNBUILDDIR} \ MACHINE=arm64 MACHINE_ARCH=aarch64 \ @@ -215,7 +215,7 @@ userspace: fmlib fmc dpa_app cmm cmmctl fand # ============================================================ package: all - @if [ -z "${OPS_VERSION}" ]; then echo "set OPS_VERSION (e.g. 26.1.11)" >&2; exit 1; fi + @if [ -z "${OPS_VERSION}" ]; then echo "set OPS_VERSION (e.g. 26.7.9)" >&2; exit 1; fi @case "${PKG_VERSION}" in *_) echo "git cannot count the commits of ${OPSDIR}; set PKG_VERSION" >&2; exit 1;; esac @rm -f ${DISTDIR}/mono-gateway-*.pkg @rm -rf ${PKG_STAGEDIR} diff --git a/README.md b/README.md index a67dba6..8e6669d 100644 --- a/README.md +++ b/README.md @@ -74,14 +74,14 @@ upstream OPNsense publishes no aarch64 packages at all. `release/build.sh` drives [opnsense/tools](https://github.com/opnsense/tools) through base, kernel, ports, plugins and core, builds the `mono-gateway` package from this repository against the new kernel, signs everything and builds the eMMC image. -It runs on an aarch64 FreeBSD host of the series' release (14.3 for 26.1, -15.1 for 26.7): the emulated arm64 VM that `release/vm.sh` runs on a Linux +It runs on an aarch64 FreeBSD host of the series' release (15.1 for 26.7): +the emulated arm64 VM that `release/vm.sh` runs on a Linux build host, or a native aarch64 machine. See [RELEASE.md](RELEASE.md). To build only the board package on such a host after a release build: ``` -sudo make -C /usr/deps -j$(sysctl -n hw.ncpu) package OPS_SETTINGS=26.1 OPS_VERSION=26.1.11 +sudo make -C /usr/deps -j$(sysctl -n hw.ncpu) package OPS_SETTINGS=26.7 OPS_VERSION=26.7.9 ``` The first build clones the NXP vendor repositories (mwifiex driver source and @@ -104,8 +104,8 @@ Gateway commits. ```bash cd /usr/src -# See Mono Gateway commits on top of upstream -git log --oneline origin/stable/26.1..HEAD +# See Mono Gateway commits on top of upstream (in a clone with the release tags) +git log --oneline 26.7.9..origin/stable/26.7 # 1. Edit the file vim sys/contrib/device-tree/src/arm64/freescale/mono-gateway-dk.dts diff --git a/RELEASE.md b/RELEASE.md index 30b649d..07697c0 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -145,8 +145,8 @@ cannot start FreeBSD 14 programs at all). Every Rust port, py-cryptography included, failed. Full-system emulation runs a real FreeBSD kernel: slow (roughly a tenth of native speed), but faithful. -The VM's FreeBSD release must match the series: 14.3 for 26.1, 15.1 for -26.7 (`OS` in tools' `config//build.conf`). A native aarch64 FreeBSD +The VM's FreeBSD release must match the series: 15.1 for 26.7 (`OS` in +tools' `config//build.conf`). A native aarch64 FreeBSD machine works with the same `build.sh` and no changes. ```sh @@ -155,10 +155,10 @@ GW_VMHOST=htpc # ~/.ssh/config alias of the build host GW_VM_CPUS=24 GW_VM_MEM=12G # the HTPC's other work needs most of its memory; see Memory below -release/vm.sh create 14.3 # on the build host: official image, checksum verified, grown to 100G -release/vm.sh start 14.3 # first boot applies freebsd-update patches: an hour or more emulated -release/vm.sh setup 14.3 # build.sh setup: host packages, ZFS settings, swap -release/vm.sh sync 14.3 # this repository (with .git) -> /usr/deps +release/vm.sh create 15.1 # on the build host: official image, checksum verified, grown to 100G +release/vm.sh start 15.1 # first boot applies freebsd-update patches: an hour or more emulated +release/vm.sh setup 15.1 # build.sh setup: host packages, ZFS settings, swap +release/vm.sh sync 15.1 # this repository (with .git) -> /usr/deps ``` - **Image:** the checksums come from download.freebsd.org or, for an old @@ -195,10 +195,10 @@ Commit your changes first: `build` refuses a dirty `/usr/deps` unless `ALLOW_DIRTY=1`. ```sh -release/vm.sh sync 14.3 -release/vm.sh run 14.3 build 26.1 26.1.11 # detached; vm.sh log 14.3 to follow -release/vm.sh sign 14.3 26.1 26.1.11 # key into a tmpfs in the VM, finish, key unmounted -release/vm.sh pull-out 14.3 26.1 # -> /scratch/mono-opnsense/out/26.1/{sets,images} +release/vm.sh sync 15.1 +release/vm.sh run 15.1 build 26.7 26.7.9 # detached; vm.sh log 15.1 to follow +release/vm.sh sign 15.1 26.7 26.7.9 # key into a tmpfs in the VM, finish, key unmounted +release/vm.sh pull-out 15.1 26.7 # -> /scratch/mono-opnsense/out/26.7/{sets,images} ``` **`build`:** @@ -248,10 +248,11 @@ release/vm.sh pull-out 14.3 26.1 # -> /scratch/mono-opnsense/out/26.1 cleans it replaces. - `config/make-.conf` is added to tools' `make.conf`. Some ports still download code while they build, at its newest version, and - upstream built them when the release was tagged. For 26.1 it pins + upstream built them when the release was tagged. It pins `www/caddy-custom`'s plugins, which xcaddy fetches, at their versions - of 2026-07-01. By 2026-11-22 the newest `caddy-l4` needed a newer Caddy - than the ports tree's, and the port failed. For a new series, pin them + of the release's tag date: on 2026-11-22 the newest `caddy-l4` needed + a newer Caddy than 26.1's ports tree had, and the port failed. For a + new series or release, pin them at the release's tag date (`proxy.golang.org//@v/list` and `.info`; a module without tags takes the pseudo-version of its last commit before then). @@ -347,10 +348,10 @@ pflog. Re-enable cmm only once these are fixed. ```sh M=/scratch/mono-opnsense/mirror -python3 mirror/gwmirror.py stage --sets /scratch/mono-opnsense/out/26.1 --mirror $M --series 26.1 --version 26.1.11 +python3 mirror/gwmirror.py stage --sets /scratch/mono-opnsense/out/26.7 --mirror $M --series 26.7 --version 26.7.9 --upgrade-from 26.1 python3 mirror/gwmirror.py verify --root $M # deep: hashes, signatures, ELF architecture python3 mirror/gwmirror.py publish --mirror $M --dest /mnt/opnsense-mirror # re-verifies first -python3 mirror/gwmirror.py verify --url https://opnsense.karsttech.com --series FreeBSD:14:aarch64/26.1 +python3 mirror/gwmirror.py verify --url https://opnsense.karsttech.com --series FreeBSD:14:aarch64/26.1 --series FreeBSD:15:aarch64/26.7 ``` **`stage`** lays one build into the tree above: @@ -578,7 +579,12 @@ pgrep -l cmm || echo cmm-stopped removed `GEOM_BDE`, so a commit on top drops it from the `GATEWAY` kernel config. Before building, check the config's options against the new tree: `config -d /tmp/x GATEWAY` in `sys/arm64/conf` stops at the first unknown - one. + one. A second commit fixes three FreeBSD 15 compile errors in Mono's + code: two `machdep.c` lines that 26.7 no longer needs (upstream defines + `socdev_va` itself and dropped `hcr_el2`), the moved `dev/clk/clk.h`, and + `cpu_dcache_wbinv_range()` now taking a pointer. To find every compile + error in one pass rather than one per build, run tools' `buildkernel` + by hand in the VM with `make -k ... KERNFAST=1` after a failure. 2. **Core patches:** write `patches/26.7/` against core 26.7.x. For 26.7.9: - the CMM restart moved from `interfaces_assign.php`, which 26.7 no longer has, to the MVC assignment API @@ -590,7 +596,11 @@ pgrep -l cmm || echo cmm-stopped `config/make-26.7.conf` (build step 4). 3. **Board package:** fix this repository's drivers for the FreeBSD 15 kernel interfaces. `build` compiles the modules right after the kernel, so this - fails early. + fails early. For 26.7: caam's bus resource methods lost their `type` + and `rid` arguments, and `sys/cdefs.h` now defines `__maybe_unused`, + which cdx's `linux_compat.h` also did. The repository then stopped + building 26.1 (its patches and `make-26.1.conf` are gone); the 26.1 + tree on the mirror stays, for gateways that still have to upgrade. 4. **Build:** run `vm.sh create 15.1`, then `build 26.7 26.7.x`, `sign` and `pull-out`. 5. **Stage, verify, publish:** @@ -658,7 +668,7 @@ reflash from Recovery Linux with the signed image from `/releases/` (README.md, ```sh python3 -m unittest discover -s mirror/tests # gwmirror stage/verify/publish, incl. HTTPS python3 -m unittest discover -s release/tests # build.sh, 20-kernel-update, fetch-distfile.sh -release/vm.sh ssh 14.3 'cd /usr/deps && python3 -m unittest discover -s release/tests' +release/vm.sh ssh 15.1 'cd /usr/deps && python3 -m unittest discover -s release/tests' ``` Run `release/tests` on the build VM as well (after `vm.sh sync`): those diff --git a/config/make-26.1.conf b/config/make-26.1.conf deleted file mode 100644 index 18843f1..0000000 --- a/config/make-26.1.conf +++ /dev/null @@ -1,10 +0,0 @@ -# Added to tools' make.conf for the 26.1 ports builds (release/build.sh, ports_make_conf). -# -# xcaddy fetches www/caddy-custom's plugins while it builds, at their newest versions -# unless a version is given. Upstream built 26.1.11 when it was tagged; by 2026-11-22 -# caddy-l4 v0.1.3 needed caddy 2.11.7, and the ports tree has 2.11.4. So tools' list, -# pinned at the versions of 2026-07-01, when 26.1.11 was tagged (proxy.golang.org). -CADDY_CUSTOM_PLUGINS= github.com/mholt/caddy-dynamicdns@v0.0.0-20251231002810-1af4f8876598 \ - github.com/mholt/caddy-l4@v0.1.1 \ - github.com/mholt/caddy-ratelimit@v0.1.0 \ - github.com/caddy-dns/cloudflare@v0.2.4 diff --git a/config/make-26.7.conf b/config/make-26.7.conf index d47b3dc..0fd1d16 100644 --- a/config/make-26.7.conf +++ b/config/make-26.7.conf @@ -1,7 +1,7 @@ # Added to tools' make.conf for the 26.7 ports builds (release/build.sh, ports_make_conf). # # xcaddy fetches www/caddy-custom's plugins while it builds, at their newest versions -# unless a version is given (see make-26.1.conf). So tools' list, pinned at the +# unless a version is given. So tools' list, pinned at the # versions of 2026-11-11, when 26.7.9 was tagged (proxy.golang.org); each one's go.mod # requires at most the ports tree's caddy 2.11.9. caddy-dynamicdns has no tags: the # pseudo-version of its last commit before then. diff --git a/drivers/caam/caam.c b/drivers/caam/caam.c index b035a2f..96829f8 100644 --- a/drivers/caam/caam.c +++ b/drivers/caam/caam.c @@ -730,8 +730,7 @@ caam_alloc_resource(device_t bus, device_t child, int type, int *rid, rman_set_type(res, type); if ((flags & RF_ACTIVE) != 0 && - bus_activate_resource(child, type, *rid, - res) != 0) { + bus_activate_resource(child, res) != 0) { rman_release_resource(res); return (NULL); } @@ -751,7 +750,7 @@ caam_alloc_resource(device_t bus, device_t child, int type, int *rid, * The child gets its own bus handle pointing into our VA space. */ static int -caam_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) +caam_activate_resource(device_t bus, device_t child, struct resource *res) { struct caam_softc *sc; bus_space_handle_t bh; @@ -761,11 +760,11 @@ caam_activate_resource(device_t bus, device_t child, int type, int rid, struct r sc = device_get_softc(bus); if (rman_get_type(res) != SYS_RES_MEMORY) - return (bus_generic_activate_resource(bus, child, type, rid, res)); + return (bus_generic_activate_resource(bus, child, res)); /* Verify the resource belongs to our rman */ if (rman_is_region_manager(res, &sc->sc_mem_rman) == 0) - return (bus_generic_activate_resource(bus, child, type, rid, res)); + return (bus_generic_activate_resource(bus, child, res)); bt = rman_get_bustag(sc->sc_rres); rv = bus_space_subregion(bt, rman_get_bushandle(sc->sc_rres), @@ -788,7 +787,7 @@ caam_activate_resource(device_t bus, device_t child, int type, int rid, struct r * Just clear the RF_ACTIVE flag. */ static int -caam_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) +caam_deactivate_resource(device_t bus, device_t child, struct resource *res) { struct caam_softc *sc; @@ -796,7 +795,7 @@ caam_deactivate_resource(device_t bus, device_t child, int type, int rid, struct if (rman_get_type(res) != SYS_RES_MEMORY || rman_is_region_manager(res, &sc->sc_mem_rman) == 0) - return (bus_generic_deactivate_resource(bus, child, type, rid, res)); + return (bus_generic_deactivate_resource(bus, child, res)); return (rman_deactivate_resource(res)); } @@ -805,7 +804,7 @@ caam_deactivate_resource(device_t bus, device_t child, int type, int rid, struct * Bus method: release a child's resource. */ static int -caam_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) +caam_release_resource(device_t bus, device_t child, struct resource *res) { struct caam_softc *sc; struct resource_list_entry *rle; @@ -815,10 +814,10 @@ caam_release_resource(device_t bus, device_t child, int type, int rid, struct re if (rman_get_type(res) != SYS_RES_MEMORY || rman_is_region_manager(res, &sc->sc_mem_rman) == 0) - return (bus_generic_rl_release_resource(bus, child, type, rid, res)); + return (bus_generic_rl_release_resource(bus, child, res)); if ((rman_get_flags(res) & RF_ACTIVE) != 0) { - rv = bus_deactivate_resource(child, type, rid, res); + rv = bus_deactivate_resource(child, res); if (rv != 0) return (rv); } diff --git a/drivers/fand/Makefile b/drivers/fand/Makefile index 58ce682..dca0a69 100644 --- a/drivers/fand/Makefile +++ b/drivers/fand/Makefile @@ -9,7 +9,7 @@ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 CFLAGS= -O2 -pipe -Wall --sysroot=${SYSROOT} ${TARGET} LDFLAGS= ${TARGET} --sysroot=${SYSROOT} diff --git a/fastpath/cmm/Makefile.cross b/fastpath/cmm/Makefile.cross index 54b1f58..831190e 100644 --- a/fastpath/cmm/Makefile.cross +++ b/fastpath/cmm/Makefile.cross @@ -5,14 +5,14 @@ # # Builds in the current directory (use /tmp/cmm-build or similar). # Requires OPNsense base build first: -# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.1 TOOLSDIR=/usr/tools +# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.7 TOOLSDIR=/usr/tools # # Copyright 2026 Mono Technologies Inc. # SPDX-License-Identifier: GPL-2.0+ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 SRCDIR= ${MAKEFILE:H}/.. CMM_DIR= ${SRCDIR}/cmm diff --git a/fastpath/cmmctl/Makefile.cross b/fastpath/cmmctl/Makefile.cross index 2197d5d..63e304a 100644 --- a/fastpath/cmmctl/Makefile.cross +++ b/fastpath/cmmctl/Makefile.cross @@ -5,14 +5,14 @@ # make -f /usr/deps/fastpath/cmmctl/Makefile.cross clean all # # Requires OPNsense base build first: -# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.1 TOOLSDIR=/usr/tools +# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.7 TOOLSDIR=/usr/tools # # Copyright 2026 Mono Technologies Inc. # SPDX-License-Identifier: GPL-2.0+ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 SRCDIR= ${MAKEFILE:H}/.. CTL_DIR= ${SRCDIR}/cmmctl diff --git a/fastpath/dpa_app/Makefile.cross b/fastpath/dpa_app/Makefile.cross index ef34110..2ae853f 100644 --- a/fastpath/dpa_app/Makefile.cross +++ b/fastpath/dpa_app/Makefile.cross @@ -15,7 +15,7 @@ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc CXX?= c++ -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 SRCDIR= ${MAKEFILE:H}/../vendor/dpa_app DPA_APP_DIR?= ${MAKEFILE:H} diff --git a/fastpath/fmc/Makefile.cross b/fastpath/fmc/Makefile.cross index 80750d1..fcad5f2 100644 --- a/fastpath/fmc/Makefile.cross +++ b/fastpath/fmc/Makefile.cross @@ -16,7 +16,7 @@ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc CXX?= c++ AR?= ar -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 SRCDIR= ${MAKEFILE:H}/source FMLIB_INC?= ${MAKEFILE:H}/../fmlib/include/fmd diff --git a/fastpath/fmlib/Makefile.cross b/fastpath/fmlib/Makefile.cross index e6ad82f..ecf0617 100644 --- a/fastpath/fmlib/Makefile.cross +++ b/fastpath/fmlib/Makefile.cross @@ -5,7 +5,7 @@ # # Builds in the current directory (use /tmp/fmlib-build or similar). # Requires OPNsense base build first: -# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.1 TOOLSDIR=/usr/tools +# sudo make -C /usr/tools base DEVICE=GATEWAY SETTINGS=26.7 TOOLSDIR=/usr/tools # # Copyright 2026 Mono Technologies Inc. # SPDX-License-Identifier: BSD-2-Clause @@ -13,7 +13,7 @@ SYSROOT?= /usr/obj/usr/src/arm64.aarch64/tmp CC?= cc AR?= ar -TARGET?= --target=aarch64-unknown-freebsd14.3 +TARGET?= --target=aarch64-unknown-freebsd15.1 SRCDIR= ${MAKEFILE:H} FMLIB_INC= ${SRCDIR}/include/fmd diff --git a/fastpath/include/linux_compat.h b/fastpath/include/linux_compat.h index 22ec84a..8658398 100644 --- a/fastpath/include/linux_compat.h +++ b/fastpath/include/linux_compat.h @@ -74,7 +74,9 @@ static inline void print_hex_dump(const char *level, const char *prefix_str, * ---------------------------------------------------------------- */ #define __init #define __exit +#ifndef __maybe_unused /* sys/cdefs.h has it since FreeBSD 15 */ #define __maybe_unused __unused +#endif #define __user /* user-space pointer annotation: no-op */ #define MODULE_LICENSE(x) #define MODULE_AUTHOR(x) diff --git a/patches/26.1/0001-interfaces-restart-CMM-on-interface-reassignment.patch b/patches/26.1/0001-interfaces-restart-CMM-on-interface-reassignment.patch deleted file mode 100644 index b301587..0000000 --- a/patches/26.1/0001-interfaces-restart-CMM-on-interface-reassignment.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Tomaz Zaman -Date: Fri, 3 Apr 2026 16:54:29 +0200 -Subject: [PATCH 1/2] interfaces: restart CMM on interface reassignment - -When interfaces are reassigned, CDX hardware flow tables retain stale -entries from the old interface mapping. CMM catches address changes via -route socket events, but reassignment can happen without IP changes. -Trigger a CMM restart via configd after saving interface assignments -to flush stale offload state and re-discover interfaces. ---- - src/www/interfaces_assign.php | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/www/interfaces_assign.php b/src/www/interfaces_assign.php -index 98cabfa..81e3917 100644 ---- a/src/www/interfaces_assign.php -+++ b/src/www/interfaces_assign.php -@@ -285,6 +285,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { - if ($changes > 0) { - filter_configure(); - } -+ configd_run('cmm restart', true); - - header(url_safe('Location: /interfaces_assign.php')); - exit; --- -2.53.0 - diff --git a/patches/26.1/0002-firmware-use-the-opnsense.karsttech.com-aarch64-mirr.patch b/patches/26.1/0002-firmware-use-the-opnsense.karsttech.com-aarch64-mirr.patch deleted file mode 100644 index 88dc20b..0000000 --- a/patches/26.1/0002-firmware-use-the-opnsense.karsttech.com-aarch64-mirr.patch +++ /dev/null @@ -1,202 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jeremy Karst -Date: Tue, 17 Nov 2026 18:12:05 -0500 -Subject: [PATCH 2/2] firmware: use the opnsense.karsttech.com aarch64 mirror - and signing key - -Upstream publishes no aarch64 builds and the vendor mirror -opnsense.mono.si is gone, so the Mono Gateway builds are signed and -published at https://opnsense.karsttech.com: - -- CORE_PACKAGESITE points at the new mirror -- trust its key opnsense.karsttech.com.20261117 -- revoke the vendor keys opnsense.mono.si.20260305 and .20260716 -- the mirror list offers only the new mirror; the business and devel - families and subscription flavours do not exist for aarch64 - -The vendor's separate MonoGateway repository is dropped: the board -package is published in the OPNsense repository so that major upgrades -(opnsense-update -P only upgrades OPNsense) carry it across ABIs. - -Co-Authored-By: Claude Opus 5.5 ---- - Mk/version.mk | 2 +- - plist | 3 + - .../revoked/opnsense.mono.si.20260305 | 2 + - .../revoked/opnsense.mono.si.20260716 | 2 + - .../trusted/opnsense.karsttech.com.20261117 | 2 + - .../OPNsense/Core/repositories/opnsense.xml | 86 +------------------ - 6 files changed, 13 insertions(+), 84 deletions(-) - create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 - create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 - create mode 100644 src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 - -diff --git a/Mk/version.mk b/Mk/version.mk -index 85c078b..05360ed 100644 ---- a/Mk/version.mk -+++ b/Mk/version.mk -@@ -36,7 +36,7 @@ CORE_CONFLICTS?=firewall wireguard wireguard-go - CORE_COMMENT?= ${CORE_PRODUCT} ${CORE_TYPE} release - CORE_MAINTAINER?= project@opnsense.org - CORE_ORIGIN?= opnsense/${CORE_NAME} --CORE_PACKAGESITE?= https://pkg.opnsense.org -+CORE_PACKAGESITE?= https://opnsense.karsttech.com - CORE_PRODUCT?= OPNsense - CORE_WWW?= https://opnsense.org/ - CORE_USER?= wwwonly -diff --git a/plist b/plist -index 050bc93..f9e31d6 100644 ---- a/plist -+++ b/plist -@@ -59,6 +59,8 @@ - /usr/local/etc/opnsense-beep.d/start - /usr/local/etc/opnsense-beep.d/stop - /usr/local/etc/opnsense-update.conf -+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 -+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20150402 - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160104 - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160630 -@@ -80,6 +82,7 @@ - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20240611 - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20241217 - /usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20250710 -+/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 - /usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20260120 - /usr/local/etc/rc - /usr/local/etc/rc.bootup -diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 -new file mode 100644 -index 0000000..af63017 ---- /dev/null -+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 -@@ -0,0 +1,2 @@ -+function: "sha256" -+fingerprint: "ed8c6cdf38383853b0d6f4c6bf70efa1793d76a57e78317a53653404bcabd931" -diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 -new file mode 100644 -index 0000000..4836210 ---- /dev/null -+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 -@@ -0,0 +1,2 @@ -+function: "sha256" -+fingerprint: "8da295f8c3c4bc0817ac630e00c284fb2354f4fd27af4b72c58105186ff425f3" -diff --git a/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 -new file mode 100644 -index 0000000..da2fd81 ---- /dev/null -+++ b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 -@@ -0,0 +1,2 @@ -+function: "sha256" -+fingerprint: "5fc1e2bf74e0386a2ea1ee60d085d683735a9d7cd8090647be0f476c779c0dc3" -diff --git a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml -index da4f293..bf3fc00 100644 ---- a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml -+++ b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml -@@ -5,100 +5,20 @@ - (default) - - -- https://mirrors.dotsrc.org/opnsense -- Aalborg University (HTTPS, Aalborg, DK) -- -- -- https://opnsense.aivian.org -- Aivian (HTTPS, Shaoxing, CN) -- -- -- https://opnsense-update.deciso.com -- Deciso (HTTPS, Commercial) -- -- -- https://nl.opnsense-update.deciso.com -- Deciso (HTTPS, NL, Commercial) -- -- -- https://us-east.opnsense-update.deciso.com -- Deciso (HTTPS, US, Commercial) -- -- -- https://opnsense.c0urier.net -- c0urier.net (HTTPS, Horsens, DK) -- -- -- https://mirror.cloudfence.com.br/opnsense -- Cloudfence (HTTPS, Sao Paulo, Brazil) -- -- -- https://opnsense-mirror.hiho.ch -- HiHo (HTTPS, Zurich, CH) -- -- -- https://mirror-opnsense.serverbase.ch -- ServerBase AG (HTTPS, Zurich, CH) -- -- -- https://mirror.ams1.nl.leaseweb.net/opnsense -- LeaseWeb (HTTPS, Amsterdam, NL) -- -- -- https://mirror.fra10.de.leaseweb.net/opnsense -- LeaseWeb (HTTPS, Frankfurt, DE) -- -- -- https://mirror.sfo12.us.leaseweb.net/opnsense -- LeaseWeb (HTTPS, San Francisco, US) -- -- -- https://mirror.wdc1.us.leaseweb.net/opnsense -- LeaseWeb (HTTPS, Washington, D.C., US) -- -- -- http://quantum-mirror.hu/mirrors/pub/opnsense -- Quantum Mirror (HTTP, Hungary, HU) -- -- -- http://mirror.marwan.ma/opnsense/ -- MARWAN (HTTP, Rabat, MA) -- -- -- https://mirrors.nycbug.org/pub/opnsense -- NYC*BUG (HTTPS, New York, US) -- -- -- https://pkg.opnsense.org -- OPNsense (HTTPS, Amsterdam, NL) -- -- -- https://www.mirrorservice.org/sites/opnsense.org -- University of Kent (HTTPS, Kent, GB) -- -- -- http://mirror.venturasystems.tech/opnsense -- Ventura Systems (HTTP, Medellin, CO) -+ https://opnsense.karsttech.com -+ Karst Tech (HTTPS, aarch64 Mono Gateway) - - - -- -+ - - (default) - - - -- -- business -- Business -- - - - Community - -- -- devel -- Development -- - - --- -2.53.0 - diff --git a/release/build.sh b/release/build.sh index 2be7a8d..cdd9310 100644 --- a/release/build.sh +++ b/release/build.sh @@ -13,7 +13,7 @@ # the key trusted in keys/fingerprints), build and # sign the eMMC image; vm.sh sign provides KEYDIR # -# SERIES is e.g. 26.1, VERSION e.g. 26.1.11. Repositories are checked out at the +# SERIES is e.g. 26.7, VERSION e.g. 26.7.9. Repositories are checked out at the # VERSION tag unless overridden (upstream sometimes skips a tag in one of them): # TOOLS_REF, CORE_REF, PORTS_REF, PLUGINS_REF (default VERSION) and SRC_REF # (default stable/SERIES of our src fork). FORGE and UPSTREAM name the git hosts. diff --git a/release/vm.sh b/release/vm.sh index 7ac8414..f0bcf94 100644 --- a/release/vm.sh +++ b/release/vm.sh @@ -23,8 +23,8 @@ # vm.sh pull-out OSREL SERIES copy the signed sets and image to $GW_OUT/SERIES # vm.sh destroy OSREL stop the VM and delete its disk # -# OSREL is the FreeBSD release the OPNsense series is built on: 14.3 for 26.1, -# 15.1 for 26.7 (the OS line of tools' config//build.conf). +# OSREL is the FreeBSD release the OPNsense series is built on: 15.1 for 26.7 +# (the OS line of tools' config//build.conf). # # Settings come from the environment or from $GW_KEYDIR/vm.conf (sourced): GW_VMHOST, # GW_VMROOT (the VM directory on the build host; vmhost.sh's default ~/gwbuild-vm),