Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Aug 2006 13:54:22 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101633: [MAINTAINER] sysutils/fusefs-unionfs: update to 0.15
Message-ID:  <20060808055422.2A080120@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608080600.k7860Zn6032124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101633
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/fusefs-unionfs: update to 0.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 06:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 0.15

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

--- fusefs-unionfs-0.15.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-unionfs/Makefile /home/staff/gslin/work/fusefs-unionfs/Makefile
--- /usr/ports/sysutils/fusefs-unionfs/Makefile	Mon Jul 17 11:50:17 2006
+++ /home/staff/gslin/work/fusefs-unionfs/Makefile	Tue Aug  8 13:49:48 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	unionfs
-PORTVERSION=	0.14
+PORTVERSION=	0.15
 CATEGORIES=	sysutils
 MASTER_SITES=	http://podgorny.cz/unionfs-fuse/releases/
 PKGNAMEPREFIX=	fusefs-
@@ -25,7 +25,7 @@
 do-build:
 	(cd ${WRKSRC} && \
 	 ${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \
-	 -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 \
+	 -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 \
 	 -o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse)
 
 do-install:
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-unionfs/distinfo /home/staff/gslin/work/fusefs-unionfs/distinfo
--- /usr/ports/sysutils/fusefs-unionfs/distinfo	Mon Jul 17 11:50:17 2006
+++ /home/staff/gslin/work/fusefs-unionfs/distinfo	Tue Aug  8 13:44:06 2006
@@ -1,3 +1,3 @@
-MD5 (unionfs-fuse-0.14.tar.bz2) = 7730e9b99830f50a2c8f884e5a8c0870
-SHA256 (unionfs-fuse-0.14.tar.bz2) = dd32cd853e650c742f87ee5f4aa92892e74add38e72bf9b518dec6783249fe0d
-SIZE (unionfs-fuse-0.14.tar.bz2) = 6025
+MD5 (unionfs-fuse-0.15.tar.bz2) = 5631e14b9c57e59ee729ba5eb774fe43
+SHA256 (unionfs-fuse-0.15.tar.bz2) = 0145679ff29c13782bed8cb8d49aa69820520b81f1ce9eccdf69c76c5ee93d71
+SIZE (unionfs-fuse-0.15.tar.bz2) = 6112
diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-unionfs/files/patch-unionfs.c /home/staff/gslin/work/fusefs-unionfs/files/patch-unionfs.c
--- /usr/ports/sysutils/fusefs-unionfs/files/patch-unionfs.c	Mon Jul 17 11:50:17 2006
+++ /home/staff/gslin/work/fusefs-unionfs/files/patch-unionfs.c	Tue Aug  8 13:53:17 2006
@@ -1,16 +1,23 @@
---- unionfs.c.orig	Sun Jul 16 19:02:07 2006
-+++ unionfs.c	Sun Jul 16 19:05:45 2006
-@@ -189,9 +189,13 @@
+--- unionfs.c.orig	Mon Aug  7 07:20:13 2006
++++ unionfs.c	Tue Aug  8 13:53:17 2006
+@@ -188,12 +188,7 @@
+ 
  	if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0;
  
- 	int res;
-+#if FUSE_USE_VERSION >= 26
- 	if (isdatasync) {
- 		res = fdatasync(fi->fh);
- 	} else {
-+#else
-+	{
-+#endif
- 		res = fsync(fi->fh);
+-	int res;
+-	if (isdatasync) {
+-		res = fdatasync(fi->fh);
+-	} else {
+-		res = fsync(fi->fh);
+-	}
++	int res = fsync(fi->fh);
+ 
+ 	if (res == -1) return -errno;
+ 
+@@ -928,5 +923,5 @@
  	}
  
+ 	umask(0);
+-	return fuse_main(args.argc, args.argv, &unionfs_oper, NULL);
++	return fuse_main(args.argc, args.argv, &unionfs_oper);
+ }
--- fusefs-unionfs-0.15.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808055422.2A080120>