From nobody Tue Dec 9 15:47:36 2025 X-Original-To: freebsd-pkgbase@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 4dQjtQ6v6wz6KpR5 for ; Tue, 09 Dec 2025 15:48:14 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4dQjtQ6DZVz42nn for ; Tue, 09 Dec 2025 15:48:14 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765295294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/Sg68TgIwySMm9Kj2DulZydAbhs+ckNIKsoXo8+B9dM=; b=cwjjISbZsvSlQ12zd6DghRF+zKeWyGSZ8e/QPzWdDjbfILPO/yF4kaW6Ir60fNOK/k7AJu JY9IGzKmmombWRsOKJoPLx6cjuOubaAR+g7371muxUHQ4Ez3Wq/X08+TeKbHXtQCtWg/XK h7gBGUcLkOm9Fn6CGbgQgd5uHvV+q3i6J7yADeNpPNQTJdNrWOVE4wnEyPdIhUTfjNHCT8 wIl7F5JONvmzLYIHQJvnDXgVCIJqSEdFjCfVJTdTGpo+Xpvx0G9i9gJyFbDZkHfMXt18xH U3qIHXuO99gL6PPOL/ibcrSJkG1iMaMGpNUDOsn+XDHMz3frMq0U3F1xjjqMkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765295294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/Sg68TgIwySMm9Kj2DulZydAbhs+ckNIKsoXo8+B9dM=; b=N017sqWN+bB/mLpEpuAIgzZzrxDWgXbkyxGoFPZIUA9a/vJAFNO/hHoGBuy0mkO3dpCDv/ teoKmG5gBX46yl4gvKARupW7Imy6A6Q9A5+T9juP6KlRKyfvC/3JDykvcRaT8dray4HNXo U/d2UwU/YSyHnzuB2oPBTTi+AfDgYvs1JAMVxTx5eIIK3WcWWBCR7RH3lCPItz0yQleD2z 0oYakhfvH6zqde/eCbxx5LVjYmX0FrBZ6eZRGYbAbeiEGLhJSknvkulpi2i6mPXi6LXOEZ kRi2ZBR6HouY0b2zkQPhb2XrkEml8hIH6mCsLBdgna2CtPPhMNO1ka3k4JhMRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765295294; a=rsa-sha256; cv=none; b=n6IWCPpbs9LlpKmsBt50SAFidcu26+fXmFj9h+wRF6tiCKAmBgikHHcXV/TcEXmyZFRPTh jz7nrZ0G148QbMCPgrn0lW+YhJeuQwD8gH8o7dNvWocXIVoKH6mp33DHXioOyGSsU1i4e2 0IGOyTxXuUJ9RhsfMVrJJTLCWuqBHbheBcbeHe1efhQ9/F1jvw8PsaSfmVrrDW4dLVwxGP Ws4Sbj+H96Q/SKjA+YmZ2n52sKP3siyGNE0IOT4Jjan7cbTt8Q8E/faR8lni+slHJwpgd7 6sslRy5A/7Ph7n1GtZRsRYsK+1OzzP31dLMiqFfTDPUYckWb4M/hm8TBtnzk+Q== 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 4dQjtQ4HTzzPQW for ; Tue, 09 Dec 2025 15:48:14 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Tue, 9 Dec 2025 15:47:36 +0000 From: Lexi Winter To: freebsd-pkgbase@freebsd.org Subject: Re: Customize what packages get installed Message-ID: Mail-Followup-To: freebsd-pkgbase@freebsd.org References: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pgsE2BBp/D+GmeSF" Content-Disposition: inline In-Reply-To: --pgsE2BBp/D+GmeSF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Ankerst=C3=A5l wrote in : > After fiddling around with pkgbase for a while realized that this is a > very convenient way to customize what software gets installed or > upgraded in a system compared to a custom make.conf. >[..] > If I for some reason like security, storage or any other reason decide > to build a slimmed down system I would like to filter what packages > get installed during upgrade. nothing will be installed during upgrade, unless it is a new dependency of something which is being upgraded. for example, suppose someone added Kerberos support to nc(1). if you had nc(1) installed, but did not have FreeBSD-kerberos-lib installed, then upgrading to the newer release would install FreeBSD-kerberos-lib, because nc now requires it. but if someone did not make this change, FreeBSD-kerberos-lib will not be installed unless you manually install it. the only exception to this is if you install a package set, such as FreeBSD-set-minimal, and new packages are added to that set; in that case the new packages will be installed. if you want to avoid that, you can simply not install (or remove) the set package. after doing that, make sure to mark all the existing packages as not automatically installed, otherwise pkg autoremove might remove them. > A side track for this question is security updates. Using 14.3 > upgrading to a new patch level pkg upgraded all installed FreeBSD-base > packages at the new patch level. Why couldn=E2=80=99t it just install the > packages that changed with that patch level? i am not sure i understand what you're asking here; could you please provide an example of the behaviour you're talking about, and also describe how you think it should work instead? --pgsE2BBp/D+GmeSF Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaThElQAKCRD1nT63mIK/ YG/BAQCaiquyL3wdqkwXRYLDi5IXanUt1XFxkpDQMWn26aUMuAEA8/7hHcknXJVU 0BZyUuoi8ATgk4goCU1eXG4kkYIbTgA= =08v4 -----END PGP SIGNATURE----- --pgsE2BBp/D+GmeSF--