From nobody Wed May 7 07:10:48 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 4Zsmd63fLJz5vtjF for ; Wed, 07 May 2025 07:10:50 +0000 (UTC) (envelope-from bapt@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zsmd631qYz3PN6; Wed, 07 May 2025 07:10:50 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746601850; 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=7tDj+cEmBOFddUAIsVVklcZTEilKnWWHHh4dtEZNg14=; b=vwt+WNy74z/kX7pB8x/w8Obi4UQHXQFRFiCRr6PyCAFEvuRd0EsOVaBDmVghEmtmlWkn34 OpKI0M6Tu3RyZXPiKSBypAhF2jjZNmztQZovbBT9MsDdO/+gCJzRR8AYs7eIlwvF/ienEi 8m8Z4zaPksTf5Tkbua6WV+ADBe4r6JZC5GP+qnJYI7CbKvfN6b5Jf04/13nmh5gVHmG5Ll tF4P9+2qnHrdrYWac9OdrjLSsLkuU6K72EJWSZQ78RqVVSYDczxC9mUjoU+fRJqrpmVPVE LMLFodDVcs4Dfsd57k3VWpFPNiAFYxmUVG/G78u4x+5ZBQGkESrNm/RyRC2U2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746601850; 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=7tDj+cEmBOFddUAIsVVklcZTEilKnWWHHh4dtEZNg14=; b=HkKwqXW0oyH9yyR90wP7759VpUIlyJSSCBPVAQu5nbjFVYWbvDsjOZjwNVP8adxwMX6YBo 2CUQ5MTHiVf2XLlmAUrveS5FXk6cM52kcj1a0DulTbz1SlOkmFNo4DnZft3SlGldntKCqS EVKIIryOjzrj/I2KiD6gFt/97U9N3OXBV6uBHgY0FxrTZEphWexCkJQCry94+5h3EtPHIF AD+Hw49s5gMWzhfTj+emjQwfz8eMFfzVcRi8vtZFmd8VoZ27Gj2j9wLX8m6ie+FG84QLpJ Jcfu2fUqpe5CtQQgqV23S8zblrK3UKgjc3fNPaMWa7Q6ZJYDpTNEIhSrS8QyUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746601850; a=rsa-sha256; cv=none; b=HiQxI92QwZf6719oiVAdpSCF4tXfcXgEqouIZvySdUtaszj44NVbo0AXrFRhnkAmrsmE/7 L5IpyyqLJNoxOVliswrVwkQy6i6IjBG2DKlyZ2dINJ1r/jf3k0OKUddGnPbmPuRm2P5QY5 pXptdceSYbwkt7dbs1wIx0+MJmnmwwtzL4faHDHIr1T8YHdWC4PsKOyz9LX1SbEsus4fHL B4pmPVkKelfFbBu3fNbYrsMh3OHTBGg10Jzaw8qvUKoqyWpnhP9nw9cYGhEgOh50K2J3zN cuROUoTW6aeyBXGfxR94HOmgrp41xGI2yfz/xOEdFDtbYQ9az7vVz9s54i5IMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from b.nours.eu (b.nours.eu [IPv6:2001:41d0:303:5e39::1]) (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: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Zsmd61cK9z1CgZ; Wed, 07 May 2025 07:10:50 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by b.nours.eu (Postfix, from userid 1001) id A28BC125195; Wed, 07 May 2025 09:10:48 +0200 (CEST) Date: Wed, 7 May 2025 09:10:48 +0200 From: Baptiste Daroussin To: Matthew Seaman Cc: freebsd-pkgbase@freebsd.org Subject: Re: CFT: pkgbase support in 15.0 Message-ID: <7hcliswbmvxqzicnim4ccsbk2sqsvhh3mkck74dnwmwfqw2haz@fcwkj337ublf> References: <86a57t3cfu.fsf@asn.ftfl.ca> <300e71f8-4a35-4496-8bf3-9d947f90990a@FreeBSD.org> 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <300e71f8-4a35-4496-8bf3-9d947f90990a@FreeBSD.org> On Tue 06 May 09:07, Matthew Seaman wrote: > On 05/05/2025 21:58, Chuck Tuffli wrote: > > One aspect of running pkg-base I've found tricky is figuring out which > > package provides a missing binary, library, or man page. The port > > pkg-provides answers this type of question for ports, but (seemingly) > > not for pkg-base (unless I'm being dumb?). Are there plans to add this > > type of support? Alternatively, if I'm being dumb, can someone point > > me at some docs? TIA > > There's provision in `pkg repo` (see: pkg-repo(8)) to generate a > `filesite.txz` file as repository metadata, which lists all of the files, > their checksums and various other per-file metadata for all of the files in > all of the packages in the repository. > > This isn't normally generated for the repositories provided by the project > due to limitations on available space and bandwidth. I have a better design for the db which divides by 10 the size of the db, and when I will be done working on the provides/requires for the ports tree, I'll work on it, so we can provide a "pkg rwhich" command or a like. Best regards, Bapt