From nobody Fri Oct 17 10:44:28 2025 X-Original-To: freebsd-pkg@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 4cp1fV4Dvcz6D4Vq for ; Fri, 17 Oct 2025 10:44:34 +0000 (UTC) (envelope-from polyduekes@proton.me) Received: from mail-24431.protonmail.ch (mail-24431.protonmail.ch [109.224.244.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cp1fV0tK2z49cY for ; Fri, 17 Oct 2025 10:44:34 +0000 (UTC) (envelope-from polyduekes@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1760697871; x=1760957071; bh=OexoVNvv2lRlCVgW5WV7Sm1YMGhf+MN44YX6U7sUszU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JnINSneDdIzLv9Vj/21/fwDIDm2UxUVGXZ1j+CrC8kXIL+3IGsZcCXERHf6BOjo5l 8YPqptCImPjTjoTuu1o4uR+XAGAiBoEk13De1zpBuLw7lRlnN/pJ8TTiEgAp1mGzMT JYzIsBdY7Pvz4Z88BMHdXnT8epa60ZUTQ+DgPq24Vu1+DUKYc2TENawQBVRJ4AD+6M UT9qq9H5yff7+UO1jYfCpnzkkfLe1Y7MaMBWLnX5oRmQHqPjaPwX7pOe3aAOQ6yTg1 WhLQy+czaNvnRgyCEieXPlGnmpuqSU4F2cFTLNLSkHVCl8diafAgqdAE+CuyTXpRkh aAiMTrWBofEAw== Date: Fri, 17 Oct 2025 10:44:28 +0000 To: Lexi Winter From: polyduekes@proton.me Cc: freebsd-pkg@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD-set-src package is marked as vital? Message-ID: In-Reply-To: References: <5d1e6469-bf34-4407-a84f-c46bdb827312@gmail.com> Feedback-ID: 94987605:user:proton X-Pm-Message-ID: 41b803883c93f14dd518085d1db154835be12a74 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:109.224.244.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cp1fV0tK2z49cY On Friday, October 17th, 2025 at 12:52 PM, Lexi Winter ivy@freebsd.org wrot= e: > polyduekes@proton.me wrote in eReF1RJQrzi3aUqlXyr4rF3hFr32l2FlccEUOMfp9_A= dpl7eQSPpfqTSUzdxzMGSs793h4IYqBSk5LdqVlr6t3_GNiBYlWZMwsmd-oTMD0Q=3D@proton.= me: > > > pkg would autoremove the FreeBSD-set-src package or it's dependencies > > if it isn't marked as vital? > > the issue is that if you remove "src", intending to keep "src-sys", pkg > will also remove "set-src", then since src-sys was autoinstalled as a > dependency of set-src, a later "pkg autoremove" will remove src-sys, > something the user probably didn't expect. if a user wants to keep just the src-sys package they can simply remove the= set and just pkg install the src-sys package, i am aware this isn't applic= able to other sets but it quite fits for the src set > > the vital flag is intended as a safeguard to make people aware they > might not want to do this. > > (i am not entirely convinced this actually fixes the problem, but the > consensus was fairly strongly in favour of this.) > > > i can think of two reasons as to why it shouldn't be marked as vital, > > first is that anyone who has deliberately git cloned the base src tree > > and deliberately modified it wouldn't want their modifications to get > > overwritten anytime and the FreeBSD-src and related packages obviously > > overwrite any change anytime they(the packages of FreeBSD-set-src) get > > upgraded > > this is a reason to remove the src packages, not a reason to stop > marking them as vital. the src package seems to be a nice addition for an user that installs freeb= sd with pkgbase and chooses to install the src tree as well, so it would be= nice if it is possible to keep it only when the user chooses to :) > > > second is that not everyone needs or wants a copy of src tree on their > > system by default which i assume they will get when they use pkgbase > > to install freebsd since it's marked as vital > > no, they won't: vital doesn't cause it to be automatically installed. > if you have it installed, it's because you (or some tool, perhaps) > opted to install it. you are right, sorry for the false assumption, guess the two issues i menti= oned are on me then