All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Add fuse-sshfs package
@ 2009-11-24 14:40 Daniel Mack
  2009-11-24 15:44 ` Gustavo Zacarias
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Mack @ 2009-11-24 14:40 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 84492a8..47163d0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
new file mode 100644
index 0000000..f2de6f0
--- /dev/null
+++ b/package/sshfs/Config.in
@@ -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
diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk
new file mode 100644
index 0000000..5fb8c18
--- /dev/null
+++ b/package/sshfs/sshfs.mk
@@ -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))
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 14:40 [Buildroot] [PATCH] Add fuse-sshfs package Daniel Mack
@ 2009-11-24 15:44 ` Gustavo Zacarias
  2009-11-24 15:56   ` Peter Korsgaard
  0 siblings, 1 reply; 9+ messages in thread
From: Gustavo Zacarias @ 2009-11-24 15:44 UTC (permalink / raw)
  To: buildroot

Daniel Mack wrote:

> +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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 15:44 ` Gustavo Zacarias
@ 2009-11-24 15:56   ` Peter Korsgaard
  2009-11-24 16:03     ` Daniel Mack
  2009-11-24 16:08     ` Daniel Mack
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Korsgaard @ 2009-11-24 15:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Daniel Mack wrote:
 >> +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)

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 15:56   ` Peter Korsgaard
@ 2009-11-24 16:03     ` Daniel Mack
  2009-11-24 16:23       ` Gustavo Zacarias
  2009-11-24 16:08     ` Daniel Mack
  1 sibling, 1 reply; 9+ messages in thread
From: Daniel Mack @ 2009-11-24 16:03 UTC (permalink / raw)
  To: buildroot

On Tue, Nov 24, 2009 at 04:56:22PM +0100, Peter Korsgaard wrote:
> >>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
> 
>  Gustavo> Daniel Mack wrote:
>  >> +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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 15:56   ` Peter Korsgaard
  2009-11-24 16:03     ` Daniel Mack
@ 2009-11-24 16:08     ` Daniel Mack
  2009-11-24 16:23       ` Peter Korsgaard
  1 sibling, 1 reply; 9+ messages in thread
From: Daniel Mack @ 2009-11-24 16:08 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 84492a8..47163d0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
new file mode 100644
index 0000000..77d21e5
--- /dev/null
+++ b/package/sshfs/Config.in
@@ -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
diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk
new file mode 100644
index 0000000..b99f1a2
--- /dev/null
+++ b/package/sshfs/sshfs.mk
@@ -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))
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 16:03     ` Daniel Mack
@ 2009-11-24 16:23       ` Gustavo Zacarias
  0 siblings, 0 replies; 9+ messages in thread
From: Gustavo Zacarias @ 2009-11-24 16:23 UTC (permalink / raw)
  To: buildroot

Daniel Mack wrote:

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 16:08     ` Daniel Mack
@ 2009-11-24 16:23       ` Peter Korsgaard
  2009-11-24 16:29         ` Daniel Mack
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Korsgaard @ 2009-11-24 16:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> 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!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 16:23       ` Peter Korsgaard
@ 2009-11-24 16:29         ` Daniel Mack
  2009-12-08  8:55           ` Peter Korsgaard
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Mack @ 2009-11-24 16:29 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 84492a8..47163d0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
new file mode 100644
index 0000000..b56dd3e
--- /dev/null
+++ b/package/sshfs/Config.in
@@ -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
diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk
new file mode 100644
index 0000000..4acc293
--- /dev/null
+++ b/package/sshfs/sshfs.mk
@@ -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))
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH] Add fuse-sshfs package
  2009-11-24 16:29         ` Daniel Mack
@ 2009-12-08  8:55           ` Peter Korsgaard
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Korsgaard @ 2009-12-08  8:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:

 Daniel> Signed-off-by: Daniel Mack <daniel@caiaq.de>

Committed, thanks. I slightly tweaked kconfig to use select for the
library dependencies instead of depends.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-08  8:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 14:40 [Buildroot] [PATCH] Add fuse-sshfs package Daniel Mack
2009-11-24 15:44 ` Gustavo Zacarias
2009-11-24 15:56   ` Peter Korsgaard
2009-11-24 16:03     ` Daniel Mack
2009-11-24 16:23       ` Gustavo Zacarias
2009-11-24 16:08     ` Daniel Mack
2009-11-24 16:23       ` Peter Korsgaard
2009-11-24 16:29         ` Daniel Mack
2009-12-08  8:55           ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.