View | Details | Raw Unified | Return to bug 143561
Collapse All | Expand All

(-)/usr/ports/sysutils/fusefs-mhddfs_30/Makefile (-2 / +2 lines)
Lines 2-12 Link Here
2
# Date created:		2009-06-25
2
# Date created:		2009-06-25
3
# Whom:			Oleg Alexeenkov <proler@gmail.com>
3
# Whom:			Oleg Alexeenkov <proler@gmail.com>
4
#
4
#
5
# $FreeBSD: ports/sysutils/fusefs-mhddfs/Makefile,v 1.5 2010/02/04 04:27:19 pgollucci Exp $
5
# $FreeBSD: ports/sysutils/fusefs-mhddfs/Makefile,v 1.4 2009/10/10 12:53:44 avl Exp $
6
#
6
#
7
7
8
PORTNAME=	mhddfs
8
PORTNAME=	mhddfs
9
PORTVERSION=	0.1.29
9
PORTVERSION=	0.1.30
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://mhddfs.uvw.ru/downloads/
11
MASTER_SITES=	http://mhddfs.uvw.ru/downloads/
12
PKGNAMEPREFIX=	fusefs-
12
PKGNAMEPREFIX=	fusefs-
(-)/usr/ports/sysutils/fusefs-mhddfs_30/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mhddfs_0.1.29.tar.gz) = 82491c20c9eb06fc467e70371619cd85
1
MD5 (mhddfs_0.1.30.tar.gz) = 246b9f18b3f885a00c867779b7af0efc
2
SHA256 (mhddfs_0.1.29.tar.gz) = 6b5fa0169234dbd0d438bda71a259aefadf2f90a8ff8d43a2089d90eea05ee59
2
SHA256 (mhddfs_0.1.30.tar.gz) = 64dc2a4e0bb573bc55382f96b40e577c4e3d965a88904a95d876109d82333a16
3
SIZE (mhddfs_0.1.29.tar.gz) = 36938
3
SIZE (mhddfs_0.1.30.tar.gz) = 36983
(-)/usr/ports/sysutils/fusefs-mhddfs_30/files/patch-src-tools.c (-57 lines)
Lines 1-57 Link Here
1
--- src/tools.c.orig	2010-01-11 15:48:46.000000000 +0300
2
+++ src/tools.c	2010-01-11 15:53:42.000000000 +0300
3
@@ -30,7 +30,10 @@
4
 #include <fcntl.h>
5
 #include <sys/types.h>
6
 #include <dirent.h>
7
+
8
+#ifndef WITHOUT_XATTR
9
 #include <attr/xattr.h>
10
+#endif
11
 
12
 #include "tools.h"
13
 #include "debug.h"
14
@@ -262,11 +265,13 @@
15
 	ftime.modtime = st.st_mtime;
16
 	utime(to, &ftime);
17
 
18
+#ifndef WITHOUT_XATTR
19
         // extended attributes
20
         if (copy_xattrs(from, to) == -1)
21
             mhdd_debug(MHDD_MSG,
22
                     "copy_xattrs: error copying xattrs from %s to %s\n",
23
                     from, to);
24
+#endif
25
 
26
 
27
 	from = strdup(from);
28
@@ -282,6 +287,7 @@
29
 	return ret;
30
 }
31
 
32
+#ifndef WITHOUT_XATTR
33
 int copy_xattrs(const char *from, const char *to)
34
 {
35
         int listsize=0, attrvalsize=0;
36
@@ -350,6 +356,7 @@
37
         free(listbuf);
38
         return 0;
39
 }
40
+#endif
41
 
42
 char * create_path(const char *dir, const char * file)
43
 {
44
@@ -465,11 +472,13 @@
45
 			strerror(errno));
46
 	}
47
 
48
+#ifndef WITHOUT_XATTR
49
         // copy extended attributes of parent dir
50
         if (copy_xattrs(exists, path_parent) == -1)
51
             mhdd_debug(MHDD_MSG,
52
                     "copy_xattrs: error copying xattrs from %s to %s\n",
53
                     exists, path_parent);
54
+#endif
55
 
56
 	free(exists);
57
 	free(path_parent);

Return to bug 143561