From nobody Tue Dec 02 16:19:47 2025 X-Original-To: questions@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 4dLQwT0MjTz6Hj5p for ; Tue, 02 Dec 2025 16:20:09 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4dLQwR2Hrzz3FKq for ; Tue, 02 Dec 2025 16:20:07 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm2 header.b=g4H1OlOT; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="Y i65elP"; dmarc=pass (policy=reject) header.from=skunkwerks.at; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 103.168.172.154 as permitted sender) smtp.mailfrom=dch@skunkwerks.at Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8A9B914000B7; Tue, 2 Dec 2025 11:20:06 -0500 (EST) Received: from phl-imap-16 ([10.202.2.88]) by phl-compute-06.internal (MEProxy); Tue, 02 Dec 2025 11:20:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1764692406; x=1764778806; bh=JDC2F0PcYayWjmHcZRJa2z7trkrvU7eE UpILHY4wGJ0=; b=g4H1OlOTizZsUgxT0gBWvClhgjWfoTxnTDY3m9qbG1IYyf49 Zeli3oOnZAmMaY96aRbDrvXNEtGi+/RtB25OpCMQlcsiifz7h7LcJVzWnaM99NRW w65DeETZlsvXGvR53mSNMnskuSHDrSWoB9D5YN44Uu1D2yp9aB/Qre4m5WHtGtd/ rnEi+CeH3tN8P01rQ3sC5knyTTHMD01pAKgresHii2/RzJi5WhFN2gu4crdycFNp Cu4yGxuYz9p/5SBl9tE1PDd7k110Ow8uAVFzuMZz0rQn9kduBrcM0KRs8KvvLLC2 qwsLwrrfs7SIyeAmRj8TH2M7oYZPH2a70P5ZzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1764692406; x= 1764778806; bh=JDC2F0PcYayWjmHcZRJa2z7trkrvU7eEUpILHY4wGJ0=; b=Y i65elPhhpNYF1JtyQhHKmF8hEyvbb2CWBHazVEw+SzCk72wspobvERqxEN4fj80w Bu4BvJ7UnlrbQ/Gm6il4uKNtD41ncnIWLswSl6A1G19hLrgoKgNo3A2qrdz/4rFY VLBufDtV4B+qpwwU8ulj9YQhcrjE+r5AiA50hj1N9LeKL6Ecr1fPPm0d7EhZEJky AANgzOx6DVSziALVbyPdquNKqW5VqjHFwqVIc+jyuAkeqpoDMurrxO6aHlmaGmHm QcuSRfA80ooRD5Q0JeK2cQO3OTc2tyBrmmC7oVdV+IUtTPztIuEP3RsPqV+OD3PK w31gXqqR12fev0+qltTew== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegrihhl ohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpe foggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdffrghvvgcuveho thhtlhgvhhhusggvrhdfuceouggthhesshhkuhhnkhifvghrkhhsrdgrtheqnecuggftrf grthhtvghrnhepieffhfdujeelieekueehgfeigeekleeljeeigefgudeuheetgfdtgeff ieevuedvnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggthhesshhkuhhnkhifvghrkhhs rdgrthdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epqhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrghdprhgtphhtthhopehtvghrrhih jhgrmhgvshhnvgifthhonheshhhothhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CB0712CC0083; Tue, 2 Dec 2025 11:20:05 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-ThreadId: A-Y--LLL45NN Date: Tue, 02 Dec 2025 16:19:47 +0000 From: "Dave Cottlehuber" To: "T.J.Newton" Cc: questions@freebsd.org Message-Id: In-Reply-To: References: Subject: Re: pkg.freebsd.org "hash_latest" repository introduction in FreeBSD:14:amd64 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[skunkwerks.at,reject]; NEURAL_HAM_SHORT(-0.34)[-0.336]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm2,messagingengine.com:s=fm1]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.154:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; BLOCKLISTDE_FAIL(0.00)[103.168.172.154:server fail]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.154:from]; FREEFALL_USER(0.00)[dch]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4dLQwR2Hrzz3FKq On Mon, 1 Dec 2025, at 12:15, T.J.Newton wrote: > Hello list, > > I always pkg-fetch(8) packages for upgrade, or new, from the "latest" > repo into a local repository to NFS distribute them to multiple machines. > > I've noticed a few days ago the fetched packages of FreeBSD:14:amd64 are > stored in a automatically by pkg(8) (v 2.4.2) created new sub-directory > named "Hashed" and the packages have, I suppose, considering the > directory name they are saved into, a hash tag in their names, e.g.: > > New fetched files names: > > vlc-3.0.21_20,4~7253d15082.pkg > x265-4.1~ebe69c23d8.pkg > xorg-server-21.1.20,1~fe5c37c403.pkg > > Older versions file name: vlc-3.0.21_19,4.pkg > > Local repository path after pkg-fetch(8) : > /.../FreeBSD:14:amd64/latest/All/Hashed > > Remote repository: https://pkg.freebsd.org/FreeBSD:14:amd64/hash_latest/ > > Remote repository configuration: > > > latest: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > > No other ABI (13, 15, 16) has the "hash_latest" remote repository > (https://pkg.freebsd.org). > > I tried to get information about this particular repo, but so far I had > no success. Does anyone have any information about the "hash_latest" repo? > > Best regards Hi TJ As part of 15.0-RELEASE the project is also making use of some CDN-backed mirrors, to give better download and package performance. This is also how the FreeBSD base system packages are distributed. This in turn requires that packages we build have unique names, so that we can sync the packages themselves, without collision, and then only at the end, update the final metadata, after each package release, per architecture, release, and ports branch. This was only recently switched on, and are hashed directories are trickling out over the next few weeks, as each package repo is rebuilt. I'm not certain but I think 15.0-RELEASE is special, and the /latest/ ports branch is already using hashes within the metadata. Hopefully somebody from clusteradm will chime in and correct any egregious mistakes in the above. A+ Dave