When to use TMPPLIST instead of pkg-plist?

Adam Weinberger adamw at adamw.org
Sat Feb 29 10:34:39 UTC 2020


On Sat, Feb 29, 2020 at 3:02 AM Mateusz Piotrowski <0mp at freebsd.org> wrote:
>
> On 2/29/20 12:15 AM, Mathieu Arnold wrote:
> > On Fri, Feb 28, 2020 at 10:06:19PM +0100, Mateusz Piotrowski wrote:
> >> Do we have any (perhaps unwritten) policy for when to use TMPPLIST? And when
> >> should a port maintainer stick to pkg-plist?
> > We do not.  A port maintainer should stick to pkg-plist.
>
> That's what I thought.
>
> Is there a reason for it? Does it all boil down to that fact that
> pkg-plist is much more explicit and easier to debug/review? Or there is
> another reason?

That, and maintainers knowing when a change impacts what gets
installed. Explicit pkg-plist can be irritating, but that happens for
precisely the same reason that it's beneficial. It's a pretty useful
check.

That said, TMPPLIST is there for a reason and there's no problem with
leveraging it when the situation calls for it. The one true guideline
on when it's appropriate is "to solve a problem that pkg-plist can't
fix," and in general committer instinct has been quite good as to when
it's needed.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list