summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Jean Texier <pjtexier@koncepto.io>2020-04-13 14:50:35 +0200
committerKhem Raj <raj.khem@gmail.com>2020-04-13 11:19:29 -0700
commitea1b753b6bb586b321de4a76bdd7f64fec0c7dca (patch)
tree2128aa00b9e4f7a535041c813d07f0bf3d1e7e2a
parent5297e3f7e15e080be39292e5971952929225ed1f (diff)
downloadmeta-openembedded-ea1b753b6bb586b321de4a76bdd7f64fec0c7dca.tar.gz
unionfs-fuse: upgrade 2.0 -> 2.1
This includes the following changes: 8d73296 test message update 31f752f tests reorganization c9604f7 more updates in credits and news bbef3ab add brian to credits and update news. 6d9f4c3 whitespace fixes 3a26b75 Merge branch 'master' of https://github.com/rpodgorny/unionfs-fuse 3b46d86 whitespace formatting 9a1765a Merge pull request #93 from briankendall/mac-fixes f1bd82a Merge pull request #94 from lightmare/man-page-typos 34f4840 man page wording 8e145ad man page formatting 2249ae9 fix some man page typos and missing commas f3fccaf Fix tests in macOS 29d8b6c Fix error code -50 when copying files using Finder in macOS 5f1431a Merge pull request #90 from h3xx/fix-mandir-path 04ed9a2 Use standard variable for man page install path 2ac5726 updated readme to explain where the cache is 24b46b6 add atha to credits eaf8397 Fix compilation on macOS b663b12 annotate ioctl call correctly as DBG() c8d23a9 whitespace formatting de61d85 Merge branch 'therealfun-master' df79b8e minor test improvements d8d20c2 Implement access() for "cow,relaxed_permissions" use case b97ff88 typo fix 75a367c formatting 7e9e708 restore errno in dbg macro 039ba92 more useful tests output b5a7392 add julien to credits fa2ec03 Merge branch 'bplaa-yai-master' 1d91cfe Merge branch 'master' of https://github.com/bplaa-yai/unionfs-fuse into bplaa-yai-master b48fa6a fix travis script 6947e79 more tests 341dfc8 formatting b2d8426 whitespace formatting c393877 prepare mknod test 99a529c typo fix 5df6aec add test case for mkdir and sync (not working) f15bc13 add tests to makefile 8ef0b14 more tests e0e8233 add coverage files to gitignore and clean it up a bit 0460915 whitespace formatting f0acead whitespace formatting 80be111 make unionfs_oper accessible outside of its compilation unit a016d2d make add_branch and parse_branches accessible outside of their compilation unit 1df24c6 add rules for static and shared libraries, update objects list d4e62eb separate main logic from fuse ops handlers Also remove patch already in version. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch62
-rw-r--r--meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.1.bb (renamed from meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb)3
2 files changed, 1 insertions, 64 deletions
diff --git a/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch b/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch
deleted file mode 100644
index 8f991cd3f..000000000
--- a/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch
+++ /dev/null
@@ -1,62 +0,0 @@
1From 10411fa8658621822ae394160daffaced4a4cd7f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 23:07:29 -0700
4Subject: [PATCH] unionfs: Define IOCPARM_LEN if undefined
5
6musl does not have sysctl.h which defines this
7for glibc
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/unionfs.c | 8 --------
12 src/unionfs.h | 15 +++++++++++++++
13 2 files changed, 15 insertions(+), 8 deletions(-)
14
15diff --git a/src/unionfs.c b/src/unionfs.c
16index a34d34e..51684a7 100644
17--- a/src/unionfs.c
18+++ b/src/unionfs.c
19@@ -21,14 +21,6 @@
20 #include "opts.h"
21 #include "usyslog.h"
22
23-#ifndef _IOC_SIZE
24-#ifdef IOCPARM_LEN
25-#define _IOC_SIZE(x) IOCPARM_LEN(x)
26-#else
27-#error "No mechanism for determining ioctl length found."
28-#endif
29-#endif
30-
31 static struct fuse_opt unionfs_opts[] = {
32 FUSE_OPT_KEY("chroot=%s,", KEY_CHROOT),
33 FUSE_OPT_KEY("cow", KEY_COW),
34diff --git a/src/unionfs.h b/src/unionfs.h
35index 8f5e0bf..b02de5a 100644
36--- a/src/unionfs.h
37+++ b/src/unionfs.h
38@@ -17,6 +17,21 @@
39 #define FUSE_META_FILE ".fuse_hidden"
40 #define FUSE_META_LENGTH 12
41
42+#ifndef IOCPARM_MASK
43+#define IOCPARM_MASK 0x1FFF
44+#endif
45+#ifndef IOCPARM_LEN
46+#define IOCPARM_LEN(a) (((a) >> 16) & IOCPARM_MASK)
47+#endif
48+
49+#ifndef _IOC_SIZE
50+#ifdef IOCPARM_LEN
51+#define _IOC_SIZE(x) IOCPARM_LEN(x)
52+#else
53+#error "No mechanism for determining ioctl length found."
54+#endif
55+#endif
56+
57 // file access protection mask
58 #define S_PROT_MASK (S_ISUID| S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
59
60--
612.13.2
62
diff --git a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.1.bb
index 6bedf16b0..3dd5c82ee 100644
--- a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb
+++ b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.1.bb
@@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://src/unionfs.c;beginline=3;endline=8;md5=30fa8de70fd8a
8 8
9SRC_URI = "git://github.com/rpodgorny/${BPN}.git;branch=master \ 9SRC_URI = "git://github.com/rpodgorny/${BPN}.git;branch=master \
10 file://0001-support-cross-compiling.patch \ 10 file://0001-support-cross-compiling.patch \
11 file://0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch \
12 " 11 "
13SRCREV = "c8d23a9a75f1a62988593671839e8a168a79f3e5" 12SRCREV = "8d732962423c3ca5be1f14b7ec139ff464e10a51"
14 13
15DEPENDS = "fuse" 14DEPENDS = "fuse"
16 15