Date: Mon, 11 Jan 2010 16:14:31 +0300 (MSK) From: Oleg Alexeenkov <proler@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142716: [MAINTAINER] sysutils/fusefs-mhddfs: update to 0.1.29 Message-ID: <201001111314.o0BDEV5n084965@ku.setun.net> Resent-Message-ID: <201001111320.o0BDK2bs052962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142716 >Category: ports >Synopsis: [MAINTAINER] sysutils/fusefs-mhddfs: update to 0.1.29 >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: Mon Jan 11 13:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Oleg Alexeenkov >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD ku.setun.net 7.2-RELEASE FreeBSD 7.2-RELEASE #2: Wed Jul 8 05:27:58 MSD >Description: - Update to 0.1.29 Added file(s): - files/patch-src-tools.c Removed file(s): - files/patch-src-main.c Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- fusefs-mhddfs-0.1.29.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-mhddfs/Makefile /usr/ports/sysutils/fusefs-mhddfs_29/Makefile --- /usr/ports/sysutils/fusefs-mhddfs/Makefile 2009-10-10 16:53:44.000000000 +0400 +++ /usr/ports/sysutils/fusefs-mhddfs_29/Makefile 2010-01-11 15:44:20.000000000 +0300 @@ -6,7 +6,7 @@ # PORTNAME= mhddfs -PORTVERSION= 0.1.23 +PORTVERSION= 0.1.29 CATEGORIES= sysutils MASTER_SITES= http://mhddfs.uvw.ru/downloads/ PKGNAMEPREFIX= fusefs- @@ -19,6 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod USE_GMAKE= yes +MAKE_ARGS= WITHOUT_XATTR=1 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN1= ${PORTNAME}.1 diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-mhddfs/distinfo /usr/ports/sysutils/fusefs-mhddfs_29/distinfo --- /usr/ports/sysutils/fusefs-mhddfs/distinfo 2009-10-10 16:53:44.000000000 +0400 +++ /usr/ports/sysutils/fusefs-mhddfs_29/distinfo 2010-01-11 15:37:38.000000000 +0300 @@ -1,3 +1,3 @@ -MD5 (mhddfs_0.1.23.tar.gz) = 7b35c1299257dedca05c63d016299017 -SHA256 (mhddfs_0.1.23.tar.gz) = 04bd420ca94211fd01d745f639fe67b6095cc043ee7281726d7456d5ea23ed71 -SIZE (mhddfs_0.1.23.tar.gz) = 33231 +MD5 (mhddfs_0.1.29.tar.gz) = 82491c20c9eb06fc467e70371619cd85 +SHA256 (mhddfs_0.1.29.tar.gz) = 6b5fa0169234dbd0d438bda71a259aefadf2f90a8ff8d43a2089d90eea05ee59 +SIZE (mhddfs_0.1.29.tar.gz) = 36938 diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-mhddfs/files/patch-src-main.c /usr/ports/sysutils/fusefs-mhddfs_29/files/patch-src-main.c --- /usr/ports/sysutils/fusefs-mhddfs/files/patch-src-main.c 2009-06-26 16:31:27.000000000 +0400 +++ /usr/ports/sysutils/fusefs-mhddfs_29/files/patch-src-main.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- src/main.c.orig 2009-06-25 05:11:08.000000000 +0400 -+++ src/main.c 2009-06-25 05:23:57.000000000 +0400 -@@ -755,7 +755,7 @@ - return -errno; - } - --#if _POSIX_SYNCHRONIZED_IO + 0 > 0 -+#if _POSIX_SYNCHRONIZED_IO + 0 > 0 || defined(__FreeBSD__) - #undef HAVE_FDATASYNC - #else - #define HAVE_FDATASYNC 1 diff -ruN --exclude=CVS /usr/ports/sysutils/fusefs-mhddfs/files/patch-src-tools.c /usr/ports/sysutils/fusefs-mhddfs_29/files/patch-src-tools.c --- /usr/ports/sysutils/fusefs-mhddfs/files/patch-src-tools.c 1970-01-01 03:00:00.000000000 +0300 +++ /usr/ports/sysutils/fusefs-mhddfs_29/files/patch-src-tools.c 2010-01-11 15:56:28.000000000 +0300 @@ -0,0 +1,57 @@ +--- src/tools.c.orig 2010-01-11 15:48:46.000000000 +0300 ++++ src/tools.c 2010-01-11 15:53:42.000000000 +0300 +@@ -30,7 +30,10 @@ + #include <fcntl.h> + #include <sys/types.h> + #include <dirent.h> ++ ++#ifndef WITHOUT_XATTR + #include <attr/xattr.h> ++#endif + + #include "tools.h" + #include "debug.h" +@@ -262,11 +265,13 @@ + ftime.modtime = st.st_mtime; + utime(to, &ftime); + ++#ifndef WITHOUT_XATTR + // extended attributes + if (copy_xattrs(from, to) == -1) + mhdd_debug(MHDD_MSG, + "copy_xattrs: error copying xattrs from %s to %s\n", + from, to); ++#endif + + + from = strdup(from); +@@ -282,6 +287,7 @@ + return ret; + } + ++#ifndef WITHOUT_XATTR + int copy_xattrs(const char *from, const char *to) + { + int listsize=0, attrvalsize=0; +@@ -350,6 +356,7 @@ + free(listbuf); + return 0; + } ++#endif + + char * create_path(const char *dir, const char * file) + { +@@ -465,11 +472,13 @@ + strerror(errno)); + } + ++#ifndef WITHOUT_XATTR + // copy extended attributes of parent dir + if (copy_xattrs(exists, path_parent) == -1) + mhdd_debug(MHDD_MSG, + "copy_xattrs: error copying xattrs from %s to %s\n", + exists, path_parent); ++#endif + + free(exists); + free(path_parent); --- fusefs-mhddfs-0.1.29.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?201001111314.o0BDEV5n084965>