git: c474d561219b - main - sysutils/fusefs-ntfs: Add ntfsusermap tool

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 24 May 2022 05:17:50 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c474d561219b58c93c8fec90f4bd894a133968a2

commit c474d561219b58c93c8fec90f4bd894a133968a2
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-05-24 05:07:23 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-05-24 05:16:51 +0000

    sysutils/fusefs-ntfs: Add ntfsusermap tool
    
    ntfsusermap creates a so called 'UserMap' file from a NTFS partition.
    When the user copies it to a '.NTFS-3G' named directory of this NTFS
    partition, the permissions should be set after mounting.
    
    PR:             261714
    Approved by:    maintainer timeout
---
 sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in | 10 ++++++----
 sysutils/fusefs-ntfs/pkg-plist                          |  5 +++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in b/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in
index 5660f21fa8fc..88a6d8fb2f74 100644
--- a/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in
+++ b/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in
@@ -1,14 +1,16 @@
---- ntfsprogs/Makefile.in.orig	2016-02-21 23:34:49.000000000 -0800
-+++ ntfsprogs/Makefile.in	2016-05-26 00:04:03.566411000 -0700
-@@ -88,6 +88,7 @@
+--- ntfsprogs/Makefile.in.orig	2017-03-23 09:43:00 UTC
++++ ntfsprogs/Makefile.in
+@@ -87,7 +87,9 @@ target_triplet = @target@
+ @ENABLE_NTFSPROGS_TRUE@sbin_PROGRAMS = mkntfs$(EXEEXT) \
  @ENABLE_NTFSPROGS_TRUE@	ntfslabel$(EXEEXT) \
  @ENABLE_NTFSPROGS_TRUE@	ntfsundelete$(EXEEXT) \
++@ENABLE_NTFSPROGS_TRUE@	ntfsusermap$(EXEEXT) \
  @ENABLE_NTFSPROGS_TRUE@	ntfsresize$(EXEEXT) ntfsclone$(EXEEXT) \
 +@ENABLE_NTFSPROGS_TRUE@	ntfsrecover$(EXEEXT) \
  @ENABLE_NTFSPROGS_TRUE@	ntfscp$(EXEEXT)
  @ENABLE_CRYPTO_TRUE@@ENABLE_NTFSPROGS_TRUE@am__append_1 = ntfsdecrypt
  @ENABLE_EXTRAS_TRUE@@ENABLE_NTFSPROGS_TRUE@am__append_2 = $(EXTRA_PROGRAM_NAMES)
-@@ -1376,12 +1377,8 @@
+@@ -1424,12 +1426,8 @@ uninstall-man: uninstall-man8
  # mkfs.ntfs[.8] hard link
  
  @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@install-exec-hook:
diff --git a/sysutils/fusefs-ntfs/pkg-plist b/sysutils/fusefs-ntfs/pkg-plist
index 01515ecfa814..a7971bf9953e 100644
--- a/sysutils/fusefs-ntfs/pkg-plist
+++ b/sysutils/fusefs-ntfs/pkg-plist
@@ -54,8 +54,6 @@ libdata/pkgconfig/libntfs-3g.pc
 man/man8/mkntfs.8.gz
 man/man8/ntfs-3g.8.gz
 man/man8/ntfs-3g.probe.8.gz
-man/man8/ntfssecaudit.8.gz
-man/man8/ntfsusermap.8.gz
 man/man8/ntfscat.8.gz
 man/man8/ntfsclone.8.gz
 man/man8/ntfscluster.8.gz
@@ -70,8 +68,10 @@ man/man8/ntfsls.8.gz
 man/man8/ntfsprogs.8.gz
 man/man8/ntfsrecover.8.gz
 man/man8/ntfsresize.8.gz
+man/man8/ntfssecaudit.8.gz
 man/man8/ntfstruncate.8.gz
 man/man8/ntfsundelete.8.gz
+man/man8/ntfsusermap.8.gz
 man/man8/ntfswipe.8.gz
 sbin/mkntfs
 sbin/ntfsclone
@@ -80,6 +80,7 @@ sbin/ntfslabel
 sbin/ntfsrecover
 sbin/ntfsresize
 sbin/ntfsundelete
+sbin/ntfsusermap
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
 @dir lib/ntfs-3g