ports/114616: [PATCH] sysutils/fusefs-ntfs: update to 1.710

trasz trasz at FreeBSD.org
Mon Jul 16 06:40:04 UTC 2007


>Number:         114616
>Category:       ports
>Synopsis:       [PATCH] sysutils/fusefs-ntfs: update to 1.710
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 06:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
- Update to 1.710

Port maintainer (fjoe at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fusefs-ntfs-1.710.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-ntfs/Makefile /home/trasz/fusefs-ntfs/Makefile
--- /usr/ports/sysutils/fusefs-ntfs/Makefile	Thu Jun  7 06:01:31 2007
+++ /home/trasz/fusefs-ntfs/Makefile	Mon Jul 16 08:35:12 2007
@@ -5,8 +5,7 @@
 #
 
 PORTNAME=	ntfs
-PORTVERSION=	1.417
-PORTREVISION=	2
+PORTVERSION=	1.710
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ntfs-3g.org/:ntfs \
 		${MASTER_SITE_LOCAL:S|$|alepulver/:ublio|}
@@ -26,6 +25,7 @@
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool:15
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=	--mandir=${PREFIX}/man --exec-prefix=${PREFIX}
 
 OPTIONS=	LOCK "Lock the device when mounting (avoids access)" off \
 		UBLIO "Enable user space cache for improved speed" on
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-ntfs/distinfo /home/trasz/fusefs-ntfs/distinfo
--- /usr/ports/sysutils/fusefs-ntfs/distinfo	Thu Jun  7 06:01:31 2007
+++ /home/trasz/fusefs-ntfs/distinfo	Mon Jul 16 08:35:12 2007
@@ -1,6 +1,6 @@
-MD5 (ntfs-3g-1.417.tgz) = 9e451f1084461795a96170adb6c4376b
-SHA256 (ntfs-3g-1.417.tgz) = 6eff152c670cb9cab1c3d423aac1ce7825f3bc5f53be5ff1857c0079bd27ecc0
-SIZE (ntfs-3g-1.417.tgz) = 562094
+MD5 (ntfs-3g-1.710.tgz) = d42e8d59daca61f5725ea97a08a12142
+SHA256 (ntfs-3g-1.710.tgz) = 9aa99b2951336ea7fe07239cf5a3e6f7645801a1475dbab143d5ce918c32cc52
+SIZE (ntfs-3g-1.710.tgz) = 580731
 MD5 (libublio-20070103.tar.gz) = ec8b05fe4d831111f29485b0ab8a0161
 SHA256 (libublio-20070103.tar.gz) = 7c87d1cd7a65ab5ab61f9d7b5279bab6c8169d33d552148d396995c767be919f
 SIZE (libublio-20070103.tar.gz) = 17238
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-ntfs/files/patch-configure /home/trasz/fusefs-ntfs/files/patch-configure
--- /usr/ports/sysutils/fusefs-ntfs/files/patch-configure	Tue Dec  5 23:15:46 2006
+++ /home/trasz/fusefs-ntfs/files/patch-configure	Mon Jul 16 08:35:13 2007
@@ -1,11 +1,11 @@
---- configure.orig	Tue Jul 25 23:41:16 2006
-+++ configure	Tue Jul 25 23:40:37 2006
-@@ -19956,7 +19956,7 @@
+--- configure.orig	Mon Jul 16 08:10:12 2007
++++ configure	Mon Jul 16 08:10:48 2007
+@@ -20038,7 +20038,7 @@
  
  
  case "$target_os" in
--linux*)
-+linux*|freebsd*)
+-linux*|darwin*|netbsd*)
++linux*|darwin*|netbsd*|freebsd*)
  
-   succeeded=no
  
+ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-ntfs/files/patch-libntfs-3g__unix_io.c /home/trasz/fusefs-ntfs/files/patch-libntfs-3g__unix_io.c
--- /usr/ports/sysutils/fusefs-ntfs/files/patch-libntfs-3g__unix_io.c	Thu Jun  7 06:01:33 2007
+++ /home/trasz/fusefs-ntfs/files/patch-libntfs-3g__unix_io.c	Mon Jul 16 08:35:13 2007
@@ -1,5 +1,5 @@
---- libntfs-3g/unix_io.c.orig	Tue Dec 12 20:16:43 2006
-+++ libntfs-3g/unix_io.c	Thu May  3 22:27:13 2007
+--- libntfs-3g/unix_io.c.orig	Fri Jun  8 23:35:33 2007
++++ libntfs-3g/unix_io.c	Mon Jul 16 07:58:02 2007
 @@ -54,6 +54,22 @@
  #include <linux/fd.h>
  #endif
@@ -264,12 +264,11 @@
  
  	if (!NDevOpen(dev)) {
  		errno = EBADF;
-@@ -155,14 +325,21 @@
- 	}
- 	if (NDevDirty(dev))
- 		fsync(DEV_FD(dev));
+@@ -160,12 +330,19 @@
+ 			return -1;
+ 		}
+ 
 +#if USE_LOCK
- 	/* Release exclusive (mandatory) lock on the whole device. */
  	memset(&flk, 0, sizeof(flk));
  	flk.l_type = F_UNLCK;
  	flk.l_whence = SEEK_SET;
@@ -277,18 +276,16 @@
 -	if (fcntl(DEV_FD(dev), F_SETLK, &flk))
 +
 +	if (!NDevBlock(dev) && fcntl(DEV_FD(dev), F_SETLK, &flk))
- 		ntfs_log_perror("ntfs_device_unix_io_close: Warning: Could not "
--				"unlock %s", dev->d_name);
-+			"unlock %s", dev->d_name);
+ 		ntfs_log_perror("Could not unlock %s", dev->d_name);
 +#endif
 +#if USE_UBLIO
 +	if (DEV_HANDLE(dev)->ublio_fh)
 +		ublio_close(DEV_HANDLE(dev)->ublio_fh);
 +#endif
- 	/* Close the file descriptor and clear our open flag. */
- 	if (close(DEV_FD(dev)))
+ 	if (close(DEV_FD(dev))) {
+ 		ntfs_log_perror("Failed to close device %s", dev->d_name);
  		return -1;
-@@ -185,10 +362,235 @@
+@@ -189,9 +366,234 @@
  static s64 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset,
  		int whence)
  {
@@ -325,8 +322,8 @@
 +#else
  	return lseek(DEV_FD(dev), offset, whence);
 +#endif
-+}
-+
+ }
+ 
 +#if USE_ALIGNED_IO
 +
 +#if USE_UBLIO
@@ -408,9 +405,9 @@
 +	if (nr > count)
 +		nr = count;
 +	return nr;
- }
- 
- /**
++}
++
++/**
 + * aligned_pwrite - Perform an aligned positioned write from the device
 + */
 +static s64 aligned_pwrite(struct ntfs_device *dev, void *buf, s64 count, s64 offset)
@@ -520,11 +517,10 @@
 +
 +#endif
 +
-+/**
+ /**
   * ntfs_device_unix_io_read - Read from the device, from the current location
   * @dev:
-  * @buf:
-@@ -201,6 +603,29 @@
+@@ -205,6 +607,29 @@
  static s64 ntfs_device_unix_io_read(struct ntfs_device *dev, void *buf,
  		s64 count)
  {
@@ -554,7 +550,7 @@
  	return read(DEV_FD(dev), buf, count);
  }
  
-@@ -222,6 +647,28 @@
+@@ -226,6 +651,28 @@
  		return -1;
  	}
  	NDevSetDirty(dev);
@@ -583,7 +579,7 @@
  	return write(DEV_FD(dev), buf, count);
  }
  
-@@ -239,6 +686,13 @@
+@@ -243,6 +690,13 @@
  static s64 ntfs_device_unix_io_pread(struct ntfs_device *dev, void *buf,
  		s64 count, s64 offset)
  {
@@ -597,7 +593,7 @@
  	return pread(DEV_FD(dev), buf, count, offset);
  }
  
-@@ -261,6 +715,13 @@
+@@ -265,6 +719,13 @@
  		return -1;
  	}
  	NDevSetDirty(dev);
@@ -611,13 +607,10 @@
  	return pwrite(DEV_FD(dev), buf, count, offset);
  }
  
-@@ -275,7 +736,16 @@
- static int ntfs_device_unix_io_sync(struct ntfs_device *dev)
- {
+@@ -281,6 +742,13 @@
+ 	int res = 0;
+ 	
  	if (!NDevReadOnly(dev)) {
--		int res = fsync(DEV_FD(dev));
-+		int res;
-+
 +#if USE_UBLIO
 +		if (DEV_HANDLE(dev)->ublio_fh) {
 +			res = ublio_fsync(DEV_HANDLE(dev)->ublio_fh);
@@ -625,7 +618,6 @@
 +				return res;
 +		}
 +#endif
-+		res = fsync(DEV_FD(dev));
- 		if (!res)
- 			NDevClearDirty(dev);
- 		return res;
+ 		res = fsync(DEV_FD(dev));
+ 		if (res)
+ 			ntfs_log_perror("Failed to sync device %s", dev->d_name);
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-ntfs/pkg-plist /home/trasz/fusefs-ntfs/pkg-plist
--- /usr/ports/sysutils/fusefs-ntfs/pkg-plist	Wed Apr 25 20:55:38 2007
+++ /home/trasz/fusefs-ntfs/pkg-plist	Mon Jul 16 08:35:12 2007
@@ -31,5 +31,5 @@
 lib/libntfs-3g.a
 lib/libntfs-3g.la
 lib/libntfs-3g.so
-lib/libntfs-3g.so.1
+lib/libntfs-3g.so.5
 @dirrm include/ntfs-3g
--- fusefs-ntfs-1.710.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list