From nobody Fri Oct 17 07:22:19 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 4cnx9J1ptdz6CnvL; Fri, 17 Oct 2025 07:22:28 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cnx9J11q1z3gmT; Fri, 17 Oct 2025 07:22:28 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760685748; 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=RwxXTpV/CIJam/4KwOBivo/FijpvDrmfOBD2ptLX/JE=; b=v8h2mSBBih5bBFraerAnTYSI8MdhDLmN5wNUSPeinK20NV8ZuDynH7BrAANKXEgvfriUKQ HZWVGeibqKlGiP4ymmfTtafW1SJuKWll5wRC5LjJ3ttGP8QTWFlALxRbHFCLVvbFOwl6Ly O4SM4z1oKOIUSP7vHd7oTRtCy5rkqO+T1Vcq3pae0iV1ksZ2rjX2E+DbdBjJWipWqqRrhA oWJ1XugD+rd+FR1aU/1jogx0MFx9mYAib2hXfF88RmZuG43Aa8IbUIoVJ9Ya8H6JHOz3S4 fC5i5lZ8l1SXi4D/irJmuUwS9c7abcXYyrrbvrhSj2WJicH0cV1nAqmzB3/7uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760685748; 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=RwxXTpV/CIJam/4KwOBivo/FijpvDrmfOBD2ptLX/JE=; b=QEeUAWtVuvfmEJHjP31rwvnqX25IqRvvdqxcMJaRLC0DlvASinAjqB3H2OSS/aJjQZTQrm KLY8BdR4woFA5wWEYiNanZGftbWwalduH2SKOdVmY9BNA221oaOd4mt4kQd6ofrPOOmL4x YkgLWViUovoOeZW8H3QMQEYKpMN+q+8RFASyi+rcRP4Mnj2Zr+YYjEf8pw0Dtmy776Yfqg SyuLflCMuHKHbjcuYzIMJF9ivakMZH6pcL1rqa/xVES+zFMkbIZE9ba3GN/uutyocd8Krv tnQjRFN+SGbRtzZ0DgRpwKaaoIV0WGPzj/ixrcjOKEckbexpThnZ9lPg8cwYlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760685748; a=rsa-sha256; cv=none; b=xKVwk/Iz/P2I+c7KbVfe42OFGRaUGy9iiNXeUS01JocMCQuFI42uWu9rot4Efumzp64Qy1 FTKb63UPvWCgDQYsZsSZiesDPyIBCRwrSEGKt/NNTl0FLMgTP3r77zitvEsccfSuAgkPT5 sLVbO0TXGQz/bBAtTtzkbSkZv8W+Vl0nnKoy1Ug9Qea0ijjUfLFuQY4F9Hj6KWJUeW310E 8nvw20sSxE+vT2sFWUwVw2OM5nwWSe1jxzxpPXAccJy1ZEhnSvVTTm1lbtyPjZmtWRyRem 5nplo3Shuta8vsBoqCAmOxoo42IyK2N5kkiyd/sy2cLM+5fCWSeWuYwIxL+BIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (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 did not present a certificate) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cnx9H4Dhyz5ys; Fri, 17 Oct 2025 07:22:27 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Fri, 17 Oct 2025 08:22:19 +0100 From: Lexi Winter To: polyduekes@proton.me Cc: freebsd-pkg@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD-set-src package is marked as vital? Message-ID: Mail-Followup-To: polyduekes@proton.me, freebsd-pkg@freebsd.org, freebsd-stable@freebsd.org References: <5d1e6469-bf34-4407-a84f-c46bdb827312@gmail.com> 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w3GQNYUyd3e2bp7H" Content-Disposition: inline In-Reply-To: --w3GQNYUyd3e2bp7H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline polyduekes@proton.me wrote in : > 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. 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. > 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. --w3GQNYUyd3e2bp7H Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaPHuqwAKCRD1nT63mIK/ YCAFAQCix1X+Ge8Fqtfq99REMVv2lAM1M0K5opOHm9dgL0ZJ7AD9GiUc/ZK6Gdeg b49ICRixUX+idXpc4gPiMrR2o4bduQY= =5I0W -----END PGP SIGNATURE----- --w3GQNYUyd3e2bp7H--