Re: Staging and /var

From: Christoph Moench-Tegeder <>
Date: Tue, 27 Dec 2022 21:29:02 UTC
## Stephen Roznowski (

> I'm in the process of creating a new port that requires the installation
> of some files in /var.

When something is surprisingly hard, you should stop and think if you're
holding it wrong. So, why /var? Could it make sense to use
/usr/local/var/ (${PREFIX}/var to be precise)? Or maybe /var/db for
local state, as it some ports use? Once you've answered that question,
have a look at security/krb5-120 for how to handle ${PREFIX}/var and/or
security/sudo for anything in /var/db (these are the first examples which
crossed my mind, there are more).


Spare Space