Re: PKGBASE Removes FreeBSD Base System Feature

From: Christos Chatzaras <chris_at_cretaforce.gr>
Date: Fri, 08 Aug 2025 13:05:08 UTC

> On 8 Aug 2025, at 04:20, vermaden <vermaden@interia.pl> wrote:
> 
> OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.
> 
> My 'vote' here does not changed.
> 
> Lets keep pkg(8) for third party packages with:
> - /etc/pkg
> - /usr/local/etc/pkg
> - /var/db/pkg
> 
> Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
> - /etc/pkgbase
> - /usr/local/etc/pkgbase
> - /var/db/pkgbase
> 
> Its literally the same 'separation' as the Base System for binaries:
> - /bin
> - /usr/bin
> - /sbin
> - /usr/sbin
> 
> And /usr/local PREFIX for third party packages as:
> - /usr/local/bin
> - /usr/local/sbin
> 
> Regards,
> vermaden

I support the pkgbase approach and agree with the proposed separation.