Sync from SUSE:SLFO:Main exfatprogs revision 362d2fc330e497a25593fa6f832707fb

This commit is contained in:
Adrian Schröter 2024-08-23 16:35:22 +02:00
commit 206eeae01a
5 changed files with 335 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
1.2.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

186
exfatprogs.changes Normal file
View File

@ -0,0 +1,186 @@
-------------------------------------------------------------------
Wed Aug 7 05:39:31 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 1.2.5:
CHANGES :
* exfatprogs: remove the limitation that the device
path length cannot exceed 254 bytes.
* exfatprogs: include the test images in the release
package.
NEW FEATURES :
* fsck.exfat: check and repair the filename which has
invalid characters.
BUG FIXES :
* tune.exfat: check whether the volume has invalid
characters correctly.
* fsck.exfat: check whether the filename and volume
has invalid characters correctly.
* fsck.exfat: fix endianess issues which happen
in the big-endian system.
-------------------------------------------------------------------
Tue Jun 18 05:55:08 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 1.2.4:
* tune.exfat: Fix "invalid serial number" error when setting
an serial number.
* fsck.exfat: Fix memory leak in an error path
-------------------------------------------------------------------
Thu May 23 06:03:08 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 1.2.3:
CHANGES:
* dump.exfat: Report sector size in bytes and cluster size in
terms of sectors.
* fsck.exfat: Show checksum value if the SetChecksum of File
directory entry is invalid.
* mkfs.exfat: Improve FAT length calculation to reduce
the FAT size.
NEW FEATURES:
* mkfs.exfat: Add the option "--sector-size".
* fsck.exfat: Support checking and repairing VendorAllcation and
VendorExtension directory entries.
BUG FIXES:
* exfatprogs: Remove unnecessary memory allocations.
* fsck.exfat: Fix corruption that can occur if the cluster size
is 512-byte.
* fsck.exfat: Fix the SecondaryCount of File directory entry
when the count of Name directory entries is 17 or higher.
* tune.exfat: Fix an error that accepts invalid serial numbers.
-------------------------------------------------------------------
Mon Oct 30 20:18:33 UTC 2023 - Goldwyn Rodrigues <rgoldwyn@suse.com>
- Update to 1.2.2
* exfat2img: Allow dumps for read-only devices.
* fsck.exfat: Revert Repairing zero size directory.
* fsck.exfat: Repair duplicated filename.
* mkfs.exfat: Add the option "q" to print only error messages.
* mkfs.exfat: Add the option "U" to set volume GUID.
* tune.exfat: Add the option "U" / "-u" to set or print volume GUID.
* fsck.exfat: Fix some out-of-bounds memory accesses.
* fsck.exfat: Change not to delete volume GUID directory entry.
-------------------------------------------------------------------
Fri May 19 09:21:26 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.2.1:
* fsck.exfat: Repair zero size directory.
* fsck.exfat: Four small clean-ups.
-------------------------------------------------------------------
Fri Oct 28 13:37:51 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 1.2.0:
Changes:
* fsck.exfat: Keep traveling files even if there is a corrupted
directory entry set.
* fsck.exfat: Introduce the option "b" to recover a boot sector even
if an exFAT filesystem is not found.
* fsck.exfat: Introduce the option "s" to create files in
"/LOST+FOUND", which have clusters allocated but was not belonged to
any files.
* fsck.exfat: Rename '.' and '..' entry name to the one user want.
Features:
* fsck.exfat: Repair corruptions of an exFAT filesystem. Please refer
to fsck.exfat manpage to see what kind of corruptions can be repaired.
* exfat2img: Dump metadata of an exFAT filesystem. Please refer to
exfat2img manpage to see how to use it.
Buf fixes:
* fsck.exfat: Fix an infinite loop while traveling files.
* tune.exfat: Fix bitmap entry corruption when adding new volume lablel.
-------------------------------------------------------------------
Thu Nov 18 08:37:16 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- update to 1.1.3:
* mkfs.exfat: ensure that the cluster size is greater than or
equal than the sector size.
* mkfs.exfat: replace lseek() + write() with pwrite().
* mkfs.exfat: prevent an integer overflow when computing the FAT
length.
* fsck.exfat: fix a double free memory error.
-------------------------------------------------------------------
Mon May 31 14:57:20 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.1.2:
* mkfs.exfat: set 0x80 to DriveSelect of the boot sector
* Fix issues on 4KB logical sector devices
* Fix issues when the sector size of of a file system is different from
that of a block device.
-------------------------------------------------------------------
Sun May 9 18:54:36 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.1.1:
* mkfs.exfat: adjust the boundary alignment calculations to compensate
for the volume offset.
* mkfs.exfat: add the "--pack-bitmap" option to relocate the allocation
bitmap to allow the FAT and the bitmap to share the same allocation
unit on flash media.
* Fix wrong bit operations on 64-bit big.
* Fix memory leaks in error paths.
-------------------------------------------------------------------
Wed Feb 10 07:03:06 UTC 2021 - Ismail Dönmez <idonmez@suse.com>
- Switch to tar.xz tarball
- Add signature checking for the tarball
-------------------------------------------------------------------
Tue Feb 9 22:48:51 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.1.0
* fsck.exfat: recover corrupted boot region.
* exfatlabel: Print or Set volume label and serial.
* dump.exfat: Show the on-disk metadata information
and the statistics.
* set _FILE_OFFSET_BITS=64 for Android build.
- Add dump.exfat binary and manpage to %files section
- Add exfatlabel binary and manpaeg to %files section
-------------------------------------------------------------------
Fri Sep 11 11:33:47 UTC 2020 - Michael Vetter <mvetter@suse.com>
- jsc#SLE-16156: Add exfatprogs to SLE
-------------------------------------------------------------------
Mon Sep 7 12:21:56 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Remove ExclusiveArch, the code compiles on all arches cleanly now.
-------------------------------------------------------------------
Mon Aug 3 05:50:37 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Update to version 1.0.4
* fsck.exfat: display sector, cluster, and volume sizes in the human
readable format.
* fsck.exfat: reduce the elapsed time using read-ahead.
* mkfs.exfat: generate pseudo unique serials while creating filesystems.
* mkfs.exfat: add the "-b" option to align the start offset of FAT and
data clusters.
* fsck.exfat: repair zero-byte files which have the NoFatChain attribute.
* Fix memory leaks on error handling paths.
* fsck.exfat: fix the bug that cannot access space beyond 2TB.
-------------------------------------------------------------------
Tue May 12 15:36:26 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Update to version 1.0.3
* libexfat0 library is no longer installed
* Rename label.exfat to tune.exfat.
* tune.exfat: change argument style
(-l option for print level, -L option for setting label)
* mkfs.exfat: harmonize set volume label option with tune.exfat.
* Fix the reported build warnings/errors.
* Add memset to clean garbage in allocation.
* Fix wrong volume label array size.
* Open a device using O_EXCL to avoid formatting it while it is mounted.
* Add man page.
-------------------------------------------------------------------
Thu Apr 23 12:54:18 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Initial release on OBS

