docs(packaging/freebsd): use version placeholders in the examples

The build and install examples named v0.5.1 — the release current when
they were written. Every release since has left them describing a
version nobody builds, and nothing gates them, so the drift is silent
and only a reader hitting a stale copy-pasteable command notices.

The install command and the output path become <version>/<arch>. The
example illustrating the '-' and '+' to '.' mapping keeps a concrete
shape, since a placeholder alone would not show the transformation, but
uses <x.y.z> rather than a real release so it cannot go stale either.
This commit is contained in:
fr34aky
2026-09-10 23:54:10 +00:00
committed by Johnathan Corgan
parent a1c0cd42f5
commit 93d45191c4
+4 -3
View File
@@ -18,13 +18,14 @@ not compiled pending FreeBSD-specific `SO_REUSEPORT` validation.
./packaging/freebsd/build-pkg.sh --no-build # package existing release binaries
```
Output: `deploy/fips-<version>-freebsd-<arch>.pkg` (e.g.
`fips-0.5.1.dev-freebsd-amd64.pkg` — pkg versions cannot contain `-`).
Output: `deploy/fips-<version>-freebsd-<arch>.pkg`. pkg versions cannot
contain `-` or `+`, so both are mapped to `.`: a Cargo version of
`<x.y.z>-dev` becomes `fips-<x.y.z>.dev-freebsd-amd64.pkg`.
## Install
```sh
pkg add ./deploy/fips-0.5.1-freebsd-amd64.pkg
pkg add ./deploy/fips-<version>-freebsd-<arch>.pkg
# post-install seeds this from the sample if absent, at mode 0600
vi /usr/local/etc/fips/fips.yaml
sysrc fips_enable=YES fips_dns_enable=YES