[Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 May 2025 06:43:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107

--- Comment #9 from Martin Birgmeier <d8zNeCFG@aon.at> ---
(In reply to Mark Millard from comment #6)

You are right, rsync is not the way to go. But as far as I understand there are
cryptographic checksums of every file both in the /var/db/pkg/local.sqlite
database and in a .pkg file. If I am not wrong here, this information could be
used to perform the comparison.

I understand that there are some post-install steps, such as dealing with
.sample files etc., but these are usually small and therefore not such a
problem if getting "unnecessarily" reinstalled.

I now also saw your last sentence, thank you.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.