Message ID | 20220228211042.2803296-1-adolf.belka@ipfire.org |
---|---|
State | Accepted |
Commit | b09ef37023cf1d6567110903777b4f9df3508999 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> 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 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4K6tMZ3Zrpz3wtR for <patchwork@web04.haj.ipfire.org>; Mon, 28 Feb 2022 21:10:50 +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 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4K6tMY6QFbz5Vh; Mon, 28 Feb 2022 21:10:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4K6tMY6C0jz2ydY; Mon, 28 Feb 2022 21:10:49 +0000 (UTC) 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 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4K6tMY0WZzz2y38 for <development@lists.ipfire.org>; Mon, 28 Feb 2022 21:10:49 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4K6tMX4sGYz37J; Mon, 28 Feb 2022 21:10:48 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1646082648; 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; bh=D+GDh/ypv1R6kKYV91TqMlSCSFJDhJiQZevcSd1eCv8=; b=7/L2A0LCh0g8T/FzwLBvqNKhrMUsTxQQrzFVdugAfCeJTdVgm6pImS8Zv+DqFc0pu+cAlU S/M6dEYPt9O/3tAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1646082648; 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; bh=D+GDh/ypv1R6kKYV91TqMlSCSFJDhJiQZevcSd1eCv8=; b=kWE69Q62h5ShpbFvNl37SA55M1QdI77T6v3wy8wBqEi2P8N8Jk9tN36SOVzV0CoF7qrehR Cw+9o0VSUJoDQrSnd6BWwSXK52sdmmQKaQwZuhsBIc7/Vl590PG2j/mQl4DR9Vxs/FML5F jy/0OUiycgyPJ5OWcVO0ZUqJvvQelhn+g+yJCCPN9So0E5LnNe/inQePFJeEmy27gWawid QuaZbkZqMJ/Sz2VfR+9aKeRxAiFuZjnPDK/yVaA33Ys8Ig0VtBy6lrBHwR6oOMHYZKlLtR 0eGjjMr9dMB6sEPNOO8a3Gi+ViXtmQzk3G884YV7DmYtfIOmMsa1qIu6Mb9U+A== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] ntfs-3g: Update to version 2021.8.22 Date: Mon, 28 Feb 2022 22:10:42 +0100 Message-Id: <20220228211042.2803296-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
ntfs-3g: Update to version 2021.8.22
|
|
Commit Message
Adolf Belka
Feb. 28, 2022, 9:10 p.m. UTC
- Update from 2017.3.23 to 2021.8.22
- Update of rootfile
- Added link to mkfs.ntfs in lfs to provide the binary in sbin as the new package places it
in usr/sbin
- Ran find-dependencies and no problems flagged up.
- Changelog
Stable Version 2021.8.22 (August 30, 2021)
Fixed compile error when building with libfuse < 2.8.0
Fixed obsolete macros in configure.ac
Signalled support of UTIME_OMIT to external libfuse2
Fixed an improper macro usage in ntfscp.c
Updated the repository change in the README
Fixed vulnerability threats caused by maliciously tampered NTFS partitions
Stable Version 2017.3.23AR.6 (February 1, 2021)
Used kernel cacheing on read-only mounts or with lowntfs-3g
Avoided information leak when processing garbled compressed data
Defined option posix_nlink to compute a Posix compliant st_nlink
Recovered space when an index root is shortened
Replaced ENODATA with ENOATTR in xattrs functions for macOS
Added support for 'position' argument in macOS xattr functions
Changed default xattr access method to 'openxattr' for macOS builds
Allowed redefining the target location of the ntfsprogs tools
Fixed updating the allocated size when attribute lies in an extent
Enabled actions on directories in reparse plugins
Inserted the reparse tag in the bad reparse symlink
Supported use of WSL special files
Dropped rejecting having both EA and reparse data
Enabled Creating special files the same way as WSL
Checked the locations of MFT and MFTMirr at startup
Stable Version 2017.3.23AR.5 (April 1, 2020)
Processed the request argument of ioctl() as unsigned
Accepted alternative recording of cluster size
Fixed a poorly sized string in ntfsinfo
Fixed ntfsfallocate on a void file
Decoded execlink reparse points
Fixed object type returned in readdir() for reparse points
Exported the translations of Windows paths to current ones
Stable Version 2017.3.23AR.4 (March 1, 2019)
Fixed reporting an error when failed to build the mountpoint
Reverted accessing reparse directory through internal plugins
Cleaned object ids beyond the updated part
Fixed reacting to missing plugin
Returned a low level error when an ioctl fails
Truncated SSD trimming zones to granularity supported by the device
Stable Version 2017.3.23AR.3 (September 1, 2018)
Made sure log file buffers are properly aligned
Made reparse directories visible through internal plugins
Added an option to ntfscp to copy the modification time
Renamed undeleted files to avoid overwriting existing ones
Extended the allowed cluster size to 2MB
Allocated full clusters for reading and rescuing in ntfsclone
Prevented locally defined headers from interfering with ntfs-3g ones
Attempted mounting read-only after failed permission to read-write
Fixed collecting the label argument in mkntfs
Stable Version 2017.3.23AR.2 (March 1, 2018)
Made sure log file buffers are properly aligned
Checked log file blocks more recent than temporary ones
Processed redo log actions associated to undoing a CompensationlogRecord
Allowed setting a file object id without defining its birth ids
Documented read-only mount when Windows is hibernated
Stopped checking matches of MFTMirr against MFT at record 16
Filtered out reparse flags for selecting plugins
Delayed updating the MFT runlist when resizing in read-only mode
Double-checked whether record 15 is an extent of MFT
Checked whether the device to mount was forced read-only
Stable Version 2017.3.23AR.1 (October 1, 2017)
Bypassed cluster allocation errors using --ignore-fs-check in ntfsclone
Upgraded ntfsrecover to support log files for Windows 10
Fixed the computation of highest_vcn when applying a runlist fixup
Fixed updating the vcn of subtree in ntfsrecover
Relaxed checks on security descriptors
Enabled directory operations in plugins
Decoded more reparse tags in ntfsinfo
Logged falling back to mounting read-only
Fixed compiling on MacOSX (Erik Larsson)
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/ntfs-3g | 6 +++---
lfs/ntfs-3g | 12 ++++++++----
2 files changed, 11 insertions(+), 7 deletions(-)
Comments
Reviewed-by: Peter Müller <peter.mueller@ipfire.org> > - Update from 2017.3.23 to 2021.8.22 > - Update of rootfile > - Added link to mkfs.ntfs in lfs to provide the binary in sbin as the new package places it > in usr/sbin > - Ran find-dependencies and no problems flagged up. > - Changelog > Stable Version 2021.8.22 (August 30, 2021) > Fixed compile error when building with libfuse < 2.8.0 > Fixed obsolete macros in configure.ac > Signalled support of UTIME_OMIT to external libfuse2 > Fixed an improper macro usage in ntfscp.c > Updated the repository change in the README > Fixed vulnerability threats caused by maliciously tampered NTFS partitions > Stable Version 2017.3.23AR.6 (February 1, 2021) > Used kernel cacheing on read-only mounts or with lowntfs-3g > Avoided information leak when processing garbled compressed data > Defined option posix_nlink to compute a Posix compliant st_nlink > Recovered space when an index root is shortened > Replaced ENODATA with ENOATTR in xattrs functions for macOS > Added support for 'position' argument in macOS xattr functions > Changed default xattr access method to 'openxattr' for macOS builds > Allowed redefining the target location of the ntfsprogs tools > Fixed updating the allocated size when attribute lies in an extent > Enabled actions on directories in reparse plugins > Inserted the reparse tag in the bad reparse symlink > Supported use of WSL special files > Dropped rejecting having both EA and reparse data > Enabled Creating special files the same way as WSL > Checked the locations of MFT and MFTMirr at startup > Stable Version 2017.3.23AR.5 (April 1, 2020) > Processed the request argument of ioctl() as unsigned > Accepted alternative recording of cluster size > Fixed a poorly sized string in ntfsinfo > Fixed ntfsfallocate on a void file > Decoded execlink reparse points > Fixed object type returned in readdir() for reparse points > Exported the translations of Windows paths to current ones > Stable Version 2017.3.23AR.4 (March 1, 2019) > Fixed reporting an error when failed to build the mountpoint > Reverted accessing reparse directory through internal plugins > Cleaned object ids beyond the updated part > Fixed reacting to missing plugin > Returned a low level error when an ioctl fails > Truncated SSD trimming zones to granularity supported by the device > Stable Version 2017.3.23AR.3 (September 1, 2018) > Made sure log file buffers are properly aligned > Made reparse directories visible through internal plugins > Added an option to ntfscp to copy the modification time > Renamed undeleted files to avoid overwriting existing ones > Extended the allowed cluster size to 2MB > Allocated full clusters for reading and rescuing in ntfsclone > Prevented locally defined headers from interfering with ntfs-3g ones > Attempted mounting read-only after failed permission to read-write > Fixed collecting the label argument in mkntfs > Stable Version 2017.3.23AR.2 (March 1, 2018) > Made sure log file buffers are properly aligned > Checked log file blocks more recent than temporary ones > Processed redo log actions associated to undoing a CompensationlogRecord > Allowed setting a file object id without defining its birth ids > Documented read-only mount when Windows is hibernated > Stopped checking matches of MFTMirr against MFT at record 16 > Filtered out reparse flags for selecting plugins > Delayed updating the MFT runlist when resizing in read-only mode > Double-checked whether record 15 is an extent of MFT > Checked whether the device to mount was forced read-only > Stable Version 2017.3.23AR.1 (October 1, 2017) > Bypassed cluster allocation errors using --ignore-fs-check in ntfsclone > Upgraded ntfsrecover to support log files for Windows 10 > Fixed the computation of highest_vcn when applying a runlist fixup > Fixed updating the vcn of subtree in ntfsrecover > Relaxed checks on security descriptors > Enabled directory operations in plugins > Decoded more reparse tags in ntfsinfo > Logged falling back to mounting read-only > Fixed compiling on MacOSX (Erik Larsson) > > Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> > --- > config/rootfiles/common/ntfs-3g | 6 +++--- > lfs/ntfs-3g | 12 ++++++++---- > 2 files changed, 11 insertions(+), 7 deletions(-) > > diff --git a/config/rootfiles/common/ntfs-3g b/config/rootfiles/common/ntfs-3g > index 9e46d2731..e187cbfaa 100644 > --- a/config/rootfiles/common/ntfs-3g > +++ b/config/rootfiles/common/ntfs-3g > @@ -1,8 +1,8 @@ > bin/lowntfs-3g > bin/ntfs-3g > #lib/libntfs-3g.so > -lib/libntfs-3g.so.88 > -lib/libntfs-3g.so.88.0.0 > +lib/libntfs-3g.so.89 > +lib/libntfs-3g.so.89.0.0 > sbin/mkfs.ntfs > sbin/mount.lowntfs-3g > sbin/mount.ntfs-3g > @@ -53,11 +53,11 @@ usr/bin/ntfsls > #usr/include/ntfs-3g/unistr.h > #usr/include/ntfs-3g/volume.h > #usr/include/ntfs-3g/xattrs.h > -#usr/lib/libntfs-3g.a > #usr/lib/libntfs-3g.la > #usr/lib/libntfs-3g.so > #usr/lib/ntfs-3g > #usr/lib/pkgconfig/libntfs-3g.pc > +usr/sbin/mkfs.ntfs > usr/sbin/mkntfs > usr/sbin/ntfsclone > usr/sbin/ntfscp > diff --git a/lfs/ntfs-3g b/lfs/ntfs-3g > index 0ee7dab93..3183dd84c 100644 > --- a/lfs/ntfs-3g > +++ b/lfs/ntfs-3g > @@ -24,7 +24,7 @@ > > include Config > > -VER = 2017.3.23 > +VER = 2021.8.22 > > THISAPP = ntfs-3g_ntfsprogs-$(VER) > DL_FILE = $(THISAPP).tgz > @@ -40,7 +40,7 @@ objects = $(DL_FILE) > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > -$(DL_FILE)_MD5 = d97474ae1954f772c6d2fa386a6f462c > +$(DL_FILE)_MD5 = 90da343e78877d388eb34cefae6799ae > > install : $(TARGET) > > @@ -50,7 +50,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects)) > > md5 : $(subst %,%_MD5,$(objects)) > > -dist: > +dist: > @$(PAK) > > ############################################################################### > @@ -74,8 +74,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > $(UPDATE_AUTOMAKE) > - cd $(DIR_APP) && ./configure --prefix=/usr > + cd $(DIR_APP) && ./configure \ > + --prefix=/usr \ > + --disable-static > cd $(DIR_APP) && make $(MAKETUNING) > cd $(DIR_APP) && make install > + # make mkfs.ntfs link in sbin to mkntfs to match previous situation for this binary > + ln -s /usr/sbin/mkntfs /sbin/mkfs.ntfs > @rm -rf $(DIR_APP) > @$(POSTBUILD)
diff --git a/config/rootfiles/common/ntfs-3g b/config/rootfiles/common/ntfs-3g index 9e46d2731..e187cbfaa 100644 --- a/config/rootfiles/common/ntfs-3g +++ b/config/rootfiles/common/ntfs-3g @@ -1,8 +1,8 @@ bin/lowntfs-3g bin/ntfs-3g #lib/libntfs-3g.so -lib/libntfs-3g.so.88 -lib/libntfs-3g.so.88.0.0 +lib/libntfs-3g.so.89 +lib/libntfs-3g.so.89.0.0 sbin/mkfs.ntfs sbin/mount.lowntfs-3g sbin/mount.ntfs-3g @@ -53,11 +53,11 @@ usr/bin/ntfsls #usr/include/ntfs-3g/unistr.h #usr/include/ntfs-3g/volume.h #usr/include/ntfs-3g/xattrs.h -#usr/lib/libntfs-3g.a #usr/lib/libntfs-3g.la #usr/lib/libntfs-3g.so #usr/lib/ntfs-3g #usr/lib/pkgconfig/libntfs-3g.pc +usr/sbin/mkfs.ntfs usr/sbin/mkntfs usr/sbin/ntfsclone usr/sbin/ntfscp diff --git a/lfs/ntfs-3g b/lfs/ntfs-3g index 0ee7dab93..3183dd84c 100644 --- a/lfs/ntfs-3g +++ b/lfs/ntfs-3g @@ -24,7 +24,7 @@ include Config -VER = 2017.3.23 +VER = 2021.8.22 THISAPP = ntfs-3g_ntfsprogs-$(VER) DL_FILE = $(THISAPP).tgz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d97474ae1954f772c6d2fa386a6f462c +$(DL_FILE)_MD5 = 90da343e78877d388eb34cefae6799ae install : $(TARGET) @@ -50,7 +50,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects)) md5 : $(subst %,%_MD5,$(objects)) -dist: +dist: @$(PAK) ############################################################################### @@ -74,8 +74,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install + # make mkfs.ntfs link in sbin to mkntfs to match previous situation for this binary + ln -s /usr/sbin/mkntfs /sbin/mkfs.ntfs @rm -rf $(DIR_APP) @$(POSTBUILD)