Friday, June 10, 2022

security update: sysutils/ntfs-3g: 2017.3.23 -> 2022.5.17

This is a security update for ntfs-3g.

- Tested on amd64, mount/read OK.


- This is RUN_DEP of hotplug-diskmount and LIB_DEP of
sysutils/testdisk, testdisk is tested and is able to list/read from
NTFS disk. I'm unable to get hotplug-diskmount to mount my disk,
thus untested, but unlikely to be a problem with this update because
mount disk manually is possible.

changelog:
https://github.com/tuxera/ntfs-3g/releases

Fixed:
CVE-2021-46790, CVE-2022-30783 CVE-2022-30784, CVE-2022-30786,
CVE-2022-30788, CVE-2022-30789 CVE-2022-30785, CVE-2022-30787

diff --git a/sysutils/ntfs-3g/Makefile b/sysutils/ntfs-3g/Makefile
index a9b8c940443..1a7f6ff9656 100644
--- a/sysutils/ntfs-3g/Makefile
+++ b/sysutils/ntfs-3g/Makefile
@@ -1,11 +1,10 @@
COMMENT = FUSE NTFS driver with read/write support

-V = 2017.3.23
+V = 2022.5.17
DISTNAME = ntfs-3g_ntfsprogs-${V}
PKGNAME = ntfs_3g-${V}
-SHARED_LIBS += ntfs-3g 0.2 # .88
+SHARED_LIBS += ntfs-3g 1.2 # .90
CATEGORIES = sysutils
-REVISION = 3

HOMEPAGE = https://www.tuxera.com/community/open-source-ntfs-3g/

diff --git a/sysutils/ntfs-3g/distinfo b/sysutils/ntfs-3g/distinfo
index 792ac470d8a..5e3aa218b45 100644
--- a/sysutils/ntfs-3g/distinfo
+++ b/sysutils/ntfs-3g/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ntfs-3g_ntfsprogs-2017.3.23.tgz) = PloCHXt2EmGDbcswU3CvKZeT7tve1zHfPWlDgC4SYtU=
-SIZE (ntfs-3g_ntfsprogs-2017.3.23.tgz) = 1259054
+SHA256 (ntfs-3g_ntfsprogs-2022.5.17.tgz) = BIn7tpclgeG0F6tXjVQ/auUi5/pkjDybSceJUQ/V65M=
+SIZE (ntfs-3g_ntfsprogs-2022.5.17.tgz) = 1318476
diff --git a/sysutils/ntfs-3g/patches/patch-ntfsprogs_Makefile_in b/sysutils/ntfs-3g/patches/patch-ntfsprogs_Makefile_in
deleted file mode 100644
index eac6d4ef6fa..00000000000
--- a/sysutils/ntfs-3g/patches/patch-ntfsprogs_Makefile_in
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: ntfsprogs/Makefile.in
---- ntfsprogs/Makefile.in.orig
-+++ ntfsprogs/Makefile.in
-@@ -1425,7 +1425,7 @@ uninstall-man: uninstall-man8
-
- @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@install-exec-hook:
- @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)/sbin
--@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/sbin/mkfs.ntfs
-+@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/$(sbindir)/mkfs.ntfs
-
- @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@install-data-hook:
- @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)$(man8dir)
diff --git a/sysutils/ntfs-3g/pkg/PLIST b/sysutils/ntfs-3g/pkg/PLIST
index ab58e97f1a9..c44450375ba 100644
--- a/sysutils/ntfs-3g/pkg/PLIST
+++ b/sysutils/ntfs-3g/pkg/PLIST
@@ -51,9 +51,10 @@ include/ntfs-3g/types.h
include/ntfs-3g/unistr.h
include/ntfs-3g/volume.h
include/ntfs-3g/xattrs.h
-lib/libntfs-3g.a
+@static-lib lib/libntfs-3g.a
lib/libntfs-3g.la
@lib lib/libntfs-3g.so.${LIBntfs-3g_VERSION}
+lib/ntfs-3g/
lib/pkgconfig/libntfs-3g.pc
@man man/man8/mkfs.ntfs.8
@man man/man8/mkntfs.8

No comments:

Post a Comment