Add fuse-sshfs package
PATCH 1/1 Add fuse-sshfs package
--- package/Config.in | 1 + package/sshfs/Config.in | 10 ++++++++++ package/sshfs/sshfs.mk | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 package/sshfs/Config.in create mode 100644 package/sshfs/sshfs.mk
package/Config.in +1 -0
@@ -265,6 +265,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/sfdisk/Config.in" endif source "package/smartmontools/Config.in" +source "package/sshfs/Config.in" source "package/sysstat/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # mdev
package/sshfs/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_SSHFS + bool "sshfs (FUSE)" + depends on BR2_PACKAGE_LIBFUSE && BR2_PACKAGE_LIBGLIB2 + help + FUSE makes it possible to implement a filesystem in a userspace + program. Features include: simple yet comprehensive API, secure + mounting by non-root users, support for 2.4 and 2.6 Linux + kernels, multi-threaded operation. etc... + + http://fuse.sourceforge.net/sshfs.html
package/sshfs/sshfs.mk new file +16 -0
@@ -0,0 +1,16 @@ +############################################################# +# +# sshfs +# +############################################################# + +SSHFS_VERSION:=2.2 +SSHFS_SOURCE:=sshfs-fuse-$(SSHFS_VERSION).tar.gz +SSHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse +SSHFS_AUTORECONF:=NO +SSHFS_INSTALL_STAGING:=NO +SSHFS_INSTALL_TARGET:=YES + +SSHFS_DEPENDENCIES = uclibc libglib2 + +$(eval $(call AUTOTARGETS,package,sshfs))
Signature · 1 line
1.6.5.2
PATCH 1/1 Add fuse-sshfs package
Quoted 1 line · Daniel Mack
+SSHFS_DEPENDENCIES = uclibc libglib2
Hmmm... doesn't it depend on a userland ssh client (like openssh, maybe dropbear) to keep an open connection/pipe?
Regards.
PATCH 1/1 Add fuse-sshfs package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Quoted 1 line · Gustavo> Daniel Mack wrote:
Quoted 1 line
+SSHFS_DEPENDENCIES = uclibc libglib2
Gustavo> Hmmm... doesn't it depend on a userland ssh client (like openssh, maybe dropbear) to keep an open connection/pipe?
Indeed, and the uclibc dependency should get dropped (see 422ce6536b6)
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add fuse-sshfs package
Quoted 8 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Quoted 1 line · Gustavo> Daniel Mack wrote:
Quoted 1 line
+SSHFS_DEPENDENCIES = uclibc libglib2
Gustavo> Hmmm... doesn't it depend on a userland ssh client (like openssh, maybe dropbear) to keep an open connection/pipe?
Indeed, and the uclibc dependency should get dropped (see
422ce6536b6)
Ok, will resend. But this is not a build-time dependency, so I'd say adding BR_PACKAGE_OPENSSH to Config.in will suffice. And I wouldn't add DROPBEAR there, as I didn't test that.
Daniel
PATCH 1/1 Add fuse-sshfs package
Quoted 5 lines · Daniel Mack
Ok, will resend. But this is not a build-time dependency, so I'd say adding
BR_PACKAGE_OPENSSHto Config.in will suffice. And I wouldn't add DROPBEAR there, as I didn't test that.Daniel
Right, did a quick test here and it doesn't seem to be happy about using dbclient so openssh sounds right.
Regards.
PATCH 1/1 Add fuse-sshfs package
In reply to Peter Korsgaard--- package/Config.in | 1 + package/sshfs/Config.in | 10 ++++++++++ package/sshfs/sshfs.mk | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 package/sshfs/Config.in create mode 100644 package/sshfs/sshfs.mk
package/Config.in +1 -0
@@ -265,6 +265,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/sfdisk/Config.in" endif source "package/smartmontools/Config.in" +source "package/sshfs/Config.in" source "package/sysstat/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # mdev
package/sshfs/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_SSHFS + bool "sshfs (FUSE)" + depends on BR2_PACKAGE_LIBFUSE && BR2_PACKAGE_LIBGLIB2 && BR2_PACKAGE_OPENSSH + help + FUSE makes it possible to implement a filesystem in a userspace + program. Features include: simple yet comprehensive API, secure + mounting by non-root users, support for 2.4 and 2.6 Linux + kernels, multi-threaded operation. etc... + + http://fuse.sourceforge.net/sshfs.html
package/sshfs/sshfs.mk new file +16 -0
@@ -0,0 +1,16 @@ +############################################################# +# +# sshfs +# +############################################################# + +SSHFS_VERSION:=2.2 +SSHFS_SOURCE:=sshfs-fuse-$(SSHFS_VERSION).tar.gz +SSHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse +SSHFS_AUTORECONF:=NO +SSHFS_INSTALL_STAGING:=NO +SSHFS_INSTALL_TARGET:=YES + +SSHFS_DEPENDENCIES = libglib2 + +$(eval $(call AUTOTARGETS,package,sshfs))
Signature · 1 line
1.6.5.2
PATCH 1/1 Add fuse-sshfs package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Mack <[email protected]> writes:
Daniel> +config BR2_PACKAGE_SSHFS
Daniel> + bool "sshfs (FUSE)"
Daniel> + depends on BR2_PACKAGE_LIBFUSE && BR2_PACKAGE_LIBGLIB2 && BR2_PACKAGE_OPENSSH
It's nice to keep lines < 80 chars. I would prefer 3 seperate 'depends on' lines.
Daniel> + help
Daniel> + FUSE makes it possible to implement a filesystem in a userspace Daniel> + program. Features include: simple yet comprehensive API, secure Daniel> + mounting by non-root users, support for 2.4 and 2.6 Linux Daniel> + kernels, multi-threaded operation. etc...
This sounds like a description of fuse itself, and not of sshfs?
Daniel> +SSHFS_VERSION:=2.2
Daniel> +SSHFS_SOURCE:=sshfs-fuse-$(SSHFS_VERSION).tar.gz
Daniel> +SSHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse Daniel> +SSHFS_AUTORECONF:=NO
Daniel> +SSHFS_INSTALL_STAGING:=NO
Daniel> +SSHFS_INSTALL_TARGET:=YES
Daniel> +
Daniel> +SSHFS_DEPENDENCIES = libglib2
You're forgetting libfuse
Otherwise it looks good, thanks!
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add fuse-sshfs package
--- package/Config.in | 1 + package/sshfs/Config.in | 12 ++++++++++++ package/sshfs/sshfs.mk | 16 ++++++++++++++++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 package/sshfs/Config.in create mode 100644 package/sshfs/sshfs.mk
package/Config.in +1 -0
@@ -265,6 +265,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/sfdisk/Config.in" endif source "package/smartmontools/Config.in" +source "package/sshfs/Config.in" source "package/sysstat/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # mdev
package/sshfs/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_SSHFS + bool "sshfs (FUSE)" + depends on BR2_PACKAGE_LIBFUSE + depends on BR2_PACKAGE_LIBGLIB2 + depends on BR2_PACKAGE_OPENSSH + help + FUSE makes it possible to implement a filesystem in a userspace + program. Features include: simple yet comprehensive API, secure + mounting by non-root users, support for 2.4 and 2.6 Linux + kernels, multi-threaded operation. etc... + + http://fuse.sourceforge.net/sshfs.html
package/sshfs/sshfs.mk new file +16 -0
@@ -0,0 +1,16 @@ +############################################################# +# +# sshfs +# +############################################################# + +SSHFS_VERSION:=2.2 +SSHFS_SOURCE:=sshfs-fuse-$(SSHFS_VERSION).tar.gz +SSHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse +SSHFS_AUTORECONF:=NO +SSHFS_INSTALL_STAGING:=NO +SSHFS_INSTALL_TARGET:=YES + +SSHFS_DEPENDENCIES = libglib2 libfuse + +$(eval $(call AUTOTARGETS,package,sshfs))
Signature · 1 line
1.6.5.2
PATCH 1/1 Add fuse-sshfs package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Mack <[email protected]> writes:
Daniel> Signed-off-by: Daniel Mack <[email protected]>
Committed, thanks. I slightly tweaked kconfig to use select for the library dependencies instead of depends.
Signature · 1 line
Bye, Peter Korsgaard