From nobody Fri May 16 06:43:49 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 4ZzHbn1Pqxz5wC9h for ; Fri, 16 May 2025 06:43:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZzHbn0Dhjz45Kr for ; Fri, 16 May 2025 06:43:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747377829; 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=yKS3vCoBuPs5FKTkLBz6V7ef7DmU4Sbwqe01rWG0qBM=; b=xpJwVnckgcg7viuTPswES4gD3B3iqUm//OCPYiajmjQFrIOkIF/9NQqIjY5YUYT9CtFzU0 JxjPQQtTNcWmXqGP7RC1rKeRdOnN503fKFyrllkvqFLl2/cLLN6j8cg3ksL6bBLFoThClE p1QTsFPpS5auZdMreTnjUnPzY1tE5Vz7oDVyFj2guyHCm5Uaxc+DkqQbu9TbSne7dz9uy8 ji1n2moVu0Oh93PorihfTUyGThRr74DyAYgwK56Cpam4NnCJooYD/ZREpD7SDXYNXHLE5i XiMjuztRFf/kmUc1gB0ULSyxjCQQtFxDQdjgfYmG4lIFb01WLgktdQVp7qsZRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747377829; 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=yKS3vCoBuPs5FKTkLBz6V7ef7DmU4Sbwqe01rWG0qBM=; b=ji1pEV3HaMYCyavaTFEMS6qDDSeiXpF4/AVIEUZnapn/bwbXpBMkb4Xny0/kjrKESx3Xwv psGBnWCjQtHQpDa5CIms1t7MOpHta7OFZ40VoUXiWAOZIIcQbf2NiMmigZS0UVvIZ/ctHQ vCHoohSGHQo+R2rm9Pe43REENo4fjY37EXXdVMbp1A3RrW7DgNVxe0N0QV3iyI6Jt3Arzs w+aparC+h38+MaGMkKhFcs33UI7m6w1XgiJZTPoRHEP6uZpEnlzMCJWl6//O2rMMiU+Kyu XIuIlRA00+paya1yglUCON3zzdLyFGlKXDa1D/p/Xm8L0/RUm8mzxk4YBsDWcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747377829; a=rsa-sha256; cv=none; b=kx5PpVZGgSdgZmyV1Yr/E3HHCSFIP+zPPIVx46m/4n3od4LDzvHEK9+vG0CnOgZLS3VSeU FyuoWxl0WH+RLLVgEeX4fX42ETncHaGDWvZTqI/kL56GKg2U2sMuoMMdK7pMHojNAmPT9M sRdOIzFYCx+nNHZriBhBo7EKv9lnJ82yPhtFxer2bNoKOzrF7Erat2Hc3/UQbq2rUXtO6f ACPj8DOpe7tzwaRLL9Xp0ghmnvPDeCMW0fgURQShQOaSjXnj6DkLOifDFDDi5vYT/RHS8d AUT9brOpdiCK7GCVIN5+3Fuxi9Il68yfyux1C3xb+tGH7HSXIJqsWm66SQgaAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4ZzHbm6q15zslS for ; Fri, 16 May 2025 06:43:48 +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 54G6hmlN026641 for ; Fri, 16 May 2025 06:43:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54G6hmNn026640 for pkg@FreeBSD.org; Fri, 16 May 2025 06:43:48 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: Fri, 16 May 2025 06:43:49 +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: 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 --- Comment #9 from Martin Birgmeier --- (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 --=20 You are receiving this mail because: You are the assignee for the bug.=