From patchwork Fri Nov 20 11:50:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10792 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jWDF24vPYz3wgy for ; Fri, 20 Nov 2026 11:51:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jWDF10c5kz86b for ; Fri, 20 Nov 2026 11:51:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jWDF058tKz36Wf for ; Fri, 20 Nov 2026 11:51:00 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jWDDy0P9Gz30Yq for ; Fri, 20 Nov 2026 11:50:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jWDDx518xz5JZ; Fri, 20 Nov 2026 11:50:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795175457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vDdqYS8xfr0dEq4ZKdv2cb0NRAE065S809J0zRhkems=; b=UjrZgpS05WXirm8NgSUkJX3DGKE4i1/+E/IDi3v06q40sHhGojZ8/GMEULa3RPrF6Ivbmv rpzF3xS44i4f09Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795175457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vDdqYS8xfr0dEq4ZKdv2cb0NRAE065S809J0zRhkems=; b=gxCZWtLjNpVZ7CJB/h1BmdW0SXHVzfhDw6lhN3N29GmSU6od2CIgYUebj9vhx0CWk+fH53 TBOr2ecABGxCLDATLYXXvw5uDQEs5eUO73jJnsXg5cyN5vulDuPsA1ur6maF+4AW5JKxhy 9zXr/ggUV6SUzayjTZMbXedeoATQGclcaQhEj+UEompRqt95dzMCBERe2hVm/WjJ7pYcSf wOnPziMmv2GYSl3ZEg4s2XYVnyCgUDg9qSmXNBWCTVb2viieOVD6qirYgI7ynnbDjJQ40N MdRogNM9Hc1Y28EftBrmBAcyUxKHlpy32Vf5ypIWimgAGtf9Cquva5KrUuzDwQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] exfatprogs: Update to version 1.4.5 Date: Fri, 20 Nov 2026 12:50:52 +0100 Message-ID: <20261120115053.3187003-3-adolf.belka@ipfire.org> In-Reply-To: <20261120115053.3187003-1-adolf.belka@ipfire.org> References: <20261120115053.3187003-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 1.2.9 to 1.4.5 - Update of rootfile - Changelog 1.4.5 NEW FEATURES : * mkfs.exfat: add options to set the volume serial, disk GUID, and partition GUID for deterministic filesystem images. CHANGES : * fsck.exfat: increase duplicate filename detection speed for directories with many files. BUG FIXES : * fsck.exfat: distinguish filenames by their full name length to avoid false duplicate-file repairs. * mkfs.exfat: set the protective MBR disk signature to zero as required for GPT. * exfatprogs: restore version output to stdout for command-line compatibility. * exfatprogs: reject invalid boot-sector sector and cluster size bits before shifting. 1.4.4 NEW FEATURES : * exfatprogs: add optional I/O statistics collection for profiling read, write, discard, zero-out, and sync operations. CHANGES : * mkfs.exfat: increase full-format speed by using BLKZEROOUT when supported, selecting larger zeroing batches, and improving quiet and trace progress output. * mkfs.exfat: reduce page-cache pollution during full formatting on systems supporting POSIX_FADV_NOREUSE. BUG FIXES : * exfatprogs: fix parsing of kernel versions and boolean environment variables. * mkfs.exfat: avoid memory-reservation failures when creating very large allocation bitmaps. * mkfs.exfat: mark the percentage of used clusters as unknown until it is calculated. * fsck.exfat, exfat2img, and defrag.exfat: reject malformed boot sector geometry and prevent arithmetic overflows and out-of-bounds reads. * fsck.exfat: stop immediately on I/O errors instead of treating them as filesystem inconsistencies. * fsck.exfat: fix missing line breaks in error messages. * fsck.exfat: avoid printing version information during automatic repair with "-p" or "-a". * dump.exfat: print complete file timestamps in raw and ISO formats. * exfat2img: keep metadata image output on stdout free of status messages. * exfatprogs: correct usage text for overwrite and read-back verification options. 1.4.3 CHANGES : * exfatprogs: honor the user's full locale for diagnostic messages and date formatting. * mkfs.exfat: report final fsync errors and suppress completion messages with "-q". * fsck.exfat: increase scan speed when scanning large unused directory tails. BUG FIXES : * exfatprogs: fix building DOS attribute utilities with non-Bash shells. * dump.exfat and fsck.exfat: ignore reserved allocation-bitmap bits when counting clusters. * fsck.exfat: reject invalid sector sizes without crashing. * mkfs.exfat: notify the kernel after creating partition tables. * mkfs.exfat: generate GUIDs with correct version and variant fields. * mkfs.exfat and tune.exfat: use standard GUID byte order for GUID input and output. * libexfat: fix directory iterator alignment for large offsets. * exfatprogs: prevent allocation bitmap size overflow near the maximum cluster count. 1.4.2 CHANGES : * exfatprogs: install lsdosattr and chdosattr in /bin instead of /sbin. BUG FIXES : * dump.exfat: prevent heap buffer overflow in name parsing. 1.4.1 BUG FIXES : * exfatprogs: include missing DOS attribute headers and upcase helper files in release tarballs. 1.4.0 NEW FEATURES : * mkfs.exfat: add partition table creation support so newly formatted devices are recognized by Windows. * fsck.exfat: add "--put-mbr" and "--clear-mbr" options to add or remove partition table entries for Windows compatibility on existing volumes. * mkfs.exfat: add the "--upcase" option to format with a user-supplied upcase table. * exfatprogs: add example upcase tables and a helper script to generate upcase table binaries for testing. * exfatprogs: add chdosattr and lsdosattr utilities to view and modify DOS file attributes. CHANGES : * mkfs.exfat: detect foreign filesystems and partition tables before formatting, requiring "-F" for interactive overwrite of non-exFAT volumes. * mkfs.exfat: always clear the first 0x10000 bytes and improve zero-out I/O, verification, and progress logs during formatting. * mkfs.exfat: reduce memory usage when formatting very large devices. * exfatprogs: include the release date in version output. * mkfs.exfat: print the volume UUID after formatting, warn when the "-s" option is used, and default to 512-byte clusters on very small devices. * exfatprogs: recover from short read/write completions during I/O operations. * exfatprogs: refuse to run on pre-2.6 Linux kernels. BUG FIXES : * fsck.exfat: fix bitmap bit counting sign extension and handle progress bar overflow on corrupted bitmaps. * mkfs.exfat: fix 32-bit overflow issues that could select a wrong cluster size or fail with "-f". * mkfs.exfat: reject invalid zero or overflowing size arguments and correct the total cluster limit for edge-case large volumes. * mkfs.exfat: fix incorrect volume UUID printing and use safer direct I/O for write verification. * exfatprogs: fix 64-bit LBA sector I/O, integer signedness issues, and memory errors reported by valgrind in several utilities. 1.3.2 NEW FEATURES : * fsck.exfat: add an option to show a progress bar while checking a filesystem. CHANGES : * mkfs.exfat: discard blocks prior to write outs by default. * mkfs.exfat: add a read-after-write verification for the volume boot record. * exfatprogs: adjust utility exit codes and add log messages for malloc() failures. BUG FIXES : * dump.exfat: handle paths including '.', '..', and repeated '/'. * fsck.exfat: convert 0x80 entries into deleted file entries to avoid bogus dentry errors. * fsck.exfat: fix an uninitialized variable warning. 1.3.1 NEW FEATURES : * fsck.exfat: support repairing the allocation bitmap size. CHANGES : * exfatprogs: temporarily disable building defrag.exfat due to reported data loss. BUG FIXES : * libexfat: fix a NULL pointer dereference in read_file_dentry_set(). 1.3.0 NEW FEATURES : * defrag.exfat: add a tool to defragment an exFAT filesystem or assess its fragmentation status. See a man page. CHANGES : * mkfs.exfat: minimize zero-out initialization work in quick format mode to reduce I/O time. * fsck.exfat: set the entry after an unused entry as unused. BUG FIXES : * mkfs.exfat: fix incorrect FAT byte length calculation. * mkfs.exfat: avoid setting physical sector size into sector_size field. * fsck.exfat: fix a memory leaks in an error path. Signed-off-by: Adolf Belka --- config/rootfiles/common/exfatprogs | 9 +++++++++ lfs/exfatprogs | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/exfatprogs b/config/rootfiles/common/exfatprogs index 857b52c49..8ba966cef 100644 --- a/config/rootfiles/common/exfatprogs +++ b/config/rootfiles/common/exfatprogs @@ -1,9 +1,18 @@ +usr/bin/chdosattr +usr/bin/lsdosattr +usr/libexec/exfat-uctbl2bin.sh usr/sbin/dump.exfat usr/sbin/exfat2img usr/sbin/exfatlabel usr/sbin/fsck.exfat usr/sbin/mkfs.exfat usr/sbin/tune.exfat +#usr/share/doc/exfatprogs +#usr/share/doc/exfatprogs/upcase-mandatory.txt +#usr/share/doc/exfatprogs/upcase-null.txt +#usr/share/doc/exfatprogs/upcase-recommended.txt +#usr/share/man/man1/chdosattr.1 +#usr/share/man/man1/lsdosattr.1 #usr/share/man/man8/dump.exfat.8 #usr/share/man/man8/exfat2img.8 #usr/share/man/man8/exfatlabel.8 diff --git a/lfs/exfatprogs b/lfs/exfatprogs index ade2d5461..fe03b631c 100644 --- a/lfs/exfatprogs +++ b/lfs/exfatprogs @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 1.2.9 +VER = 1.4.5 THISAPP = exfatprogs-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = d63282fab1822746b4f9ad29539c9549ef75269c5b350d6297e13972cf969661862c421d19d5f9047d63e2eb5b83f0d6bf2e668f78e85917af1973fc2c4627c5 +$(DL_FILE)_BLAKE2 = 998b25786b852aee3ab101fc663b234111434fcac0972281c6a38f9c169a2bea8a8977d1591a100b895b78f9d0a18f98cf725cf04d363c8667c47a4f4e4d6113 install : $(TARGET)