From nobody Fri Aug 8 13:05:08 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bz4580x8Pz63my5 for ; Fri, 08 Aug 2025 13:05:16 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp8.cretaforce.gr (smtp8.cretaforce.gr [116.202.1.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bz45775RPz3WDF for ; Fri, 08 Aug 2025 13:05:15 +0000 (UTC) (envelope-from chris@cretaforce.gr) Authentication-Results: mx1.freebsd.org; none Received: from server1.cretaforce.gr (server1.cretaforce.gr [94.130.217.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) client-signature RSA-PSS (2048 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by smtp.cretaforce.gr (Postfix) with ESMTPS id DCF8F1F74C for ; Fri, 8 Aug 2025 16:05:08 +0300 (EEST) Received: from smtpclient.apple (unknown [109.178.143.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 291C92C972; Fri, 08 Aug 2025 16:05:09 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1754658309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R2OVja7KT8IUD690IE+R6kCeAN/FnDPyv147sZgekyI=; b=H/MgVcDyehyEPITxBiOtODSjNIJUP2sDwhnyLszhuahR64YGl0ht6KpXkfsSM3SgbMi/bK jeaGeaRhumipoD6ZsMtLeCG8cPP12RU8z74N+YE7GcI4fzqNuUkF+m3vCrIWHjYJCtqe/j NjQafNxSL9ef7tUTHQRq6N4kYZwBYW4= From: Christos Chatzaras Message-Id: <60C3169A-3793-4E65-9113-A402934618A8@cretaforce.gr> Content-Type: multipart/alternative; boundary="Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: PKGBASE Removes FreeBSD Base System Feature Date: Fri, 8 Aug 2025 16:05:08 +0300 In-Reply-To: Cc: Sulev-Madis Silber , "freebsd-current@freebsd.org" , "freebsd-stable@freebsd.org" , "freebsd-pkgbase@freebsd.org" To: vermaden References: X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Rspamd-Queue-Id: 4bz45775RPz3WDF X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE] --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 8 Aug 2025, at 04:20, vermaden wrote: >=20 > 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. >=20 > My 'vote' here does not changed. >=20 > Lets keep pkg(8) for third party packages with: > - /etc/pkg > - /usr/local/etc/pkg > - /var/db/pkg >=20 > Lets have pkgbase(8) for FreeBSD Base System PKGBASE with: > - /etc/pkgbase > - /usr/local/etc/pkgbase > - /var/db/pkgbase >=20 > Its literally the same 'separation' as the Base System for binaries: > - /bin > - /usr/bin > - /sbin > - /usr/sbin >=20 > And /usr/local PREFIX for third party packages as: > - /usr/local/bin > - /usr/local/sbin >=20 > Regards, > vermaden I support the pkgbase approach and agree with the proposed separation.= --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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.

= --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486--