mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- Update to 0.1.30
PR: 143561 Submitted by: Oleg Alexeenkov <proler@gmail.com> (maintainer)
This commit is contained in:
parent
a356cd78ce
commit
76c40a59f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249244
3 changed files with 4 additions and 61 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= mhddfs
|
PORTNAME= mhddfs
|
||||||
PORTVERSION= 0.1.29
|
PORTVERSION= 0.1.30
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://mhddfs.uvw.ru/downloads/
|
MASTER_SITES= http://mhddfs.uvw.ru/downloads/
|
||||||
PKGNAMEPREFIX= fusefs-
|
PKGNAMEPREFIX= fusefs-
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (mhddfs_0.1.29.tar.gz) = 82491c20c9eb06fc467e70371619cd85
|
MD5 (mhddfs_0.1.30.tar.gz) = 246b9f18b3f885a00c867779b7af0efc
|
||||||
SHA256 (mhddfs_0.1.29.tar.gz) = 6b5fa0169234dbd0d438bda71a259aefadf2f90a8ff8d43a2089d90eea05ee59
|
SHA256 (mhddfs_0.1.30.tar.gz) = 64dc2a4e0bb573bc55382f96b40e577c4e3d965a88904a95d876109d82333a16
|
||||||
SIZE (mhddfs_0.1.29.tar.gz) = 36938
|
SIZE (mhddfs_0.1.30.tar.gz) = 36983
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
--- 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);
|
|
Loading…
Add table
Reference in a new issue