package/libfuse3: new package
PATCH 1/1 package/libfuse3: new package
The package is separated from the regular libfuse package, as it contains new API (and can co-exist with libfuse).
--- DEVELOPERS | 1 + package/Config.in | 1 + package/libfuse3/Config.in | 14 ++++++++++++++ package/libfuse3/libfuse3.hash | 3 +++ package/libfuse3/libfuse3.mk | 27 +++++++++++++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 package/libfuse3/Config.in create mode 100644 package/libfuse3/libfuse3.hash create mode 100644 package/libfuse3/libfuse3.mk
DEVELOPERS +1 -0
@@ -248,6 +248,7 @@ F: configs/raspberrypi4_64_defconfig N: Asaf Kahlon <[email protected]> F: package/collectd/ +F: package/libfuse3/ F: package/libuv/ F: package/python* F: package/snmpclitools/
package/Config.in +1 -0
@@ -1328,6 +1328,7 @@ menu "Filesystem" source "package/libconfig/Config.in" source "package/libconfuse/Config.in" source "package/libfuse/Config.in" + source "package/libfuse3/Config.in" source "package/liblockfile/Config.in" source "package/libnfs/Config.in" source "package/libsysfs/Config.in"
package/libfuse3/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBFUSE3 + bool "libfuse3" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + help + The reference implementation of the Linux FUSE + (Filesystem in Userspace) interface. + + https://github.com/libfuse/libfuse + +comment "libfuse3 needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/libfuse3/libfuse3.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated sha256 checksums +sha256 fcb7079a1bb4e510377b427d1c5c37c349281d498e249ae0c2379b4cf50059c2 fuse-3.9.0.tar.xz +sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSE
package/libfuse3/libfuse3.mk new file +27 -0
@@ -0,0 +1,27 @@ +################################################################################ +# +# libfuse3 +# +################################################################################ + +LIBFUSE3_VERSION = 3.9.0 +LIBFUSE3_SOURCE = fuse-$(LIBFUSE3_VERSION).tar.xz +LIBFUSE3_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE3_VERSION) +LIBFUSE3_LICENSE = LGPL-2.1 +LIBFUSE3_LICENSE_FILES = LICENSE +LIBFUSE3_INSTALL_STAGING = YES +LIBFUSE3_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBFUSE3_CONF_OPTS = \ + -Dexamples=false \ + -Dudevrulesdir=/lib/udev/rules.d \ + -Duseroot=false + +define LIBFUSE3_DEVICES + /dev/fuse c 666 0 0 10 229 0 0 - +endef + +define LIBFUSE3_PERMISSIONS + /usr/bin/fusermount3 f 4755 0 0 - - - - - +endef + +$(eval $(meson-package))
Signature · 1 line
2.20.1
PATCH 1/1 package/libfuse3: new package
Hi Asaf,
I have some comments below.
Am Sa., 11. Jan. 2020 um 11:26 Uhr schrieb Asaf Kahlon <[email protected]>:
Quoted 5 lines
The package is separated from the regular libfuse package, as it contains new API (and can co-exist with libfuse).
Signed-off-by Asaf Kahlon <[email protected]>
Quoted 61 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/libfuse3/Config.in | 14 ++++++++++++++ package/libfuse3/libfuse3.hash | 3 +++ package/libfuse3/libfuse3.mk | 27 +++++++++++++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 package/libfuse3/Config.in create mode 100644 package/libfuse3/libfuse3.hash create mode 100644 package/libfuse3/libfuse3.mkDEVELOPERS +1
-0@@ -248,6 +248,7 @@ F: configs/raspberrypi4_64_defconfig N: Asaf Kahlon <[email protected]> F: package/collectd/ +F: package/libfuse3/ F: package/libuv/ F: package/python* F: package/snmpclitools/package/Config.in +1
-0@@ -1328,6 +1328,7 @@ menu "Filesystem" source "package/libconfig/Config.in" source "package/libconfuse/Config.in" source "package/libfuse/Config.in" + source "package/libfuse3/Config.in" source "package/liblockfile/Config.in" source "package/libnfs/Config.in" source "package/libsysfs/Config.in"package/libfuse3/Config.in new file +14
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBFUSE3 + bool "libfuse3" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + help + The reference implementation of the Linux FUSE + (Filesystem in Userspace) interface. + + https://github.com/libfuse/libfuse + +comment "libfuse3 needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBSpackage/libfuse3/libfuse3.hash new file +0
-0
package/libfuse3/libfuse3.hash line 2
Quoted 2 lines
package/libfuse3/libfuse3.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally calculated sha256 checksums +sha256 fcb7079a1bb4e510377b427d1c5c37c349281d498e249ae0c2379b4cf50059c2 fuse-3.9.0.tar.xz
When removing the LIBFUSE3_SOURCE variable in the mk file the download file will be autocreated and be set to <PKG_NAME>-<PKG_VERSION>.tar.gz here it will be: sha256 23ae036ce8beb5f2dec883ad20956adf0a3129ae55ead8ce4e246f3c1c10e4a4 libfuse3-3.9.0.tar.gz
Note: newer convention is to serparate the hashtype 2SPACE hashvalue 2xSPACE filename in the hashfile
LIBFUSE3_SOURCE
Quoted 7 lines
package/libfuse3/libfuse3.hash new file +1
-0+sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSEpackage/libfuse3/libfuse3.mk new file +0
-0
package/libfuse3/libfuse3.mk line 7
Quoted 7 lines
package/libfuse3/libfuse3.mk new file +7
-0@@ -0,0 +1,27 @@ +################################################################################ +# +# libfuse3 +# +################################################################################ + +LIBFUSE3_VERSION = 3.9.0
I the review is late but meanwhile version 3.9.1 is released.
package/libfuse3/libfuse3.mk line 8
Quoted 1 line
package/libfuse3/libfuse3.mk new file +1
-0+LIBFUSE3_SOURCE = fuse-$(LIBFUSE3_VERSION).tar.xz
The <pkg>_SOURCE variable is not needed here.
package/libfuse3/libfuse3.mk line 9
Quoted 1 line
package/libfuse3/libfuse3.mk new file +1
-0+LIBFUSE3_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE3_VERSION)
You can use the github macro here:LIBFUSE3_SITE = $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION))
Quoted 21 lines
package/libfuse3/libfuse3.mk new file +18
-1+LIBFUSE3_LICENSE = LGPL-2.1 +LIBFUSE3_LICENSE_FILES = LICENSE +LIBFUSE3_INSTALL_STAGING = YES +LIBFUSE3_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBFUSE3_CONF_OPTS = \ + -Dexamples=false \ + -Dudevrulesdir=/lib/udev/rules.d \ + -Duseroot=false + +define LIBFUSE3_DEVICES + /dev/fuse c 666 0 0 10 229 0 0 - +endef + +define LIBFUSE3_PERMISSIONS + /usr/bin/fusermount3 f 4755 0 0 - - - - - +endef + +$(eval $(meson-package)) --2.20.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
--
BR,
Heiko
PATCH 1/1 package/libfuse3: new package
Hello Heiko,
Quoted 4 lines · Heiko Thiery
Hi Asaf,
I have some comments below.
Thanks for reviewing this patch!
I'm really looking forward for this package.
Quoted 71 lines
Am Sa., 11. Jan. 2020 um 11:26 Uhr schrieb Asaf Kahlon <[email protected]>:
Quoted 5 lines
The package is separated from the regular libfuse package, as it contains new API (and can co-exist with libfuse).
Signed-off-by Asaf Kahlon <[email protected]>Reviewed-by Heiko Thiery <[email protected]>Quoted 61 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/libfuse3/Config.in | 14 ++++++++++++++ package/libfuse3/libfuse3.hash | 3 +++ package/libfuse3/libfuse3.mk | 27 +++++++++++++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 package/libfuse3/Config.in create mode 100644 package/libfuse3/libfuse3.hash create mode 100644 package/libfuse3/libfuse3.mkDEVELOPERS +1
-0@@ -248,6 +248,7 @@ F: configs/raspberrypi4_64_defconfig N: Asaf Kahlon <[email protected]> F: package/collectd/ +F: package/libfuse3/ F: package/libuv/ F: package/python* F: package/snmpclitools/package/Config.in +1
-0@@ -1328,6 +1328,7 @@ menu "Filesystem" source "package/libconfig/Config.in" source "package/libconfuse/Config.in" source "package/libfuse/Config.in" + source "package/libfuse3/Config.in" source "package/liblockfile/Config.in" source "package/libnfs/Config.in" source "package/libsysfs/Config.in"package/libfuse3/Config.in new file +14
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBFUSE3 + bool "libfuse3" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + help + The reference implementation of the Linux FUSE + (Filesystem in Userspace) interface. + + https://github.com/libfuse/libfuse + +comment "libfuse3 needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBSpackage/libfuse3/libfuse3.hash new file +0
-0@@ -0,0 +1,3 @@
Quoted 8 lines
package/libfuse3/libfuse3.hash line 2
Quoted 2 lines
package/libfuse3/libfuse3.hash new file +2
-0+# Locally calculated sha256 checksums +sha256 fcb7079a1bb4e510377b427d1c5c37c349281d498e249ae0c2379b4cf50059c2 fuse-3.9.0.tar.xzWhen removing the
LIBFUSE3_SOURCEvariable in the mk file the download file will be autocreated and be set to <PKG_NAME>-<PKG_VERSION>.tar.gz here it will be: sha25623ae036ce8beb5f2dec883ad20956adf0a3129ae55ead8ce4e246f3c1c10e4a4libfuse3-3.9.0.tar.gz
That's right.
Unfortunately, it was a very long time ago and I really can't remember why I chose to use the tar.xz format and not the default one supported by Buildroot. Anyway, it seems to work and I'll update it on v2.
Quoted 3 lines
Note: newer convention is to serparate the hashtype 2SPACE hashvalue 2xSPACE filename in the hashfile
You're right, will be fixed in v2.
Quoted 18 lines
LIBFUSE3_SOURCEQuoted 7 lines
package/libfuse3/libfuse3.hash new file +1
-0+sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSEpackage/libfuse3/libfuse3.mk new file +0
-0package/libfuse3/libfuse3.mk line 7
Quoted 7 lines
package/libfuse3/libfuse3.mk new file +7
-0@@ -0,0 +1,27 @@ +################################################################################ +# +# libfuse3 +# +################################################################################ + +LIBFUSE3_VERSION = 3.9.0I the review is late but meanwhile version 3.9.1 is released.
Correct, I'll bump it on v2.
Quoted 33 lines
package/libfuse3/libfuse3.mk line 8
Quoted 2 lines
package/libfuse3/libfuse3.mk new file +1
-0+LIBFUSE3_SOURCE = fuse-$(LIBFUSE3_VERSION).tar.xzThe <pkg>_SOURCE variable is not needed here.
package/libfuse3/libfuse3.mk line 9
Quoted 1 line
package/libfuse3/libfuse3.mk new file +1
-0+LIBFUSE3_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE3_VERSION)You can use the github macro here:
LIBFUSE3_SITE= $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION))Quoted 21 lines
package/libfuse3/libfuse3.mk new file +18
-1+LIBFUSE3_LICENSE = LGPL-2.1 +LIBFUSE3_LICENSE_FILES = LICENSE +LIBFUSE3_INSTALL_STAGING = YES +LIBFUSE3_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBFUSE3_CONF_OPTS = \ + -Dexamples=false \ + -Dudevrulesdir=/lib/udev/rules.d \ + -Duseroot=false + +define LIBFUSE3_DEVICES + /dev/fuse c 666 0 0 10 229 0 0 - +endef + +define LIBFUSE3_PERMISSIONS + /usr/bin/fusermount3 f 4755 0 0 - - - - - +endef + +$(eval $(meson-package)) --2.20.1
Quoted 8 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
BR,
Heiko
Thanks,
Asaf.