From nobody Fri May 16 07:39:29 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 4ZzJr16mg0z5wGBm for ; Fri, 16 May 2025 07:39:29 +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 4ZzJr160fPz3PpJ for ; Fri, 16 May 2025 07:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747381169; 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=naQ7cB0dInrqW5zdsqirQcYx8WZBs6WBQjGVKRLOTLk=; b=gVwLEcY7ViC+B4+31uBFQYpmmLxmhvwx887+M8oluYiDPHdHea5YGZAzMlRE0NvfQFowAk KuGpeTx0CAGI3FxLu36fnNElsbGlK6+DHLer5GkToccFjIeMi1Jk1S3N2YLWmy8I+pvGbi 1zseSnrKnVXQ/elwPeyU8W9hZCfX69fIav8ThOvR6gxF4EjGl68dbPq+2cdJusvpJjGNYl vMVvGqMoacR2Vn6Xyr1D14bb93jxP7HUxZqCuolPdr2unpX8j5mkCDBGC54B3kRc5mfq7j T1GHYG8Ye6aG3kzBncf0bZGlNOESq2FIhMSk3Q36mS3OZ+f2Q78rjlxfWM6esQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747381169; 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=naQ7cB0dInrqW5zdsqirQcYx8WZBs6WBQjGVKRLOTLk=; b=rA9LZKR5sq51f6hMlFGEvt7SH9IAfWADXL8T7p1AZ1EECTmIhJO8GHoMlO7MjQyZBJphLT sQE2k1Wpoo7ccSQQNf6raPH66qIzGtEYb3DqAZfrBWJPtT2aM1p6HyVW/ziEKeVCwi+bWj 1pjzjszTagea7iRP1UVMbROa4sHYR+Cl/hQdO2IxWWJX0OqW7QdyrYJTghKEe44Iaugh8W AY+cwOJc4vxAzkGSpbnwZBI+MxV7y+1J3S5g6vZU1WOaiCPrttP2/4hoduY2zAYuhgdkSP 6Q+tv0UDrAWKPCxAOHyjK6KEQtY8IO9SxYbofnNXDm8TFW5cqZP0blyNYdBotw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747381169; a=rsa-sha256; cv=none; b=YSmmOtJyFgFyUq5Y4PDG+uah60nCGdrkv2XAIa8nk6UJynmibAo6Umk4cMtnkTa4Ex9poG C6QN6spasWJ+vdhN3AvmmB8q2dhKvWrpFRIPsCbkKRU+SPOEmFKVzRzbYo+8hLMZUaWSFE gtrioc4G2wY0hSr2qhrFiIx5dPOTYPUc12fxRzsaHqriyFCnLYQ0U9LHfa156yn8GYfWQm KCWqPrEKva5CIDE9FUqht0pVdUsLWPC+VIpFNv31APEoEdvrVAPZaX6NlSBZ2Y3sC7rtxQ shX0txRMLlws92nbMoWb0PxPHAQvWyGJdixNg7AFXb+CdoD/ppqoqlPhD1yTBA== 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 4ZzJr15QmVztxG for ; Fri, 16 May 2025 07:39:29 +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 54G7dTXL016065 for ; Fri, 16 May 2025 07:39:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54G7dTQ8016064 for pkg@FreeBSD.org; Fri, 16 May 2025 07:39:29 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 07:39:29 +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: marklmi26-fbsd@yahoo.com 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 #10 from Mark Millard --- (In reply to Martin Birgmeier from comment #9) While the .pkg file to be installed from has known good content for any checksum like information (no support of modifications to the contents), a live target file system's file vs. the /var/db/pkg/local.sqlite content for that file can be an issue for which files still match vs. which do not. That can include temporary bug fixes that were not just edits of text files. Allowing for local security updates and such being replaced by pkg could lead to not wanting deletion of old files by pkg that do not match the original old files, for example. .pkgsave and .pkgnew files are examples of ending up with both old and new files (by content) already. Because of such, checksumming of the live files could well be involved and 3 checksums for a file could be compared for figuring out what to do. Permissions/protections/flags/ownership/. . . changes are also involved overall. --=20 You are receiving this mail because: You are the assignee for the bug.=