From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 16 11:20:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD10916A4DA for ; Sun, 16 Jul 2006 11:20:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD47C43D45 for ; Sun, 16 Jul 2006 11:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6GBKGF9039817 for ; Sun, 16 Jul 2006 11:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6GBKGsB039816; Sun, 16 Jul 2006 11:20:16 GMT (envelope-from gnats) Resent-Date: Sun, 16 Jul 2006 11:20:16 GMT Resent-Message-Id: <200607161120.k6GBKGsB039816@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B057E16A4DA for ; Sun, 16 Jul 2006 11:13:16 +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 523F743D45 for ; Sun, 16 Jul 2006 11:13:16 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id E2A3B6A8; Sun, 16 Jul 2006 19:13:11 +0800 (CST) Message-Id: <20060716111311.E2A3B6A8@netnews.NCTU.edu.tw> Date: Sun, 16 Jul 2006 19:13:11 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/100382: [NEW PORT] sysutils/fusefs-unionfs: FUSE based implementation of the well-known unionfs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2006 11:20:17 -0000 >Number: 100382 >Category: ports >Synopsis: [NEW PORT] sysutils/fusefs-unionfs: FUSE based implementation of the well-known unionfs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 16 11:20:16 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: This is my effort to create a unionfs filesystem implementation which is probably slower but way more flexible than the current in-kernel unionfs solution. Currently it's almost fully usable, the only problem is new file/directory creation which I will fix soon... WWW: http://podgorny.cz/moin/UnionFsFuse Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- fusefs-unionfs-0.14.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fusefs-unionfs # fusefs-unionfs/pkg-descr # fusefs-unionfs/Makefile # fusefs-unionfs/files # fusefs-unionfs/files/patch-unionfs.c # fusefs-unionfs/distinfo # echo c - fusefs-unionfs mkdir -p fusefs-unionfs > /dev/null 2>&1 echo x - fusefs-unionfs/pkg-descr sed 's/^X//' >fusefs-unionfs/pkg-descr << 'END-of-fusefs-unionfs/pkg-descr' XThis is my effort to create a unionfs filesystem implementation which Xis probably slower but way more flexible than the current in-kernel Xunionfs solution. Currently it's almost fully usable, the only problem Xis new file/directory creation which I will fix soon... X XWWW: http://podgorny.cz/moin/UnionFsFuse END-of-fusefs-unionfs/pkg-descr echo x - fusefs-unionfs/Makefile sed 's/^X//' >fusefs-unionfs/Makefile << 'END-of-fusefs-unionfs/Makefile' X# New ports collection makefile for: fusefs-unionfs X# Date created: 2006-07-16 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= unionfs XPORTVERSION= 0.14 XCATEGORIES= sysutils XMASTER_SITES= http://podgorny.cz/unionfs-fuse/releases/ XPKGNAMEPREFIX= fusefs- XDISTNAME= unionfs-fuse-${PORTVERSION} X XMAINTAINER= gslin@gslin.org XCOMMENT= FUSE based implementation of the well-known unionfs X XRUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod XBUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs X XPLIST_FILES= bin/unionfs X XUSE_BZIP2= yes X Xdo-build: X (cd ${WRKSRC} && \ X ${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \ X -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 \ X -o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse) X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${PREFIX}/bin X X.include X X.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod XIGNORE= requires FreeBSD 6.x or above X.endif X X.include END-of-fusefs-unionfs/Makefile echo c - fusefs-unionfs/files mkdir -p fusefs-unionfs/files > /dev/null 2>&1 echo x - fusefs-unionfs/files/patch-unionfs.c sed 's/^X//' >fusefs-unionfs/files/patch-unionfs.c << 'END-of-fusefs-unionfs/files/patch-unionfs.c' X--- unionfs.c.orig Sun Jul 16 19:02:07 2006 X+++ unionfs.c Sun Jul 16 19:05:45 2006 X@@ -189,9 +189,13 @@ X if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0; X X int res; X+#if FUSE_USE_VERSION >= 26 X if (isdatasync) { X res = fdatasync(fi->fh); X } else { X+#else X+ { X+#endif X res = fsync(fi->fh); X } X END-of-fusefs-unionfs/files/patch-unionfs.c echo x - fusefs-unionfs/distinfo sed 's/^X//' >fusefs-unionfs/distinfo << 'END-of-fusefs-unionfs/distinfo' XMD5 (unionfs-fuse-0.14.tar.bz2) = 7730e9b99830f50a2c8f884e5a8c0870 XSHA256 (unionfs-fuse-0.14.tar.bz2) = dd32cd853e650c742f87ee5f4aa92892e74add38e72bf9b518dec6783249fe0d XSIZE (unionfs-fuse-0.14.tar.bz2) = 6025 END-of-fusefs-unionfs/distinfo exit --- fusefs-unionfs-0.14.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: