From nobody Tue Apr 15 08:03:19 2025 X-Original-To: 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 4ZcGqq10z9z5sgmR for ; Tue, 15 Apr 2025 08:03:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZcGqp6hthz3w4H for ; Tue, 15 Apr 2025 08:03:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744704199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5WDdpzdsO9u8ruYk/uIsrmNwgztSFsrrI5tdF4vcFGQ=; b=hcDEjw0/Z8VXO4az64WaMqasgyeVmcA9RmApBEVR2TeYuTRU/uYT+iECKkiKbkv6J9btYT r0avmeBQH7dsvL98lKPPwid+u2me7AeoxPrVjrf3++plM/mw8EQ+UEZLaPiC+QsDvA1TP3 mvh5IsXRaQHGAa21LtKty2Sb57+33JhVCdCnjkf5wr4sPDNBMIO8+X+giyLULXac7bTLzm d8mbujL7iSUB+m7yO+wUlnI+wtiI4RcKqiarNw3wy1+9g9hhUNSE8e3li3Uv6lEnJo8scB N/6ieDojZAbbRjilDWfWUpJW6Q/vQRjWnbS81gY0DQJ8fGLdg/H167sxqBj7sQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744704199; a=rsa-sha256; cv=none; b=ZyQbjq3tAqyjzSalPSTDzdWN5Y1Vr3a3XQo2RAz7P/UxThYUNwtya/MFZXWCj934S29ZiT j5TVFkP4gUUS3lDGQM0krLcrT/im64OnehxKWcu7NU3uUqkNwjNC4AJDl4F6BsGV+cN22T e4zpFzWV1KLIJ0tuwu6BH+U3MuMdFVBAp2wCjY8NdF5Z18fpgQOGd6vgAShoG7AUqLG23O YN3VJqecqz7fWB7L94ni72HNtv8VxWWKZaHP9jRvDkRA3cJsGLiGi9GILDUCsFwne3cyZY VBQnQ65z4mEv21HpFB8F+eHtFL34bAVrZ0lY+ELEmMOff4lkNiksEgV2GMdm8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744704199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5WDdpzdsO9u8ruYk/uIsrmNwgztSFsrrI5tdF4vcFGQ=; b=YxdZDj8fYVgrILHJCf6q3vRAdq0n+Z7d6H4ZDqIsoX7+edrtuk0fU81hr0g46xD/kiQoLm WeN+k05Of6DIbdtpwUTsykd0Lj+n+gTtPZRYBsucQTf/txqnqD1+g+aggl3Ezvg3IaVMr0 c7UpylQESaNiYvt92gPQBAhwV/glC9+O1dhkYwEk3JjDSHgCrLQpC6t4bJR9Hp6khCQ/Ai etalixwTp2ryc5pyaUmmxtaMQWRGG+Cc3S37xQ6hT/F5CHhoGcLEUnVKGNtvShObudl1mh U1KwdPjm9uXvGbCMPbjOB/610PYby6H+wXwlf2B4XIN8xgSHpZIVH+U1vvegew== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZcGqp6DYSz97M for ; Tue, 15 Apr 2025 08:03:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 53F83InP041000 for ; Tue, 15 Apr 2025 08:03:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53F83ISj040999 for pkg@FreeBSD.org; Tue, 15 Apr 2025 08:03:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed Date: Tue, 15 Apr 2025 08:03:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286107 Martin Birgmeier changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|Works As Intended |--- Status|Closed |New --- Comment #2 from Martin Birgmeier --- (In reply to Baptiste Daroussin from comment #1) Are you sure about this? I just upgraded firefox; I saved the checksums bef= ore and after the upgrade and then looked at the file change times: [0]# pkg query "%Fp %Fs" firefox-137.0.2,2 > /tmp/x1.firefox-137.0.2,2=20= =20=20=20=20=20=20=20=20=20 [0]# diff /tmp/x1.firefox-137.0.1_2,2 /tmp/x1.firefox-137.0.2,2=20=20=20=20= =20=20=20 2c2 < /usr/local/lib/firefox/application.ini 1$39a013f0959eabb2d794839b68b71f8aac76142b6e6f9a9daf05fdb81b1a31db --- > /usr/local/lib/firefox/application.ini 1$251204c8370b492647f75f23304b84ae= 25f292438913788b58e5820f644832d0 13c13 < /usr/local/lib/firefox/browser/omni.ja 1$2016f826742ea249afd9c2055d7caf12eb2bcf588eee62ed5585871e40f54f5b --- > /usr/local/lib/firefox/browser/omni.ja 1$9d9d9c489e52be9fb35c2c5a40f63f8f= 9d5510c9d24ff8278564e308b6de0c32 16,17c16,17 < /usr/local/lib/firefox/firefox 1$e0386d3868a5caed409c21e1363d41d13ad7343abb156054d29fee89a74c6766 < /usr/local/lib/firefox/firefox-bin 1$e0386d3868a5caed409c21e1363d41d13ad7343abb156054d29fee89a74c6766 --- > /usr/local/lib/firefox/firefox 1$459263c78506739636b0e1eea768102692ddcfea= 5e2a006c4c063786c7eb9edd > /usr/local/lib/firefox/firefox-bin 1$459263c78506739636b0e1eea768102692dd= cfea5e2a006c4c063786c7eb9edd 22c22 < /usr/local/lib/firefox/libgkcodecs.so 1$b77966a1c2f434e56eca08b05c05e41fdb638415cbd650c33c1f394c80088c19 --- > /usr/local/lib/firefox/libgkcodecs.so 1$bc8dca8ec36c6737722e7d9ad2614da05= 97612c6a3e873ff7eca0e4a5e12af28 24,25c24,25 < /usr/local/lib/firefox/libmozavcodec.so 1$36f64973ff329f54a3630011452b9b7f30becde666c33f7067da8ca3ff7c975e < /usr/local/lib/firefox/libmozavutil.so 1$c5d834b352b62855d478d1ff6cd6acbe5dd379bf4a108db3d10acc950b671258 --- > /usr/local/lib/firefox/libmozavcodec.so 1$4a5cd266f21ca7142fb8458df0226e1= cff49cb88f9c8889e764d850d708c8b7c > /usr/local/lib/firefox/libmozavutil.so 1$a96a82893b52d90de4ebdf5db1a78440= 957c50878a431e26d11e7837a0249e89 29,30c29,30 < /usr/local/lib/firefox/libxul.so 1$21ef0a486aa4988274371f8dd81d0d703a97ec92983eae3d86531f87ccaf2863 < /usr/local/lib/firefox/omni.ja 1$a17f37450503b0116c5fa170e8cbdbc7317ab7b427d09a62450156d182a2a3e6 --- > /usr/local/lib/firefox/libxul.so 1$b3922ab719503e760278cbe9d13bcb86f6d54e= 82c8e5c4ab8aee7a122b26934c > /usr/local/lib/firefox/omni.ja 1$1c3cd05f386ed0c40e14511de832d6404406ecbd= bd2fc14e1a1dfcc75220324e 32c32 < /usr/local/lib/firefox/platform.ini 1$0ef0858ef41add4752ebc952ed26e17a4dbe787778ace1f490bb91b8edc4eddb --- > /usr/local/lib/firefox/platform.ini 1$083f7ce47b242d31e00b52097e90a57f3cd= 52b97a0d1ad5420fb26d479a8295e [1]# ll -cdtr `pkg query %Fp firefox-137.0.2,2`=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 lrwxr-xr-x 1 root wheel 30 Apr 15 08:56 /usr/local/bin/firefox -> /usr/local/lib/firefox/firefox -rw-r--r-- 1 root wheel 476 Apr 15 08:56 /usr/local/lib/firefox/application.ini -rw-r--r-- 1 root wheel 13513 Apr 15 08:56 /usr/local/lib/firefox/browser/chrome/icons/default/default128.png -rw-r--r-- 1 root wheel 722 Apr 15 08:56 /usr/local/lib/firefox/browser/chrome/icons/default/default16.png -rw-r--r-- 1 root wheel 1948 Apr 15 08:56 /usr/local/lib/firefox/browser/chrome/icons/default/default32.png -rw-r--r-- 1 root wheel 3448 Apr 15 08:56 /usr/local/lib/firefox/browser/chrome/icons/default/default48.png -rw-r--r-- 1 root wheel 5459 Apr 15 08:56 /usr/local/lib/firefox/browser/chrome/icons/default/default64.png -rw-r--r-- 1 root wheel 105324 Apr 15 08:56 /usr/local/lib/firefox/browser/features/formautofill@mozilla.org.xpi -rw-r--r-- 1 root wheel 67490 Apr 15 08:56 /usr/local/lib/firefox/browser/features/pictureinpicture@mozilla.org.xpi -rw-r--r-- 1 root wheel 168774 Apr 15 08:56 /usr/local/lib/firefox/browser/features/screenshots@mozilla.org.xpi -rw-r--r-- 1 root wheel 10448 Apr 15 08:56 /usr/local/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi -rw-r--r-- 1 root wheel 588369 Apr 15 08:56 /usr/local/lib/firefox/browser/features/webcompat@mozilla.org.xpi -rw-r--r-- 1 root wheel 45431086 Apr 15 08:56 /usr/local/lib/firefox/browser/omni.ja -rw-r--r-- 1 root wheel 429 Apr 15 08:56 /usr/local/lib/firefox/defaults/pref/channel-prefs.js -rw-r--r-- 1 root wheel 87 Apr 15 08:56 /usr/local/lib/firefox/dependentlibs.list -rwxr-xr-x 1 root wheel 759440 Apr 15 08:56 /usr/local/lib/firefox/fire= fox -rwxr-xr-x 1 root wheel 759440 Apr 15 08:56 /usr/local/lib/firefox/firefox-bin -rw-r--r-- 1 root wheel 1474284 Apr 15 08:56 /usr/local/lib/firefox/fonts/TwemojiMozilla.ttf -rwxr-xr-x 1 root wheel 25256 Apr 15 08:56 /usr/local/lib/firefox/glxt= est -rwxr-xr-x 1 root wheel 116792 Apr 15 08:56 /usr/local/lib/firefox/gmp-clearkey/0.1/libclearkey.so -rw-r--r-- 1 root wheel 225 Apr 15 08:56 /usr/local/lib/firefox/gmp-clearkey/0.1/manifest.json -rwxr-xr-x 1 root wheel 10074912 Apr 15 08:56 /usr/local/lib/firefox/libgkcodecs.so -rwxr-xr-x 1 root wheel 203888 Apr 15 08:56 /usr/local/lib/firefox/liblgpllibs.so -rwxr-xr-x 1 root wheel 5661184 Apr 15 08:56 /usr/local/lib/firefox/libmozavcodec.so -rwxr-xr-x 1 root wheel 804872 Apr 15 08:56 /usr/local/lib/firefox/libmozavutil.so -rwxr-xr-x 1 root wheel 5824 Apr 15 08:56 /usr/local/lib/firefox/libmozgtk.so -rwxr-xr-x 1 root wheel 1672616 Apr 15 08:56 /usr/local/lib/firefox/libmozsqlite3.so -rwxr-xr-x 1 root wheel 18512 Apr 15 08:56 /usr/local/lib/firefox/libmozwayland.so -rwxr-xr-x 1 root wheel 192547752 Apr 15 08:56 /usr/local/lib/firefox/libxul.so -rw-r--r-- 1 root wheel 36393738 Apr 15 08:56 /usr/local/lib/firefox/omni= .ja -rwxr-xr-x 1 root wheel 764576 Apr 15 08:56 /usr/local/lib/firefox/pingsender -rw-r--r-- 1 root wheel 102 Apr 15 08:56 /usr/local/lib/firefox/platform.ini -rw-r--r-- 1 root wheel 0 Apr 15 08:56 /usr/local/lib/firefox/removed-files -rwxr-xr-x 1 root wheel 23840 Apr 15 08:56 /usr/local/lib/firefox/vaapitest -rw-r--r-- 1 root wheel 9117 Apr 15 08:56 /usr/local/share/applications/firefox.desktop lrwxr-xr-x 1 root wheel 65 Apr 15 08:56 /usr/local/share/pixmaps/firefox.png -> /usr/local/lib/firefox/browser/chrome/icons/default/default48.png [0]#=20 The diff shows that it would not have been necessary to reinstall all files, whereas the ll shows that the ctime of all files has been changed. Also, man pkg-upgrade says this: Finally, the work list is executed in dependency order. Package reinstall or update jobs are processed by removing the currently installed package and immediately installing the replacement. New dependencies are processed as installation jobs as part of the work li= st. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=