Skip to contentSkip to conversation

Add fuse-sshfs package

PATCH New Daniel Mack 3 participants 9 messages Nov 24, 2009 – Dec 8, 2009

lore
Share & tools
lore
#0 lore raw

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
index 84492a8..47163d0 100644
@@ -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
new file mode 100644
index 0000000..f2de6f0
@@ -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
new file mode 100644
index 0000000..5fb8c18
@@ -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
#1 lore raw

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.

#2 lore raw

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
#3 lore raw

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

#4 lore raw

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_OPENSSH to 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.

#5 lore raw

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
index 84492a8..47163d0 100644
@@ -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
new file mode 100644
index 0000000..77d21e5
@@ -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
new file mode 100644
index 0000000..b99f1a2
@@ -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
#6 lore raw

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
#7 lore raw

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
index 84492a8..47163d0 100644
@@ -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
new file mode 100644
index 0000000..b56dd3e
@@ -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
new file mode 100644
index 0000000..4acc293
@@ -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
#8 lore raw

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