From: Helg Subject: ntfs_3g: enable lowntfs-3g To: ports@openbsd.org Date: Thu, 22 Jan 2026 19:04:58 +0100 This patch enables building lowntfs-3g. This wasn't previously possible because it depends on the low-level FUSE API, but that API is now available in our libfuse. lowntfs-3g is an additional binary installed alongside ntfs-3g that might provide better performance. The other difference between it and ntfs-3g is that it supports the "ignore_case" option. The upstream version has not changed so add a revision. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/ntfs-3g/Makefile,v diff -u -p -r1.21 Makefile --- Makefile 27 Sep 2023 17:16:31 -0000 1.21 +++ Makefile 22 Jan 2026 15:38:34 -0000 @@ -1,6 +1,7 @@ COMMENT = FUSE NTFS driver with read/write support V = 2022.10.3 +REVISION = 0 DISTNAME = ntfs-3g_ntfsprogs-${V} PKGNAME = ntfs_3g-${V} Index: patches/patch-src_Makefile_in =================================================================== RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-src_Makefile_in,v diff -u -p -r1.9 patch-src_Makefile_in --- patches/patch-src_Makefile_in 18 Jun 2023 11:31:39 -0000 1.9 +++ patches/patch-src_Makefile_in 22 Jan 2026 15:38:34 -0000 @@ -1,17 +1,7 @@ Index: src/Makefile.in --- src/Makefile.in.orig +++ src/Makefile.in -@@ -91,8 +91,7 @@ build_triplet = @build@ - host_triplet = @host@ - target_triplet = @target@ - @ENABLE_NTFS_3G_TRUE@bin_PROGRAMS = ntfs-3g.probe$(EXEEXT) --@ENABLE_NTFS_3G_TRUE@rootbin_PROGRAMS = ntfs-3g$(EXEEXT) \ --@ENABLE_NTFS_3G_TRUE@ lowntfs-3g$(EXEEXT) -+@ENABLE_NTFS_3G_TRUE@rootbin_PROGRAMS = ntfs-3g$(EXEEXT) - subdir = src - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ -@@ -544,7 +543,7 @@ install-rootbinPROGRAMS: $(rootbin_PROGRAMS) +@@ -544,7 +544,7 @@ install-rootbinPROGRAMS: $(rootbin_PROGRAMS) if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(rootbindir)$$dir'"; \ @@ -20,7 +10,7 @@ Index: src/Makefile.in } \ ; done -@@ -1004,7 +1003,7 @@ uninstall-man: uninstall-man8 +@@ -1004,7 +1004,7 @@ uninstall-man: uninstall-man8 @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@install-exec-local: install-rootbinPROGRAMS @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(MKDIR_P) "$(DESTDIR)/sbin" Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/ntfs-3g/pkg/PLIST,v diff -u -p -r1.8 PLIST --- pkg/PLIST 23 Jun 2022 13:47:09 -0000 1.8 +++ pkg/PLIST 22 Jan 2026 15:38:34 -0000 @@ -1,3 +1,4 @@ +@bin bin/lowntfs-3g @bin bin/ntfs-3g @bin bin/ntfs-3g.probe @bin bin/ntfscat