From gslin@netnews.NCTU.edu.tw  Tue Aug  8 05:54:25 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B49F916A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2006 05:54:25 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0EA43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2006 05:54:25 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id 2A080120; Tue,  8 Aug 2006 13:54:22 +0800 (CST)
Message-Id: <20060808055422.2A080120@netnews.NCTU.edu.tw>
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: [MAINTAINER] sysutils/fusefs-unionfs: update to 0.15
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101633
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/fusefs-unionfs: update to 0.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 06:00:34 GMT 2006
>Closed-Date:    Tue Aug 08 07:14:48 GMT 2006
>Last-Modified:  Tue Aug 08 07:14:48 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Aug 8 06:00:44 UTC 2006 
Responsible-Changed-Why:  
clsung@ wants his PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101633 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Tue Aug 8 07:14:46 UTC 2006 
State-Changed-Why:  
Committed. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101633 
>Unformatted:
