From nobody Tue Apr 15 07:05:24 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 4ZcFY141frz5t5ky for ; Tue, 15 Apr 2025 07:05:25 +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 4ZcFY10QxJz3VLK for ; Tue, 15 Apr 2025 07:05:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744700725; 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; bh=yaYgdXcVZMjG8wdKy0B6q/fmcKi4w6EUe4lipkMwi+g=; b=gvQlGFudJCrrpM4RSrCK9t5BAazR3wwH4t5tuM7L29XcwGnfJjy7oCWNoVnNY78lplVKWo PsNO6UQRl+bEjmC58PNjfdn+EIshbRD+h0/UY0+mRNp0IApONI/7adEMIvTZOcHAd9Sro/ udMX8TFOLRYQVI9tqu9i9aqZ6rJ65qIy6YcogFRkUEcSMZBbhVe+iuUmsJ7cN1qbIr1IG6 64wa+iGWI7lDn9b9wJrwQh8REob6AZJ0t9rya93e65x+XxWtht7xsBwiNRB/2qVSzjRQIB w5cBHOzscd69to6d37SFetj++KSex4YMICLS9qZ9M5cPfWDuCcsKTcOtVH26hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744700725; a=rsa-sha256; cv=none; b=dOS4Vt0YrRbvwSKEBGvom23nEQ6FuTKGnEd6O+1XNiSPojVUXdpFBIslebbXelYAbFmRBb jAOkKYwVnYz3SBOZCgWh1e8hn5C36jmYpTZKzhutyiKpmG3gnduruMhOJJDDLNF5uHTIAz B+4aMaoCqxLpTvUJi/bMvE6Q9zRmG54LSn0NOlZXt21i8Vln1prXNE6p+CYp5iesW3E4AD K8V6gVbamxEWSLLDTWim5bkq56tNNQ3hEBW7maud69IZDX3KkpIbvuxYdeerP1s2Sk74Oi 3qcKO8EnvGN0nD9H0OC7MB1LXp09hQBCnufyxSmbXB756TjrzQDKNvjFXanGhQ== 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=1744700725; 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; bh=yaYgdXcVZMjG8wdKy0B6q/fmcKi4w6EUe4lipkMwi+g=; b=cC57/8bb+Q/r+TW0eecxsgPr2hpHWzz1KqQ6dwStSDDeYhI0pEE0nyjg7oQpRxbmfJAhya HcFDJQCV3XWbm1FlhMtmX/RQa9MDgg4dJ7GotPUOKk0R50cEdiGFwt9/nz6v+2qQy0sCe5 kqehtWh/60eHR6ee/SfhZN6TXVGfFc9hX2ZXRP+lJeAJuYgevg1O6MIZyi3yqIa/I1WiyV 1MeS0FzFjJrxIYnYiqQteoLKFtvjBI555N2JMEdHga4fowfTKc/gLjdXbjoolNIU1Sk+uM FtBkstFW6WVoYVmCEYx7rdxTk5o0FrmQg+nO1E0OAdWVnIeFtt+e5nr+EClEIQ== 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 4ZcFY06ttDz7k3 for ; Tue, 15 Apr 2025 07:05:24 +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 53F75Oe8039047 for ; Tue, 15 Apr 2025 07:05:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53F75OdK039046 for pkg@FreeBSD.org; Tue, 15 Apr 2025 07:05:24 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 07:05:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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 Bug ID: 286107 Summary: ports-mgmt/pkg: improvement request: only install files whose checksum have changed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org Scenario: - FreeBSD stable/14 - ports latest - upgrading ports using 'pkg upgrade' Result: - All files of the old ports are removed, then all files of the updated por= ts are installed - For many ports, the contents of most files do not change at all - This results in unnecessary disk churn, SSD wear level increase, backup s= ize increase, etc. Desired result: - 'pkg upgrade' should compute the differences between the old and the new installed files, most likely using their checksum - 'pkg upgrade' should then delete and add files as necessary to implement = the new pkg plist. - Unchanged files should not be touched at all, not even their mtime. - This would help a lot especially with the big ports: KDE, LibreOffice, ... -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=