Re: Staging and /var

From: Christoph Moench-Tegeder <cmt_at_burggraben.net>
Date: Tue, 27 Dec 2022 21:29:02 UTC
## Stephen Roznowski (sjrbulk@verizon.net):

> 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).

Regards,
Christoph

-- 
Spare Space