Skip to contentSkip to conversation

package/unionfs: bump version to 3.7

PATCH Superseded Bernd Kuhls 2 participants 2 messages Nov 30, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/unionfs: bump version to 3.7

Release notes:
https://github.com/rpodgorny/unionfs-fuse/blob/master/NEWS

Version 3.0 added support for libfuse3.

Updated license hash due to copyright year bump:
https://github.com/rpodgorny/unionfs-fuse/commit/3fcbd11f78b9a9e02ea0e861d741840fe45dc9c8

---
 package/unionfs/Config.in    |  8 ++++----
 package/unionfs/unionfs.hash |  4 ++--
 package/unionfs/unionfs.mk   | 11 +++++++++--
 3 files changed, 15 insertions(+), 8 deletions(-)
package/unionfs/Config.in +4 -4
index fe03b95f20..9bf902e48a 100644
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_UNIONFS
 	bool "unionfs (FUSE)"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
-	depends on BR2_USE_MMU # libfuse
-	depends on !BR2_STATIC_LIBS # libfuse
-	select BR2_PACKAGE_LIBFUSE
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, libfuse3
+	depends on BR2_USE_MMU # libfuse, libfuse3
+	depends on !BR2_STATIC_LIBS # libfuse, libfuse3
+	select BR2_PACKAGE_LIBFUSE if !BR2_PACKAGE_LIBFUSE3
 	help
 	  A userspace unionfs implementation.
 
package/unionfs/unionfs.hash +2 -2
index 7c4a9f4ffb..7ec654591d 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  f56a5579d670e18e0667700bc599acbc0b8217ca1f76b2adb3dad7d2953c4049  LICENSE
-sha256  c705072a33a18cbc73ffe799331d43410b6deef5d6f2042038f8fd3ab17b6e2e  unionfs-2.1.tar.gz
+sha256  026f5302279110ceb7465e5c9e863cd0319ea0dc32ad253d162cf9db0f5e9a81  unionfs-3.7.tar.gz
+sha256  b03db54bff4b5ff9d1b4c7ef54513e52afaa32830f36a6da6db8c0fcd35a4431  LICENSE
package/unionfs/unionfs.mk +9 -2
index 12cd368fe3..2fcf073565 100644
@@ -4,10 +4,17 @@
 #
 ################################################################################
 
-UNIONFS_VERSION = 2.1
+UNIONFS_VERSION = 3.7
 UNIONFS_SITE = $(call github,rpodgorny,unionfs-fuse,v$(UNIONFS_VERSION))
-UNIONFS_DEPENDENCIES = libfuse host-pkgconf
+UNIONFS_DEPENDENCIES = host-pkgconf
 UNIONFS_LICENSE = BSD-3-Clause
 UNIONFS_LICENSE_FILES = LICENSE
 
+ifeq ($(BR2_PACKAGE_LIBFUSE3),y)
+UNIONFS_CONF_OPTS += -DWITH_LIBFUSE3=TRUE
+UNIONFS_DEPENDENCIES += libfuse3
+else
+UNIONFS_CONF_OPTS += -DWITH_LIBFUSE3=FALSE
+endif
+
 $(eval $(cmake-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Bernd,

Thanks for the patch. I have few comments. See below.

Quoted 20 lines · Bernd Kuhls

Release notes:
https://github.com/rpodgorny/unionfs-fuse/blob/master/NEWS

Version 3.0 added support for libfuse3.

Updated license hash due to copyright year bump:
https://github.com/rpodgorny/unionfs-fuse/commit/3fcbd11f78b9a9e02ea0e861d741840fe45dc9c8

---
 package/unionfs/Config.in    |  8 ++++----
 package/unionfs/unionfs.hash |  4 ++--
 package/unionfs/unionfs.mk   | 11 +++++++++--
 3 files changed, 15 insertions(+), 8 deletions(-)
package/unionfs/Config.in +0 -0
index fe03b95f20..9bf902e48a 100644

package/unionfs/Config.in line 6

Quoted 10 lines
package/unionfs/Config.in +4 -4
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_UNIONFS
 	bool "unionfs (FUSE)"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
-	depends on BR2_USE_MMU # libfuse
-	depends on !BR2_STATIC_LIBS # libfuse
-	select BR2_PACKAGE_LIBFUSE
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, libfuse3
+	depends on BR2_USE_MMU # libfuse, libfuse3
+	depends on !BR2_STATIC_LIBS # libfuse, libfuse3
+	select BR2_PACKAGE_LIBFUSE if !BR2_PACKAGE_LIBFUSE3

This line generates a kconfig error:

package/libfuse/Config.in:1:error: recursive dependency detected!
package/libfuse/Config.in:1: symbol BR2_PACKAGE_LIBFUSE is selected by BR2_PACKAGE_LIBFUSE3
package/libfuse3/Config.in:1: symbol BR2_PACKAGE_LIBFUSE3 is selected by BR2_PACKAGE_LIBFUSE

Could you have a look please?

Quoted 3 lines
package/unionfs/Config.in +0 -0
 	help
 	  A userspace unionfs implementation.
 

[...]

Quoted 5 lines
package/unionfs/unionfs.mk +0 -0
index 12cd368fe3..2fcf073565 100644

package/unionfs/unionfs.mk line 11

Quoted 9 lines
package/unionfs/unionfs.mk +1 -2
@@ -4,10 +4,17 @@
 #
 
 ################################################################################
 
-UNIONFS_VERSION = 2.1
+UNIONFS_VERSION = 3.7
 UNIONFS_SITE = $(call 
 github,rpodgorny,unionfs-fuse,v$(UNIONFS_VERSION))
-UNIONFS_DEPENDENCIES = libfuse host-pkgconf

If you remove the libfuse dependency here...

package/unionfs/unionfs.mk line 17

Quoted 9 lines
package/unionfs/unionfs.mk +6 -0
+UNIONFS_DEPENDENCIES = host-pkgconf
 UNIONFS_LICENSE = BSD-3-Clause
 UNIONFS_LICENSE_FILES = LICENSE
 
+ifeq ($(BR2_PACKAGE_LIBFUSE3),y)
+UNIONFS_CONF_OPTS += -DWITH_LIBFUSE3=TRUE
+UNIONFS_DEPENDENCIES += libfuse3
+else
+UNIONFS_CONF_OPTS += -DWITH_LIBFUSE3=FALSE

...you should probably add it back here with:
UNIONFS_DEPENDENCIES += libfuse

It currently fails at configure time with error:

-- Checking for module 'fuse'
-- Package 'fuse' not found

Quoted 5 lines
package/unionfs/unionfs.mk +2 -1
+endif
+
 $(eval $(cmake-package))
--

2.47.3

Could you have a look, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot