This commit is contained in:
Mateusz Gruszczyński committed 2026-09-29 16:53:26 +02:00
1 parent 5ec14c6157
commit d94bd7609a
11 files changed
+232 -9

No files matched your search

+6
View File
@@ -35,3 +35,9 @@ and compresses it with zstd to `.pkg`.
```
The exact RustProxy SHA and package version are written to `dist/BUILD-INFO.txt`.
## Build-only FreeBSD patch layer
RustProxy upstream is kept unchanged. Before Docker compilation, the Debian builder copies the checked-out source into a temporary directory under `dist/.build-source/` and applies version-specific patches from `builder/freebsd/patches/<version>/`. Docker receives the temporary copy read-only. The temporary tree is removed after the build.
For RustProxy 0.20.0 the patch is `builder/freebsd/patches/0.20.0/0001-opnsense-build.patch`. This makes the FreeBSD/OPNsense compatibility changes part of the packaging repository rather than the RustProxy repository.