From nobody Thu Jan 13 09:36:18 2022 X-Original-To: freebsd-ports@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 8E4DC1962781 for ; Thu, 13 Jan 2022 09:36:20 +0000 (UTC) (envelope-from rosenke@dssgmbh.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JZK7R73gCz4cf1 for ; Thu, 13 Jan 2022 09:36:19 +0000 (UTC) (envelope-from rosenke@dssgmbh.de) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id 03EE36BC5F6 for ; Thu, 13 Jan 2022 10:36:19 +0100 (CET) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id 6PjnXa9oq0HW for ; Thu, 13 Jan 2022 10:36:18 +0100 (CET) Received: from secmail.incore.de (inetdssm.dmz [10.11.0.4]) by dss.incore.de (Postfix) with ESMTP id 642FD6BC44D for ; Thu, 13 Jan 2022 10:36:18 +0100 (CET) Received: from [192.168.10.33] (dslb-002-204-037-253.002.204.pools.vodafone-ip.de [2.204.37.253]) by secmail.incore.de (Postfix) with ESMTPS id 5A51C13B42 for ; Thu, 13 Jan 2022 10:36:18 +0100 (CET) Message-ID: Date: Thu, 13 Jan 2022 10:36:18 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-US To: FreeBSD From: Henrik Rosenke Subject: pkgbase checksums Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JZK7R73gCz4cf1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rosenke@dssgmbh.de designates 195.145.1.138 as permitted sender) smtp.mailfrom=rosenke@dssgmbh.de X-Spamd-Result: default: False [-0.30 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.145.1.138:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[dssgmbh.de]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:195.145.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[2.204.37.253:received] X-ThisMailContainsUnwantedMimeParts: N Hello, what is the correct way to handle pkg checksum mismatches in pkgbase? (pkg check -sa) For example after installing bash or editing /etc/hosts there are checksum mismatches:     FreeBSD-clibs-12.2.s20220105232846: checksum mismatch for /etc/hosts     FreeBSD-clibs-12.2.s20220105232846: checksum mismatch for /etc/shells I workaround this after setting up the jail by executing pkg check -r but this doesnt seem right to me. Also this doesnt handle modifications made afterwards. In normal pkgs we got the ability to provide a default and modify this, for this files no checksums are stored from what i know. Thanks in Advance, Henrik Rosenke