Commit Graph

10 Commits

Author SHA1 Message Date
Markus Volk 6786892d37 exfatprogs: fix build after update
After current update I see:
| configure.ac:51: error: undefined or overquoted macro: AC_DEFINE
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.

inherit pkgconfig to resolve dependency issues leading to this

This uncovered a missing dependency on blkid:

| checking pkg-config is at least version 0.9.0... yes
| checking for blkid >= 2.20... no
| checking for blkid... no
| configure: error: Package requirements (blkid) were not met:
|
| Package 'blkid' not found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables EXT2_BLKID_CFLAGS
| and EXT2_BLKID_LIBS to avoid the need to call pkg-config.

Add util-linux dependency

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-12 07:29:03 -07:00
Khem Raj 34a9fb4e4c exfatprogs: upgrade 1.2.6 -> 1.4.1
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-12 07:29:03 -07:00
Gyorgy Sarvari db15c84a06 exfatprogs: add ptest support
It takes about a second to execute the suite.

Sample output (the "ERRORs" are coming from negative tests):

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-26T20:19
BEGIN: /usr/lib/exfatprogs/ptest
Running ./bad_file_size
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: less clusters are allocated. truncates to 8192 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: more clusters are allocated. truncate to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1

exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10

PASS: ./bad_file_size
[...many lines...]
PASS: ./bad_num_chain
Running ./loop_chain
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: more clusters are allocated. truncate to 16384 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: cluster is already allocated for the other file. truncated to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1

exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10

PASS: ./loop_chain

PASS: 17 of 17
DURATION: 1
END: /usr/lib/exfatprogs/ptest
2025-12-26T20:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-28 08:14:38 -08:00
Wang Mingyu 3d1ce4208d exfatprogs: upgrade 1.2.5 -> 1.2.6
CHANGES :
 * exfatprogs: replace obsolete autoconf and libtool
   macros.
 * mkfs.exfat: prefer the physical block size over
   the logical block size for the exFAT sector size.
 * mkfs.exfat: add notes about the format of the volume
   GUID to the man page.
 * mkfs.exfat: fix an incorrect calculation of the number
   of used clusters.

BUG FIXES :
 * exfatlabel: fix an user input error when setting
   a volume serial or label.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-03 09:44:32 -08:00
Christophe Vu-Brugier a9cb23d941 exfatprogs: upgrade 1.2.4 -> 1.2.5
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 16:02:49 -07:00
Christophe Vu-Brugier 487a2d5695 exfatprogs: upgrade 1.2.3 -> 1.2.4
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-17 14:25:27 -07:00
Christophe Vu-Brugier 5b497bb839 exfatprogs: upgrade 1.2.2 -> 1.2.3
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-31 08:07:41 -07:00
Christophe Vu-Brugier a05f5a41b5 exfatprogs: upgrade 1.2.1 -> 1.2.2
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-30 12:17:56 -07:00
Christophe Vu-Brugier 2cb1b41533 exfatprogs: upgrade 1.2.0 -> 1.2.1
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:17 -07:00
Christophe Vu-Brugier d11bf07b3d exfatprogs: add new recipe
exfatprogs provides utilities to create, modify, and check exFAT file
systems on Linux. The developers of exfatprogs also maintain the Linux
kernel exFAT driver.

exfatprogs has replaced exfat-utils in Debian bookworm.

References:
 * https://github.com/exfatprogs/exfatprogs/
 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002871

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00