From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Bender Date: Tue, 1 Aug 2017 06:25:56 -0400 Subject: [Buildroot] squashfs-fuse: new package In-Reply-To: <20170731204927.06eeb004@windsurf.home> References: <20170731204927.06eeb004@windsurf.home> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Added FUSE squashfs utilities Signed-off-by: David Bender --- package/Config.in | 1 + package/squashfs-fuse/Config.in | 10 ++++++++++ package/squashfs-fuse/squashfs-fuse.hash | 2 ++ package/squashfs-fuse/squashfs-fuse.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/squashfs-fuse/Config.in create mode 100644 package/squashfs-fuse/squashfs-fuse.hash create mode 100644 package/squashfs-fuse/squashfs-fuse.mk diff --git a/package/Config.in b/package/Config.in index 86d714dae..34cb75238 100644 --- a/package/Config.in +++ b/package/Config.in @@ -191,6 +191,7 @@ menu "Filesystem and flash utilities" source "package/sunxi-tools/Config.in" source "package/unionfs/Config.in" source "package/xfsprogs/Config.in" + source "package/squashfs-fuse/Config.in" endmenu menu "Fonts, cursors, icons, sounds and themes" diff --git a/package/squashfs-fuse/Config.in b/package/squashfs-fuse/Config.in new file mode 100644 index 000000000..753d78883 --- /dev/null +++ b/package/squashfs-fuse/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_SQUASHFS_FUSE + bool "squashfs (FUSE)" + depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse + depends on BR2_USE_MMU # libfuse + depends on !BR2_STATIC_LIBS # libfuse + select BR2_PACKAGE_LIBFUSE + help + A userspace squashfs implementation. + + https://github.com/vasi/squashfuse diff --git a/package/squashfs-fuse/squashfs-fuse.hash b/package/squashfs-fuse/squashfs-fuse.hash new file mode 100644 index 000000000..28b9d4175 --- /dev/null +++ b/package/squashfs-fuse/squashfs-fuse.hash @@ -0,0 +1,2 @@ +# Locally computed +sha512 f7d62e23186c8f4ab52186ea5d0c0dc02db106ef6e1a9958a83ab87e05aca068ff94f75f26b8ee31b7d7359de3cc8c569ac5c604f87bd638c561d1cdaaa9177c squashfs-fuse-1f980303b89c779eabfd0a0fdd36d6a7a311bf92.tar.gz diff --git a/package/squashfs-fuse/squashfs-fuse.mk b/package/squashfs-fuse/squashfs-fuse.mk new file mode 100644 index 000000000..bb3ce2305 --- /dev/null +++ b/package/squashfs-fuse/squashfs-fuse.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# squashfs-fuse +# +################################################################################ + +SQUASHFS_FUSE_VERSION = 1f980303b89c779eabfd0a0fdd36d6a7a311bf92 +SQUASHFS_FUSE_SITE = $(call github,vasi,squashfuse,$(SQUASHFS_FUSE_VERSION)) +SQUASHFS_FUSE_DEPENDENCIES = libfuse host-pkgconf +SQUASHFS_FUSE_LICENSE = BSD-2-Clause +SQUASHFS_FUSE_LICENSE_FILES = LICENSE +SQUASHFS_FUSE_AUTORECONF = YES + +$(eval $(autotools-package)) -- 2.13.0 On Mon, Jul 31, 2017 at 2:49 PM, Thomas Petazzoni wrote: > Hello, > > On Sun, 30 Jul 2017 22:59:24 -0400, Dave Bender wrote: >> Added FUSE squashfs utilities >> >> Signed-off-by: David Bender > > Thanks for a contribution! See below for a few comments/issues. If you > could fix them, and send an updated version, it would be nice! > >> --- >> package/Config.in | 1 + >> package/squashfs-fuse/Config.in | 14 ++++++++++++++ >> package/squashfs-fuse/squashfs-fuse.mk | 14 ++++++++++++++ > > Please add a .hash file in the package directory, and also an entry in > the top-level DEVELOPERS file. > >> diff --git a/package/squashfs-fuse/Config.in b/package/squashfs-fuse/Config.in >> new file mode 100644 >> index 0000000..b5f3537 >> --- /dev/null >> +++ b/package/squashfs-fuse/Config.in > > Indentation in this file is wrong. Look at other packages, and run > utils/check-package on your package to see the problems. > >> @@ -0,0 +1,14 @@ >> +config BR2_PACKAGE_SQUASHFS_FUSE >> + bool "squashfs (FUSE)" > > Should be: > > bool "squashfs-fuse" > >> + select BR2_PACKAGE_LIBFUSE >> + depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse >> + depends on BR2_USE_MMU # libfuse >> + depends on !BR2_STATIC_LIBS # libfuse > > "depends on" before "select" (that's just a convention). > >> + help >> + A userspace squashfs implementation. >> + >> + https://github.com/vasi/squashfuse >> + >> +comment "squashfs needs a toolchain w/ threads, dynamic library" > > squashfs -> squashfs-fuse > >> + depends on BR2_USE_MMU >> + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS >> diff --git a/package/squashfs-fuse/squashfs-fuse.mk >> b/package/squashfs-fuse/squashfs-fuse.mk >> new file mode 100644 >> index 0000000..812a197 >> --- /dev/null >> +++ b/package/squashfs-fuse/squashfs-fuse.mk >> @@ -0,0 +1,14 @@ >> +################################################################################ >> +# >> +# Squashfs-fuse > > squashfs-fuse (lower case) > >> +# >> +################################################################################ >> + >> +SQUASHFS_FUSE_VERSION = 1f980303b89c779eabfd0a0fdd36d6a7a311bf92 >> +SQUASHFS_FUSE_SITE = $(call github,vasi,squashfuse,$(SQUASHFS_FUSE_VERSION)) >> +SQUASHFS_FUSE_DEPENDENCIES = libfuse host-pkgconf >> +SQUASHFS_FUSE_LICENSE = BSD-2c > > BSD-2-Clause > >> +SQUASHFS_FUSE_LICENSE_FILES = LICENSE >> +SQUASHFS_FUSE_AUTORECONF = YES >> + >> +$(eval $(autotools-package)) > > Other than that, looks good. Thanks! > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com