Update to unionfs-fuse-3.2

Changes: https://github.com/rpodgorny/unionfs-fuse/blob/v3.2/NEWS
This commit is contained in:
bket 2022-10-04 04:14:53 +00:00
parent 9c7e4eb504
commit 5b5f65be47
4 changed files with 18 additions and 25 deletions

View File

@ -2,7 +2,7 @@ COMMENT = unionfs filesystem implementation
GH_ACCOUNT = rpodgorny
GH_PROJECT = unionfs-fuse
GH_TAGNAME = v2.2
GH_TAGNAME = v3.2
CATEGORIES = sysutils
@ -13,6 +13,9 @@ PERMIT_PACKAGE = Yes
WANTLIB = c fuse pthread
MAKE_FLAGS = CPPFLAGS="-DFUSE_USE_VERSION=29 -DDISABLE_XATTR" \
LIB="-lfuse -lpthread"
ALL_TARGET = build
do-install:

View File

@ -1,2 +1,2 @@
SHA256 (unionfs-fuse-2.2.tar.gz) = JIoP7pl5FGt5sF/HKGIYadpZNsH0OifjbnUVswGBfkM=
SIZE (unionfs-fuse-2.2.tar.gz) = 47955
SHA256 (unionfs-fuse-3.2.tar.gz) = FqTeRI3WlkQ91QjEIXwr8TqCnzSX4aDp+m8JSHrEZsE=
SIZE (unionfs-fuse-3.2.tar.gz) = 53631

View File

@ -1,22 +0,0 @@
Index: src/Makefile
--- src/Makefile.orig
+++ src/Makefile
@@ -2,15 +2,15 @@ CFLAGS += -Wall -fPIC
CPPFLAGS += $(shell pkg-config --cflags fuse)
CPPFLAGS += -DFUSE_USE_VERSION=29
-CPPFLAGS += -DLIBC_XATTR # glibc nowadays includes xattr
+# CPPFLAGS += -DLIBC_XATTR # glibc nowadays includes xattr
# CPPFLAGS += -DLIBATTR_XATTR # define this to libattr xattr include
-# CPPFLAGS += -DDISABLE_XATTR # disable xattr support
+CPPFLAGS += -DDISABLE_XATTR # disable xattr support
# CPPFLAGS += -DDISABLE_AT # disable *at function support
LDFLAGS +=
-LIB = $(shell pkg-config --libs fuse) -lpthread
+LIB = -lfuse -lpthread
HASHTABLE_OBJ = hashtable.o hashtable_itr.o
LIBUNIONFS_OBJ = fuse_ops.o opts.o debug.o findbranch.o readdir.o \

View File

@ -0,0 +1,12 @@
Index: src/fuse_ops.c
--- src/fuse_ops.c.orig
+++ src/fuse_ops.c
@@ -886,7 +886,7 @@ struct fuse_operations unionfs_oper = {
.getattr = unionfs_getattr,
.access = unionfs_access,
.init = unionfs_init,
- .ioctl = unionfs_ioctl,
+ // .ioctl = unionfs_ioctl,
.link = unionfs_link,
.mkdir = unionfs_mkdir,
.mknod = unionfs_mknod,