www/bunkerweb: Fix rc scripts for non-3.11 Python versions
The rc scripts hardcoded /usr/local/bin/python3.11, which only worked
while the tree default happened to be 3.11. With the default at 3.12
none of the three Python services could start. Substitute the
interpreter through %%PYTHON_VERSION%% instead.
While here, create /var/run/bunkerweb in the scheduler precmd. The
scheduler writes its own pid file below that directory and died with
FileNotFoundError on a fresh boot because nothing created it.
Sponsored by: Netzkommune GmbH
security/py-biscuit-auth: Add Python flavors
The port built for the default Python version only, so consumers had
no flavor to depend on and had to spell the dependency without
${PY_FLAVOR}.
Sponsored by: Netzkommune GmbH
www/bunkerweb: Add missing setuptools run dependency
passlib/pwd.py imports pkg_resources at module level, and that module
lives in setuptools. Nothing in the dependency chain requested it, so
the import only succeeded as long as something else happened to pull
setuptools in. Upstream pins setuptools<81 in the scheduler
requirements for the same reason: pkg_resources is gone in 81.
While here, pin the py-biscuit-auth dependency to ${PY_FLAVOR} now
that the port has flavors.
Sponsored by: Netzkommune GmbH
devel/jenkins{,-lts}: Fix rc script output handling
- Add -f to daemon(8) so the service does not keep the caller's
terminal or pipe open. Before this, `service jenkins restart | tail`
hung forever.
- Let rc.subr handle the user switch instead of a custom start_cmd.
Sponsored by: The FreeBSD Foundation