Re: New PKGBASE Alias Proposal

From: vermaden <vermaden_at_interia.pl>
Date: Sat, 18 Oct 2025 22:19:39 UTC
Submitted:

https://github.com/freebsd/pkg/issues/2543



Temat: Re: New PKGBASE Alias Proposal
Data: 2025-10-17 12:28
Nadawca: "Lexi Winter" &lt;ivy@freebsd.org>
Adresat: "vermaden" &lt;vermaden@interia.pl>; 
DW: freebsd-stable@freebsd.org; freebsd-pkgbase@freebsd.org; 

> 
> > vermaden wrote in :
>> After messing a little with PKGBASE this one could be handy:
>> 
>> root@pkgbase:~ # grep -e '^ALIAS' -e sets -e '^}' /usr/local/etc/pkg.conf
>> ALIAS {
>>     sets = "info -d -C -x '^FreeBSD-set-'";
>> }
> 
> you should submit this as a pkg(8) issue at
> https://github.com/freebsd/pkg.
> 
> that said, i'm not sure this is generally useful enough to warrant an
> inclusion in pkg.conf by default.  i am wondering about writing a
> pkgset(8) tool to handle sets, which would also help to work around
> pkg's unhelpful behaviour when removing a dependency of a vital
> package.