diff --git a/sysutils/fusefs-ntfs/Makefile b/sysutils/fusefs-ntfs/Makefile index d029b406c992..8c38543297b7 100644 --- a/sysutils/fusefs-ntfs/Makefile +++ b/sysutils/fusefs-ntfs/Makefile @@ -1,48 +1,60 @@ # Created by: Max Khon PORTNAME= ntfs PORTVERSION= 2017.3.23 CATEGORIES= sysutils MASTER_SITES= http://tuxera.com/opensource/ PKGNAMEPREFIX= fusefs- DISTNAME= ${PORTNAME}-3g_ntfsprogs-${PORTVERSION} MAINTAINER= freebsd@dussan.org COMMENT= Mount NTFS partitions (read/write) and disk images LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid USES= fuse pkgconfig iconv libtool localbase:ldflags tar:tgz USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --exec-prefix=${PREFIX} --disable-mount-helper \ --disable-mtab --with-fuse=external --disable-ldconfig INSTALL_TARGET= install-strip -OPTIONS_DEFINE= LOCK UBLIO DOCS -OPTIONS_DEFAULT=LOCK UBLIO +OPTIONS_DEFINE= CRYPTO DOCS EXTRAS LOCK UBLIO +OPTIONS_DEFAULT=EXTRAS LOCK UBLIO +OPTIONS_SUB= yes + +CRYPTO_DESC= Enable crypto-related code and utilities +CRYPTO_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgnutls.so:security/gnutls \ + libgpg-error.so:security/libgpg-error +CRYPTO_CONFIGURE_ON= --enable-crypto + +EXTRAS_DESC= Build and install extra NTFS utilities +EXTRAS_CONFIGURE_ON= --enable-extras + LOCK_DESC= Lock the device when mounting (avoids access) LOCK_CFLAGS= -DUSE_LOCK + UBLIO_DESC= Enable user space cache for improved speed UBLIO_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ublio UBLIO_LIB_DEPENDS= libublio.so:devel/libublio UBLIO_CFLAGS= -DUSE_UBLIO SUB_FILES= pkg-message DOCSDIR= ${PREFIX}/share/doc/ntfs-3g post-patch: @${REINPLACE_CMD} -e 's|ENODATA|ENOATTR|' \ ${WRKSRC}/libntfs-3g/object_id.c \ ${WRKSRC}/libntfs-3g/reparse.c \ ${WRKSRC}/libntfs-3g/security.c @${REINPLACE_CMD} -e 's|\($$(AM_CFLAGS)\) \(-I$$(top_srcdir)/include/ntfs-3g\)|\2 \1|; \ /install-exec-hook:/,/^$$/ s|^@.*||' ${WRKSRC}/libntfs-3g/Makefile.in post-install-DOCS-on: ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}/ .include diff --git a/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in b/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in deleted file mode 100644 index 88a6d8fb2f74..000000000000 --- a/sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ ---- 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) -@@ -1424,12 +1426,8 @@ uninstall-man: uninstall-man8 - # mkfs.ntfs[.8] hard link - - @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@install-data-hook: --@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)$(man8dir) --@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f mkntfs.8 $(DESTDIR)$(man8dir)/mkfs.ntfs.8 - - @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@uninstall-local: - @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs diff --git a/sysutils/fusefs-ntfs/pkg-plist b/sysutils/fusefs-ntfs/pkg-plist index a7971bf9953e..426ae30d2910 100644 --- a/sysutils/fusefs-ntfs/pkg-plist +++ b/sysutils/fusefs-ntfs/pkg-plist @@ -1,86 +1,90 @@ bin/lowntfs-3g bin/ntfs-3g bin/ntfs-3g.probe bin/ntfscat bin/ntfscluster bin/ntfscmp +%%CRYPTO%%bin/ntfsdecrypt bin/ntfsfix bin/ntfsinfo bin/ntfsls +%%EXTRAS%%bin/ntfsrecover +%%EXTRAS%%bin/ntfssecaudit +%%EXTRAS%%bin/ntfstruncate +%%EXTRAS%%bin/ntfsusermap +%%EXTRAS%%bin/ntfswipe include/ntfs-3g/acls.h include/ntfs-3g/attrib.h include/ntfs-3g/attrlist.h include/ntfs-3g/bitmap.h include/ntfs-3g/bootsect.h include/ntfs-3g/cache.h include/ntfs-3g/collate.h include/ntfs-3g/compat.h include/ntfs-3g/compress.h include/ntfs-3g/debug.h include/ntfs-3g/device.h include/ntfs-3g/device_io.h include/ntfs-3g/dir.h include/ntfs-3g/ea.h include/ntfs-3g/efs.h include/ntfs-3g/endians.h include/ntfs-3g/index.h include/ntfs-3g/inode.h include/ntfs-3g/ioctl.h include/ntfs-3g/layout.h include/ntfs-3g/lcnalloc.h include/ntfs-3g/logfile.h include/ntfs-3g/logging.h include/ntfs-3g/mft.h include/ntfs-3g/misc.h include/ntfs-3g/mst.h include/ntfs-3g/ntfstime.h include/ntfs-3g/object_id.h include/ntfs-3g/param.h include/ntfs-3g/plugin.h include/ntfs-3g/realpath.h include/ntfs-3g/reparse.h include/ntfs-3g/runlist.h include/ntfs-3g/security.h include/ntfs-3g/support.h include/ntfs-3g/types.h include/ntfs-3g/unistr.h include/ntfs-3g/volume.h include/ntfs-3g/xattrs.h lib/libntfs-3g.a lib/libntfs-3g.so lib/libntfs-3g.so.88 lib/libntfs-3g.so.88.0.0 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/ntfscat.8.gz man/man8/ntfsclone.8.gz man/man8/ntfscluster.8.gz man/man8/ntfscmp.8.gz man/man8/ntfscp.8.gz man/man8/ntfsdecrypt.8.gz man/man8/ntfsfallocate.8.gz man/man8/ntfsfix.8.gz man/man8/ntfsinfo.8.gz man/man8/ntfslabel.8.gz 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 sbin/ntfscp sbin/ntfslabel -sbin/ntfsrecover sbin/ntfsresize sbin/ntfsundelete -sbin/ntfsusermap %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD @dir lib/ntfs-3g