From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11E1915806C for ; Sat, 12 Jul 2025 10:05:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EB855341FC3 for ; Sat, 12 Jul 2025 10:05:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D61C811055B; Sat, 12 Jul 2025 10:05:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CE53711055B for ; Sat, 12 Jul 2025 10:05:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F5C9341F8E for ; Sat, 12 Jul 2025 10:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19FFA2EAC for ; Sat, 12 Jul 2025 10:05:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1752314272.114b3f78dcd059d33fa9058ed78cced482fc248a.ulm@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: find-binary-files.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 114b3f78dcd059d33fa9058ed78cced482fc248a X-VCS-Branch: master Date: Sat, 12 Jul 2025 10:05:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73e92dd9-845a-49a3-95e6-6d6ea6d97bcc X-Archives-Hash: 8845a82754d43d7977e4889da5f33fc0 commit: 114b3f78dcd059d33fa9058ed78cced482fc248a Author: Ulrich Müller gentoo org> AuthorDate: Sat Jul 12 09:57:52 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jul 12 09:57:52 2025 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=114b3f78 find-binary-files.sh: Recognise application/mbox file-5.46 reports some patches as application/mbox: app-editors/padre/files/padre-1.0.0-utf8.patch: application/mbox; charset=iso-8859-1 (size=737) dev-perl/Date-Pcalc/files/Date-Pcalc-6.100.0-datestamp-window-move.patch: application/mbox; charset=iso-8859-1 (size=17413) games-emulation/gngb/files/gngb-20060309-gcc10.patch: application/mbox; charset=iso-8859-1 (size=10283) media-sound/solfege/files/solfege-3.23.4-topdocs-encodings.patch: application/mbox; charset=unknown-8bit (size=1347) x11-misc/macopix/files/macopix-3.4.0-fno-common.patch: application/mbox; charset=iso-8859-1 (size=8807) We must allow charset=unknown-8bit, because it occurs for patches that change encoding from latin-1 to utf-8. Signed-off-by: Ulrich Müller gentoo.org> find-binary-files.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/find-binary-files.sh b/find-binary-files.sh index b053d2f..5e0e6ff 100755 --- a/find-binary-files.sh +++ b/find-binary-files.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2014-2024 Ulrich Müller +# Copyright 2014-2025 Ulrich Müller # Distributed under the terms of the GNU GPL version 2 or later # Author: Ulrich Müller @@ -30,6 +30,8 @@ while read line; do text/*) ;; # text file application/*"; charset=us-ascii") ;; application/*"; charset=utf-8") ;; + "application/mbox; charset=iso-8859-1") ;; + "application/mbox; charset=unknown-8bit") ;; "image/svg; charset=us-ascii") ;; # SVG image "image/svg+xml; charset=us-ascii") ;; # SVG image "image/x-xpmi; charset=us-ascii") ;; # XPM image