Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Updating fuse-ntfs-3g package?
On Fri, Feb 11, 2011 at 02:43:59PM -0600, Dave Huang wrote:
> I noticed that the fuse-ntfs-3g package in pkgsrc is fairly ancient--it
> seems to be a 2007 vintage. Is that because nobody's maintaining the
> package, or does ReFUSE not work with more recent versions, or a
> combination of both? I tried simply updating the package to pull the
> current version (2011.1.15), but it doesn't compile: undefined
> references to various FUSE functions, such as fuse_version(),
> fuse_get_session(), fuse_set_signal_handlers(). If I'm not mistaken,
> those were added in version 2.7 of the FUSE API, and it looks like
> ReFUSE implements 2.6 (that said, ntfs-3g #defines FUSE_USE_VERSION as
> 26...)
>
> The current version of ntfs-3g does seem to work (at least in my
> extremely limited testing) with the filesystems/fuse package, but it
> does seem like it'd be nicer if it worked with librefuse. Are there any
> plans on updating librefuse to support a newer version of the FUSE API
> (assuming that is the reason ntfs-3g no longer compiles)?
I've been using version 2010.3.6 on Solaris for a while. I vaguely
remember that newer versions didn't work, could have been a similar
problem. While this isn't the newest latest, it at least isn't as
ancient as what is there currently. I haven't tested this on NetBSD, but
just in case you're interested in testing it I attached a diff :)
Hans
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/filesystems/fuse-ntfs-3g/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 8 Jul 2009 16:34:40 -0000 1.14
+++ Makefile 12 Feb 2011 10:00:48 -0000
@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.14 2009/07/08 16:34:40 joerg Exp $
#
-DISTNAME= ntfs-3g-1.1120
+DISTNAME= ntfs-3g-2010.3.6
PKGNAME= fuse-${DISTNAME}
CATEGORIES= filesystems
-MASTER_SITES= http://www.ntfs-3g.org/
+MASTER_SITES= http://tuxera.com/opensource/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -18,6 +18,7 @@
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
+CONFIGURE_ENV+= enable_mount_helper=yes
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/filesystems/fuse-ntfs-3g/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST 14 Jun 2009 17:51:59 -0000 1.3
+++ PLIST 12 Feb 2011 10:00:48 -0000
@@ -1,13 +1,22 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:51:59 joerg Exp $
bin/mount.ntfs-3g
bin/ntfs-3g
+bin/ntfs-3g.probe
+bin/ntfs-3g.secaudit
+bin/ntfs-3g.usermap
man/man8/ntfs-3g.8
+man/man8/ntfs-3g.probe.8
+man/man8/ntfs-3g.secaudit.8
+man/man8/ntfs-3g.usermap.8
man/man8/mount.ntfs-3g.8
lib/libntfs-3g.la
+lib/pkgconfig/libntfs-3g.pc
+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
@@ -15,6 +24,7 @@
include/ntfs-3g/device.h
include/ntfs-3g/device_io.h
include/ntfs-3g/dir.h
+include/ntfs-3g/efs.h
include/ntfs-3g/endians.h
include/ntfs-3g/index.h
include/ntfs-3g/inode.h
@@ -22,13 +32,17 @@
include/ntfs-3g/lcnalloc.h
include/ntfs-3g/logfile.h
include/ntfs-3g/logging.h
+include/ntfs-3g/misc.h
include/ntfs-3g/mft.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/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/version.h
include/ntfs-3g/volume.h
+share/doc/ntfs-3g/README
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/filesystems/fuse-ntfs-3g/distinfo,v
retrieving revision 1.15
diff -u -r1.15 distinfo
--- distinfo 8 Jul 2009 16:34:40 -0000 1.15
+++ distinfo 12 Feb 2011 10:00:48 -0000
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.15 2009/07/08 16:34:40 joerg Exp $
-SHA1 (ntfs-3g-1.1120.tgz) = 203b6194e4dc531065b81c8f2ef72dd247e48a9b
-RMD160 (ntfs-3g-1.1120.tgz) = ecaef2641e018364620507a0703546a62c2a7683
-Size (ntfs-3g-1.1120.tgz) = 577005 bytes
-SHA1 (patch-ab) = 9bc1480296f2306aac2b8f2eb67a16743372bced
+SHA1 (ntfs-3g-2010.3.6.tgz) = ddbecaf15ab8a679024a2c934e692942eaf0d44b
+RMD160 (ntfs-3g-2010.3.6.tgz) = 9a6f69d43a6f59aa2251452fec8f2000e7b15f89
+Size (ntfs-3g-2010.3.6.tgz) = 837069 bytes
+SHA1 (patch-ab) = 9a1b2e0f31ee5ca1ffa3cb179a4736b59035d1c9
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/filesystems/fuse-ntfs-3g/patches/patch-ab,v
retrieving revision 1.3
diff -u -r1.3 patch-ab
--- patches/patch-ab 8 Jul 2009 16:34:40 -0000 1.3
+++ patches/patch-ab 12 Feb 2011 10:00:48 -0000
@@ -1,13 +1,13 @@
$NetBSD: patch-ab,v 1.3 2009/07/08 16:34:40 joerg Exp $
---- src/Makefile.in.orig 2007-03-27 23:24:12.000000000 +0200
-+++ src/Makefile.in 2007-04-13 11:16:54.000000000 +0200
-@@ -585,7 +585,7 @@
+--- src/Makefile.in.orig 2009-11-13 21:51:36.000000000 +0100
++++ src/Makefile.in 2010-01-09 01:22:04.909320052 +0100
+@@ -736,7 +736,7 @@ uninstall-man: uninstall-man8
- install-exec-local:
- $(INSTALL) -d $(DESTDIR)/sbin
-- $(LN_S) -f $(bindir)/ntfs-3g $(DESTDIR)/sbin/mount.ntfs-3g
-+ $(LN_S) -f $(bindir)/ntfs-3g $(DESTDIR)$(bindir)/mount.ntfs-3g
+ @ENABLE_MOUNT_HELPER_TRUE@install-exec-local: install-rootbinPROGRAMS
+ @ENABLE_MOUNT_HELPER_TRUE@ $(MKDIR_P) "$(DESTDIR)/sbin"
+-@ENABLE_MOUNT_HELPER_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g"
"$(DESTDIR)/sbin/mount.ntfs-3g"
++@ENABLE_MOUNT_HELPER_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g"
"$(DESTDIR)$(bindir)/mount.ntfs-3g"
- install-data-local:
- $(INSTALL) -d $(DESTDIR)$(man8dir)
+ install-data-local: install-man8
+ $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
Home |
Main Index |
Thread Index |
Old Index