47
exfatprogs.keyring Normal file
View File

@ -0,0 +1,47 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF7+kIUBEADNPHQM0SPJym79kmMYgvDBjFYgxzOvNWz+7iwX/J8eH3M8ZvmlP5UyCT0N
enryAfWugZWVyqphjQflaCmSZS9uP3kfabn2dDaWodd++CWA5qezSvamjZc2jw1g26qJCgR6
RqXlQ+cY2gnKPfzJk8B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QARAQABiQI8BBgB
CgAmFiEE1YUpzFN2421uHm9iNPIw+veOSNMFAl7+kIUCGwwFCQHhM4AACgkQNPIw+veOSNNm
0RAAjOKfnU/4pDrlRPqQG4eJIYnpWjCnaiMW9IpHjw5ABW4LVY7TrBY2QMbq3tMl+k9QpO8r
VmgS69EqkPy85Hvw3sAkPWfJxPmCbIr8lhaUsyJNUtqu33ksYOwV/AhCFPzZKY/0REc/6M+7
j6mJreWFaQIrTYDssDBcLvSRViHT/30oGCFcDoMWcIFe5TUbGgDMeggAVRskeySi61Tdm09K
27SBB1ZeENVz8mgDrUpyKjyypNCG5TA15DVvznSDkpRWOPe39IQkpbaeLsDRP0E2ji73ecRF
AJm9yRtp3g5LcmLdY8LCWTPUNw8i2cSYbV4vc5J086lMdQr5QlMv+Zn9thTQbZv4ugNSbd+n
zUnAyES3jG5VlYjaOW9CF5fQYbkLF4Jo1g4fEMSe8PVF06DNhvptKDz4jTTs92Nn0WLDUZ7o
7U1DvPhVYrT3kzO0FQ/9vz8FWfoRqUbfg3tkLejq/i/Z2/1H+9CP9lcunJgAE+uIfE8NkKBn
clNz7NyQo7KaKf8aIFWnNSA8jSayXfOdxIH+oM8pxRwkxTtgEdMHcU/rlBKSe5uQdzzNOmf8
TQnT0KdRaPcn+7W47jmrdGZS1s8Hc24BsI+lUCcveOEeEpWQP4nh4kN/BGP92eQrsAuU6D6k
22nmklM3IJataXKGS+v9FuN/uyP0W9J5I0hMD+Q=
=7Z4U
-----END PGP PUBLIC KEY BLOCK-----

76
exfatprogs.spec Normal file
View File

@ -0,0 +1,76 @@
#
# spec file for package exfatprogs
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: exfatprogs
Version: 1.2.5
Release: 0
Summary: Utilities for exFAT file system maintenance
License: GPL-2.0-or-later
URL: https://github.com/exfatprogs/exfatprogs
Source0: https://github.com/exfatprogs/exfatprogs/archive/refs/tags/%{version}.tar.gz
Source1000: exfatprogs.keyring
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
Conflicts: exfat-utils
Obsoletes: libexfat0 < %{version}
%description
A set of utilities for creating, checking, dumping and labelling exFAT file
system.
%package -n libexfat0
Summary: Utilities for exFAT file system maintenance
%description -n libexfat0
A set of utilities for creating, checking, dumping and labelling exFAT file
system.
This package contains the shared library.
%prep
%setup -q
chmod -x COPYING
%build
autoreconf -fi
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc README.md
%{_mandir}/man8/dump.exfat.8%{?ext_man}
%{_mandir}/man8/exfatlabel.8%{?ext_man}
%{_mandir}/man8/fsck.exfat.8%{?ext_man}
%{_mandir}/man8/mkfs.exfat.8%{?ext_man}
%{_mandir}/man8/tune.exfat.8%{?ext_man}
%{_mandir}/man8/exfat2img.8%{?ext_man}
%{_sbindir}/dump.exfat
%{_sbindir}/exfatlabel
%{_sbindir}/fsck.exfat
%{_sbindir}/mkfs.exfat
%{_sbindir}/tune.exfat
%{_sbindir}/exfat2img
%changelog